Vector sinf for x86_64 and tests.
[glibc.git] / ChangeLog
blob5e93d9e99ef9b006f6aae0d046582239718a2739
1 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
3         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
5         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6         * sysdeps/x86_64/fpu/Versions: New versions added.
7         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9         build of SSE, AVX2 and AVX512 IFUNC versions.
10         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
11         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
12         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
13         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
14         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
15         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
16         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
17         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
18         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
19         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
20         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
21         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
22         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
23         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30         * NEWS: Mention addition of x86_64 vector sinf.
32 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
34         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
35         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
36         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
37         Remove variable.
38         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
39         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
41 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
43         [BZ #18530]
44         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
45         strong alias of _IO_fputs.  Use libc_hidden_def.
46         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
47         and define as weak alias of __fputs_unlocked.  Use
48         libc_hidden_weak.
49         * include/stdio.h (__fputs_unlocked): Declare.  Use
50         libc_hidden_proto.
51         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
52         fputs_unlocked.
54         [BZ #18529]
55         * resolv/netdb.h [__USE_POSIX]: Change condition to
56         [__USE_XOPEN2K].
57         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
58         not expect.
59         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
60         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
61         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
62         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
63         [XPG4 || UNIX98] (AI_ALL): Likewise.
64         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
65         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
66         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
67         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
68         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
69         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
70         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
71         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
72         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
73         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
74         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
75         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
76         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
77         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
78         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
79         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
80         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
81         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
82         [XPG4 || UNIX98] (gai_strerror): Likewise.
83         [XPG4 || UNIX98] (getaddrinfo): Likewise.
84         [XPG4 || UNIX98] (getnameinfo): Likewise.
86         [BZ #18528]
87         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
88         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
89         __USE_XOPEN2K8].
90         (getgrent): Likewise.
91         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
92         expect.
93         [XPG3 || POSIX2008] (endgrent): Likewise.
94         [XPG3] (setgrent): Likewise.
95         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
96         variable.
97         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
99         [BZ #18527]
100         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
101         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
102         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
103         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
104         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
105         * include/unistd.h (__getlogin_r): Declare.  Use
106         libc_hidden_proto.
107         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
108         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
109         variable.
110         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
111         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
112         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
114 2015-06-12  Martin Sebor  <msebor@redhat.com>
116         [BZ #18512]
117         * Makerules (check-install-supported): New target.
118         (install): Add check-install-supported as a dependency.
119         * manual/install.texi (Installing the C Library): Document
120         that overriding prefix and exec_prefix is not supported.
121         Mention DESTDIR.
122         * INSTALL: Regenerate from the above.
124 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
126         [BZ #18519]
127         * posix/Versions (libc): Export __libc_pread at version
128         GLIBC_PRIVATE.
129         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
130         instead of pread.
131         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
132         variable.
134         [BZ #18522]
135         * misc/efgcvt_r.c
136         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
137         (cvt_symbol): Use weak_alias instead of strong_alias.
138         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
139         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
140         Remove variable.
141         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
142         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
144         [BZ #18520]
145         * inet/herrno.c (h_errno): Rename to __h_errno.
146         (__libc_h_errno): Define as alias of __h_errno not h_errno.
147         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
148         to __h_errno instead of h_errno.
149         * nptl/herrno.c (h_errno): Rename to __h_errno.
150         (__h_errno_location): Refer to __h_errno not h_errno.
151         * resolv/Versions (h_errno): Rename to __h_errno.
152         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
153         Remove variable.
154         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
156 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
158         * configure.ac: More strict check for AVX512 assembler support.
159         * configure: Regenerated.
161         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
162         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
163         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
164         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
165         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
166         * sysdeps/x86_64/fpu/Versions: New versions added.
167         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
168         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
169         build of SSE, AVX2 and AVX512 IFUNC versions.
170         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
171         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
172         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
173         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
174         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
175         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
176         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
177         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
178         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
179         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
180         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
181         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
182         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin test.
183         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
184         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
185         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
186         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
187         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
188         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
189         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
190         * NEWS: Mention addition of x86_64 vector sin.
192 2015-06-11  Florian Weimer  <fweimer@redhat.com>
194         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
195         comment.
197 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
199         [BZ #18479]
200         * nptl/pt-interp.c: New file.
201         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
202         Add pt-interp.
203         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
204         $(common-objpfx)runtime-linker.h.
206 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
208         * Makeconfig (+interp): Remove unused variable.
209         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
210         only.  Depend on $(common-objpfx)runtime-linker.h instead of
211         $(elf-objpfx)runtime-linker.h.
212         ($(elf-objpfx)runtime-linker.h): Rename to
213         $(common-objpfx)runtime-linker.h and move ...
214         * Makerules [$(build-shared) = yes]: ... here.
215         * elf/interp.c: Include <runtime-linker.h> instead of
216         <elf/runtime-linker.h>.
218 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
220         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
221         (__gettimeofday_syscall): Remove vsyscall fallback.
222         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
223         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
224         Add syscall fallback function.
225         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
226         if vDSO is not present.
227         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
228         fallback function.
229         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
230         present.
231         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
232         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
234 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
236         [BZ #18497]
237         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
238         of wcscmp.
239         (wcscmp): Define as weak alias of WCSCMP.
240         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
241         wcscoll.
242         (USE_HIDDEN_DEF): Define.
243         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
244         __wcscoll.  Don't use libc_hidden_weak.
245         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
246         wcscmp.
247         * sysdeps/i386/i686/multiarch/wcscmp-c.c
248         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
249         __GI_wcscmp.
250         (weak_alias): Undefine and redefine.
251         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
252         __wcscmp and define as weak alias of __wcscmp.
253         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
254         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
255         (__wcscoll): Likewise.
256         (wcscmp): Don't use libc_hidden_proto.
257         (wcscoll): Likewise.
258         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
259         wcscoll.
260         * posix/regexec.c (check_node_accept_bytes): Likewise.
261         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
262         variable.
263         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
264         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
266         [BZ #18507]
267         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
268         __fstatvfs and define as weak alias of __fstatvfs.  Use
269         libc_hidden_weak.
270         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
271         and define as weak alias of __statvfs.  Use libc_hidden_weak.
272         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
273         Define as alias of __fstatvfs, not fstatvfs.
274         (fstatvfs64): Likewise.
275         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
276         Define as alias of __statvfs, not statvfs.
277         (statvfs64): Likewise.
278         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
279         Remove variable.
281 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
284         (HAVE_GETCPU_VSYSCALL): Define.
285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
286         (HAVE_GETCPU_VSYSCALL): Likewise.
287         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
288         * sysdeps/unix/sysv/linux/sched_getcpu.c
289         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
290         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
291         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
292         prototype.
293         * sysdeps/unix/sysv/linux/x86_64/init-first.c
294         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
295         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
296         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
297         Define.
298         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
299         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
300         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
301         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
303 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
305         * sysdeps/x86_64/fpu/Makefile: New file.
306         * sysdeps/x86_64/fpu/Versions: New file.
307         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
308         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
309         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
310         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
311         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
312         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
313         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
314         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
315         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
316         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
317         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
318         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
319         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
320         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
321         build of SSE, AVX2 and AVX512 IFUNC versions.
322         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
323         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
324         * sysdeps/x86_64/configure.ac: Options for libmvec build.
325         * sysdeps/x86_64/configure: Regenerated.
326         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
327         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
328         * manual/install.texi (Configuring and compiling): Document
329         --disable-mathvec.
330         * INSTALL: Regenerated.
331         * NEWS: Mention addition of libmvec and x86_64 vector cos.
333         * math/Makefile: Added rules for vector tests.
334         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
335         declaration under condition.
336         * math/test-double-vlen2.h: New file.
337         * math/test-double-vlen4.h: New file.
338         * math/test-double-vlen8.h: New file.
339         * math/test-vec-loop.h: Added initialization macro.
340         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
341         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
342         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
343         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
344         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
345         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
346         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
347         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
348         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
349         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
350         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
352         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
353         * sysdeps/x86_64/fpu/Versions: New versions added.
354         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
355         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
356         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
357         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
358         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
359         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
360         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
361         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
362         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
363         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
364         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
365         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
366         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
367         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
368         build of SSE, AVX2 and AVX512 IFUNC versions.
369         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
370         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
371         * NEWS: Mention addition of x86_64 vector cosf.
373         * math/Makefile: Added CFLAGS for new tests.
374         * math/test-float-vlen16.h: New file.
375         * math/test-float-vlen4.h: New file.
376         * math/test-float-vlen8.h: New file.
377         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
378         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
379         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
380         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
381         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
382         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
383         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
384         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
385         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
386         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
387         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
389 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
391         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
392         * locale/programs/ld-ctype.c: Likewise.
394 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
396         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
397         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
398         bit_ZMM16_31_state): New macro.
399         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
400         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
402 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
404         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
406 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
408         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
410 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
412         [BZ #18498]
413         * libio/memstream.c (open_memstream): Rename to __open_memstream
414         and define as weak alias of __open_memstream.
415         * include/stdio.h (__open_memstream): Declare.  Use
416         libc_hidden_proto.
417         (open_memstream): Don't use libc_hidden_proto.
418         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
419         open_memstream.
420         * posix/getopt.c (_getopt_internal_r): Likewise.
421         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
422         variable.
423         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
424         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
425         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
427         [BZ #18496]
428         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
429         instead of wcrtomb.
431         [BZ #18483]
432         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
433         [__USE_XOPEN2K8].  Remove redundant #endif.
434         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
435         Remove redundant #if.
436         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
437         Remove variable.
438         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
439         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
441         [BZ #18495]
442         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
443         (__iswlower): Likewise.
444         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
445         (__iswlower): Likewise.
446         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
447         instead of towlower.
448         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
449         instead of iswlower.  Call __towupper instead of towupper.
450         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
451         instead of iswalnum.
453 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
455         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
456         errors to stderr.
458 2015-06-05  Florian Weimer  <fweimer@redhat.com>
460         [BZ #15661]
461         [BZ #17322]
462         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
463         Check for overflow properly.  Check for O_APPEND.  Ignore large
464         file system block sizes.  Add comments about problems.
465         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
466         * manual/filesys.texi (Storage Allocation): New node.
468 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
470         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
471         cancellable syscalls.
472         (SYS_ify): Add guard to no redefine it.
473         (INLINE_SYSCALL): Likewise.
474         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
475         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
476         SYSCALL_CANCEL instead.
477         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
478         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
479         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
480         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
481         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
482         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
483         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
484         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
485         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
486         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
487         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
488         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
489         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
490         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
491         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
492         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
493         Likewise.
494         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
495         (__libc_pread64): Likewise.
496         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
497         (__libc_preadv): Likewise.
498         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
499         (__libc_readv64): Likewise.
500         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
501         (__libc_pwrite): Likewise.
502         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
503         (__libc_pwrite64): Likewise.
504         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
505         (__libc_pwritev): Likewise.
506         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
507         (__libc_pwritev64): Likewise.
508         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
509         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
510         (sync_file_range): Likewise.
511         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
512         Likewise.
513         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
514         Likewise.
515         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
516         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
517         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
518         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
519         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
520         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
521         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
522         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
524         Likewise.
525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
526         (__libc_read64): Likewise.
527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
528         Likewise.
529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
530         Likewise.
531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
532         Likewise.
533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
534         Likewise.
535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
536         (__libc_pread64): Likewise.
537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
538         Likewise.
539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
540         (__libc_pwrite64): Likewise.
541         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
542         (sync_file_range): Likewise.
543         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
544         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
545         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
546         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
547         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
548         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
549         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
550         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
551         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
552         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
553         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
554         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
555         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
556         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
557         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
558         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
559         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
560         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
561         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
562         Likewise.
563         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
564         Likewise.
565         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
566         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
567         Likewise.
568         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
569         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
570         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
571         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
572         Likewise.
573         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
574         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
575         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
576         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
577         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
579 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
581         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
582         Include dl-vdso.
583         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
584         Use VDSO routines for gettimeofday, clock_gettime if
585         available.
586         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
587         Declare VDSO symbols.
588         * sysdeps/unix/sysv/linux/arm/sysdep.h:
589         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
590         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
591         * sysdeps/unix/sysv/linux/arm/Versions: Add
592         __vdso_clock_gettime.
594 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
596         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
597         be an inline implementation regardless of library is built within.
598         (open_not_cancel_2): Likewise.
599         (__read_nocancel): Likewise.
600         (__write_nocancel): Likewise.
601         (openat_not_cancel): Likewise.
602         (openat_not_cancel_3): Likewise.
603         (openat64_not_cancel): Likewise.
604         (openat64_not_cancel_3): Likewise.
605         (__close_nocancel): Likewise.
606         (pause_not_cancel): Likewise.
607         (nanosleep_not_cancel): Likewise.
608         (sigsuspend_not_cancel): Likewise.
610 2015-06-04  Torvald Riegel  <triegel@redhat.com>
612         [BZ #14958]
613         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
614         wake-up.
615         (__pthread_rwlock_rdlock_slow): Likewise.
616         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
617         Likewise.
618         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
619         Likewise.
620         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
621         * nptl/tst-rwlock16.c: New file.
622         * nptl/Makefile (tests): Add new test.
624 2015-06-04  Torvald Riegel  <triegel@redhat.com>
626         [BZ #18324]
627         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
628         missing wake-up of readers.
629         * nptl/tst-rwlock15.c: New file.
630         * nptl/Makefile (tests): Add new test.
632 2015-06-03  Roland McGrath  <roland@hack.frob.com>
634         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
635         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
636         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
637         and __nacl_supply_interface_rtld.
638         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
639         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
640         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
641         Add __nacl_supply_interface_rtld.
642         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
644 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
646         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
647         isfinite.
648         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
649         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
651 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
653         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
654         __signbit* with standard C99 macros.
655         * math/e_exp10l.c: Likewise.
656         * math/e_exp2l.c: Likewise.
657         * math/e_scalb.c: Likewise.
658         * math/e_scalbf.c: Likewise.
659         * math/e_scalbl.c: Likewise.
660         * math/s_ldexp.c: Likewise.
661         * math/s_ldexpf.c: Likewise.
662         * math/s_ldexpl.c: Likewise.
663         * math/w_atan2.c: Likewise.
664         * math/w_atan2f.c: Likewise.
665         * math/w_atan2l.c: Likewise.
666         * math/w_cosh.c: Likewise.
667         * math/w_coshf.c: Likewise.
668         * math/w_coshl.c: Likewise.
669         * math/w_exp10.c: Likewise.
670         * math/w_exp10f.c: Likewise.
671         * math/w_exp10l.c: Likewise.
672         * math/w_exp2.c: Likewise.
673         * math/w_exp2f.c: Likewise.
674         * math/w_exp2l.c: Likewise.
675         * math/w_fmod.c: Likewise.
676         * math/w_fmodf.c: Likewise.
677         * math/w_fmodl.c: Likewise.
678         * math/w_hypot.c: Likewise.
679         * math/w_hypotf.c: Likewise.
680         * math/w_hypotl.c: Likewise.
681         * math/w_jnl.c: Likewise.
682         * math/w_lgamma.c: Likewise.
683         * math/w_lgamma_r.c: Likewise.
684         * math/w_lgammaf.c: Likewise.
685         * math/w_lgammaf_r.c: Likewise.
686         * math/w_lgammal.c: Likewise.
687         * math/w_lgammal_r.c: Likewise.
688         * math/w_pow.c: Likewise.
689         * math/w_powf.c: Likewise.
690         * math/w_powl.c: Likewise.
691         * math/w_remainder.c: Likewise.
692         * math/w_remainderf.c: Likewise.
693         * math/w_remainderl.c: Likewise.
694         * math/w_scalb.c: Likewise.
695         * math/w_scalbf.c: Likewise.
696         * math/w_scalbl.c: Likewise.
697         * math/w_scalbln.c: Likewise.
698         * math/w_scalblnf.c: Likewise.
699         * math/w_scalblnl.c: Likewise.
700         * math/w_sinh.c: Likewise.
701         * math/w_sinhf.c: Likewise.
702         * math/w_sinhl.c: Likewise.
703         * math/w_tgamma.c: Likewise.
704         * math/w_tgammaf.c: Likewise.
705         * math/w_tgammal.c: Likewise.
706         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
707         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
708         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
709         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
710         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
711         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
712         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
713         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
714         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
715         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
716         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
717         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
718         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
719         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
720         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
721         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
722         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
723         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
724         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
725         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
726         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
727         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
728         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
729         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
730         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
731         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
732         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
733         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
734         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
735         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
736         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
737         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
738         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
739         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
740         * stdio-common/printf_fp.c: Likewise.
741         * stdio-common/printf_fphex.c: Likewise.
742         * stdio-common/printf_size.c: Likewise.
744 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
746         [BZ #18470]
747         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
748         strnlen.
749         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
750         Remove variable.
751         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
752         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
753         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
754         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
755         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
756         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
757         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
758         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
759         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
760         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
762         [BZ #18468]
763         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
764         weak alias of __wmemchr.  Use libc_hidden_weak.
765         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
766         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
767         instead of wmemchr.
769 2015-06-02  Roland McGrath  <roland@hack.frob.com>
771         [BZ #18383]
772         * elf/tst-tlsalign-extern.c: New file.
773         * elf/tst-tlsalign-extern-static.c: New file.
774         * elf/tst-tlsalign-vars.c: New file.
775         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
776         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
777         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
778         ($(objpfx)tst-tlsalign-extern-static): Likewise.
779         (test-xfail-tst-tlsalign-extern-static): New variable.
781 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
783         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
784         Use variable name _sc_err instead of err.
785         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
786         instead of ret.
787         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
788         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
789         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
790         (INLINE_SYSCALL): Likewise.
792         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
793         * include/string.h (__strnlen): Use libc_hidden_proto.
794         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
795         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
796         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
797         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
798         (libc_hidden_def): Undefine and redefine.
799         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
800         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
801         __GI_strnlen.
802         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
803         libc_hidden_def.
804         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
806         [BZ #18469]
807         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
808         weak alias of __towlower.  Use libc_hidden_weak.
809         (towupper): Rename to __towupper and define as weak alias of
810         __towupper.  Use libc_hidden_weak.
811         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
812         (__towupper): Likewise.
813         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
814         __towlower instead of towlower.
816 2015-06-02  Roland McGrath  <roland@hack.frob.com>
818         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
819         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
821 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
823         * sysdeps/aarch64/libm-test-ulps: Update.
825 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
827         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
828         Define.
829         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
830         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
831         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
832         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
833         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
834         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
835         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
837 2015-06-01  Martin Sebor  <msebor@redhat.com>
839         [BZ #18116]
840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
841         (__setcontext): Use extended four-operand version of mtsf whenever
842         possible.
843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
844         (__novec_swapcontext): Likewise.
846 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
848         * benchtests/scripts/compare_bench.py: New file.
849         * benchtests/scripts/import_bench.py (mean): New function.
850         (split_list): Likewise.
851         (do_for_all_timings): Likewise.
852         (compress_timings): Likewise.
854         * benchtests/scripts/import_bench.py: New file.
855         * benchtests/scripts/validate_benchout.py: Import import_bench
856         instead of jsonschema.
857         (validate_bench): Remove function.
858         (main): Use import_bench.
860 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
862         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
863         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
865 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
869 2015-05-28  Roland McGrath  <roland@hack.frob.com>
871         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
872         set THREAD_SELF->tid to a magic value and futex-wake it.
873         Pass its address to the thread_exit system call.
874         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
875         bit is clear.
876         * sysdeps/nacl/lowlevellock.h: New file.
877         * sysdeps/nacl/lll_timedwait_tid.c: New file.
879         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
880         Add TIMEOUT to current time, don't subtract it.
882 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
884         [BZ #18422]
885         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
886         ($(objpfx)tst-audit2.out): Also depend on
887         $(objpfx)tst-auditmod9b.so.
888         * elf/tst-audit2.c: Include <dlfcn.h>.
889         (calloc_called): New.
890         (calloc): Allow to be called more than once.
891         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
893 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
895         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
896         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
898 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
900         * stdlib/monetary.h: Fix comment.
902 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
904         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
905         Avoid using variables in #defines that might cause shadowing.
906         (INTERNAL_VSYSCALL_CALL): Likewise.
908 2015-05-26  Roland McGrath  <roland@hack.frob.com>
910         * sysdeps/nacl/lll_timedlock_wait.c: New file.
912         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
913         * nptl/lll_timedlock_wait.c: ... to this new file.
914         * nptl/Makefile (libpthread-routines): Add it.
915         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
916         * nptl/lll_timedwait_tid.c: ... to this new file.
917         * nptl/Makefile (libpthread-routines): Add it.
918         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
919         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
920         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
921         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
922         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
923         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
924         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
925         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
926         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
927         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
929 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
931         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
932         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
933         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
934         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
935         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
936         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
937         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
938         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
939         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
940         * sysdeps/unix/sysv/linux/tile/sysdep.h
941         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
942         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
943         using vDSO syscall macro.
945 2015-05-26  Andriy Rysin  <arysin@gmail.com>
947         [BZ #17293]
948         * uk_UA: Fix sorting order for Ukrainian locale
950 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
952         * stdlib/monetary.h: Fix comment.
954 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
956         [BZ #18234]
957         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
958         st_mtim and st_ctim members.
959         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
960         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
961         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
962         (struct stat64): Likewise.
963         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
964         (struct stat64): Likewise.
965         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
966         (struct stat64): Likewise.
968 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
970         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
971         Define and include sysdep-vdso.h.
972         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
973         Likewise.
974         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
975         Likewise.
976         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
977         Define with VDSO_SYMBOL and use PTR_MANGLE.
978         (__vdso_clock_gettime): Likewise.
979         (__vdso_clock_getres): Likewise.
980         (_libc_vdso_platform_setup): Likewise.
981         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
982         Likewise.
983         (_libc_vdso_platform_setup): Likewise.
984         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
985         Likewise.
986         (__vdso_clock_gettime): Likewise.
987         (__vdso_clock_getres): Likewise.
988         (__vdso_get_tbfreq): Likewise.
989         (__vdso_getcpu): Likewise.
990         (__vdso_time): Likewise.
991         (__vdso_sigtramp_rt64): Likewise.
992         (__vdso_signtramp32): Likewise.
993         (__vdso_sigtramp_rt32): Likewise.
994         (_libc_vdso_platform_setup): Likewise.
995         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
996         Likewise.
997         (__vdso_clock_gettime): Likewise.
998         (__vdso_clock_getres): Likewise.
999         (_libc_vdso_platform_setup): Likewise.
1000         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
1001         Likewise.
1002         (__vdso_clock_gettime): Likewise.
1003         (_libc_vdso_platform_setup): Likewise.
1004         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1005         Likewise.
1006         (__vdso_getcpu): Likewise.
1007         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
1008         Use VDSO_SYMBOL macro to define.
1009         (__vdso_clock_gettime): Likewise.
1010         (__vdso_clock_getres): Likewise.
1011         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
1012         Likewise.
1013         (__vdso_clock_gettime): Likewise.
1014         (__vdso_clock_getres): Likewise.
1015         (__vdso_get_tbfreq): Likewise.
1016         (__vdso_getcpu): Likewise.
1017         (__vdso_time): Likewise.
1018         (__vdso_sigtramp_rt64): Likewise.
1019         (__vdso_signtramp32): Likewise.
1020         (__vdso_sigtramp_rt32): Likewise.
1021         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
1022         Likewise.
1023         (__vdso_clock_gettime): Likewise.
1024         (__vdso_clock_getres): Likewise.
1025         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
1026         Likewise.
1027         (__vdso_clock_gettime): Likewise.
1028         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1029         Likewise.
1030         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
1031         macro.
1032         (INTERNAL_VSYSCALL): Likewise.
1033         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
1034         Remove macro.
1035         (INTERNAL_VSYSCALL): Likewise.
1036         (INTERNAL_VSYSCALL_NCS): Likewise.
1037         (INTERNAL_VSYSCALL_CALL): New macro.
1038         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1039         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
1040         Likewise.
1041         (INTERNAL_VSYSCALL): Likewise.
1042         (INTERNAL_VSYSCALL_NCS): Likewise.
1043         (INTERNAL_VSYSCALL_CALL): New macro.
1044         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1046         (INLINE_VSYSCALL): Remove macro.
1047         (INTERNAL_VSYSCALL): Remove macro.
1048         (INTERNAL_VSYSCALL_NCS): Remove macro.
1049         (INTERNAL_VSYSCALL_CALL): New macro.
1050         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
1051         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
1052         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1053         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
1054         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1056         (INLINE_VSYSCALL): Remove macro.
1057         (INTERNAL_VSYSCALL): Likewise.
1058         (INTERNAL_VSYSCALL_NCS): Likewise.
1059         (INTERNAL_VSYSCALL_CALL): New macro.
1060         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
1061         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
1062         PTR_DEMANGLE on vDSO pointer.
1063         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1064         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
1065         macro.
1066         (INTERNAL_SYSCALL): Likewise.
1067         (INTERNAL_VSYSCALL_NCS): Remove macro.
1068         (INTERNAL_VSYSCALL_CALL): New macro.
1069         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
1070         Remove macro.
1071         (INTERNAL_VSYSCALL): Likewise.
1072         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
1073         sysdep-vdso.h instead of libc-vdso.h.
1074         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
1075         definition.
1076         (INLINE_VSYSCALL): Likewise.
1077         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
1078         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
1079         definition.
1080         (INLINE_VSYSCALL): Likewise.
1081         (INTERNAL_VSYSCALL): Likewise.
1082         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1083         * sysdeps/unix/sysv/linux/timespec_get.c
1084         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1085         (timespec_get): Use ANSI prototype.
1086         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
1087         and definition for Linux.
1089 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
1091         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
1092         * include/libc-symbols.h: libmvec_hidden_* macro series added.
1094 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1096         [BZ #18410]
1097         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
1098         for missing DT_PLTRELSZ.
1100 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
1102         Remove obsolete aliases that broke 'locale -a'
1103         [BZ #18412]
1104         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
1105         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
1106         breaking some applications that use 'locale -a' output.
1107         Change the encoding of this file from Latin-1 to ASCII to avoid
1108         other potential problems with people grepping this file.
1110 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1112         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
1113         -fasynchronous-unwind-tables.
1114         (CFLAGS-sendto.c): Likewise.
1115         (CFLAGS-sendmsg.c): Likewise.
1116         (CFLAGS-connect.c): Likewise.
1117         (CFLAGS-recvmsg.c): Likewise.
1118         (CFLAGS-recvfrom.c): Likewise.
1119         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
1120         (SOCKETCALL): New macro: non-cancellable socketcall.
1121         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
1122         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
1123         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
1124         * sysdeps/unix/sysv/linux/accept.c: New file.
1125         * sysdeps/unix/sysv/linux/bind.c: Likewise.
1126         * sysdeps/unix/sysv/linux/connect.c: Likewise.
1127         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
1128         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
1129         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
1130         * sysdeps/unix/sysv/linux/listen.c: Likewise.
1131         * sysdeps/unix/sysv/linux/recv.c: Likewise.
1132         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
1133         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1134         * sysdeps/unix/sysv/linux/send.c: Likewise.
1135         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1136         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
1137         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
1138         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
1139         * sysdeps/unix/sysv/linux/socket.c: Likewise.
1140         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
1141         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
1142         prototype.
1143         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
1144         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1145         instead of __internal_xxx function.
1146         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
1147         prototype.
1148         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
1149         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1150         instead of __internal_xxx function.
1151         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
1152         prototype.
1153         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
1154         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1155         instead of __internal_xxx function.
1156         * sysdeps/unix/sysv/linux/accept.S: Remove file.
1157         * sysdeps/unix/sysv/linux/bind.S: Likewise.
1158         * sysdeps/unix/sysv/linux/connect.S: Likewise.
1159         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
1160         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
1161         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
1162         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
1163         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
1164         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
1165         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
1166         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
1167         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1168         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
1169         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
1170         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
1171         * sysdeps/unix/sysv/linux/listen.S: Likewise.
1172         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
1173         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
1174         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
1175         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
1176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
1177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
1178         * sysdeps/unix/sysv/linux/recv.S: Likewise.
1179         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1180         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1181         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
1182         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1183         * sysdeps/unix/sysv/linux/send.S: Likewise.
1184         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1185         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1186         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
1187         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
1188         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
1189         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
1190         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
1191         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
1192         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1193         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
1194         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
1195         socketcall is implemented in GLIBC.
1197 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
1199         * soft-fp/fmadf4.c: Include <libc-internal.h>.
1200         (__fma): Ignore uninitialized warnings around packing.
1201         * soft-fp/fmasf4.c: Include <libc-internal.h>.
1202         (__fmaf): Ignore uninitialized warnings around packing.
1203         * soft-fp/fmatf4.c: Include <libc-internal.h>.
1204         (__fmal): Ignore uninitialized warnings around packing.
1206         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
1207         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1208         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
1209         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1211         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
1212         switch statement into default case.
1213         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
1215         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
1216         a conditional in forcing "inexact".
1217         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1218         Likewise.
1220 2015-05-22  Roland McGrath  <roland@hack.frob.com>
1222         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1223         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
1224         for each INTERNAL_SYSCALL use.
1226 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
1228         [BZ #438]
1229         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
1230         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
1231         variable.
1233         [BZ #18444]
1234         * string/basename.c (basename): Rename to __basename and define as
1235         weak alias of __basename.  Use libc_hidden_weak.
1236         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
1237         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
1238         __basename instead of basename.
1239         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
1240         Remove variable.
1241         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1243 2015-05-18  Florian Weimer  <fweimer@redhat.com>
1245         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
1246         (_IO_JUMPS_FILE_plus): New.
1247         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
1248         _IO_CAST_FIELD_ACCESS.
1249         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
1250         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
1251         * libio/freopen.c (freopen): Likewise.
1252         * libio/freopen64.c (freopen64): Likewise.
1253         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
1254         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
1255         * libio/iofwide.c (_IO_fwide): Likewise.
1256         * libio/memstream.c (open_memstream): Likewise.
1257         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1258         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1259         * libio/oldiopopen.c (_IO_old_popen): Likewise.
1261 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
1263         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
1264         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
1265         NADJ.
1266         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
1267         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
1268         NADJ.
1269         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
1270         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
1271         NADJ.
1273         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
1274         (p == 4) case.
1276         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
1277         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
1278         Remove variable.
1279         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1280         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1281         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1283 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1285         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
1286         Adjust jump table label generation macros.
1288 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1290         * stdio-common/vfprintf.c (vfprintf): Move local variables
1291         args_malloced, specs, specs_malloced, and the code after
1292         do_positional to the printf_positional function.
1293         (printf_positional): New function.
1295 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1297         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
1298         function.
1299         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
1300         STEP4_TABLE, process_arg): Move macro definitions
1301         out of the vfprintf function.  (Cosmetic change only.)
1303 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
1305         * benchtests/Makefile (stdio-common-bench): Define.
1306         (benchset): Add stdio-common-bench.
1307         * sprintf-inputs: New file.
1308         * sprintf-source.c: New file.
1310 2015-05-21  Andreas Schwab  <schwab@suse.de>
1312         [BZ #13028]
1313         [BZ #17053]
1314         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
1315         of struct __res_state.
1316         * resolv/res_send.c (__libc_res_nsend): Likewise.
1317         (get_nsaddr): New function.
1318         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
1319         statp directly.
1321 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
1323         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
1324         -D_POSIX_C_SOURCE=199506L.
1326         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
1328         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
1329         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
1330         Do not mention otherwise.
1331         [POSIX] (_XOPEN_VERSION): Do not expect.
1332         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
1333         [POSIX] (_POSIX2_C_BIND): Likewise.
1334         [POSIX] (_POSIX2_VERSION): Likewise.
1335         [POSIX] (_XOPEN_XPG2): Likewise.
1336         [POSIX] (_XOPEN_XPG3): Likewise.
1337         [POSIX] (_XOPEN_XPG4): Likewise.
1338         [POSIX] (_XOPEN_UNIX): Likewise.
1339         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
1340         [POSIX] (_POSIX_BARRIERS): Likewise.
1341         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
1342         [POSIX] (_POSIX_CPUTIME): Likewise.
1343         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
1344         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
1345         [POSIX] (_POSIX_SHELL): Likewise.
1346         [POSIX] (_POSIX_SPAWN): Likewise.
1347         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
1348         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
1349         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
1350         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
1351         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
1352         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
1353         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
1354         [POSIX] (_XBS5_LP64_OFF64): Likewise.
1355         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
1356         [POSIX] (_POSIX_TIMEOUTS): Likewise.
1357         [POSIX] (_POSIX2_PBS): Likewise.
1358         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
1359         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
1360         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
1361         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
1362         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
1363         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
1364         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
1365         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
1366         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
1367         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
1368         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
1369         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
1370         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
1371         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
1372         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
1373         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
1374         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
1375         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
1376         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
1377         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
1378         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
1379         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
1380         [POSIX] (_SC_2_C_BIND): Likewise.
1381         [POSIX] (_SC_2_C_VERSION): Likewise.
1382         [POSIX] (_SC_2_PBS): Likewise.
1383         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
1384         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
1385         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
1386         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
1387         [POSIX] (_SC_2_PBS_TRACK): Likewise.
1388         [POSIX] (_SC_ATEXIT_MAX): Likewise.
1389         [POSIX] (_SC_BARRIERS): Likewise.
1390         [POSIX] (_SC_BASE): Likewise.
1391         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
1392         [POSIX] (_SC_DEVICE_IO): Likewise.
1393         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
1394         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
1395         [POSIX] (_SC_FD_MGMT): Likewise.
1396         [POSIX] (_SC_FIFO): Likewise.
1397         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
1398         [POSIX] (_SC_FILE_LOCKING): Likewise.
1399         [POSIX] (_SC_FILE_SYSTEM): Likewise.
1400         [POSIX] (_SC_IOV_MAX): Likewise.
1401         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
1402         [POSIX] (_SC_NETWORKING): Likewise.
1403         [POSIX] (_SC_PAGE_SIZE): Likewise.
1404         [POSIX] (_SC_PASS_MAX): Likewise.
1405         [POSIX] (_SC_PIPE): Likewise.
1406         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
1407         [POSIX] (_SC_REGEXP): Likewise.
1408         [POSIX] (_SC_SHELL): Likewise.
1409         [POSIX] (_SC_SIGNALS): Likewise.
1410         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
1411         [POSIX] (_SC_SPIN_LOCKS): Likewise.
1412         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
1413         [POSIX] (_SC_USER_GROUPS): Likewise.
1414         [POSIX] (_SC_USER_GROUPS_R): Likewise.
1415         [POSIX] (_SC_STREAMS): Likewise.
1416         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
1417         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
1418         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
1419         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
1420         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
1421         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
1422         [POSIX] (_PC_FILESIZEBITS): Likewise.
1423         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
1424         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
1425         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
1426         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
1427         [POSIX] (uid_t): Likewise.
1428         [POSIX] (gid_t): Likewise.
1429         [POSIX] (off_t): Likewise.
1430         [POSIX] (pid_t): Likewise.
1431         [POSIX] (cuserid): Allow.
1432         (_SC_2_CHAR_TERM): Require constant.
1433         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
1434         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
1435         variable.
1437 2015-05-20  Roland McGrath  <roland@hack.frob.com>
1439         * sysdeps/nacl/pthread-pids.h: New file.
1440         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
1441         (create_thread): Use __nacl_get_tid to initialize PD->tid.
1443         * nptl/pthread-pids.h: New file.
1444         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
1445         * nptl/nptl-init.c: Include <pthread-pids.h>.
1446         (__pthread_initialize_minimal_internal):
1447         Call __pthread_initialize_pids instead of set_tid_address syscall.
1449         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
1450         * sysdeps/posix/usleep.c: ... here.
1452 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1454         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
1455         call_pselect6 object.
1456         [$(subdir) = io]: Remove call_sync_file_range object.
1457         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
1458         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
1459         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
1460         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
1462 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
1464         * math/s_cproj.c: Add include "math_private.h".
1465         * math/s_cprojf.c: Likewise.
1466         * math/s_cprojl.c: Likewise.
1468 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
1470         [BZ #18244]
1471         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
1472         high mantissa bit when testing whether P is a NaN.
1473         * math/libm-test.inc (remainder_test_data): Add more tests.
1474         (remquo_test_data): Likewise.
1476         [BZ #18049]
1477         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
1478         below -32, return the argument, with underflow if subnormal.
1479         * math/auto-libm-test-in: Add more tests of atanh.
1480         * math/auto-libm-test-out: Regenerated.
1482 2015-05-19  Roland McGrath  <roland@hack.frob.com>
1484         [BZ #18434]
1485         * nptl/tst-sem15.c: New file.
1486         * nptl/Makefile (tests): Add it.
1487         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
1488         s/<</>>/ to fix typo in EOVERFLOW check.
1489         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
1491 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1493         * manual/strings.texi (envz_remove): Fix typo in safety
1494         annotations.
1496 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
1497             Steve Ellcey  <sellcey@imgtec.com>
1499         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
1500         in order to avoid strict alias warnings.
1501         (iruserok_af): Ditto for ra.
1503 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
1505         [BZ #17581]
1506         * malloc/hooks.c
1507         (magicbyte): Convert to a function and avoid returning 0x01.
1508         (mem2mem_check): Avoid using a length byte equal to the magic byte.
1509         (mem2chunk_check): Fix unsigned comparisons to zero.
1510         Hoist defs of sz and magic.
1512 2015-05-19  Richard Henderson  <rth@redhat.com>
1514         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
1516         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1518 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1520         [BZ #16159]
1521         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
1522         * malloc/arena.c (arena_lock): Check if arena is corrupt.
1523         (reused_arena): Find a non-corrupt arena.
1524         (heap_trim): Pass arena to unlink.
1525         * malloc/hooks.c (malloc_check_get_size): Pass arena to
1526         malloc_printerr.
1527         (top_check): Likewise.
1528         (free_check): Likewise.
1529         (realloc_check): Likewise.
1530         * malloc/malloc.c (malloc_printerr): Add arena argument.
1531         (unlink): Likewise.
1532         (munmap_chunk): Adjust.
1533         (ARENA_CORRUPTION_BIT): New macro.
1534         (arena_is_corrupt): Likewise.
1535         (set_arena_corrupt): Likewise.
1536         (sysmalloc): Use mmap if there are no usable arenas.
1537         (_int_malloc): Likewise.
1538         (__libc_malloc): Don't fail if arena_get returns NULL.
1539         (_mid_memalign): Likewise.
1540         (__libc_calloc): Likewise.
1541         (__libc_realloc): Adjust for additional argument to
1542         malloc_printerr.
1543         (_int_free): Likewise.
1544         (malloc_consolidate): Likewise.
1545         (_int_realloc): Likewise.
1546         (_int_memalign): Don't touch corrupt arenas.
1547         * malloc/tst-malloc-backtrace.c: New test case.
1549         * Makefile (summarize-tests): Fix return value on success.
1551         * manual/string.texi (Envz Functions): Add envz_remove.
1553 2015-05-18  Roland McGrath  <roland@hack.frob.com>
1555         * sysdeps/posix/opendir.c: Include <stdbool.h>.
1556         (invalid_name): New function, broken out of ...
1557         (__opendirat): ... here.  Call it.
1558         (need_isdir_precheck): New function, broken out of ...
1559         (__opendirat): ... here.  Call it.
1560         Use __fxstatat64, not __xstatat64.
1561         (opendir_oflags): New function, broken out of ...
1562         (__opendirat): ... here.  Call it.
1563         (opendir_tail): New function, broken out of ...
1564         (__opendirat): ... here.  Call it.
1565         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
1566         opendir_tail, rather than punting to __opendirat.
1567         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
1569 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1571         * .gitignore: Ignore generated *.pyc.
1573 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
1575         * include/stdio.h: Define __need_wint_t.
1576         * test-skeleton.c: Avoid `for' loop initial declaration.
1577         * nptl/tst-initializers1.c: Use test-skeleton.c.
1579 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1581         [BZ #18418]
1582         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
1584 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
1586         [BZ #16352]
1587         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
1588         (__ieee754_atanh): Force underflow exception for results with
1589         small absolute value.
1590         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
1591         (__ieee754_atanhf): Force underflow exception for results with
1592         small absolute value.
1593         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
1594         (__ieee754_atanh): Force underflow exception for results with
1595         small absolute value.
1596         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
1597         (__ieee754_atanhf): Force underflow exception for results with
1598         small absolute value.
1599         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
1600         (__ieee754_atanhl): Force underflow exception for results with
1601         small absolute value.
1602         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
1603         (__ieee754_atanhl): Force underflow exception for results with
1604         small absolute value.
1605         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
1606         (__ieee754_atanhl): Force underflow exception for results with
1607         small absolute value.
1608         * math/auto-libm-test-in: Do not allow missing underflow
1609         exceptions from atanh.
1610         * math/auto-libm-test-out: Regenerated.
1612         [BZ #18221]
1613         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
1614         2**-28 as threshold for returning x or +/- 1/x.
1615         * math/auto-libm-test-in: Add more tests of tan.
1616         * math/auto-libm-test-out: Regenerated.
1618         [BZ #18220]
1619         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1620         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
1621         * math/auto-libm-test-in: Add another test of lgamma.
1622         * math/auto-libm-test-out: Regenerated.
1624 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
1626         * stdio-common/printf_fp.c (___printf_fp): Use abs.
1627         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
1628         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
1629         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
1630         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
1631         (ADD2A): Use fabs.  (SUB2A): Use fabs.
1632         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
1633         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
1634         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
1635         (log1): Use fabs.  (my_log2): Use fabs.
1636         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
1637         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
1638         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
1639         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
1640         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
1641         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
1642         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
1643         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
1644         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
1645         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
1646         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
1648 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
1650         [BZ #18217]
1651         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
1652         as threshold for returning 1 - x.
1653         * math/auto-libm-test-in: Add more tests of erfc.
1654         * math/auto-libm-test-out: Regenerated.
1656 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
1658         [BZ #18196]
1659         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
1660         threshold for large arguments.
1661         * math/auto-libm-test-in: Add another test of atan.
1662         * math/auto-libm-test-out: Regenerated.
1664         [BZ #16339]
1665         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
1666         (__log1p): Force underflow exception for results with small
1667         absolute value.
1668         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
1669         (__log1pf): Force underflow exception for results with small
1670         absolute value.
1671         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
1672         (__log1p): Force underflow exception for results with small
1673         absolute value.
1674         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
1675         (__log1pf): Force underflow exception for results with small
1676         absolute value.
1677         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
1678         (__log1pl): Force underflow exception for results with small
1679         absolute value.
1680         * math/auto-libm-test-in: Do not allow missing underflow
1681         exceptions from log1p.
1682         * math/auto-libm-test-out: Regenerated.
1684 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
1685             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1687         [BZ #16704]
1688         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
1690 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
1692         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
1693         (libmvec): New variable.
1694         * configure.ac: Added option for mathvec build.
1695         * configure: Regenerated.
1696         * mathvec/Depend: New file.
1697         * mathvec/Makefile: New file.
1698         * shlib-versions: Added libmvec.
1699         * math/Makefile: Added rule for libm.so installation.
1701         * bits/math-vector.h: New file.
1702         * bits/libm-simd-decl-stubs.h: New header.
1703         * math/Makefile (headers): Added new header
1704         libm-simd-decl-stubs.h.
1705         * math/math.h (__MATHCALL_VEC): New macro.
1707         * math/gen-libm-have-vector-test.sh: Script generates series of macros
1708         for conditions in testing functions.
1709         * math/Makefile: Added call of libm-have-vector-test.sh.
1710         * math/libm-test.inc (HAVE_VECTOR): New macros.
1712         * math/libm-test.inc: START refactored.
1713         * math/test-double.c (TEST_MATHVEC): Add define.
1714         * math/test-float.c: Likewise.
1715         * math/test-idouble.c: Likewise.
1716         * math/test-ifloat.c: Likewise.
1717         * math/test-ildoubl.c: Likewise.
1718         * math/test-ldouble.c: Likewise.
1719         * sysdeps/generic/math-tests-arch.h
1720         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
1721         architecture check.
1723         * math/test-double.c (FUNC_TEST): New macro.
1724         * math/test-float.c: Likewise.
1725         * math/test-idouble.c: Likewise.
1726         * math/test-ifloat.c: Likewise.
1727         * math/test-ildoubl.c: Likewise.
1728         * math/test-ldouble.c: Likewise.
1729         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
1731 2015-05-13  Roland McGrath  <roland@hack.frob.com>
1733         * sysdeps/nacl/fdopendir.c: New file.
1735         * dirent/scandir-tail.c: New file.
1736         * dirent/scandir64-tail.c: New file.
1737         * dirent/Makefile (routines): Add them.
1738         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
1739         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
1740         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
1741         [!SCANDIR] (SCANDIR_TAIL): New macro.
1742         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
1743         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
1744         (SCANDIRAT): Macro removed.
1745         (SCANDIR_TAIL): New macro.
1746         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
1747         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
1748         (SCANDIRAT): Just call __opendirat and __scandir_tail.
1749         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
1750         (READDIR): Macro removed.
1751         (SCANDIR_TAIL): New macro.
1752         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
1753         (SCANDIR_TAIL): New macro.
1755         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
1756         * dirent/scandir-cancel.c: ... to this new file.
1757         * dirent/Makefile (routines): Add it.
1758         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
1759         * sysdeps/unix/sysv/linux/i386/scandir64.c
1760         (SKIP_SCANDIR_CANCEL): Macro removed.
1761         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
1763         * dirent/tst-scandir.c: New file.
1764         * dirent/tst-scandir64.c: New file.
1765         * dirent/Makefile (tests): Add them.
1767 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1769         [BZ #18409]
1770         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
1772 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1774         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
1775         list.
1777 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
1779         * benchtests/bench-strcoll.c: New benchmark.
1780         * benchtests/Makefile: Generate locales and run benchmark.
1781         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
1782         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
1783         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
1784         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
1785         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
1786         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
1787         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
1788         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
1789         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
1790         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
1791         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
1792         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
1793         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
1794         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
1795         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
1796         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
1797         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
1798         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
1799         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
1800         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
1801         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
1802         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
1803         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
1804         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
1806 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
1808         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
1809         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1811 2015-05-12  Roland McGrath  <roland@hack.frob.com>
1813         * posix/uname-values.h: New file.
1814         * posix/uname.c: Include that instead of <config-name.h>.
1815         * sysdeps/nacl/uname-values.h: New file.
1816         * sysdeps/arm/nacl/uname-values.h: New file.
1818 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
1820         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
1821         splitting into fields.
1823 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
1825         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
1826         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
1827         * locale/localeinfo.h: Add enum collation_encoding_type.
1828         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
1829         * programs/ld-collate.c (collate_output): Add encoding type info.
1830         * string/strcoll_l.c (STRDIFF): New function.
1831         * (STRCOLL): Use STRDIFF to skip over equal prefix.
1832         * wcsmbs/wcscoll_l.c: Define STRDIFF.
1834 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
1836         [BZ #18397]
1837         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
1838         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
1839         <fpu_control.h> instead of <math/fpu_control.c>.
1840         * sysdeps/mips/mips32/fpu/Makefile: New file.
1842 2015-05-11  Andreas Schwab  <schwab@suse.de>
1844         [BZ #18007]
1845         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
1846         nss_endgrent.
1847         (_nss_compat_endgrent): Call nss_endgrent.
1848         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
1849         nss_endpwent.
1850         (_nss_compat_endpwent): Call nss_endpwent.
1851         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
1852         needent, call nss_setspent only if non-zero.
1853         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
1854         (internal_endspent): Don't call nss_endspent.
1855         (_nss_compat_endspent): Call nss_endspent.
1856         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
1857         Remove.  All uses removed.
1858         (internal_setent): Remove parameter stayopen, add parameter
1859         stream.  Use it instead of global variable.
1860         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
1861         (internal_endent, internal_getent): Add parameter stream.  Use it
1862         instead of global variable.
1863         (CONCAT(_nss_files_end,ENTNAME))
1864         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
1865         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
1866         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
1867         uses removed.
1868         (internal_setent, internal_endent): Add parameter stream.  Use it
1869         instead of global variable.
1870         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
1871         stream.
1872         (get_next_alias): Add parameter stream.
1873         (_nss_files_getaliasent_r): Pass global stream.
1874         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
1875         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
1876         (_nss_files_gethostbyname4_r): Pass local stream to
1877         internal_setent, internal_getent and internal_endent.  Remove
1878         locking.
1880 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1882         * tst-strfmon1.c (tests): Update expected currency symbol.
1884 2015-05-08  Roland McGrath  <roland@hack.frob.com>
1886         * sysdeps/nacl/gethostname.c: New file.
1888 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
1890         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
1891         and sinh.
1892         * math/auto-libm-test-out: Regenerated.
1893         * sysdeps/i386/fpu/libm-test-ulps: Update.
1894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1896 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
1898         [BZ #18125]
1899         * stdlib/tst-setcontext3.c: New file.
1900         * stdlib/tst-setcontext3.sh: New file.
1901         * stdlib/Makefile (tests): Add tst-setcontext3.
1902         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
1903         to verify test program created output file.
1904         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
1905         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
1906         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
1907         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
1909 2015-05-06  Roland McGrath  <roland@hack.frob.com>
1911         [BZ #18383]
1912         * elf/tst-tlsalign.c: New file.
1913         * elf/tst-tlsalign-static.c: New file.
1914         * elf/tst-tlsalign-lib.c: New file.
1915         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
1916         (tests-static): Add tst-tlsalign-static.
1917         (modules-names): Add tst-tlsalign-lib.
1918         (test-xfail-tst-tlsalign): New variable.
1919         (test-xfail-tst-tlsalign-static): New variable.
1921         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
1922         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
1924 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
1926         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
1927         csqrt, erfc, sin and sincos.
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-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1934         * sysdeps/aarch64/libm-test-ulps: Update.
1936 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
1938         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
1939         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
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 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1946         [BZ #18265]
1947         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
1948         (wcsncpy): Likewise.
1950 2015-05-05  Florian Weimer  <fweimer@redhat.com>
1952         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1953         Assume __ASSUME_FALLOCATE is always true.
1954         * sysdeps/unix/sysv/linux/posix_fallocate64.c
1955         (__posix_fallocate64_l64): Likweise.
1956         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
1957         (posix_fallocate): Likewise.
1958         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
1959         (__posix_fallocate64_l64): Likewise.
1960         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1961         [!__ASSUME_FALLOCATE]: Add comment.
1963 2015-05-05  Florian Weimer  <fweimer@redhat.com>
1965         * sysdeps/unix/sysv/linux/i386/Makefile
1966         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
1967         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
1968         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
1969         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
1970         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
1971         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
1972         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
1974 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
1976         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
1977         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
1978         tgamma.
1979         * math/auto-libm-test-out: Regenerated.
1980         * sysdeps/i386/fpu/libm-test-ulps: Update.
1981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1983 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
1985         * math/auto-libm-test-in: Add more tests of tgamma.
1986         * math/auto-libm-test-out: Regenerated.
1987         * sysdeps/i386/fpu/libm-test-ulps: Update.
1988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1990         * math/auto-libm-test-in: Add more tests of tanh.
1991         * math/auto-libm-test-out: Regenerated.
1992         * sysdeps/i386/fpu/libm-test-ulps: Update.
1993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1995         * math/auto-libm-test-in: Add more tests of tan.
1996         * math/auto-libm-test-out: Regenerated.
1997         * sysdeps/i386/fpu/libm-test-ulps: Update.
1998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2000         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
2001         * math/auto-libm-test-out: Regenerated.
2002         * sysdeps/i386/fpu/libm-test-ulps: Update.
2003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2005         * math/auto-libm-test-in: Add another test of pow.
2006         * math/auto-libm-test-out: Regenerated.
2007         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2009         * math/auto-libm-test-in: Add more tests of lgamma.
2010         * math/auto-libm-test-out: Regenerated.
2011         * sysdeps/i386/fpu/libm-test-ulps: Update.
2012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2014         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
2015         log1p.
2016         * math/auto-libm-test-out: Regenerated.
2017         * sysdeps/i386/fpu/libm-test-ulps: Update.
2018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2020 2015-05-01  Mark Wielaard  <mjw@redhat.com>
2022         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
2023         Elf64_Chdr structs and ELFCOMPRESS constants.
2025 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
2027         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
2028         expm1.
2029         * math/auto-libm-test-out: Regenerated.
2030         * sysdeps/i386/fpu/libm-test-ulps: Update.
2031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2033         * math/auto-libm-test-in: Add more tests of erf and erfc.
2034         * math/auto-libm-test-out: Regenerated.
2035         * sysdeps/i386/fpu/libm-test-ulps: Update.
2036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2038 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2040         * config.h.in (HAVE_AARCH64_BE): Add.
2042 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
2044         * math/auto-libm-test-in: Add more tests of csqrt.
2045         * math/auto-libm-test-out: Regenerated.
2046         * sysdeps/i386/fpu/libm-test-ulps: Update.
2047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2049         * math/auto-libm-test-in: Add more tests of cosh and sinh.
2050         * math/auto-libm-test-out: Regenerated.
2051         * sysdeps/i386/fpu/libm-test-ulps: Update.
2052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2054         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
2056 2015-04-29  Roland McGrath  <roland@hack.frob.com>
2058         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
2059         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
2061         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
2062         (euidaccess, eaccess): Define as weak aliases.
2064         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
2065         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
2066         but __suseconds_t is often 'long int' so some sources assume that
2067         type is being used (e.g. they use %ld to print tv_usec).
2069 2015-04-29  Florian Weimer  <fweimer@redhat.com>
2071         [BZ #18007]
2072         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
2073         (CVE-2014-8121)
2074         * nss/tst-nss-getpwent.c: New file.
2075         * nss/Makefile (tests): Add new test.
2077 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
2079         [BZ #18346]
2080         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
2081         exponents less than 48 as cases where high part of mantissa needs
2082         examining to determine whether argument is integral.
2083         * math/libm-test.inc (round_test_data): Add more tests.
2085 2015-04-28  Mark Wielaard  <mjw@redhat.com>
2087         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
2089 2015-04-27  David S. Miller  <davem@davemloft.net>
2091         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
2092         __tls_get_addr.
2093         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2095 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
2097         [BZ#18333]
2098         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
2100 2015-04-27  Florian Weimer  <fweimer@redhat.com>
2102         [BZ#18333]
2103         * time/tzset.c (parse_tzname): Return error on memory allocation
2104         failure.
2105         * test-skeleton.c (struct temp_name_list): Change type of name
2106         member to non-const.
2107         (add_temp_file): Create a copy of the file name.
2108         (delete_temp_files): Deallocate memory.
2109         (create_temp_file): Add comment.
2111 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2113         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
2114         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
2116 2015-04-24  Roland McGrath  <roland@hack.frob.com>
2118         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
2119         * sysdeps/arm/configure: Regenerated.
2121 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2123         [BZ #17715]
2124         * time/tzfile.c (__tzfile_read): Check for large values of
2125         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
2126         * time/tzset.c (__tzstring_len): New function, based on the old
2127         __tzstring function.
2128         (__tzstring): Call __tzstring_len.
2129         (parse_tzname): New helper function extracted from
2130         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
2131         the input string.
2132         (parse_offset): New helper function extracted from
2133         __tzset_parse_tz.  Replace switch with fallthrough with
2134         initialization before sscanf.
2135         (parse_rule): Likewise.
2136         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
2137         new-style function definition.
2138         * timezone/Makefile (tests): Add tst-tzset.
2139         (tst-tzset.out): Dependencies on time zone files.
2140         (tst-tzset-ENV): Set TZDIR.
2141         (testdata/XT%): Copy crafted time zone files.
2142         * timezone/README: Mention crafted time zone files.
2143         * timezone/testdata/XT1, timezone/testdata/XT2,
2144         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
2145         files.
2146         * timezone/tst-tzset.c: New test.
2148 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2150         * Makeconfig (+gccwarn): Remove -Winline.
2152 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2154         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
2156 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2158         * NEWS: Mention sysconf() cache information support for s390.
2159         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
2161 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
2163         * math/k_casinh.c (__kernel_casinh): Use __copysign.
2164         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
2165         (__nearbyint): Likewise.
2166         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
2167         (copysignl): Likewise.
2169 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
2171         [BZ #18287]
2172         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
2173         based on padding.  (CVE-2015-1781)
2175 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2177         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
2178         libc-vdso.h.
2179         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
2180         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
2181         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2182         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2183         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2184         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
2185         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
2186         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2187         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2188         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
2189         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2190         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2191         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2192         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
2193         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2194         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
2195         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
2196         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
2197         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
2198         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
2199         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
2200         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
2201         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
2203 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
2205         * stdlib/setenv.c (__add_to_environ):
2206         Dump core quickly if setenv (..., NULL, ...) is called.
2207         This time, do it the right way, and pacify GCC with a pragma.
2209 2015-04-17  Roland McGrath  <roland@hack.frob.com>
2211         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
2212         IMAP->l_prev cannot be null, and #if out the code for the contrary
2213         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
2214         believe that NS (&_dl_ns[NSID]) could point outside the array.
2216         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
2217         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
2218         before using NSID as an index.
2220 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
2222         [BZ #17825]
2223         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
2224         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
2225         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2227 2015-04-17  Roland McGrath  <roland@hack.frob.com>
2229         Add preliminary port to Google Native Client on ARM.
2230         * abi-tags (.*-.*-nacl.*): New entry.
2231         * sysdeps/arm/nacl: New directory.
2232         * sysdeps/nacl: New directory.
2234 2015-04-16  David S. Miller  <davem@davemloft.net>
2236         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
2237         lowlevellock-futex.h
2239 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
2241         * sysdeps/tile/configure.ac: New file.
2242         * sysdeps/tile/configure: Regenerated.
2244 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2246         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
2247         conditionals for weak_alias and libc_hidden_weak.
2248         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
2249         libc_hidden_weak and weak_alias.
2250         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
2251         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
2252         and weak_alias for static one.
2254 2015-04-15  David S. Miller  <davem@davemloft.net>
2256         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2258 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2260         [BZ #18206]
2261         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
2262           Use signed comparision instead of substraction to avoid
2263           overflow bug.
2264         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
2265           Take the sign of ret.
2266         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
2267           Do not expect precise return values. Only the sign matters.
2268         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
2269         * wcsmbs/test-wcsncmp.c: New File.
2270         * string/test-strncmp.c: Add wcsncmp support.
2272 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2274         [BZ #6792]
2275         * math/w_log1p.c: New file.
2276         * math/w_log1pf.c: Likewise.
2277         * math/w_log1pl.c: Likewise.
2278         * math/Makefile (libm-calls): Add w_log1p.
2279         * math/s_log1pl.c (log1pl): Remove weak_alias.
2280         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
2281         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
2282         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
2283         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
2284         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
2285         [NO_LONG_DOUBLE] (log1pl): Likewise.
2286         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
2287         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
2288         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
2289         (log1p): Remove long_double_symbol.
2290         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
2291         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
2292         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
2293         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
2294         remove weak_alias for corresponding log1p function.
2295         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
2296         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
2297         * sysdeps/ia64/fpu/w_log1p.c: New file.
2298         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
2299         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
2300         * math/libm-test.inc (log1p_test_data): Add errno expectations.
2302 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
2304         [BZ #18247]
2305         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
2306         decimal exponent by 1.
2307         * stdlib/tst-strtod-round-data: Add more tests.
2308         * stdlib/tst-strtod-round.c (tests): Regenerated.
2310 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
2312         * math/auto-libm-test-in: Add more tests of clog and clog10.
2313         * math/auto-libm-test-out: Regenerated.
2314         * sysdeps/i386/fpu/libm-test-ulps: Update.
2315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2317 2015-04-09  Roland McGrath  <roland@hack.frob.com>
2319         * Makeconfig (module-cppflags): Exclude all .v.i files.
2320         (skip-module-cppflags): Variable removed.
2322         * configure.ac (libc_config_ok): Initialize before reading
2323         preconfigure scripts, not after.
2324         * configure: Regenerated.
2326         * test-skeleton.c (TIMEOUT): Move #define to top level.
2327         (main): Grok environment variable TEST_DIRECT.  If set, print
2328         test expectation details into that file and then behave as if
2329         given --direct.
2331 2015-04-09  Florian Weimer  <fweimer@redhat.com>
2333         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
2334         warning on 32-bit.
2336 2015-04-08  David S. Miller  <davem@davemloft.net>
2338         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2340 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
2342         * math/auto-libm-test-in: Add more tests of atanh.
2343         * math/auto-libm-test-out: Regenerated.
2344         * sysdeps/i386/fpu/libm-test-ulps: Update.
2345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2347         * math/auto-libm-test-in: Add more tests of atan.
2348         * math/auto-libm-test-out: Regenerated.
2349         * sysdeps/i386/fpu/libm-test-ulps: Update.
2350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2352 2015-04-08  Florian Weimer  <fweimer@redhat.com>
2354         * elf/pldd.c (main): Rewrite to use struct
2355         scratch_buffer instead of extend_alloca.
2356         * elf/pldd-xx.c (find_maps): Likewise.
2357         * grp/initgroups.c: Include <scratch_buffer.h> instead of
2358         <alloca.h>.
2359         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
2360         scratch_buffer instead of extend_alloca.
2361         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
2362         grp/compat-initgroups.c.
2363         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
2364         Rewrite to use struct scratch_buffer instead of extend_alloca.
2365         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
2366         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2368 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
2370         * math/auto-libm-test-in: Add more tests of cbrt.
2371         * math/auto-libm-test-out: Regenerated.
2372         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2374         * math/auto-libm-test-in: Add more tests of cabs.
2375         * math/auto-libm-test-out: Regenerated.
2376         * sysdeps/i386/fpu/libm-test-ulps: Update.
2377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2379         [BZ #18210]
2380         [BZ #18211]
2381         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
2382         (__ieee754_atan2): Set FE_TONEAREST mode for internal
2383         computations.
2384         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
2385         clog10.
2386         * math/auto-libm-test-out: Regenerated.
2387         * sysdeps/i386/fpu/libm-test-ulps: Update.
2388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2390         [BZ #18197]
2391         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
2392         (atan): Set FE_TONEAREST mode for internal computations.
2393         * math/auto-libm-test-in: Add more tests of atan.
2394         * math/auto-libm-test-out: Regenerated.
2396 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
2398         [BZ #17930]
2399         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
2401 2015-04-07  Florian Weimer  <fweimer@redhat.com>
2403         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
2405 2015-04-07  Florian Weimer  <fweimer@redhat.com>
2407         * include/scratch_buffer.h: New file.
2408         * malloc/scratch_buffer_grow.c: Likewise.
2409         * malloc/scratch_buffer_grow_preserve.c: Likewise.
2410         * malloc/scratch_buffer_set_array_size.c: Likewise.
2411         * malloc/tst-scratch_buffer.c: Likewise.
2412         * malloc/Makefile (routines): Add scratch_buffer_grow.
2413         (tests): Add test case.
2414         * malloc/Versions (GLIBC_PRIVATE): Export
2415         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
2416         __libc_scratch_buffer_set_array_size.
2418 2015-04-06  Richard Henderson  <rth@redhat.com>
2420         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
2421         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2423         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
2424         unsigned int before printing.
2426 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2428         [BZ #17596]
2429         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
2430         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2432 2015-04-02  Florian Weimer  <fweimer@redhat.com>
2434         * include/libc-internal.h (libc_max_align_t): Define.
2436 2015-04-02  Andreas Schwab  <schwab@suse.de>
2438         [BZ #16850]
2439         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
2441 2015-04-02  Mel Gorman  <mgorman@suse.de>
2443         [BZ #17195]
2444         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
2445         as well as the main arena.
2447 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
2449         [BZ #18185]
2450         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
2451         sharing L2 cache to 2 for Silvermont/Knights Landing.
2453 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
2455         [BZ #17711]
2456         * config.make.in (have-protected-data): New.
2457         * configure.ac: Check linker support for protected data symbol.
2458         * configure: Regenerated.
2459         * elf/Makefile (modules-names): Add tst-protected1moda and
2460         tst-protected1modb if $(have-protected-data) is yes.
2461         (tests): Add tst-protected1a and tst-protected1b if
2462         $(have-protected-data) is yes.
2463         ($(objpfx)tst-protected1a): New.
2464         ($(objpfx)tst-protected1b): Likewise.
2465         (tst-protected1modb.so-no-z-defs): Likewise.
2466         * elf/tst-protected1a.c: New file.
2467         * elf/tst-protected1b.c: Likewise.
2468         * elf/tst-protected1mod.h: Likewise.
2469         * elf/tst-protected1moda.c: Likewise.
2470         * elf/tst-protected1modb.c: Likewise.
2472 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
2474         [BZ #17711]
2475         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
2476         indicates it is called from do_lookup_x on relocation against
2477         protected data, skip the data definion in the executable from
2478         copy reloc.
2479         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
2480         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
2481         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
2482         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
2483         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
2484         otherwise to 0.
2485         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2486         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
2487         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
2488         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2489         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
2490         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
2492 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
2494         * sysdeps/nptl/pthread.h: Remove duplicate definition of
2495         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
2497 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
2499         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
2500         THREAD_SETMEM_NC.
2501         * sysdeps/x86_64/nptl/tls.h: Ditto.
2503 2015-03-27  Roland McGrath  <roland@hack.frob.com>
2505         * dlfcn/tststatic.c (main): Converted to ...
2506         (do_test): ... this.
2507         (TEST_FUNCTION): New macro.
2508         Include test-skeleton.c.
2510 2015-03-26  Alan Modra  <amodra@gmail.com>
2512         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
2513         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
2514         zero for undefined weak.
2515         (elf_machine_plt_conflict): Similarly.
2517 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
2519         * math/auto-libm-test-in: Add more tests of acosh, asinh and
2520         atanh.
2521         * math/auto-libm-test-out: Regenerated.
2522         * sysdeps/i386/fpu/libm-test-ulps: Update.
2523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2525         * math/auto-libm-test-in: Add another test of asin.
2526         * math/auto-libm-test-out: Regenerated.
2527         * sysdeps/i386/fpu/libm-test-ulps: Update.
2528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2530         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
2531         Remove macro.
2532         (LLL_EBX_REG): Likewise.
2533         (LLL_ENTER_KERNEL): Likewise.
2535         * math/auto-libm-test-in: Add more tests of asin.
2536         * math/auto-libm-test-out: Regenerated.
2537         * sysdeps/i386/fpu/libm-test-ulps: Update.
2538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2540         [BZ #18138]
2541         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
2542         libc_do_syscall_args): New structure.
2543         (INTERNAL_SYSCALL_MAIN_0): New macro.
2544         (INTERNAL_SYSCALL_MAIN_1): Likewise.
2545         (INTERNAL_SYSCALL_MAIN_2): Likewise.
2546         (INTERNAL_SYSCALL_MAIN_3): Likewise.
2547         (INTERNAL_SYSCALL_MAIN_4): Likewise.
2548         (INTERNAL_SYSCALL_MAIN_5): Likewise.
2549         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
2550         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
2551         Replace conditional definitions by conditional definitions of ....
2552         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
2553         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
2554         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
2555         (libpthread-sysdep_routines): Add libc-do-syscall.
2556         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
2557         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
2558         to __NR_futex not 240.
2560 2015-03-25  Alan Modra  <amodra@gmail.com>
2562         * NEWS: Advertise TLS optimization.
2563         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
2564         (DT_PPC_NUM): Increment.
2565         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
2566         (CHECK_STATIC_TLS): Use here.
2567         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
2568         TLS descriptors.
2569         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2570         * sysdeps/powerpc/dl-tls.c: New file.
2571         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
2572         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
2573         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
2574         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
2575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
2576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2579 2015-03-25  Alan Modra  <amodra@gmail.com>
2581         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
2582         for overlapping .opd entries" to "support...".
2583         * sysdeps/powerpc/powerpc64/configure: Regenerate
2585 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
2587         * math/auto-libm-test-in: Add more tests of acos.
2588         * math/auto-libm-test-out: Regenerated.
2589         * sysdeps/i386/fpu/libm-test-ulps: Update.
2590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2592         * math/auto-libm-test-in: Add more tests of expm1.
2593         * math/auto-libm-test-out: Regenerated.
2594         * sysdeps/i386/fpu/libm-test-ulps: Update.
2595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2597 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
2599         * math/auto-libm-test-in: Add more tests of cosh and sinh.
2600         * math/auto-libm-test-out: Regenerated.
2601         * sysdeps/i386/fpu/libm-test-ulps: Update.
2602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2604         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2607         * math/auto-libm-test-in: Add more tests of log2.
2608         * math/auto-libm-test-out: Regenerated.
2609         * sysdeps/i386/fpu/libm-test-ulps: Update.
2610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2612 2015-03-23  Roland McGrath  <roland@hack.frob.com>
2614         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
2615         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
2616         _IO_IS_APPENDING bit in READ_WRITE instead.
2618 2015-03-23  Florian Weimer  <fweimer@redhat.com>
2620         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2621         (__determine_cpumask_size): Replace extend_alloca with a
2622         variable-length array.  Do not treat res == 0 as an error.
2624 2015-03-23  Florian Weimer  <fweimer@redhat.com>
2626         [BZ #18100]
2627         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
2628         and integer overflow.
2629         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
2630         (main): Add integer overflow tests.
2631         * manual/pattern.texi (Calling Wordexp): Document additional use
2632         for WRDE_SYNTAX.
2634 2015-03-23  Alan Modra  <amodra@gmail.com>
2636         * config.h.in: Remove HAVE_ASM_PPC_REL16.
2637         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
2638         and false branch of conditional.
2639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2640         Likewise.
2642 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
2644         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
2645         libc-modules.h
2646         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
2647         unused declaration of _hurd_intr_rpc_msg_in_trap.
2648         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
2649         defined instead of whether it is non-zero.
2650         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
2651         input constraint instead of both input and output constraint.  Use ecx
2652         clobber instead of %ecx.
2653         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
2654         mutex_unlock): Use a statement expression instead of an expression list.
2655         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
2656         type to vm_size_t instead of vm_address_t.
2657         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
2658         defined instead of whether it is non-zero.
2659         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
2660         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
2661         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
2662         comparisons with mapaddr.
2663         * nscd/nscd-client.h: Include <time.h>.
2664         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
2665         9th parameter to __vm_region instead of int.
2666         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
2667         * scripts/check-local-headers.sh (exclude): Add device/,
2668         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
2669         cthreads.h.
2671 2015-03-19  Roland McGrath  <roland@hack.frob.com>
2673         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
2674         to account for alignment padding.
2675         * sysdeps/arm/memmove.S: Likewise.
2677 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
2679         * sysdeps/unix/sysv/linux/generic/README: New file.
2681 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
2683         [BZ #18138]
2684         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
2685         (futex_abstimed_wait)
2686         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
2687         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
2688         of lll_futex_timed_wait.
2690 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
2692         [BZ #17542]
2693         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
2695 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
2697         [BZ #17090]
2698         [BZ #17620]
2699         [BZ #17621]
2700         [BZ #17628]
2701         * NEWS: Update.
2702         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
2703         entries with Static TLS too.  Skip entries past the end of the
2704         allocated DTV, from Alan Modra.
2705         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
2706         Static TLS DTV entry set up from...
2707         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
2708         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
2709         * nptl/allocatestack.c (init_one_static_tls): ... and here...
2710         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
2711         for Static TLS.
2712         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
2713         that the slot we find is associated with the given map before
2714         using its generation count.
2715         * nptl_db/db_info.c: Include ldsodefs.h.
2716         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
2717         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
2718         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
2719         (link_map::l_tls_offset): New struct field.
2720         (dtv_t::counter): Likewise.
2721         (rtld_global): New struct.
2722         (_rtld_global): New rtld variable.
2723         (dl_tls_dtv_slotinfo_list): New rtld global field.
2724         (dtv_slotinfo_list): New struct.
2725         (dtv_slotinfo): Likewise.
2726         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
2727         (td_lookup): Rename to...
2728         (td_mod_lookup): ... this.  Use new mod parameter instead of
2729         LIBPTHREAD_SO.
2730         * nptl_db/td_thr_tlsbase.c: Include link.h.
2731         (dtv_slotinfo_list, dtv_slotinfo): New functions.
2732         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
2733         addresses even if the DTV is out of date or missing them.
2734         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
2735         index zero-length arrays.
2736         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
2737         (td_lookup): Make it a macro implemented in terms of...
2738         (td_mod_lookup): ... this declaration.
2739         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
2740         (DB_MAIN_VARIABLE): Likewise.
2742 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2744         [BZ #18134]
2745         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2747 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
2749         * stdlib/setenv.c (__add_to_environ): Revert previous change.
2751 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
2753         [BZ #18128]
2754         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
2755         (atomic_add, atomic_increment_and_test)
2756         (atomic_decrement_and_test): Fix 64-bit arithmetic.
2758 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
2760         * stdlib/setenv.c (__add_to_environ):
2761         Dump core quickly if setenv (..., NULL, ...) is called.
2763 2015-03-13  Roland McGrath  <roland@hack.frob.com>
2765         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
2766         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
2767         all the necessary asm magic in one place.
2768         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
2769         using those.
2771 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
2773         [BZ #14906]
2774         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
2775         traced file mtime. Use consistent log message.
2776         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
2777         (register_traced_file): Call install_watches. Always set mtime.
2778         (invalidate_cache): Iterate over all trace files. Call install_watches.
2779         (inotify_check_files): Don't inline. Handle watching parent
2780         directories and configuration file movement in and out.
2781         (handle_inotify_events): New function.
2782         (main_loop_poll): Call handle_inotify_events.
2783         (main_loop_epoll): Likewise.
2784         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
2785         (struct traced_file): Use array of inotify fds. Add parent directory,
2786         and basename.
2787         (struct database_dyn): Remove unused file_mtime.
2788         (init_traced_file): New inline function.
2789         (define_traced_file): New macro.
2790         * nss/nss_db/db-init.c: Use define_traced_file.
2791         (_nss_db_init): Use init_traced_file.
2792         * nss/nss_files/files-init.c: Use define_traced_file.
2793         (_nss_files_init): Use init_traced_file.
2795 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
2797         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
2798         [_LIBC]: Do not include <stdlib.h>.
2799         [!_LIBC] (abort): Remove declaration.
2800         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
2801         _FP_STATIC_ASSERT instead of conditionally calling abort.
2802         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
2803         (_FP_EXTEND_CNAN): Likewise.
2804         (FP_TRUNC): Likewise.
2805         (__FP_CLZ): Likewise.
2806         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
2808 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
2810         * manual/string.texi (XPG basename): Fix prototype.
2812 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2814         [BZ #18080]
2815         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
2816         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2817         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
2818         (__setcontext): Likewise.
2819         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
2820         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2821         Call rt_sigprocmask syscall one time to set new signal mask
2822         and retrieve the current signal mask instead of two calls.
2823         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
2824         (__swapcontext): Likewise.
2825         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
2826         * stdlib/tst-setcontext2.c: New file.
2828 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2830         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2832 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
2834         [BZ #18093]
2835         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
2836         the wrong size.
2838 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
2840         [BZ #18043]
2841         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
2843 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
2845         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
2846         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
2847         Remove define.
2848         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
2849         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
2850         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
2851         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
2852         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
2853         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
2854         define.
2855         * nptl_db/td_symbol_list.c (td_lookup): Remove
2856         HAVE_ASM_GLOBAL_DOT_NAME code.
2857         * sysdeps/powerpc/powerpc64/configure.ac: Remove
2858         HAVE_ASM_GLOBAL_DOT_NAME check.
2859         * sysdeps/powerpc/powerpc64/configure: Regenerate.
2860         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
2861         (DOT_LABEL): Remove define.
2862         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
2863         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
2864         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
2865         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
2866         (__TLS_GET_ADDR): Likewise.
2867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
2868         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
2870 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
2872         [BZ #18111]
2873         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
2874         (_FPU_SETCW): Initialize cw from fpsr before storing.
2875         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
2876         (fesetexceptflag): Rewrite using fpu_control.h.
2877         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
2879 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
2881         [BZ #18110]
2882         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
2883         asms.
2884         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2886 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
2888         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
2889         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
2890         abort.
2891         (_FP_FMA): Likewise.
2892         (_FP_DIV): Likewise.
2894 2015-03-10  Roland McGrath  <roland@hack.frob.com>
2896         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
2897         with 0 in that case.
2898         * Makefile (summarize-tests): New canned sequence, factored out of
2899         commands for targets tests and xtests.  Display summary lines that
2900         don't start with PASS: or XFAIL: rather than ones that do start with
2901         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
2902         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
2903         do start with ERROR: or FAIL:.
2904         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
2905         (except for [$(build-shared) = yes]).
2906         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
2907         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
2908         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
2909         * nptl/Makefile: Revert 2015-03-04 changes.
2910         [$(CXX) empty] (tests-unsupported): New variable.
2911         * debug/Makefile: Likewise.
2913         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
2914         gnulib file.  Replace __attribute with __attribute__ throughout.
2916 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
2918         * sysdeps/hppa/fpu/libm-test-ulps: Update.
2920 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
2922         [BZ #18104]
2923         * math/auto-libm-test-in: Add another test of pow.
2924         * math/auto-libm-test-out: Regenerated.
2926 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2928         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
2929         $(config-cflags-nofma).
2931 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
2933         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
2934         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
2935         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
2936         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
2937         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
2938         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
2939         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
2940         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
2941         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
2942         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
2943         Add comment on closing #endif.
2945 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2947         * posix/wordexp.c (CHAR_IN_SET): New macro.
2948         (parse_param): Use it.
2950 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2952         * sysdeps/powerpc/fpu/libm-test-ulps: update.
2954 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2956         [BZ #18043]
2957         * posix/wordexp.c (parse_param): Fix buffer overflow.
2958         * posix/wordexp-test.c (test_case): Add test case.
2960 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2962         [BZ #18042]
2963         * posix/wordexp.c (parse_backtick): Fix off-by-one.
2964         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
2966 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2968         [BZ #18043]
2969         * posix/wordexp-test.c (test_case): Add test for BZ #18043
2970         (do_bz18043): Delete.
2971         (at_page_end): New.
2972         (testit): Refactor to have words at the edge of unreadable page.
2974 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
2976         [BZ #16734]
2977         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
2978         Cleanup read-only streams as well.
2979         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
2981 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2983         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
2984         <bits/libc-lockP.h>
2986 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
2988         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
2989         on [__KERNEL__].
2990         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
2991         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
2992         * soft-fp/op-common.h (_FP_DECL): Likewise.
2994 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
2996         * elf/ifuncdep2.c (global): Replace
2997         __attribute__((visibility("protected"))) with
2998         asm (".protected global").
2999         * elf/ifuncmod1.c (global): Likewise.
3000         * elf/ifuncmod5.c (global): Likewise.
3002 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
3004         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
3005         <asm/sfp-machine.h> instead of <sfp-machine.h>.
3007 2015-03-06  Roland McGrath  <roland@hack.frob.com>
3009         * manual/install.texi (Configuring and compiling):
3010         Document test-wrapper-env-only.
3011         * INSTALL: Regenerated.
3013 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
3015         [BZ #18043]
3016         * posix/wordexp.c (parse_param): Fix buffer overflow.
3017         * posix/wordexp-test.c (do_bz18043): Add test case.
3019 2015-03-06  Vincent Bernat  <vincent@bernat.im>
3021         * time/tst-strptime2.c (do_test): Ensure failing tests are
3022         reported correctly.
3023         * time/tst-strptime3.c (do_test): Likewise.
3025 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
3027         Fix aio_error thread-safety.
3028         * sysdeps/pthread/aio_error.c: New file
3029         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
3030         synchronization.
3032 2015-03-06  Florian Weimer  <fweimer@redhat.com>
3034         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
3035         (group_number, vfprintf): Use it.
3036         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
3037         (JUMP, REF): Use it.
3038         (WORK_BUFFER_SIZE): New enum constant.
3039         (process_arg, vfprintf): Use it.
3041 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
3043         * manual/errno.texi (Error Messages): Complete example function
3044         by adding missing #define.
3045         (program_invocation_name): Add statement indicating GNU
3046         extension and reference which header file declares the variable.
3047         (program_invocation_short_name): Likewise.
3049 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
3051         * manual/errno.texi (Error Messages): Delete strerror ISO C89
3052         compatibility note.
3054 2015-03-05  Roland McGrath  <roland@hack.frob.com>
3056         * Makeconfig (test-wrapper-env-only): New variable.
3057         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
3058         then use that with $(test-wrapper-env-only) rather than using
3059         $(test-wrapper-env) $(run-program-env) $($*-ENV).
3061 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
3063         [BZ #18082]
3064         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
3065         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
3066         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
3067         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
3068         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
3069         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
3070         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
3071         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3072         Likewise.
3073         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
3074         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
3075         Likewise.
3076         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
3077         Likewise.
3078         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
3079         Likewise.
3080         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
3081         Likewise.
3082         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
3083         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
3084         Likewise.
3085         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
3086         Likewise.
3087         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
3088         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
3090 2015-03-04  Roland McGrath  <roland@hack.frob.com>
3092         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
3093         (ETH_ALEN): New macro.
3094         (struct ether_addr): Use it for length of ether_addr_octet.
3096         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
3097         (setdb): Don't call __nss_configure_lookup for "rpc".
3098         (do_test): Don't call test_rpc.
3099         (output_rpcent, test_rpc): Functions moved ...
3100         * sunrpc/test-rpcent.c: ... to this new file.
3101         * sunrpc/Makefile (tests): Add it.
3103         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
3104         __xpg_sigpause.
3105         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
3106         * nptl/tst-signal6.c: Likewise.
3107         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
3108         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
3110         * configure.ac (libc_cv_cxx_link_ok): New check.
3111         Reset CXX to empty if it fails to link.
3112         * configure: Regenerated.
3113         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
3114         bug-atexit3-lib only if $(CXX) is nonempty.
3115         * nptl/Makefile (tests): Likewise for tst-cancel24.
3116         (tests, tests-static): Likewise for tst-cancel24-static.
3117         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
3118         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
3119         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
3120         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
3122 2015-03-04  Andreas Schwab  <schwab@suse.de>
3124         [BZ #17631]
3125         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
3126         for non-GCC compilers.
3127         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3128         Likewise.
3130 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3132         [BZ #17776]
3133         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
3134         integer before bitwise and assembly operations.
3135         (feclearexcept): Likewise.
3136         * math/test-fenvinline.c: New file.
3137         * math/Makefile: Add test-fenvinline test.
3139 2015-03-03  Alan Modra  <amodra@gmail.com>
3141         [BZ #16512]
3142         * scripts/localplt.awk: Strip off symbol version.
3143         * NEWS: Mention bug fix.
3145 2015-03-02  Roland McGrath  <roland@hack.frob.com>
3147         * sysdeps/pthread/timer_routines.c
3148         (timer_free_list, thread_free_list, thread_active_list): Make static.
3150 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
3152         [BZ #17779]
3153         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3154         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3155         Undefine.
3156         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3157         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3158         Likewise.
3159         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3160         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3161         Likewise.
3163 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
3165         [BZ #18036]
3166         * posix/fnmatch_loop.c (END): Detect invalid pattern.
3167         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
3169 2015-03-02  Andreas Schwab  <schwab@suse.de>
3171         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
3172         variable name.
3174 2015-03-02  Florian Weimer  <fweimer@redhat.com>
3176         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
3177         Return error status.
3179 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
3181         [BZ #15969]
3182         * locale/findlocale.c (_nl_find_locale): Introduce const
3183         version of loc_name and drop unsafe type casts.
3185 2015-02-27  Roland McGrath  <roland@hack.frob.com>
3187         * dlfcn/tststatic2.c (main): Converted to ...
3188         (do_test): ... this.
3189         (TEST_FUNCTION): New macro.
3190         Include test-skeleton.c.
3192 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
3194         [BZ #17711]
3195         * elf/Makefile (tests): Add vismain only if PIE is enabled.
3196         (tests-pie): Add vismain.
3197         (CFLAGS-vismain.c): New.
3198         * elf/vismain.c: Add comments for PIE requirement.
3200 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
3202         [BZ #18046]
3203         [BZ #18047]
3204         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
3205         0x1p-56L as threshold for just returning the argument.
3206         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
3207         0x1p-32L as threshold for just returning the argument.
3208         * math/auto-libm-test-in: Add more tests of atanh.
3209         * math/auto-libm-test-out: Regenerated.
3210         * sysdeps/i386/fpu/libm-test-ulps: Update.
3211         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
3213 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
3215         * string/bcopy.c (bcopy): Call memmove for performance.
3217 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
3219         * string/bzero.c (__bzero): Call memset for performance.
3221 2015-02-27  John David Anglin  <dave.anglin@bell.net>
3223         [BZ #18068]
3224         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
3225         to 00100000.
3227 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
3229         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
3231 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
3233         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
3234         (__kernel_standard): Use CSTR macro when setting exc.name.
3235         * sysdeps/ieee754/Makefile [$(subdir) = math]
3236         (CFLAGS-k_standard.c): Remove variable.
3238         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
3239         setting p and q from "else if" to "else".
3240         (qzero): Likewise.
3241         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
3242         (qone): Likewise.
3243         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
3244         (qzerof): Likewise.
3245         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
3246         (qonef): Likewise.
3247         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
3248         (qzero): Likewise.
3249         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
3250         (qone): Likewise.
3252         [BZ #18038]
3253         [BZ #18039]
3254         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
3255         return pi/2 for arguments below 0x1p-113L.
3256         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
3257         return pi/2 for arguments below 0x1p-106L.
3258         * math/auto-libm-test-in: Add more tests of acos.
3259         * math/auto-libm-test-out: Regenerated.
3261         [BZ #16351]
3262         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
3263         (MO): New macro.
3264         (__ieee754_asin): Force underflow exception for results with small
3265         absolute value.
3266         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
3267         (MO): New macro.
3268         (__ieee754_asinf): Force underflow exception for results with
3269         small absolute value.
3270         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
3271         (__ieee754_asin): Force underflow exception for results with small
3272         absolute value.
3273         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
3274         (__ieee754_asinf): Force underflow exception for results with
3275         small absolute value.
3276         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
3277         (__ieee754_asinl): Force underflow exception for results with
3278         small absolute value.
3279         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
3280         (__ieee754_asinl): Force underflow exception for results with
3281         small absolute value.
3282         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
3283         (__ieee754_asinl): Force underflow exception for results with
3284         small absolute value.
3285         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3286         Include <math.h>.
3287         * math/auto-libm-test-in: Do not mark underflow exceptions as
3288         possibly missing for bug 16351.
3289         * math/auto-libm-test-out: Regenerated.
3291         [BZ #18030]
3292         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
3293         of power of 2 down when low part has opposite sign.
3294         * math/libm-test.inc (logb_test_data): Add more tests.
3296 2015-02-26  Andreas Schwab  <schwab@suse.de>
3298         [BZ #18032]
3299         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
3300         over collating symbol inside a bracket expression.  Minor cleanup.
3301         * posix/tst-fnmatch3.c (do_test): Add test case.
3303 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
3305         [BZ #18029]
3306         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
3307         Adjust exponent of power of 2 down when low part has opposite
3308         sign.
3309         * math/libm-test.inc (ilogb_test_data): Add more tests.
3311 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
3313         [BZ #15969]
3314         * locale/findlocale.c (_nl_find_locale): Fix constness error in
3315         the previous change.
3317         [BZ #15969]
3318         * locale/findlocale.c (_nl_find_locale): Retry archive search
3319         after alias expansion.
3321 2015-02-25  Roland McGrath  <roland@hack.frob.com>
3323         * iconv/tst-iconv3.c (main): Converted to ...
3324         (do_test): ... this.
3325         (TEST_FUNCTION): New macro.
3326         Include test-skeleton.c.
3328         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
3329         (convert): Make function static.
3330         (test_unalign): Likewise.  Add const to argument pointee types.
3331         (main): Replace with static function do_test.
3332         Print "Succeeded." only if RET is zero.
3333         (TEST_FUNCTION): New macro.
3334         Include test-skeleton.c.
3336         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
3337         returns a null pointer.
3339 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3341         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
3342         to __memcpy_ppc only for static builds.
3344 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
3346         [BZ #18020]
3347         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
3348         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
3349         * math/auto-libm-test-in: Add more tests of asinh.
3350         * math/auto-libm-test-out: Regenerated.
3351         * sysdeps/i386/fpu/libm-test-ulps: Update.
3352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3354 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
3356         [BZ #15850]
3357         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
3358         and ip6_mtuinfo definitions here.
3359         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
3360         in this define too.  Update comment.
3362 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
3364         * elf/sprof.c (load_shobj): Tweak error message to match others.
3366 2015-02-24  Kevin Easton  <kevin@guarana.org>
3368         [BZ #16145] (partial fix)
3369         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
3370         to reduce lock contention.
3372 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
3374         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
3375         (struct timex): Update time comment.
3376         (ADJ_SETOFFSET): Define.
3378 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
3380         [BZ #18019]
3381         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3382         2**56 not 2**28 as threshold for log (2x) formula.
3383         * math/auto-libm-test-in: Add more tests of acosh.
3384         * math/auto-libm-test-out: Regenerated.
3385         * sysdeps/i386/fpu/libm-test-ulps: Update.
3386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3388 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
3390         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
3391         parenthesis around the buf assignment.
3392         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
3394 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
3396         [BZ #16783]
3397         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
3398         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
3399         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
3400         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3401         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3402         * math/libm-test.inc (scalb_test_data): Add more tests.
3404 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3406         [BZ #17916]
3407         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
3408         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
3410 2015-02-24  Eric Rannaud  <e@nanocritical.com>
3412         [BZ #17523]
3413         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
3414         * io/bits/fcntl2.h (open): Use it.
3415         (openat): Likewise.
3416         * io/open.c (__libc_open): Likewise.
3417         * io/open64.c (__libc_open64): Likewise.
3418         * io/open64_2.c (__open64_2): Likewise.
3419         * io/open_2.c (__open_2): Likewise.
3420         * io/openat.c (__openat): Likewise.
3421         * io/openat64.c (__openat64): Likewise.
3422         * io/openat64_2.c (__openat64_2): Likewise.
3423         * io/openat_2.c (__openat_2): Likewise.
3424         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
3425         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3426         * sysdeps/posix/open64.c (__libc_open64): Likewise.
3427         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3428         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3429         (__open_nocancel): Likewise.
3430         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3431         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3432         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
3434 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3436         [BZ #14841]
3437         * resolv/gethnamaddr.c (getanswer): Skip logging if
3438         RES_USE_DNSSEC is set.
3439         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3441 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
3443         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
3445 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
3447         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3448         201304L, for Unicode 7.
3450 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
3452         [BZ #17836]
3453         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
3454         shared library.  Add gmon-start.os otherwise.
3455         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
3456         $(objpfx)gmon-start.os if builing shared library.
3457         ($(objpfx)g$(static-start-installed-name)): Likewise.
3459 2015-02-23  Andreas Schwab  <schwab@suse.de>
3461         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
3463 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
3465         [BZ #17269]
3466         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
3467         (enlarge_userbuf): Likewise.
3469 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
3471         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
3472         * math/atest-exp.c (TIMEOUT): Adjust to 200.
3473         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
3474         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
3476 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
3478         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
3479         expression inside statement expression.
3481 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3483         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
3484         <sysdeps/nptl/lowlevellock.h> and remove macros and
3485         functions that are now defined there.
3486         (SYS_futex): Remove.
3487         (lll_compare_and_swap): Remove.
3488         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
3490 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
3492         [BZ #17999]
3493         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
3494         instead of scandirat.
3495         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
3496         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
3497         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
3498         __scandirat.
3499         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
3500         (__scandirat): Declare.  Use libc_hidden_proto.
3501         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
3502         Remove variable.
3503         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3505 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
3507         [BZ #15319]
3508         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
3509         (MO): New macro.
3510         (__ieee754_atan2): For results with small absolute value, force
3511         underflow exception and remove excess range and precision from
3512         return value.
3513         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
3514         (MO): New macro.
3515         (__ieee754_atan2f): For results with small absolute value, force
3516         underflow exception and remove excess range and precision from
3517         return value.
3518         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
3519         (MO): New macro.
3520         (__atan): For results with small absolute value, force underflow
3521         exception and remove excess range and precision from return value.
3522         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
3523         (MO): New macro.
3524         (__atanf): For results with small absolute value, force underflow
3525         exception and remove excess range and precision from return value.
3526         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
3527         <math.h>.
3528         (__ieee754_atan2): Force underflow exception for results with
3529         small absolute value.
3530         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
3531         <math_private.h>.
3532         (atan): Force underflow exception for results with small absolute
3533         value.
3534         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
3535         (__atanf): Force underflow exception for results with small
3536         absolute value.
3537         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
3538         <math.h>.
3539         (__atanl): Force underflow exception for results with small
3540         absolute value.
3541         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
3542         (__atanl): Force underflow exception for results with small
3543         absolute value.
3544         * sysdeps/x86/fpu/bits/mathinline.h
3545         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
3546         (__ieee754_atan2): Only define inline for long double.
3547         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3548         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
3549         * math/auto-libm-test-in: Do not mark underflow exceptions as
3550         possibly missing for bug 15319.  Add more tests of atan2.
3551         * math/auto-libm-test-out: Regenerated.
3552         * math/libm-test.inc (casin_test_data): Do not mark underflow
3553         exceptions as possibly missing for bug 15319.
3554         (casinh_test_data): Likewise.
3555         * sysdeps/i386/fpu/libm-test-ulps: Update.
3557 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
3559         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
3560         * sysdeps/mips/bits/endian.h: Fix comments.
3562 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
3564         [BZ #17996]
3565         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
3566         (hdestroy_r): Likewise.
3567         (hsearch_r): Likewise.
3568         (__hcreate_r): Declare and use libc_hidden_proto.
3569         (__hdestroy_r): Likewise.
3570         (__hsearch_r): Likewise.
3571         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
3572         (hcreate): Call __hcreate_r instead of hcreate_r.
3573         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
3574         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
3575         as weak alias of __hcreate_r.
3576         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
3577         __hdestroy_r.
3578         (hsearch_r): Rename to __hsearch_r and define as weak alias of
3579         __hsearch_r.
3580         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
3581         Remove variable.
3582         (test-xfail-XPG4/search.h/linknamespace): Likewise.
3583         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3584         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3585         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3587 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3589         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
3590         arena_lock into a single arena_get.
3592 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
3594         * dl-reloc.c: Inlucde libc-internal.h.
3595         (_dl_try_allocate_static_tls): Call ALIGN_UP.
3596         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
3597         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
3598         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
3599         (grow_heap): Likewise.
3600         * malloc/malloc.c: Include libc-internal.h.
3601         (do_check_malloc): Call powerof2.
3602         (sysmalloc): Use pagesize. Call ALIGN_UP.
3603         (systrim): Use pagesize.
3604         (mremap_chunk): Use pagesize. Call ALIGN_UP.
3605         (__libc_valloc): Use pagesize.
3606         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
3608 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
3610         [BZ #17991]
3611         * include/sys/resource.h (__getrlimit64): Declare.  Use
3612         libc_hidden_proto.
3613         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
3614         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
3615         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
3616         getrlimit64.
3617         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
3618         __getrlimit64.
3619         [!getrlimit64] (getrlimit64): Define as weak alias of
3620         __getrlimit64.  Use libc_hidden_weak.
3621         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
3622         using __getrlimit64 not __new_getrlimit64.
3623         (__GI_getrlimit64): Likewise.
3624         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
3625         Likewise.
3626         (__GI_getrlimit64): Likewise.
3627         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
3628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
3629         (getrlimit): Add __getrlimit64 alias.
3630         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
3631         Likewise.
3632         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
3633         Remove variable.
3634         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3635         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3637 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
3639         * libio/fileops.c: Add missing sys/mman.h
3640         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
3642 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
3644         * manual/math.texi (Errors in Math Functions): Clarify goals
3645         regarding inexact and underflow exceptions.
3647 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
3649         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
3650         * sysdeps/mips/memset.S: Ditto.
3652 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
3654         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
3656 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3658         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
3659         (__v1longjmp): Remove versioned symbol.
3660         (__v1siglongjmp): Remove alias and versioned symbol.
3661         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
3662         (__v2siglongjmp): Likewise.
3664 2015-02-16  Torvald Riegel  <triegel@redhat.com>
3666         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
3668 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
3670         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
3672 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
3674         [BZ #17987]
3675         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
3676         zero result does not depend on the sign resulting from
3677         subtraction.
3678         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3679         Likewise.
3680         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3681         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3682         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3683         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3684         * math/libm-test.inc (remquo_test_data): Add more tests.
3686 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
3688         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
3689         Problem reported by J William Piggott.
3691 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
3693         [BZ #17978]
3694         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
3695         products 4 * y and 2 * y where those would overflow.
3696         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3697         Likewise.
3698         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3699         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3700         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3701         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3702         * math/libm-test.inc (remquo_test_data): Add more tests.
3704         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
3706         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
3707         [defined _COMPILING_NEWLIB].
3708         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
3709         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
3711         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
3712         [!defined __mips_isa_rev || __mips_isa_rev < 6].
3714 2015-02-16  Torvald Riegel  <triegel@redhat.com>
3716         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
3717         acquired.
3719 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
3721         [BZ #17792]
3722         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
3723         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
3724         HOST_STACK_END_ADDR): Likewise.
3726 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
3728         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
3729         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
3730         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
3732 2015-02-13  Roland McGrath  <roland@hack.frob.com>
3734         * sysdeps/generic/c++-types.data: New file.
3735         * sysdeps/generic/ld.abilist: New file.
3736         * sysdeps/generic/libBrokenLocale.abilist: New file.
3737         * sysdeps/generic/libanl.abilist: New file.
3738         * sysdeps/generic/libc.abilist: New file.
3739         * sysdeps/generic/libcrypt.abilist: New file.
3740         * sysdeps/generic/libdl.abilist: New file.
3741         * sysdeps/generic/libm.abilist: New file.
3742         * sysdeps/generic/libpthread.abilist: New file.
3743         * sysdeps/generic/libresolv.abilist: New file.
3744         * sysdeps/generic/librt.abilist: New file.
3746 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
3748         [BZ #17569]
3749         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3750         Compute absolute value of x as modified by fmod, not original
3751         value of x.
3752         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
3753         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
3754         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
3755         RUN_TEST_ffI_f1_mod8.
3756         (remquo_test_data): Add more tests.
3758 2015-02-13  Roland McGrath  <roland@hack.frob.com>
3760         * sysdeps/init_array/pt-crti.S: New file.
3762 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
3764         [BZ #17967]
3765         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
3766         __builtin_fmaf instead of relying on contraction of a * b + c.
3768 2015-02-12  J William Piggott  <elseifthen@gmx.com>
3770         [BZ #17969]
3771         * manual/time.texi: correct the zoneinfo path in the TZ Variable
3772         node.
3774 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
3776         [BZ #17964]
3777         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
3778         __builtin_fma instead of relying on contraction of a * b + c.
3780 2015-02-12  Roland McGrath  <roland@hack.frob.com>
3782         * Makeconfig (ASFLAGS): Add -Werror=undef.
3783         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
3784         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
3785         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
3787         * Makeconfig (after-link): New variable.
3788         (+link-pie, +link-pie-tests): Use it.
3789         (+link-static, +link-static-tests): Likewise.
3790         (+link, +link-tests): Likewise.
3791         * Makerules (build-module, build-module-asneeded): Likewise.
3792         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
3793         Likewise.
3794         * elf/Makefile ($(objpfx)ld.so): Likewise.
3796 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
3798         [BZ #17965]
3799         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
3800         both struct timeval and struct timespec.
3802 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
3804         [BZ #16560]
3805         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3806         and redefine.
3807         (__ieee754_exp2l): Do not multiply small fractional parts by
3808         M_LN2l.
3809         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
3810         small argument.
3811         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3812         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3813         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
3814         * math/auto-libm-test-in: Add more tests of exp2.
3815         * math/auto-libm-test-out: Regenerated.
3817 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3819         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
3820         unaligned path.
3822 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3824         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
3825         little endian.
3827 2015-02-12  Andreas Schwab  <schwab@suse.de>
3829         [BZ #15790]
3830         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
3831         Filter out elision flags from value returned in kind.
3832         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
3833         * nptl/tst-pthread-mutexattr.c: New file.
3835 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3837         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
3838         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
3839         into gnu-gnu, and update comment to refer to abi-tags.
3841 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
3843         [BZ #15467]
3844         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
3845         (__sincos): Set errno to EDOM for infinite argument.
3846         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
3847         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
3848         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
3849         (__sincosl): Set errno to EDOM for infinite argument.
3850         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
3851         (__sincosl): Set errno to EDOM for infinite argument.
3852         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
3853         (__sincosl): Set errno to EDOM for infinite argument.
3854         * math/libm-test.inc (sincos_test_data): Test errno setting.
3856 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
3858         * string/strxfrm_l.c: Remove #define STRCMP.
3859         * string/strcoll_l.c: Remove #define STRLEN.
3860         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
3861         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
3863 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
3865         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
3866         * sysdeps/mips/mips32/sfp-machine.h: ... here.
3867         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
3868         * sysdeps/mips/mips64/Makefile: ... here.
3869         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
3870         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
3871         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
3872         * sysdeps/mips/mips64/sfp-machine.h: ... here.
3873         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
3874         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
3875         * sysdeps/mips/mips64/n64/Implies: Likewise.
3877 2015-02-10  Roland McGrath  <roland@hack.frob.com>
3879         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
3880         <sys/time.h>, <string.h>, and <errno.h>.
3881         (dest_offset, dest_address, value, zero): Remove unused variables.
3882         (ldouble): Remove typedef.
3883         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
3884         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
3885         1).  Fix code style.
3886         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
3887         (check): Function removed.
3888         (CHECK): New macro.
3889         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
3890         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
3891         Don't call set_sigaction_FP and remove_sigaction_FP here.
3892         (ldouble_test): Just use 'long double' as macro argument, no need for
3893         the 'ldouble' typedef.
3894         (do_test): Set up SIGFPE handler at start, using plain signal rather
3895         than sigaction.  Fix code style.
3897 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
3899         [BZ #17949]
3900         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
3901         jump label.
3903 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3905         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
3906         * sysdeps/powerpc/powerpc32/configure: Regenerated.
3908         * sysdeps/powerpc/configure.ac: Remove file.
3909         * sysdeps/powerpc/configure: Likewise.
3911         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3912         [sysdep_routines]: Remove wordcopy-power6 object.
3913         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3914         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
3915         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
3916         (__memmove_ppc32): Likewise.
3917         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
3918         file.
3919         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
3920         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
3921         Remove preprocessor.
3923         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3924         [sysdep_routines]: Remove wide chars objects.
3925         [wcsmbs]: New rule for wide char objects.
3927         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3928         Remove wordcopy-power6 obejct.
3929         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
3930         Use local call for wordcopy and memcpy symbols.
3931         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
3932         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
3933         implementation for loader.
3934         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
3936         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3937         Remove wordcopy-power7 object.
3938         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
3939         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
3940         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
3941         (_wordcopy_fwd_dest_aligned): Likewise.
3942         (_wordcopy_bwd_aligned): Likewise.
3943         (_wordcopy_bwd_dest_aligned): Likewise.
3945         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
3946         Rewrite to call __memmove_ppc instead of include default
3947         implementation.
3949         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3950         Remove wide chars objects.
3951         [wcsmbs]: New rule for wide char objects.
3953 2015-02-09  Andreas Schwab  <schwab@suse.de>
3955         [BZ #17912]
3956         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3957         in terms of __O_DIRECTORY.
3959 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3961         * time/getdate.c: Include <stdbool.h>.
3962         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
3963         call PTR_MANGLE.
3964         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
3965         PTR_DEMANGLE.
3967 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
3969         Add ersatz _Static_assert on older C hosts
3970         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
3971         pre-C11 C platform that is not known to support _Static_assert.
3973 2015-02-07  Richard Braun  <rbraun@sceen.net>
3975         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
3976         sigstate.
3977         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
3979 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3981         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
3982         priority against unexistent AIO_PRIO_DELTA_MAX.
3983         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
3984         instead of int.
3985         * misc/fchflags.c (fchflags): Likewise.
3986         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3987         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3988         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
3989         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
3990         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
3991         Declare macros.
3992         [__USE_MISC] (chflags, fchflags): Declare functions.
3993         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
3994         EINVAL when nfds is greater than FD_SETSIZE.
3995         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
3996         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
3997         45.
3998         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
3999         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
4000         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
4001         MACH_RCV_TIMED_OUT.
4002         * hurd/hurd/signal.h (_hurd_self_sigstate,
4003         _hurd_critical_section_lock, _hurd_critical_section_unlock):
4004         Explicit casts from void *.
4005         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
4006         * abi-tags: Rename gnu-gnu os into gnu.
4008         [BZ #4719]
4009         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
4010         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
4011         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
4012         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
4013         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
4014         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
4016         [BZ #17944]
4017         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
4018         duplicates ADDR->sun_path with sockaddr LEN limitation.
4019         * sysdeps/mach/hurd/connect.c: Include <string.h>
4020         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
4021         * sysdeps/mach/hurd/sendmsg.c: Likewise.
4022         * sysdeps/mach/hurd/sendto.c: Likewise.
4023         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
4024         implementing it by hand.
4026 2015-02-06  Roland McGrath  <roland@hack.frob.com>
4028         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
4029         Use sfi_breg on ldr.
4030         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
4031         Likewise.
4033         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
4034         it's defined.
4035         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
4036         Test SIGSETXID only if it's defined.
4038         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
4040         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
4041         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
4043         * nptl/tst-align2.c: Moved ...
4044         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
4045         * nptl/Makefile (tests): Remove tst-align2.
4046         * sysdeps/unix/sysv/linux/Makefile
4047         [$(subdir) = nptl] (tests): Add tst-align-clone.
4048         * nptl/tst-getpid1.c: Moved ...
4049         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
4050         * nptl/tst-getpid2.c: Moved ...
4051         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
4052         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
4053         * sysdeps/unix/sysv/linux/Makefile
4054         [$(subdir) = nptl] (tests): ... here.
4055         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
4056         * sysdeps/unix/sysv/linux/Makefile
4057         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
4059         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
4060         Drop trailing \n from perror argument.  Use return rather than exit.
4062         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
4063         on [SA_SIGINFO].
4064         * nptl/tst-cancel21.c (do_test): Likewise.
4065         * debug/tst-backtrace6.c: Include <signal.h> first thing.
4066         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
4067         [!SA_SIGINFO]: Make it a stub test.
4069         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
4070         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
4072         * posix/tst-getlogin.c: Move to ...
4073         * login/tst-getlogin.c: ... here.
4074         * posix/Makefile (tests): Move tst-getlogin to ...
4075         * login/Makefile (tests): ... here.
4077         * libio/tst-atime.c (do_test): Move local variables SV and E
4078         inside [ST_NOATIME] conditional.
4080         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
4082         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
4084         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
4085         (wait_code): New function replaces macro.
4086         Call nanosleep rather than syscall.
4088         * nptl/pt-system.c: Rewritten.  Put everything under
4089         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4090         Use IFUNC to redirect when possible.
4092         * nptl/pt-longjmp.c: Rewritten.  Put everything under
4093         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4094         Use IFUNC to redirect when possible.
4096         * nptl/pt-fork.c: Rewritten.  Put everything under
4097         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4098         Use IFUNC to redirect when possible.
4099         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
4101         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
4102         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
4103         unconditionally nowadays.  This included the only reference to
4104         __vdso_clock_gettime that appears outside libc proper.
4105         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
4106         Remove version set (containing only __vdso_clock_gettime).
4107         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4108         Add attribute_hidden.
4109         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4110         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
4111         libc_hidden_data_def.
4112         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4113         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4115         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
4116         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
4117         setrpcent, and getrpcport to ...
4118         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
4119         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
4120         getrpcbynumber_r, and getrpcent_r to ...
4121         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
4122         * inet/getrpcbyname.c: Moved ...
4123         * sunrpc/getrpcbyname.c: ... here.
4124         * inet/getrpcbyname_r.c: Moved ...
4125         * sunrpc/getrpcbyname_r.c: ... here.
4126         * inet/getrpcbynumber.c: Moved ...
4127         * sunrpc/getrpcbynumber.c: ... here.
4128         * inet/getrpcbynumber_r.c: Moved ...
4129         * sunrpc/getrpcbynumber_r.c: ... here.
4130         * inet/getrpcent.c: Moved ...
4131         * sunrpc/getrpcent.c: ... here.
4132         * inet/getrpcent_r.c: Moved ...
4133         * sunrpc/getrpcent_r.c: ... here.
4134         * inet/Makefile (routines): Move those to ...
4135         * sunrpc/Makefile (routines): ... here.
4136         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
4137         the $(subdirs) list.
4138         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
4139         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
4140         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
4141         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
4143         * elf/Makefile (routines): Include $(all-dl-routines), not just
4144         $(dl-routines).
4145         (rtld-routines): Likewise.  Use = rather than :=.
4146         * sysdeps/aarch64/Makefile [$(subdir) = elf]
4147         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
4148         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
4149         * sysdeps/arm/Makefile: Likewise.
4150         * sysdeps/i386/Makefile: Likewise.
4151         * sysdeps/x86_64/Makefile: Likewise.
4152         * sysdeps/hppa/Makefile [$(subdir) = elf]
4153         (sysdep_routines, sysdep-rtld-routines): Don't add
4154         $(sysdep-dl-routines) to these.
4155         * sysdeps/ia64/Makefile: Likewise.
4156         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
4157         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
4158         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
4159         Don't add dl-static to these; sysdep-dl-routines alone is enough.
4160         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
4161         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
4162         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
4163         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
4164         * sysdeps/powerpc/Makefile [$(subdir) = elf]
4165         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
4166         these; sysdep-dl-routines alone is enough.
4168 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
4170         [BZ #17932]
4171         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
4172         where multiplication results in zero and third argument is finite
4173         and nonzero.
4174         * math/auto-libm-test-in: Add more tests of fma.
4175         * math/auto-libm-test-out: Regenerated.
4177         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
4178         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
4179         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
4180         (_FP_CMP_EQ): Likewise.
4181         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
4183         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
4184         extra argument CHECK_NAN.  Redefine as wrapper around
4185         _FP_EXTEND_CNAN.
4187 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
4189         * version.h (RELEASE): Set to "stable".
4190         (VERSION): Set to "2.21"
4191         * include/features.h (__GLIBC_MINOR__): Set to 21.
4193         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
4195 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4196             Paul Eggert  <eggert@cs.ucla.edu>
4198         [BZ #16618]
4199         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
4200         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
4201         size in bytes. Store needed elements in wpmax. Use needed size
4202         in bytes for extend_alloca.
4204 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
4206         * manual/install.texi: Latest tested versions are GCC 4.9.2,
4207         binutls 2.25, and texinfo 5.2.
4208         * INSTALL: Regenerate.
4209         * sysdeps/nios2/configure: Regenerate.
4210         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
4211         * manual/contrib.texi: Update.
4212         * po/be.po: Update.
4213         * po/bg.po: Update.
4214         * po/ca.po: Update.
4215         * po/cs.po: Update.
4216         * po/da.po: Update.
4217         * po/de.po: Update.
4218         * po/el.po: Update.
4219         * po/eo.po: Update.
4220         * po/es.po: Update.
4221         * po/fi.po: Update.
4222         * po/fr.po: Update.
4223         * po/gl.po: Update.
4224         * po/hr.po: Update.
4225         * po/hu.po: Update.
4226         * po/ia.po: Update.
4227         * po/id.po: Update.
4228         * po/it.po: Update.
4229         * po/ja.po: Update.
4230         * po/ko.po: Update.
4231         * po/lt.po: Update.
4232         * po/nb.po: Update.
4233         * po/nl.po: Update.
4234         * po/pl.po: Update.
4235         * po/pt_BR.po: Update.
4236         * po/ru.po: Update.
4237         * po/rw.po: Update.
4238         * po/sk.po: Update.
4239         * po/sl.po: Update.
4240         * po/sv.po: Update.
4241         * po/tr.po: Update.
4242         * po/uk.po: Update.
4243         * po/vi.po: Update.
4244         * po/zh_CN.po: Update.
4245         * po/zh_TW.po: Update.
4247         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
4248         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
4249         * sysdeps/hppa/dl-irel.h: Remove #warning.
4250         * sysdeps/hppa/entry.h: Provide prototype for
4251         __canonicalize_funcptr_for_compare and cast argument.
4252         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
4253         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
4254         * sysdeps/hppa/sotruss-lib.c: New file.
4255         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
4256         (atomic_compare_and_exchange_val_acq): Use __typeof__.
4257         (atomic_compare_and_exchange_bool_acq): Likewise.
4258         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
4259         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
4261         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
4262         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
4263         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
4265 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
4267         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
4268         called function in non-PIC case.
4270 2015-01-31  David S. Miller  <davem@davemloft.net>
4272         * sysdeps/sparc/sparc32/bits/atomic.h
4273         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
4274         unlock not after it.
4275         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
4276         volatile register usage warnings from the compiler.
4278         * sysdeps/sparc/nptl/sem_init.c: Delete.
4279         * sysdeps/sparc/nptl/sem_post.c: Delete.
4280         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
4281         * sysdeps/sparc/nptl/sem_wait.c: Delete.
4282         * sysdeps/sparc/sparc32/sem_init.c: New file.
4283         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
4284         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
4285         padding explicitly initialized.
4286         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
4287         padding for in-semaphore spinlock.
4288         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
4289         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
4290         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
4291         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
4292         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
4293         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
4294         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
4295         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
4296         version.
4297         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
4298         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
4300 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
4302         [BZ #17801]
4303         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4304         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
4305         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
4306         New.
4307         (index_AVX_Fast_Unaligned_Load): Likewise.
4308         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
4309         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
4310         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
4311         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
4312         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4313         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
4314         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
4315         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
4316         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
4318 2015-01-29  Andreas Schwab  <schwab@suse.de>
4320         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
4322 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
4324         [BZ #17892]
4325         * nscd/nscd_stat.c (send_stats): Initialize DATA.
4327 2015-01-28  Martin Sebor  <msebor@redhat.com>
4329         * math/README.libm-test: Clarify. Add "How to read the test output."
4331 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
4333         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
4334         Define to 0.
4336 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
4338         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
4339         (__HAVE_64B_ATOMICS): Define to 0.
4341 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4343         [BZ #17885]
4344         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
4345         value to set as new flag.
4347         [BZ #16576]
4348         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
4349         and use _ARCH_PPCSQ instead.
4350         (__ieee754_sqrt): Likewise.
4351         (__ieee754_sqrtf): Likewise.
4352         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
4353         _ARCH_PPCSQ is defined.
4354         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
4355         fsqrt instruction.
4356         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
4357         _ARCH_PPCSQ is defined.
4358         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
4359         fsqrts instruction.
4360         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
4362 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4364         * iconv/loop.c: Suppress array out of bound warning caused by GCC
4365         bug (GCC BZ #64739).
4367 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
4369         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
4370         Mark _retval as used.
4371         (lll_futex_wake_unlock): Likewise.
4372         (lll_futex_timed_wait_requeue_pi): Likewise.
4374         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4375         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
4376         register variables.
4378         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
4379         libm_hidden_def.
4381         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
4382         (__bswap_64): Mark as __always_inline.
4384 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
4386         [BZ #15378]
4387         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
4388         when none of the search directories exist.
4390 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4392         [BZ #17869]
4393         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
4394         power8 in .machine directive.
4396         [BZ #17868]
4397         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
4398         set dependency from opd value.
4400 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
4402         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4403         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
4404         architecture.
4406 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
4408         [BZ #17870]
4409         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
4410         with uint64_t.
4411         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
4412         (uint64_t) 1.
4413         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
4414         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
4415         Replace 1UL with (uint64_t) 1.
4416         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
4417         int with uint64_t.
4419 2015-01-23  Roland McGrath  <roland@hack.frob.com>
4421         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
4422         (if_freenameindex): Likewise.
4424         * resource/getrlimit64.c: Add missing libc_hidden_def.
4426 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
4428         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
4429         __label__.
4430         (_FP_FMA): Likewise.
4431         (_FP_TO_INT_ROUND): Likewise.
4432         (_FP_FROM_INT): Likewise.
4434 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4436         [BZ #16418]
4437         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4438         Make code racy and cancel safe.
4440 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
4442         * sysdeps/arm/unwind-resume.h: Fix copyright year.
4443         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
4444         attribution.
4446         * pwd/tst-getpw.c: Rewrite.
4448         [BZ #17702]
4449         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
4450         (modules-names): Add moddummy1 and moddummy2.
4451         ($(objpfx)tst-rec-dlopen): Define.
4452         * dlfcn/moddummy1.c: New file.
4453         * dlfcn/moddummy2.c: New file.
4454         * dlfcn/tst-rec-dlopen.c: New file.
4455         * elf/dl-cache.c (_dl_load_cache_lookup):
4456         Return char*. Copy result with alloca/strcpy/strdup.
4457         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
4458         returns char*. Free cached. If not saving realname
4459         free cached.
4460         * elf/dl-open.c (dl_open_worker): Do not assert that
4461         _r_debug->r_state is RT_CONSISTENT.
4462         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
4463         returns char*.
4465 2015-01-21  Torvald Riegel  <triegel@redhat.com>
4466             Carlos O'Donell  <carlos@redhat.com>
4468         [BZ #12674]
4469         * nptl/sem_waitcommon.c: New file.
4470         * nptl/sem_wait.c: Include sem_waitcommon.c.
4471         (__sem_wait_cleanup, do_futex_wait): Remove.
4472         (__new_sem_wait): Adapt.
4473         (__new_sem_trywait): New function.
4474         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
4475         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
4476         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
4477         (sem_timedwait): Adapt.
4478         * nptl/sem_post.c (__new_sem_post): Adapt.
4479         (futex_wake): New function.
4480         (__old_sem_post): Add release MO fence.
4481         * nptl/sem_open.c (sem_open): Adapt.
4482         * nptl/sem_init.c (__new_sem_init): Adapt.
4483         (futex_private_if_supported): New function.
4484         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
4485         (__old_sem_getvalue): Add using previous code.
4486         * sysdeps/nptl/internaltypes.h: Adapt.
4487         * nptl/tst-sem13.c (do_test): Adapt.
4488         * nptl/tst-sem11.c (main): Adapt.
4489         * nptl/sem_trywait.c: Remove.
4490         * nptl/DESIGN-sem.txt: Remove.
4491         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
4492         (gen-as-const-headers): Remove structsem.sym.
4493         * nptl/structsem.sym: Remove.
4494         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
4495         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
4496         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
4497         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
4498         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
4499         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
4500         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
4501         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
4502         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
4503         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
4504         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
4505         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
4506         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
4507         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
4508         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
4509         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
4510         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
4511         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
4512         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
4513         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
4514         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
4515         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
4517 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
4519         * INSTALL: Regenerated.
4521         * po/libc.pot: Regenerated.
4523 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
4524             Sandra Loosemore  <sandra@codesourcery.com>
4525             Andrew Jenner  <andrew@codesourcery.com>
4526             Joseph Myers  <joseph@codesourcery.com>
4527             Nathan Sidwell  <nathan@codesourcery.com>
4529         * NEWS: Mention new Nios II port.
4530         * sysdeps/nios2/Implies: New file.
4531         * sysdeps/nios2/Makefile: New file.
4532         * sysdeps/nios2/Subdirs: New file.
4533         * sysdeps/nios2/Versions: New file.
4534         * sysdeps/nios2/__longjmp.S: New file.
4535         * sysdeps/nios2/abort-instr.h: New file.
4536         * sysdeps/nios2/backtrace.c: New file.
4537         * sysdeps/nios2/bits/endian.h: New file.
4538         * sysdeps/nios2/bits/fenv.h: New file.
4539         * sysdeps/nios2/bits/link.h: New file.
4540         * sysdeps/nios2/bits/setjmp.h: New file.
4541         * sysdeps/nios2/bsd-_setjmp.S: New file.
4542         * sysdeps/nios2/bsd-setjmp.S: New file.
4543         * sysdeps/nios2/configure: New generated file.
4544         * sysdeps/nios2/configure.ac: New file.
4545         * sysdeps/nios2/crti.S: New file.
4546         * sysdeps/nios2/crtn.S: New file.
4547         * sysdeps/nios2/dl-init.c: New file.
4548         * sysdeps/nios2/dl-machine.h: New file.
4549         * sysdeps/nios2/dl-sysdep.h: New file.
4550         * sysdeps/nios2/dl-tls.h: New file.
4551         * sysdeps/nios2/dl-trampoline.S: New file.
4552         * sysdeps/nios2/gccframe.h: New file.
4553         * sysdeps/nios2/gmp-mparam.h: New file.
4554         * sysdeps/nios2/jmpbuf-offsets.h: New file.
4555         * sysdeps/nios2/jmpbuf-unwind.h: New file.
4556         * sysdeps/nios2/ldsodefs.h: New file.
4557         * sysdeps/nios2/libc-tls.c: New file.
4558         * sysdeps/nios2/libm-test-ulps: New file.
4559         * sysdeps/nios2/machine-gmon.h: New file.
4560         * sysdeps/nios2/math-tests.h: New file.
4561         * sysdeps/nios2/math_private.h: New file.
4562         * sysdeps/nios2/memusage.h: New file.
4563         * sysdeps/nios2/nptl/Makefile: New file.
4564         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
4565         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
4566         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
4567         * sysdeps/nios2/nptl/pthreaddef.h: New file.
4568         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
4569         * sysdeps/nios2/nptl/tls.h: New file.
4570         * sysdeps/nios2/preconfigure: New file.
4571         * sysdeps/nios2/s_fma.c: New file.
4572         * sysdeps/nios2/s_fmaf.c: New file.
4573         * sysdeps/nios2/setjmp.S: New file.
4574         * sysdeps/nios2/sfp-machine.h: New file.
4575         * sysdeps/nios2/sotruss-lib.c: New file.
4576         * sysdeps/nios2/stackguard-macros.h: New file.
4577         * sysdeps/nios2/stackinfo.h: New file.
4578         * sysdeps/nios2/start.S: New file.
4579         * sysdeps/nios2/sysdep.h: New file.
4580         * sysdeps/nios2/tls-macros.h: New file.
4581         * sysdeps/nios2/tst-audit.h: New file.
4582         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
4583         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
4584         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
4585         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
4586         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
4587         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
4588         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
4589         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
4590         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
4591         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
4592         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
4593         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
4594         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
4595         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
4596         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
4597         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
4598         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
4599         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
4600         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
4601         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
4602         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
4603         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
4604         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
4605         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
4606         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
4607         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
4608         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
4609         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
4610         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
4611         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
4612         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
4613         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
4614         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
4615         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
4616         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
4617         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
4618         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
4619         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
4620         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
4621         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
4622         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
4623         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
4624         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
4625         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
4627 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4629         [BZ #17844]
4630         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
4631         (getutent): Use weak_alias in non SHARED case
4632         and default_symbol_version in SHARED case.
4633         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
4634         (getutent_r, pututline): Likewise.
4635         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
4636         (getutid): Likewise.
4637         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
4638         (getutid_r): Likewise.
4639         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
4640         (getutline): Likewise.
4641         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
4642         (getutline_r): Likewise.
4643         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
4644         (updwtmp): Likewise.
4646 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4648         [BZ #17848]
4649         * sysdeps/s390/s390-32/memcmp.S
4650         (memcmp_g5): Rename to __memcmp_g5.
4651         * sysdeps/s390/s390-32/memcpy.S
4652         (memcpy_g5): Rename to __memcpy_g5.
4653         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4654         (memcpy_mvcle) Rename to __memcpy_mvcle.
4655         * sysdeps/s390/s390-32/memset.S
4656         (memset_g5): Rename to __memset_g5.
4657         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4658         (IFUNC_RESOLVE): Prefix ifunc-resolve function
4659         and use prefixed functions.
4660         * sysdeps/s390/s390-32/multiarch/memcmp.S
4661         (memcmp_z196): Rename to __memcmp_z196.
4662         (memcmp_z10): Rename to __memcmp_z10.
4663         (memcmp): Set alias to __memcmp_g5.
4664         (bcmp): Set alias to __memcmp_g5.
4665         * sysdeps/s390/s390-32/multiarch/memcpy.S
4666         (memcpy_z196): Rename to __memcpy_z196.
4667         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4668         (memcpy_z10): Rename to __memcpy_z10.
4669         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4670         (memcpy): Set alias to __memcpy_g5.
4671         * sysdeps/s390/s390-32/multiarch/memset.S
4672         (memset_z196): Rename to __memset_z196.
4673         Jump to __memset_mvcle instead of memset_mvcle.
4674         (memset_z10): Rename to __memset_z10.
4675         Jump to __memset_mvcle instead of memset_mvcle.
4676         (memset_mvcle) Rename to __memset_mvcle.
4677         (memset): Set alias to __memset_g5.
4678         * sysdeps/s390/s390-64/memcmp.S
4679         (memcmp_z900): Rename to __memcmp_z900.
4680         * sysdeps/s390/s390-64/memcpy.S
4681         (memcpy_z900): Rename to __memcpy_z900.
4682         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4683         (memcpy_mvcle) Rename to __memcpy_mvcle.
4684         * sysdeps/s390/s390-64/memset.S
4685         (memset_z900): Rename to __memset_z900.
4686         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
4687         (IFUNC_RESOLVE): Prefix ifunc-resolve function
4688         and use prefixed functions.
4689         * sysdeps/s390/s390-64/multiarch/memcmp.S
4690         (memcmp_z196): Rename to __memcmp_z196.
4691         (memcmp_z10): Rename to __memcmp_z10.
4692         (memcmp): Set alias to __memcmp_z900.
4693         (bcmp): Set alias to __memcmp_z900.
4694         * sysdeps/s390/s390-64/multiarch/memcpy.S
4695         (memcpy_z196): Rename to __memcpy_z196.
4696         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4697         (memcpy_z10): Rename to __memcpy_z10.
4698         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4699         (memcpy): Set alias to __memcpy_z900.
4700         * sysdeps/s390/s390-64/multiarch/memset.S
4701         (memset_z196): Rename to __memset_z196.
4702         Jump to __memset_mvcle instead of memset_mvcle.
4703         (memset_z10): Rename to __memset_z10.
4704         Jump to __memset_mvcle instead of memset_mvcle.
4705         (memset_mvcle) Rename to __memset_mvcle.
4706         (memset): Set alias to __memset_z900.
4708 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
4710         [BZ #17748]
4711         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
4712         __fesetenv instead of fesetenv.
4714 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4716         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
4717         macro.
4719 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4721         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
4722         regression on LE.
4724         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
4725         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
4726         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4727         strncmp-power8 object.
4728         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4729         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
4730         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
4731         * NEWS: Update.
4733 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4734             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4736         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
4737         trailing byte check.
4739 2015-01-13  David S. Miller  <davem@davemloft.net>
4741         * include/signal.h (__sigreturn): Guard with __USE_MISC.
4743 2015-01-13  Roland McGrath  <roland@hack.frob.com>
4745         * login/logout.c (logout): Use memset rather than bzero.
4746         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
4747         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
4748         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
4749         (_gethtbyaddr): Likewise.
4750         * locale/programs/simple-hash.c (bcopy): Macro removed.
4752 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4754         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4755         Add strcmp-power8 object.
4756         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4757         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
4758         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
4759         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
4760         __strcmp_power8 implementation.
4761         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
4762         * NEWS: Update.
4764         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4765         Add strncpy-power8 and stpncpy-power8 objects.
4766         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4767         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
4768         implementations.
4769         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
4770         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
4771         __stpncpy_power8 implementation.
4772         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
4773         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
4774         __strncpy_power8 implementation.
4775         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
4776         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
4777         * NEWS: Update.
4779         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
4780         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
4781         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
4783         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4784         strncat-power8 object.
4785         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
4786         __strcat_power8 implementation.
4787         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4788         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
4789         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
4790         optimized strcat for power8.
4792         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4793         strcpy-power8 and stpcpy-power8 objects.
4794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4795         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
4796         implementations.
4797         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
4798         multiarch stpcpy implementation for POWER8.
4799         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
4800         multiarch strcpy implementation for POWER8.
4801         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
4802         __strcpy_power8 function.
4803         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
4804         stpcpy for POWER8.
4805         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
4806         strcpy for POWER8.
4807         * NEWS: Update.
4809 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
4811         [BZ #16009]
4812         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
4813         weights and rules. Use do_xfrm_cached if data fits in cache,
4814         do_xfrm otherwise.  Moved former main loop to...
4815         * (do_xfrm_cached): New function.
4816         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
4817         find_idx, find_position and stack_push.
4818         * (find_idx): New function.
4819         * (find_position): Likewise.
4820         * localedata/sort-test.sh: Added test run for do_xfrm.
4821         * localedata/xfrm-test.c (main): Added command line option
4822         -nocache to run the test with strings that are too large for
4823         the STRXFRM cache.
4825 2015-01-13  Torvald Riegel  <triegel@redhat.com>
4827         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
4828         variable to lll_futex_wake call, not the value itself.
4830 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
4832         [BZ #17803]
4833         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
4834         twom64.  Adjust value to 0x1p-64L.
4835         (__scalblnl): Only return standard underflowing result for K <=
4836         -64 not K <= -63; adjust exponent for underflowing result by 64
4837         not 63.
4838         * math/libm-test.inc (scalbn_test_data): Add more tests.
4839         (scalbln_test_data): Likewise.
4841         [BZ #17834]
4842         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
4843         0x1p63L.
4844         (__scalblnl): Get new exponent of adjusted subnormal value from ES
4845         not HX.
4846         * math/libm-test.inc (scalbn_test_data): Add more tests.
4847         (scalbln_test_data): Likewise.
4849 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4850             Stefani Seibold  <stefani@seibold.net>
4852         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
4853         (sysdep_routines): Add dl-vdso here, ...
4854         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
4855         (sysdep_routines): ... not here.
4856         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
4857         fallback when vDSO is not presented.
4858         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4859         Define with libc_hidden_proto/libc_hidden_data_def definitions.
4860         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
4861         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
4862         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
4863         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
4864         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
4865         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
4866         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
4867         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
4868         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
4869         fallback configurable symbol when vDSO is not available.
4870         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
4871         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
4872         be able to redefine fallback symbol when vDSO is not available.
4873         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
4874         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
4876 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4878         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
4879         (TLS_INIT_TP): Add tm_capable initialization.
4880         (TLS_DEFINE_INIT_TP): Likewise.
4881         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
4882         TCB.
4883         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
4884         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
4885         calculation.
4886         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
4887         transactoion is lock elision is built and TCB tm_capable is set.
4888         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
4889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4890         (INTERNAL_SYSCALL_NCS): Likewise.
4891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4892         (INTERNAL_SYSCALL_NCS): Likewise.
4893         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
4895         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
4896         for powerpc.
4897         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4898         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
4899         and remove it for 32 bits case.
4900         [pthread_rwlock_t] (__rwelision): New field for lock elision.
4901         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
4902         initialization.
4903         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
4904         Disable lock elision with rdlocks if elision is not available.
4906         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
4907         (sysdep_routines): Add lock elision objects.
4908         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4909         [pthread_mutex_t] (__spins): Rework to add lock elision field.
4910         [pthread_mutex_t] (__elision): Add field.
4911         [__PTHREAD_SPINS]: Adjust to init lock elision field.
4912         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
4913         elision definitions for powerpc.
4914         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
4915         implementation of lock elision for powerpc.
4916         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
4917         implementation of timed lock elision for powerpc.
4918         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
4919         implementation of trylock with lock elision for powerpc.
4920         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
4921         implementaion of unlock for lock elision for powerpc.
4922         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
4923         automatic enable lock elision for mutexes.
4924         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
4925         transaction execution definitions for powerpc.
4926         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
4927         definitions.
4928         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
4929         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
4930         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
4931         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
4932         * NEWS: Update.
4934 2015-01-09  Roland McGrath  <roland@hack.frob.com>
4936         * sysdeps/posix/shm-directory.c: Use <> rather than ""
4937         for #include of <shm-directory.h>.
4939 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
4941         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
4942         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
4944 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
4946         [BZ #17791]
4947         * NEWS: Mention bug fix.
4948         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
4949         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
4950         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
4952 2015-01-09  Torvald Riegel <triegel@redhat.com>
4954         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
4956 2015-01-09  Torvald Riegel <triegel@redhat.com>
4958         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
4960 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
4962         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
4963         pointer and cast to uintptr_t.
4965 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
4967         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
4968         removed.
4969         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
4971 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
4973         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
4974         of 0.
4976 2015-01-08  Roland McGrath  <roland@hack.frob.com>
4978         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
4979         <nptl/pthreadP.h> instead.
4980         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
4982         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
4983         already defined.
4984         [__SIGRTMIN] (init): Function removed.
4985         [__SIGRTMIN] (initialized): Variable removed.
4986         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
4987         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
4988         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
4989         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
4990         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
4991         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
4992         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
4993         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
4994         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
4995         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
4996         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
4997         * sysdeps/nptl/allocrtsig.c: New file.
4998         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
4999         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
5000         * sysdeps/generic/testrtsig.h: File removed.
5002         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
5003         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
5005         * nptl/nptl-init.c (pthread_functions): Conditionalize
5006         .ptr__nptl_setxid initialization on [SIGSETXID].
5008         * sysdeps/nptl/sys/procfs.h: New file.
5009         * nptl_db/Makefile (headers): Add it.
5010         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
5012         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
5013         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
5014         * nptl/pthread_attr_setaffinity.c: Include it.
5015         * nptl/pthread_setattr_default_np.c: Likewise.
5016         * nptl/check-cpuset.h: New file.
5018 2015-01-08  Richard Henderson  <rth@redhat.com>
5020         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
5021         (CFLAGS-tst-execstack-prog.c): Likewise.
5022         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
5024 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
5025             Sandra Loosemore  <sandra@codesourcery.com>
5026             Andrew Jenner  <andrew@codesourcery.com>
5027             Joseph Myers  <joseph@codesourcery.com>
5028             Nathan Sidwell  <nathan@codesourcery.com>
5030         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
5031         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
5032         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
5033         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
5034         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
5035         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
5036         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
5037         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
5038         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
5039         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
5040         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
5041         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
5042         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
5043         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
5044         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
5045         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
5046         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
5048 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5050         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
5051         timespec struct member in syscall macro.
5052         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5053         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
5054         first timeval struct member in syscall macro.
5055         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
5057 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
5059         [BZ #17748]
5060         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
5061         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
5062         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
5063         __feupdateenv and define as weak alias of __feupdateenv.  Use
5064         libm_hidden_weak.
5065         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
5066         libm_hidden_def.
5067         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
5068         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
5069         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5070         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
5071         libm_hidden_def.
5072         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
5073         __feupdateenv and define as weak alias of __feupdateenv.  Use
5074         libm_hidden_weak.
5075         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
5076         libm_hidden_def.
5077         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
5078         __feupdateenv and define as weak alias of __feupdateenv.  Use
5079         libm_hidden_weak.
5080         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
5081         libm_hidden_def.
5082         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5083         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5084         (__feupdateenv): Likewise.
5085         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
5086         __feupdateenv and define as weak alias of __feupdateenv.  Use
5087         libm_hidden_weak.
5088         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5089         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
5090         libm_hidden_def.
5091         * sysdeps/tile/math_private.h (__feupdateenv): New inline
5092         function.
5093         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
5094         libm_hidden_def.
5095         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
5096         __feupdateenv instead of feupdateenv.
5097         (default_libc_feupdateenv_test): Likewise.
5098         (libc_feresetround_ctx): Likewise.
5100 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5102         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
5103         prototype.
5105 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
5107         * posix/regcomp.c (parse_bracket_exp): Initialize type to
5108         COLL_SYM in a couple of places to avoid uninitialized variable
5109         wanings on tilegx gcc 4.8.2.
5111 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
5113         * sysdeps/aarch64/strcpy.S: New file.
5114         * sysdeps/aarch64/stpcpy.S: New file.
5115         * NEWS: Updated.
5117 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
5119         * sysdeps/aarch64/strrchr.S: New file.
5120         * NEWS: Updated.
5122 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
5124         [BZ #17658]
5125         * stdlib/setenv.c: Fix memory leak when setting large,
5126         duplicate string.
5128 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
5130         [BZ #17273]
5131         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
5132         and tabs from buffer before parsing fstab entry.
5133         * misc/tst-mntent.c (main): Add test for mount entry with
5134         trailing spaces and tabs.
5136 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
5138         [BZ #17748]
5139         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
5140         * math/fesetround.c (fesetround): Rename to __fesetround and
5141         define as weak alias of __fesetround.  Use libm_hidden_weak.
5142         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
5143         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
5144         * sysdeps/arm/fesetround.c (fesetround): Likewise.
5145         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
5146         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
5147         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
5148         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
5149         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
5150         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
5151         __fesetround_inline.
5152         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
5153         __fesetround_inline instead of __fesetround.
5154         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
5155         __fesetround and define as weak alias of __fesetround.  Use
5156         libm_hidden_weak.  Call __fesetround_inline instead of
5157         __fesetround.
5158         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
5159         __fesetround and define as weak alias of __fesetround.  Use
5160         libm_hidden_weak.
5161         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
5162         Likewise.
5163         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
5164         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5165         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
5166         * sysdeps/tile/math_private.h (__fesetround): New inline function.
5167         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
5168         __fesetround and define as weak alias of __fesetround.  Use
5169         libm_hidden_weak.
5170         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
5171         __fesetround instead of fesetround.
5172         (default_libc_feholdexcept_setround): Likewise.
5173         (libc_feholdsetround_ctx): Likewise.
5174         (libc_feholdsetround_noex_ctx): Likewise.
5176         [BZ #17748]
5177         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
5178         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
5179         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5180         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
5181         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5182         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
5183         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5184         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5185         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5186         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5187         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5188         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5189         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5190         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5191         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
5192         libm_hidden_def.
5193         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
5194         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
5195         Likewise.
5196         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5197         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5198         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5199         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5200         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
5201         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5202         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
5203         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
5204         __fesetenv instead of fesetenv.
5205         (libc_feresetround_noex_ctx): Likewise.
5206         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5207         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5208         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
5209         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5210         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5211         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5212         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5213         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5214         (__feupdateenv): Likewise.
5215         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5216         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5217         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5218         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
5220 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
5222         [BZ #17806]
5223         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
5224         addresses have been freed.
5226 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
5228         * resolv/res_init.c (__res_vinit): Improve comments about nserv
5229         and nservall.
5231 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
5233         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
5234         Clean up check_pf allocation pattern. addresses
5236 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5238         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
5239         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
5240         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5241         * nptl/pthread_exit.c (__pthread_exit): Likewise.
5242         * nptl/pthread_join.c (pthread_join): Likewise.
5243         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
5244         * sysdeps/posix/waitid.c (__waitid): Likewise.
5245         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5246         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5247         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5248         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5249         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5250         Likewise.
5251         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5252         (__libc_pread64): Likewise.
5253         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5254         (__libc_pwrite): Likewise.
5255         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5256         (__libc_pwrite64): Likewsie.
5257         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5258         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5259         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5260         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5261         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5262         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5263         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5265         Likewise.
5266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5267         (__libc_pread64): Likewise.
5268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
5269         Likewise.
5270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5271         (__libc_pwrite64): Likewise.
5272         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5273         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5274         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
5275         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
5276         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5277         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5278         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
5279         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5280         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5281         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5282         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
5283         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5284         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5285         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
5286         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5287         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5288         Likewise.
5290 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
5292         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
5293         (CFLAGS-test-double.c): Likewise.
5294         (CFLAGS-test-ldouble.c): Likewise.
5295         (CPPFLAGS-test-ifloat.c): Likewise.
5296         (CPPFLAGS-test-idouble.c): Likewise.
5297         (CPPFLAGS-test-ildoubl.c): Likewise.
5298         (CFLAGS-test-test-fenv.c): Remove variable.
5299         (CFLAGS-test-misc.c): Likewise.
5301 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
5303         [BZ #17797]
5304         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
5305         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
5306         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
5307         CLOCKS_PER_SEC == 1000000.
5308         * time/clocktest.c (main): Replace %ld with %jd and cast to
5309         intmax_t.
5311 2015-01-05  Roland McGrath  <roland@hack.frob.com>
5313         * sysdeps/generic/unwind-resume.h: New file.
5314         * sysdeps/gnu/unwind-resume.c: Include it.
5315         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
5316         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
5317         argument list.
5318         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
5319         global rather than static.
5320         (_Unwind_Resume): Update user.
5321         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
5322         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
5323         rather than static.  Add __attribute__ ((cold)).
5324         (_Unwind_Resume, __gcc_personality_v0): Update callers.
5325         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
5326         * sysdeps/arm/arm-unwind-resume.S: New file.
5327         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
5328         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
5329         * sysdeps/arm/Makefile [$(subdir) = csu]
5330         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
5331         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5332         Add rt-arm-unwind-resume.
5333         [$(subdir) = nptl]
5334         (libpthread-sysdep_routines, libpthread-shared-only-routines):
5335         Add pt-arm-unwind-resume.
5336         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
5337         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
5339 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
5341         [BZ #17748]
5342         * include/fenv.h (__feholdexcept): Declare.  Use
5343         libm_hidden_proto.
5344         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
5345         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
5346         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5347         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
5348         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
5349         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
5350         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
5351         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5352         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
5353         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
5354         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5355         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
5356         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
5357         (feholdexcept): Likewise.
5358         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5359         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5360         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5361         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5362         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
5363         __feholdexcept instead of feholdexcept.
5364         (default_libc_feholdexcept_setround): Likewise.
5366 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
5368         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
5369         to avoid using stl/str to align destination.
5371 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
5373         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
5375 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
5377         [BZ #17796]
5378         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
5379         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
5380         Define as weak alias not strong alias.
5382 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
5384         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
5385         bltzal with addiupc.
5386         (RTLD_START): Ditto.
5388 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
5390         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
5391         for __vdso_* functions in declarations.
5392         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
5393         definitions.
5394         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
5395         INTERNAL_VSYSCALL): Use struct return types to check for error.
5397         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
5398         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
5399         function with cast from llround().
5400         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
5401         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5402         Define.
5404 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
5406         [BZ #17793]
5407         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
5408         Define as weak alias not strong alias.
5410         [BZ #17635]
5411         * ctype/ctype-c99.c: New file.  isblank implementation moved from
5412         ...
5413         * ctype/ctype-extn.c: ... here.
5414         (__isblank_l): Move to ...
5415         * ctype/ctype-c99_l.c: ... here.  New file.
5416         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
5417         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
5418         Remove variable.
5419         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5420         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5421         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5422         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5423         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5425         [BZ #17777]
5426         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
5427         (posix_fadvise64): Define as weak alias not strong alias.
5428         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5429         (posix_fallocate64): Likewise.
5430         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
5431         Remove variable.
5432         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5433         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5434         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5435         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5436         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5438 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
5440         [BZ #16191]
5441         * NEWS: Mention bug fix.
5442         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
5443         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
5444         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
5445         (HOST_STACK_END_ADDR): Likewise.
5447 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
5449         [BZ #17748]
5450         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
5451         * math/fegetround.c (fegetround): Rename to __fegetround and
5452         define as weak alias of __fegetround.  Use libm_hidden_weak.
5453         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
5454         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
5455         * sysdeps/arm/fegetround.c (fegetround): Likewise.
5456         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
5457         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5458         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
5459         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
5460         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
5461         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5462         Undefine after rather than before function definition; use
5463         parentheses around function name in definition.
5464         (__fegetround): Also undefine macro after function definition.
5465         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
5466         __fegetround and define as weak alias of __fegetround.  Use
5467         libm_hidden_weak.  Do not undefine as macro.
5468         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5469         Likewise.
5470         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
5471         __fegetround and define as weak alias of __fegetround.  Use
5472         libm_hidden_weak.
5473         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5474         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
5475         * sysdeps/tile/math_private.h (__fegetround): New inline function.
5476         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
5477         __fegetround and define as weak alias of __fegetround.  Use
5478         libm_hidden_weak.
5479         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
5480         __fegetround instead of fegetround.
5482         [BZ #17782]
5483         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
5484         Condition macro definition on [__USE_MISC].
5486         [BZ #17781]
5487         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
5488         (struct sigaction): Change type of sa_flags field to int.
5490         [BZ #17780]
5491         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
5492         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
5493         __glibc_reserved0.
5495         * nptl/version.c (banner): Use single year in copyright notice.
5497         * NEWS: Update copyright dates.
5498         * catgets/gencat.c (print_version): Likewise.
5499         * csu/version.c (banner): Likewise.
5500         * debug/catchsegv.sh: Likewise.
5501         * debug/pcprofiledump.c (print_version): Likewise.
5502         * debug/xtrace.sh (do_version): Likewise.
5503         * elf/ldconfig.c (print_version): Likewise.
5504         * elf/ldd.bash.in: Likewise.
5505         * elf/pldd.c (print_version): Likewise.
5506         * elf/sotruss.sh: Likewise.
5507         * elf/sprof.c (print_version): Likewise.
5508         * iconv/iconv_prog.c (print_version): Likewise.
5509         * iconv/iconvconfig.c (print_version): Likewise.
5510         * locale/programs/locale.c (print_version): Likewise.
5511         * locale/programs/localedef.c (print_version): Likewise.
5512         * login/programs/pt_chown.c (print_version): Likewise.
5513         * malloc/memusage.sh (do_version): Likewise.
5514         * malloc/memusagestat.c (print_version): Likewise.
5515         * malloc/mtrace.pl: Likewise.
5516         * manual/libc.texinfo: Likewise.
5517         * nptl/version.c (banner): Likewise.
5518         * nscd/nscd.c (print_version): Likewise.
5519         * nss/getent.c (print_version): Likewise.
5520         * nss/makedb.c (print_version): Likewise.
5521         * posix/getconf.c (main): Likewise.
5522         * scripts/test-installation.pl: Likewise.
5523         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5525 2015-01-02  Will Newton  <will.newton@linaro.org>
5527         * sysdeps/arm/armv7/configure: Removed.
5528         * sysdeps/arm/armv7/configure.ac: Likewise.
5530 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
5532         * All files with FSF copyright notices: Update copyright dates
5533         using scripts/update-copyrights.
5534         * intl/plural.c: Regenerated.
5535         * locale/programs/charmap-kw.h: Likewise.
5536         * locale/programs/locfile-kw.h: Likewise.
5538 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5540         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
5542 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
5544         [BZ #17748]
5545         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
5546         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
5547         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5548         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
5549         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5550         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
5551         define as weak alias of __fegetenv.  Use libm_hidden_weak.
5552         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
5553         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5554         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5555         define as weak alias of __fegetenv.  Use libm_hidden_weak.
5556         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5557         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5558         define as weak alias of __fegetenv.  Use libm_hidden_weak.
5559         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
5560         libm_hidden_def.
5561         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
5562         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
5563         Likewise.
5564         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5565         define as weak alias of __fegetenv.  Use libm_hidden_weak.
5566         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5567         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5568         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
5569         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5570         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
5571         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
5572         __fegetenv instead of fegetenv.
5573         (libc_feholdsetround_noex_ctx): Likewise.
5575 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
5577         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
5578         (Elf_MIPS_ABIFlags_v0): New structure.
5579         (EF_MIPS_FP64): Define.
5580         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
5581         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
5582         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
5583         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
5584         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
5585         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
5586         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
5587         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
5588         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
5589         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
5590         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
5591         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
5592         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
5593         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
5594         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
5595         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
5596         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
5597         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
5598         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
5599         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
5600         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
5601         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
5602         field.
5603         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
5604         EF_MIPS_FP64.
5605         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
5606         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
5607         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
5608         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
5609         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
5610         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
5611         * sysdeps/mips/tst-abi-interlink.c: Likewise.
5612         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
5613         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
5614         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
5615         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
5616         record the current FP ABI extension.
5617         (mips-mode-switch): Define to show if kernel headers support mode
5618         switching.
5619         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5620         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
5621         supported SYSV ABI version to 3.
5622         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
5623         feature.
5625 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5626             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5628         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
5629         path.
5630         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
5632 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
5634         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
5635         __fegetround and redefine to call __fegetround.  Remove condition
5636         on [!__NO_MATH_INLINES].
5637         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
5638         function.
5639         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
5640         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5641         Remove macro.
5642         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
5643         instead of <fenv_libc.h>.
5644         (__llrintl): Call fegetround instead of __fegetround.
5645         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
5646         instead of <fenv_libc.h>.
5647         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5648         (__lrintl): Call fegetround instead of __fegetround.
5649         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
5650         instead of <fenv_libc.h>.
5651         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5652         (__rintl): Call fegetround instead of __fegetround.
5654 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
5656         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
5657         arrays.
5659 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
5661         [BZ #17775]
5662         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
5663         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
5664         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
5666 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
5668         * sysdeps/i386/tls-macros.h: Include <features.h>.
5669         (TLS_LE): Use non-PIC version for GCC >= 5.0.
5670         (TLS_IE): Likewise.
5671         (TLS_LD): Likewise.
5672         (TLS_GD): Likewise.
5673         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
5674         define for GCC >= 5.0.
5676 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
5678         * math/test-fenv.c (test_single_exception, set_single_exc,
5679         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
5680         feexcp_mask_test, feenable_test, fe_single_test): Add
5681         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
5682         case where they are not used.
5683         * math/libm-test.inc: Likewise.
5684         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
5685         unused in the absence of FP rounding/exception support.
5686         * stdio-common/tst-printf-round.c: Likewise.
5687         * stdlib/tst-strtod-round.c: Likewise.
5688         * stdlib/tst-strtod-underflow.c: Likewise.
5690 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
5692         [BZ #17723]
5693         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
5694         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
5695         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5696         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
5697         libm_hidden_weak.
5698         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
5699         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5700         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
5701         libm_hidden_def.
5702         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5703         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
5704         libm_hidden_weak.
5705         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
5706         Likewise.
5707         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
5708         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5709         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
5710         libm_hidden_weak.
5711         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5712         libm_hidden_def.
5713         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5714         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
5715         (__feraiseexcept): Likewise.
5716         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5717         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
5718         libm_hidden_weak.
5719         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5720         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5721         libm_hidden_def.
5722         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
5723         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
5724         Use libm_hidden_def.
5725         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
5726         libm_hidden_def.
5727         (feraiseexcept): Define as weak not strong alias.  Use
5728         libm_hidden_weak.
5729         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
5730         New inline function.  Factored out of ...
5731         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
5732         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
5733         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
5734         feraiseexcept.
5735         * math/w_acos.c (__acos): Likewise.
5736         * math/w_asin.c (__asin): Likewise.
5737         * math/w_ilogb.c (__ilogb): Likewise.
5738         * math/w_j0.c (y0): Likewise.
5739         * math/w_j1.c (y1): Likewise.
5740         * math/w_jn.c (yn): Likewise.
5741         * math/w_log.c (__log): Likewise.
5742         * math/w_log10.c (__log10): Likewise.
5743         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
5744         * sysdeps/aarch64/fpu/math_private.h
5745         (libc_feupdateenv_test_aarch64): Likewise.
5746         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5747         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
5748         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
5749         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5750         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5751         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5752         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
5753         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5754         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5755         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5757 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
5759         [BZ #17732]
5760         * io/test-utime.c (main): Replace %ld with %jd and cast to
5761         intmax_t.
5762         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
5763         * nptl/tst-mutex5.c: Include <stdint.h>.
5764         (do_test): Replace %ld with %jd and cast to intmax_t.
5765         * posix/tst-regex.c (run_test): Likewise.
5766         (run_test_backwards): Likewise.
5767         * rt/tst-clock.c: Include <stdint.h>.
5768         (clock_test): Replace %ld with %jd and cast to intmax_t.
5769         * rt/tst-cpuclock1.c: Include <stdint.h>.
5770         (do_test): Replace %lu with %ju and cast to uintmax_t.
5771         * rt/tst-cpuclock2.c: Include <stdint.h>.
5772         (do_test): Replace %lu with %ju and cast to uintmax_t.
5773         * rt/tst-mqueue1.c: Include <stdint.h>.
5774         (check_attrs): Replace %ld with %jd and cast to intmax_t.
5775         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
5776         intmax_t.
5777         * rt/tst-mqueue4.c (do_test): Likewise.
5778         * rt/tst-timer4.c: Include <stdint.h>.
5779         (check_ts): Replace %ld with %jd and cast to intmax_t.
5780         (do_test): Likewise.
5781         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
5782         and cast to intmax_t.
5783         * sysdeps/pthread/tst-timer.c (main): Likewise.
5784         * time/clocktest.c (main): Likewise.
5785         * time/tst-posixtz.c (do_test): Likewise.
5786         * timezone/tst-timezone.c (main): Likewise.
5788 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
5789             H.J. Lu  <hongjiu.lu@intel.com>
5791         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
5792         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
5793         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
5794         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
5795         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
5796         version if bit_Fast_Unaligned_Load is set.
5797         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5798         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5799         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5800         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5801         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5802         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5803         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5804         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
5805         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
5806         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
5807         to 4.
5808         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
5809         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
5810         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
5811         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
5813 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
5815         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
5816         instead of #if to avoid a Wundef warning.
5817         * stdlib/tst-limits.c (do_test): Likewise.
5819         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
5820         parallel other exception macros.
5821         (fegetenv): Convert from macro to extern inline so that it applies
5822         retroactively to inline functions already seen by the compiler.
5823         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
5825         * posix/Makefile (before-compile): Use $(objpfx) for
5826         posix-conf-vars-def.h.
5828 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5830         * posix/getconf.c (main): Use size_t for type of I.
5831         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
5832         NSPEC.
5834         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
5835         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
5836         * posix/posix-envs.def: Likewise.
5837         * sysdeps/posix/sysconf.c: Likewise.
5838         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
5839         (specs): Remove array.
5840         * scripts/gen-posix-conf-vars.awk: Support generation of specs
5841         array.
5843         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
5844         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
5845         (__sysconf): Use CONF_IS_* macros.
5847         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
5848         ($(objpfx)posix-conf-vars-def.h): New target.
5849         * posix/posix-conf-vars.list: New file.
5850         * posix/posix-conf-vars.h: New file.
5851         * posix/confstr.c: Include posix-conf-vars.h.
5852         (confstr): Use CONF_IS_* macros.
5853         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
5854         CONF_IS_* macros.
5855         * scripts/gen-posix-conf-vars.awk: New file.
5857 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
5859         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
5860         fegetround): Add no-op macros to avoid linknamespace issues.
5862         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
5863         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
5865         * sysdeps/unix/sysv/linux/tile/sysdep.h
5866         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
5867         assembly-specific section to avoid a redefinition warning.
5869         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
5870         long before casting to pointer to avoid a cast warning.
5872 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
5874         * sysdeps/tile/tilegx/Implies: New file.
5876 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
5878         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
5880 2014-12-23  Florian Weimer  <fweimer@redhat.com>
5882         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
5884 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
5886         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
5887         not define.
5888         * sysdeps/unix/sysv/linux/utimes.c: Do not include
5889         <kernel-features.h>.
5890         (__utimes) [__NR_utimes]: Make code unconditional.
5891         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
5892         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5893         (__ASSUME_UTIMES): Do not undefine.
5894         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5895         (__ASSUME_UTIMES): Likewise.
5896         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5897         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
5898         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
5899         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
5901 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
5903         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
5905 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
5907         [BZ #17747]
5908         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
5909         alias to weak alias for j0l, y0l.
5910         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
5911         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
5913         [BZ #17746]
5914         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
5915         conversion.
5917 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
5919         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
5920         to zero if not already defined.
5922 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
5924         [BZ #17724]
5925         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
5926         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
5927         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
5928         (char *) casts added.
5929         * sysdeps/ieee754/k_standardf.c: New file.
5930         * sysdeps/ieee754/k_standardl.c: Likewise.
5931         * math/Makefile (libm-support): Remove k_standard.
5932         (libm-calls): Add k_standard.
5934 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5936         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5937         Optimize to avoid an unnecessary FPCR read.
5939 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5941         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
5942         Optimize to reduce FPCR/FPSR accesses.
5944 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5946         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
5947         Call libc_fetestexcept_aarch64.
5949 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5951         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
5952         Call libc_fesetround_aarch64.
5954 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
5956         [BZ #17733]
5957         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
5958         (__bind): Do not define as weak alias.
5959         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
5960         define.
5961         (__getsockname): Do not define as weak alias.
5963 2014-12-22  Will Newton  <will.newton@linaro.org>
5965         * manual/install.texi: Document that we require bison 2.7
5966         or above.
5967         * INSTALL: Regenerate.
5968         * configure.ac: Use AC_CHECK_PROG_VER instead of
5969         AC_PATH_PROG when checking for bison and check for
5970         version 2.7 or above.
5971         * configure: Regenerate.
5973 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
5975         [BZ #17745]
5976         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
5977         * sysdeps/tile/ffsll.c (ffsll): To here.
5979         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
5981 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
5983         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
5984         if not defined.
5985         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
5986         definition.
5987         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5988         hidden ___tls_get_addr.
5989         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5990         hidden __tls_get_addr.
5991         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
5992         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
5993         Likewise.
5995 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
5997         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
5998         _dl_init call.
6000 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
6002         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
6003         from "call _dl_init@PLT".
6004         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
6006 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
6008         * manual/search.texi: (Array Sort Function): Clarify stable sorting
6009         guarantees.
6011 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
6013         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
6015 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
6017         [BZ #17744]
6018         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
6019         strnlen.
6021 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
6023         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
6024         of multu on MIPSr6.
6025         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
6026         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
6027         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
6028         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
6029         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
6031 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
6033         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
6034         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
6035         (PTR_SUBU): Use subu for mips32r6/mips64r6.
6036         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
6037         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
6038         mips32r6/mips64r6.
6039         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
6041 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
6043         * string/strncat.c (STRNCAT): Simplify implementation.
6045 2014-12-19  David S. Miller  <davem@davemloft.net>
6047         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
6048         access the quad as both a long double and as a series of 4 words.
6050         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
6051         link_map->l_info array access.
6053 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
6055         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
6057         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
6058         * math/atest-exp2.c (TIMEOUT): Likewise.
6059         * math/atest-sincos.c (TIMEOUT): Likewise.
6061 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6063         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
6064         -Wno-error with -fno-builtin-lround.
6066 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6068         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
6069         Contains futex constants and functions moved over from ...
6070         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
6071         <lowlevellock-futex.h>.
6072         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6073         (lll_timedwait_tid): Add comments and parentheses around macro
6074         arguments.
6076 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6078         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
6079         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
6080         (__lll_private_flag): Remove.
6081         (lll_futex_wait): Likewise.
6082         (lll_futex_timed_wait): Likewise.
6083         (lll_futex_wake): Likewise.
6084         (lll_futex_requeue): Likewise.
6085         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6086         (__lll_timedwait_tid): Spell out argument names.
6087         (lll_timedwait_tid): Add comments and parentheses around macro
6088         arguments.
6089         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
6090         LLL_SHARED and LLL_PRIVATE usable from assembly code.
6092 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6094         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
6095         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6096         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6097         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
6098         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
6099         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
6100         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
6101         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
6102         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
6103         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
6104         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
6105         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
6106         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
6107         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
6108         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
6109         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
6110         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
6111         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
6112         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
6114 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6116         * sysdeps/x86_64/x32/Makefile: New file.
6118 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6120         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
6121         1L with (mp_limb_t) 1.
6123 2014-12-17  Roland McGrath  <roland@hack.frob.com>
6125         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
6126         * nptl/libc_pthread_init.c: ... here.
6127         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
6128         * nptl/register-atfork.c: ... here.
6130         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
6131         Use pthread_sigmask rather than INTERNAL_SYSCALL.
6132         Use assert_perror to check its return value.
6133         (__gai_create_helper_thread): Likewise.
6135         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
6137         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
6139 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
6141         [BZ #17725]
6142         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
6143         __profil_counter.
6144         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
6145         Likewise.
6146         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
6147         Likewise.
6148         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
6149         Likewise.
6150         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
6151         (profil_counter): Likewise.
6152         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
6153         (profil_counter): Likewise.
6154         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
6155         Likewise.
6156         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
6157         Likewise.
6158         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
6159         (profil_counter): Likewise.
6160         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
6161         Likewise.
6162         [!__profil_counter] (profil_counter): Define as weak alias of
6163         __profil_counter.
6164         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
6165         (profil_counter): Rename to __profil_counter.
6166         [!__profil_counter] (profil_counter): Define as weak alias of
6167         __profil_counter.
6168         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
6169         (profil_counter): Rename to __profil_counter.
6170         [!__profil_counter] (profil_counter): Define as weak alias of
6171         __profil_counter.
6172         * sysdeps/posix/profil.c: Update comment referring to
6173         profil_counter.
6174         (__profil): Use __profil_counter instead of profil_counter.
6175         * sysdeps/posix/sprofil.c (profil_counter): Rename to
6176         __profil_counter.  Use __profil_counter_ushort and
6177         __profil_counter_uint in definitions.
6178         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
6179         instead of profil_counter_uint and profil_counter_ushort.
6181         [BZ #17722]
6182         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
6183         define as weak alias of __inet_makeaddr.
6184         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
6185         as weak alias of __inet_addr.
6186         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
6187         as weak alias of __inet_pton.  Use libc_hidden_weak.
6188         * include/arpa/inet.h (__inet_pton): Declare.  Use
6189         libc_hidden_proto.
6190         (inet_makeaddr): Don't use libc_hidden_proto.
6191         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
6192         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
6193         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
6194         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
6195         Remove variable.
6196         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6197         (test-xfail-POSIX/time.h/linknamespace): Likewise.
6199 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
6201         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
6203 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6205         * stdio-common/bug-vfprintf-nargs.c (do_test):
6206         Cast value to intptr_t to avoid format warning
6207         for usage with PRIdPTR printing macro.
6209 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6211         * libio/tst-widetext.c (do_test):
6212         Use format type %td instead of %Zd for ptrdiff_t
6213         in order to avoid format warning.
6215 2014-12-17  Andreas Schwab  <schwab@suse.de>
6217         * nscd/mem.c (gc): Add size_t cast to match printf format.
6219 2014-12-16  Roland McGrath  <roland@hack.frob.com>
6221         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
6222         (init): Apply PTR_MANGLE to pointers before storing them.
6223         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
6224         before using them.
6226 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
6228         [BZ #17719]
6229         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
6230         define as weak alias of __memrchr.
6231         (__memrchr): Do not define as strong alias of memrchr.
6232         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
6233         Remove variable.
6234         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6235         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6236         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6238         [BZ #17717]
6239         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
6240         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
6241         (if_indextoname): Rename to __if_indextoname and define as weak
6242         alias of __if_indextoname.  Use libc_hidden_weak.
6243         (if_freenameindex): Rename to __if_freenameindex and define as
6244         weak alias of __if_freenameindex.
6245         (if_nameindex): Rename to __if_nameindex and define as weak alias
6246         of __if_nameindex.
6247         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
6248         __if_nametoindex and define as weak alias of __if_nametoindex.
6249         Use libc_hidden_weak.
6250         (if_freenameindex): Rename to __if_freenameindex and define as
6251         weak alias of __if_freenameindex.
6252         (if_nameindex): Rename to __if_nameindex and define as weak alias
6253         of __if_nameindex.
6254         (if_indextoname): Rename to __if_indextoname and define as weak
6255         alias of __if_indextoname.  Use libc_hidden_weak.
6256         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
6257         __if_nametoindex and define as weak alias of __if_nametoindex.
6258         Use libc_hidden_weak.
6259         (if_freenameindex): Rename to __if_freenameindex and define as
6260         weak alias of __if_freenameindex.  Use libc_hidden_weak.
6261         (if_nameindex_netlink): Use __if_freenameindex instead of
6262         if_freenameindex.
6263         (if_nameindex): Rename to __if_nameindex and define as weak alias
6264         of __if_nameindex.  Use libc_hidden_weak.
6265         (if_indextoname): Rename to __if_indextoname and define as weak
6266         alias of __if_indextoname.  Use libc_hidden_weak.
6267         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
6268         libc_hidden_proto.
6269         [!_ISOMAC] (__if_freenameindex): Likewise.
6270         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
6271         if_nametoindex.
6272         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
6273         variable.
6274         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6275         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6276         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6277         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6278         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6279         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6280         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6282         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
6283         Remove variable.
6284         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6285         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6287 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6289         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
6290         subscript above bounds'
6292         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
6293         bounds.
6295 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
6297         * libio/tst-fopenloc.c: Use test-skeleton.c.
6299         * stdlib/tst-bsearch.c: Use test-skeleton.c.
6300         (entry): Rename to ITEM.
6301         (do_test, comp): Adjust.
6303         * stdio-common/tst-fseek.c: Use test-skeleton.c.
6305 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6307         * string/tester.c: Include <libc-internal.h>.
6308         (test_memset): Ignore -Wmemset-transposed-args.
6310 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6312         * misc/tst-mntent2.c (do_test): Fix warning.
6314 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6316         * elf/tst-unique4lib.cc(a): Mark as used.
6318 2014-12-16  Florian Weimer  <fweimer@redhat.com>
6320         [BZ #17630]
6321         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
6322         names.
6324 2014-12-16  Allan McRae  <allan@archlinux.org>
6326         * stdio-common/Makefile (tests): Re-add bug26.
6328 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
6330         [BZ #17657]
6331         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
6332         static array.
6334 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
6336         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
6337         (__lll_lock_wait): Likewise.
6338         (__lll_timedlock_wait): Likewise.
6339         (__lll_timedwait_tid): Likewise.
6340         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
6341         (__lll_robust_timedlock_wait): Likewise.
6342         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
6343         (lll_cond_trylock): Likewise.
6344         (__lll_lock): Likewise.
6345         (__lll_robust_lock): Likewise.
6346         (__lll_cond_lock): Likewise.
6347         (lll_robust_cond_lock): Likewise.
6348         (__lll_timedlock): Likewise.
6349         (__lll_robust_timedlock): Likewise.
6350         (__lll_unlock): Likewise.
6351         (__lll_robust_unlock): Likewise.
6352         (lll_wait_tid): Likewise.
6353         (lll_timedwait_tid): Likewise.
6355 2014-12-15  Torvald Riegel  <triegel@redhat.com>
6357         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
6359 2014-12-15  Torvald Riegel  <triegel@redhat.com>
6361         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
6363 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
6365         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
6366         * stdio-common/tst-sprintf.c: Likewise.
6368 2014-12-15  Torvald Riegel  <triegel@redhat.com>
6370         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
6372 2014-12-15  Jeff Law  <law@redhat.com>
6374         [BZ #16617]
6375         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
6376         on the heap.  (CVE-2012-3406)
6377         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
6378         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
6379         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
6381 2014-12-15  Will Newton  <will.newton@linaro.org>
6383         * manual/install.texi: Bump required version of texinfo
6384         to 4.7 from 4.5.
6385         * INSTALL: Regenerated.
6386         * configure.ac: Check for makeinfo version 4.7 and above.
6387         * configure: Regenerated.
6389 2014-12-12  Roland McGrath  <roland@hack.frob.com>
6391         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
6392         PREFIX, string constant to insert between directory and name.
6393         * sysdeps/posix/shm_open.c: Update caller.
6394         * sysdeps/posix/shm_unlink.c: Likewise.
6395         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
6396         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
6397         (SEM_SHM_PREFIX): New macro.
6398         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
6399         [$(have-thread-library) = no].
6400         * nptl/Makefile (libpthread-routines): Add shm-directory.
6401         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
6402         * sysdeps/nptl/shm-directory.h: New file.
6403         * sysdeps/posix/shm-directory.c
6404         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
6405         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6406         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
6407         INTERNAL_SYSCALL.
6408         (__where_is_shmfs): Function removed.
6409         (mountpoint, defaultmount, defaultdir, __namedsem_once):
6410         Variables removed.
6411         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
6412         Use SHM_GET_NAME.
6413         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
6415         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
6416         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
6417         unconditional for use inside libpthread.
6418         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
6420 2014-12-12  Roland McGrath  <roland@hack.frob.com>
6422         * nptl/pthread_getaffinity.c: New file.
6423         * nptl/pthread_setaffinity.c: New file.
6424         * nptl/pthread_getname.c: New file.
6425         * nptl/pthread_setname.c: New file.
6427         * nptl/pthread_create.c (START_THREAD_DEFN)
6428         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
6430 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6431             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6433         * resolv/res_send.c (send_vc): Disable warning resplen may
6434         be used uninitialized.
6436 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6438         * nptl/tst-mutex6.c
6439         (ATTR_NULL): New define checks ATTR against NULL.
6440         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
6441         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
6443 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
6445         [BZ #17581]
6446         * malloc/hooks.c
6447         (mem2mem_check): Revert my previous change.
6448         (malloc_check_get_size): Revert my previous change.
6449         (mem2chunk_check): Revert my previous change.
6451 2014-12-11  Roland McGrath  <roland@hack.frob.com>
6453         * sysdeps/posix/shm-directory.c: New file.
6454         * sysdeps/posix/shm-directory.h: New file.
6455         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
6456         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
6457         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
6458         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
6459         Transmute EPERM to EACCES.
6460         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
6461         from ...
6462         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
6463         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
6465 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6467         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
6468         pointer and cast to uintptr_t.
6469         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
6470         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
6471         Add cast to avoid warning.
6472         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
6474 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
6476         * nptl/semaphore.h: Move to ...
6477         * sysdeps/pthread/semaphore.h: ... here.
6478         * Makefile (installed-headers): Change nptl/semaphore.h to
6479         sysdeps/pthread/semaphore.h.
6481 2014-12-11  Roland McGrath  <roland@hack.frob.com>
6483         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
6484         generated error format strings.
6486         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
6487         -Wformat-extra-args warnings for scanf formats.
6488         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
6489         test of zero-length format (duh).
6490         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
6491         corner-case scanf format test.
6492         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
6493         generated fprintf format string.
6494         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
6495         corner-case sprintf format tests.
6496         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
6497         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
6498         -Wformat-extra-args warnings throughout.
6499         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
6500         (CFLAGS-scanf4.c): Likewise.
6501         (CFLAGS-scanf7.c): Likewise.
6502         (CFLAGS-tst-sprintf.c): Likewise.
6503         (CFLAGS-tst-printf.c): Likewise.
6504         (CFLAGS-tst-printfsz.c): Likewise.
6506 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
6508         * include/cpio.h: New file.
6509         * include/fmtmsg.h: Likewise.
6511         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
6512         corresponding format argument to size_t.
6513         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
6514         arguments.
6515         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
6516         corresponding format argument to size_t.
6517         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
6518         arguments.
6519         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
6520         corresponding format argument to size_t.
6521         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
6522         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
6523         (CFLAGS-tst-mbswcs2.c): Likewise.
6524         (CFLAGS-tst-mbswcs3.c): Likewise.
6525         (CFLAGS-tst-mbswcs4.c): Likewise.
6526         (CFLAGS-tst-mbswcs5.c): Likewise.
6527         (CFLAGS-tst-trans.c): Likewise
6529 2014-12-11  Roland McGrath  <roland@hack.frob.com>
6531         * posix/regexbug1.c (main): Use "%s" format with regerror results,
6532         rather than assuming they won't contain any '%'s.
6534 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
6536         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
6537         inhibit_loop_to_libcall to avoid recursive calls.
6538         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
6539         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
6541 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
6543         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
6544         prototype.
6546 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
6548         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
6549         integer value instead of boolean.
6551 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
6553         * malloc/malloc.c: Fix powerof2 check.
6555 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6557         * locale/programs/locfile.h (maybe_swap_uint32):
6558         Remove inline and add unused attribute.
6560 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6562         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6563         Truncating assembler expression to a .long expression.
6565 2014-12-11  Andreas Schwab  <schwab@suse.de>
6567         * elf/rtld.c (struct map_args): Constify str member.
6568         (do_preload): Constify fname argument.
6570 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6572         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
6573         constants definition.
6575 2014-12-11  Andreas Schwab  <schwab@suse.de>
6577         [BZ #16657]
6578         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
6579         FORCE_ELISION instead of DO_ELISION.
6580         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
6581         Remove.
6582         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
6583         Likewise.
6585         * iconvdata/gconv-modules: Remove duplicate entry.
6587 2014-12-11  Will Newton  <will.newton@linaro.org>
6589         Merge gettext 0.19.3 into intl/.
6591         This involves a number of cosmetic changes to comments
6592         and ANSI function definitions and prototypes throughout
6593         all the files. The gettext copyright header is used but
6594         with the date ranges taken from the glibc copy.
6596         * NEWS: Add gettext merge to 2.21.
6597         * intl/bindtextdom.c: Switch to gettext copyright.
6598         Use ANSI definitions and prototypes.
6599         Use gl_* locking primitives rather than __libc_* ones.
6600         Use __builtin_expect rather than __glibc_likely/unlikely.
6601         * intl/dcgettext.c: Switch to gettext copyright.
6602         Use ANSI definitions and prototypes.
6603         * intl/dcigettext.c: Switch to gettext copyright.
6604         Use ANSI definitions and prototypes.
6605         (INTDIV0_RAISES_SIGFPE): New define.
6606         Use gl_* locking primitives rather than __libc_* ones.
6607         Include eval-plural.h instead of plural-eval.c.
6608         Use __builtin_expect rather than __glibc_likely/unlikely.
6609         * intl/dcngettext.c: Switch to gettext copyright.
6610         Use ANSI definitions and prototypes.
6611         * intl/dgettext.c: Likewise.
6612         * intl/dngettext.c: Likewise.
6613         * intl/plural-eval.c: Renamed to...
6614         * intl/eval-plural.h: ...this.
6615         * intl/explodename.c: Switch to gettext copyright.
6616         Use ANSI definitions and prototypes.
6617         (_nl_explode_name): Use strchr instead of __rawmemchr.
6618         * intl/finddomain.c: Switch to gettext copyright.
6619         Use ANSI definitions and prototypes.
6620         Use gl_* locking primitives rather than __libc_* ones.
6621         (_nl_find_domain): Use malloc rather than alloca for
6622         allocation of temporary locale name.
6623         * intl/gettext.c: Switch to gettext copyright.
6624         Use ANSI definitions and prototypes.
6625         * intl/gettextP.h: Switch to gettext copyright.
6626         Use ANSI definitions and prototypes.
6627         Use gl_* locking primitives rather than __libc_* ones.
6628         * intl/gmo.h: Switch to gettext copyright.
6629         (struct sysdep_string): Move struct segment_pair outside of
6630         struct definition.
6631         * intl/hash-string.c: Use ANSI definitions and prototypes.
6632         * intl/hash-string.h: Switch to gettext copyright.
6633         Use ANSI definitions and prototypes.
6634         * intl/l10nflist.c: Switch to gettext copyright.
6635         Use ANSI definitions and prototypes.
6636         (_nl_normalize_codeset): Avoid integer overflow.
6637         * intl/loadinfo.h: Switch to gettext copyright.
6638         Use ANSI definitions and prototypes.
6639         (LIBINTL_DLL_EXPORTED): New define.
6640         (PATH_SEPARATOR): New define.
6641         * intl/loadmsgcat.c: Switch to gettext copyright.
6642         * intl/localealias.c: Switch to gettext copyright.
6643         Use ANSI definitions and prototypes.
6644         (_nl_expand_alias): Use PATH_SEPARATOR.
6645         * intl/ngettext.c: Switch to gettext copyright.
6646         Use ANSI definitions and prototypes.
6647         * intl/plural-exp.c: Likewise.
6648         * intl/plural-exp.h: Switch to gettext copyright.
6649         Use ANSI definitions and prototypes.
6650         (struct expression): Move definition of enum operator outside
6651         of struct definition.
6652         * intl/plural.c: Regenerate.
6653         * intl/plural.y: Switch to gettext copyright.
6654         Use ANSI definitions and prototypes.
6655         Port to bison 3.0.
6656         * intl/textdomain.c: Switch to gettext copyright.
6657         Use ANSI definitions and prototypes.
6658         Use gl_* locking primitives rather than __libc_* ones.
6660 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
6662         * debug/warning-nop.c: Add used atrribute.
6664 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
6666         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
6668         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
6669         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
6670         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
6672 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
6673             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6675         [BZ #17634]
6676         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
6677         Undefine after defining function.  Define as weak alias of
6678         __wcschr.  Use libc_hidden_weak.
6679         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
6680         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
6681         (libc_hidden_def): Also define __GI___wcschr alias.
6682         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
6683         __wcschr and define as weak alias of __wcschr.
6684         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
6685         __wcschr.
6686         [!WCSCHR] (DEFAULT_WCSCHR): Define.
6687         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
6688         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
6689         libc_hidden_weak.  Do not use libc_hidden_def.
6690         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
6691         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
6692         __GI___wcschr alias.
6693         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
6694         [IS_IN (libc)] (wcschr): Define as macro expanding to
6695         __redirect_wcschr.
6696         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
6697         [IS_IN (libc)] (__wcschr_power6): Likewise.
6698         [IS_IN (libc)] (__wcschr_power7): Likewise.
6699         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
6700         instead of wcschr.
6701         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
6702         __libc_wcschr.
6703         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
6704         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
6705         __wcschr and define as weak alias of __wcschr.  Use
6706         libc_hidden_builtin_def.
6707         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
6708         as weak alias of __wcschr.  Use libc_hidden_weak.
6709         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
6710         wcschr.
6711         * time/era.c (_nl_init_era_entries): Likewise.
6712         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
6713         variable.
6714         (test-xfail-XPG3/time.h/linknamespace): Likewise.
6715         (test-xfail-XPG4/time.h/linknamespace): Likewise.
6717 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
6719         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
6720         format for long int variable.
6722 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
6724         [BZ #10672]
6725         * manual/search.texi: (Array Sort Function): Remove claim how to make
6726         qsort stable.
6728 2014-12-10  Andreas Schwab  <schwab@suse.de>
6730         [BZ #12847]
6731         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
6732         user-controlled locks.
6734 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
6736         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
6737         register.
6739 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
6741         * configure.ac (--disable-werror): New configure option.
6742         (enable_werror): New AC_SUBST.
6743         * configure: Regenerated.
6744         * config.make.in (enable-werror): New variable.
6745         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
6746         -Wno-error=undef.
6747         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
6748         * manual/install.texi (Configuring and compiling): Document
6749         --disable-werror.
6750         * INSTALL: Regenerated.
6751         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
6752         (CFLAGS-tst-chk2.c): Likewise.
6753         (CFLAGS-tst-chk3.c): Likewise.
6754         (CFLAGS-tst-chk4.cc): Likewise.
6755         (CFLAGS-tst-chk5.cc): Likewise.
6756         (CFLAGS-tst-chk6.cc): Likewise.
6757         (CFLAGS-tst-lfschk1.c): Likewise.
6758         (CFLAGS-tst-lfschk2.c): Likewise.
6759         (CFLAGS-tst-lfschk3.c): Likewise.
6760         (CFLAGS-tst-lfschk4.cc): Likewise.
6761         (CFLAGS-tst-lfschk5.cc): Likewise.
6762         (CFLAGS-tst-lfschk6.cc): Likewise.
6764         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
6765         (main): Disable -Wdeprecated-declarations around calls to
6766         register_printf_function.
6768         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
6769         (do_test): Disable -Wdiv-by-zero around some calls to
6770         fwrite_unlocked and fread_unlocked.
6772         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
6773         (DIAG_POP_NEEDS_COMMENT): Likewise.
6774         (_DIAG_STR1): Likewise.
6775         (_DIAG_STR): Likewise.
6776         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
6777         * stdio-common/bug21.c: Include <libc-internal.h>.
6778         (do_test): Disable -Wformat around call to sscanf.
6779         * stdio-common/scanf14.c: Include <libc-internal.h>.
6780         (main): Disable -Wformat around some calls to scanf functions.
6782 2014-12-09  Torvald Riegel  <triegel@redhat.com>
6784         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
6786 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6788         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
6789         stack variable alignment.
6791 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
6793         [BZ #17682]
6794         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
6795         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
6796         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
6797         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
6798         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
6799         __getrlimit instead of getrlimit.
6800         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
6801         __gettimeofday instead of gettimeofday.
6802         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6803         Likewise.
6804         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6805         Likewise.
6806         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6807         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
6808         Remove variable.
6809         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6810         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6812 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6814         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
6815         for wide-character tests.
6817 2014-12-04  Roland McGrath  <roland@hack.frob.com>
6819         * io/openat64.c: #include <libc-internal.h>
6820         (__openat64): Prototypify.  Use ignore_value on MODE.
6821         * io/openat.c: Likewise.
6822         * misc/reboot.c: #include <libc-internal.h>
6823         (reboot): Prototypify.  Use ignore_value on HOWTO.
6824         * misc/ptrace.c: #include <libc-internal.h>
6825         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
6827 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
6829         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
6830         XPG4, UNIX98 and XOPEN2K.
6831         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
6832         Remove variable.
6833         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6835 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6837         * libio/fileops.c: Use ISO C style for function definitions.
6838         * libio/iofopen.c: Likewise.
6839         * libio/wfileops.c: Likewise.
6841         [BZ #17653]
6842         * libio/fileops.c (_IO_new_file_underflow): Unset cached
6843         offset on EOF.
6844         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
6845         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
6846         (fgets_func): Function pointer to fgets and fgetws.
6847         (do_ftell_test): Add test to verify ftell value after read
6848         EOF.
6849         (do_test): Set fgets_func.
6851         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
6852         O_TRUNC flag for w and w+ modes.
6853         (do_rewind_test): Likewise.
6854         (do_ftell_test): Likewise.
6855         (do_write_test): Likewise.
6857         [BZ #17647]
6858         * libio/fileops.c (do_ftell): Seek only when there are
6859         unflushed writes.
6860         * libio/wfileops.c (do_ftell_wide): Likewise.
6861         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
6862         test case.
6863         (do_one_test): Call it.
6865 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
6867         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
6868         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
6869         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
6870         Remove variable.
6871         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6872         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6873         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6875 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
6877         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
6878         Remove variable.
6879         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6881         [BZ #17668]
6882         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
6883         as weak alias of __getifaddrs.  Use libc_hidden_weak.
6884         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6885         __freeifaddrs.  Use libc_hidden_weak.
6886         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
6887         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
6888         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6889         __freeifaddrs.  Use libc_hidden_weak.
6890         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
6891         __getifaddrs and define as weak alias of __getifaddrs.  Use
6892         libc_hidden_weak.
6893         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6894         __freeifaddrs.  Use libc_hidden_weak.
6895         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
6896         Remove variable.
6897         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6898         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6900 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
6902         [BZ #17601]
6903         * sysdeps/mips/start.S (__start): Use indirect jump to call
6904         __libc_start_main.
6906 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
6908         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
6910         * nptl/tst-mutex1.c: Include <stdbool.h>.
6911         [!ATTR] (ATTR_NULL): New macro.
6912         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
6913         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
6914         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
6916         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
6917         to char *.
6919         [BZ #17665]
6920         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
6921         Change conditional to [__USE_MISC].
6923         [BZ #17664]
6924         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
6925         fgets_unlocked.
6926         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
6927         __fgets_unlocked.
6928         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
6929         fgets_unlocked.
6930         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
6931         Remove variable.
6932         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6933         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6934         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6935         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6936         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6937         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6938         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6939         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6940         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6942         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
6944 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6946         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6947         Remove strpbrk objects.
6948         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6949         (__libc_ifunc_impl_list): Remove strpbrk implementation.
6950         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
6951         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
6952         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
6953         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
6955         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6956         Remove strcspn objects.
6957         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6958         (__libc_ifunc_impl_list): Remove strcspn implementation.
6959         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
6960         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
6961         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
6962         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
6964         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6965         Remove strspn objetcs.
6966         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6967         (__libc_ifunc_impl_list): Remove strspn implementation.
6968         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
6969         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6970         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
6971         * sysdeps/powerpc/powerpc64/strspn.S: New file.
6973 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
6975         [BZ #17581]
6976         * malloc/hooks.c
6977         (mem2mem_check): Add a terminator to the chain of checking blocks.
6978         (malloc_check_get_size): Use it here.
6979         (mem2chunk_check): Ditto.
6981 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6983         * sysdeps/powerpc/powerpc64/strtok.S: New file.
6984         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
6986 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
6988         * bits/ioctl-types.h: Indent preprocessor directives correctly.
6990         * nptl/nptl-init.c: Include libc-internal.h.
6991         (__pthread_initialize_minimal_internal): Use ROUND_UP.
6993         * elf/ldconfig.c (search_dir): Expand comment.
6995 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
6997         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
6998         variable.
6999         (linknamespace-symlist-stdlibs-tests): Likewise.
7000         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
7001         instead of $(objpfx)symlist-stdlibs.
7002         (linknamespace-libs-isoc): New variable.
7003         (linknamespace-libs): Use $(linknamespace-libs-isoc).
7004         (linknamespace-libs-ISO): New variable.
7005         (linknamespace-libs-ISO99): Likewise.
7006         (linknamespace-libs-ISO11): Likewise.
7007         (linknamespace-libs-XPG3): Likewise.
7008         (linknamespace-libs-XPG4): Likewise.
7009         (linknamespace-libs-POSIX): Likewise.
7010         (linknamespace-libs-UNIX98): Likewise.
7011         (linknamespace-libs-XOPEN2K): Likewise.
7012         (linknamespace-libs-POSIX2008): Likewise.
7013         (linknamespace-libs-XOPEN2K8): Likewise.
7014         ($(objpfx)symlist-stdlibs): Replace by
7015         $(linknamespace-symlist-stdlibs-tests).  Use
7016         $(linknamespace-libs-$*) as set of libraries.
7017         ($(linknamespace-header-tests)): Update dependencies.  Use
7018         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
7019         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
7020         * conform/linknamespace.pl: Remove comment about considering
7021         definitions of symbols from irrelevant libraries.
7023 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
7025         [BZ #13862]
7026         * elf/dl-tls.c: Include <atomic.h>.
7027         (oom): Remove #ifdef SHARED/#endif.
7028         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
7029         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
7030         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
7031         big enough.
7032         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
7033         * nptl/Makefile (tests): Add tst-stack4.
7034         (modules-names): Add tst-stack4mod.
7035         ($(objpfx)tst-stack4): New.
7036         (tst-stack4mod.sos): Likewise.
7037         ($(objpfx)tst-stack4.out): Likewise.
7038         ($(tst-stack4mod.sos)): Likewise.
7039         (clean): Likewise.
7040         * nptl/tst-stack4.c: New file.
7041         * nptl/tst-stack4mod.c: Likewise.
7043 2014-11-27  J. Brown  <jb999@gmx.de>
7045         * sysdeps/x86/bits/string.h: Add recent CPUs.
7047 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
7049         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
7050         sigblock.
7052         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
7053         feof.
7055         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
7056         variable.
7058 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
7060         * nscd/connections.c: Include libc-internal.h because of macro
7061         usage ignore_value.
7063 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7065         * string/bits/string3.h (__warn_memset_zero_len): Don't
7066         declare for gcc newer than 5.0.
7067         (memset): Don't test for zero-length __LEN for gcc newer than
7068         5.0.
7070 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
7072         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
7073         size_t for %zu format.
7075         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
7076         difference, not %ju.
7078 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
7080         * include/libc-internal.h (ignore_value): New macro.
7081         * nscd/connections.c (restart): Wrap calls to setuid and setgid
7082         with ignore_value.
7084         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
7085         definition.
7087         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
7088         pthread_cleanup_push to void *.
7090         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
7091         Undefine.
7093         [BZ #16619]
7094         [BZ #16740]
7095         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
7096         instead of 1L << 52.
7098         * libio/bug-rewind.c (do_test): Check fwscanf return values.
7099         * libio/bug-rewind2.c (do_test): Likewise.
7101         * debug/test-stpcpy_chk-ifunc.c: Remove file.
7102         * debug/test-strcpy_chk-ifunc.c: Likewise.
7103         * wcsmbs/test-wcschr-ifunc.c: Likewise.
7104         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7105         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7106         * wcsmbs/test-wcslen-ifunc.c: Likewise.
7107         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7108         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7109         * Rules [$(multi-arch) = no] (tests): Do not filter out
7110         $(tests-ifunc).
7111         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
7112         * debug/Makefile (tests-ifunc): Remove variable.
7113         (tests): Do not add $(tests-ifunc).
7114         * wcsmbs/Makefile (tests-ifunc): Remove variable.
7115         (tests): Do not add $(tests-ifunc).
7116         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
7117         [TEST_IFUNC]: Remove conditionals.
7118         * string/test-string.h (TEST_IFUNC): Remove macro.
7119         [TEST_IFUNC]: Remove conditionals.
7121         * string/test-strchr.c [!WIDE] (L): New macro.
7122         [WIDE] (L): Likewise.
7123         (check1): Use CHAR instead of char.  Use L on string and character
7124         constants.
7126 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
7128         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
7129         tests.
7130         * sysdeps/powerpc/bits/atomic.h
7131         (__arch_atomic_exchange_and_add_32_acq): Add definition.
7132         (__arch_atomic_exchange_and_add_32_rel): Likewise.
7133         (atomic_exchange_and_add_acq): Likewise.
7134         (atomic_exchange_and_add_rel): Likewise.
7135         * sysdeps/powerpc/powerpc32/bits/atomic.h
7136         (__arch_atomic_exchange_and_add_64_acq): Add definition.
7137         (__arch_atomic_exchange_and_add_64_rel): Likewise.
7138         * sysdeps/powerpc/powerpc64/bits/atomic.h
7139         (__arch_atomic_exchange_and_add_64_acq): Add definition.
7140         (__arch_atomic_exchange_and_add_64_rel): Likewise.
7142 2014-11-26  Torvald Riegel  <triegel@redhat.com>
7144         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
7145         Change synchronization of __sched_fifo_min_prio and
7146         __sched_fifo_max_prio.
7147         * nptl/pthread_mutexattr_getprioceiling.c
7148         (pthread_mutexattr_getprioceiling): Likewise.
7149         * nptl/pthread_mutexattr_setprioceiling.c
7150         (pthread_mutexattr_setprioceiling): Likewise.
7151         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
7152         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7153         Likewise.
7155 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
7157         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
7158         void.
7160 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
7162         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
7163         third argument const.
7165 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
7167         fnmatch: work around GCC compiler warning bug with uninit var
7168         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
7169         This works around a bug with x86-64 GCC 4.9.2 and earlier
7170         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
7171         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
7172         used uninitialized in this function [-Wmaybe-uninitialized]".
7174 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
7176         * posix/bug-regex31.c (main): Return RES not 0.
7178 2014-11-25  Anton Blanchard <anton@samba.org>
7180         * sysdeps/powerpc/bits/atomic.h
7181         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
7183 2014-11-24  Sterling Augustine  <saugustine@google.com>
7185         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
7187 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
7189         [BZ #17608]
7190         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
7192 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
7194         [BZ #17633]
7195         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
7196         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
7197         variable.
7198         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7199         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7201 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
7203         * string/strncpy.c (strncpy): Improve performance by using memset.
7205 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
7207         * string/strcpy.c (strcpy):
7208         Improve performance by using strlen and memcpy.
7210 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
7212         * string/strcoll_l.c (get_next_seq): __always_inline.
7213         * string/strcoll_l.c (do_compare): __always_inline.
7215 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7217         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
7218         defined.
7219         * include/mqueue.h: Likewise.
7220         * include/stdlib.h: Likewise.
7222         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
7223         (get_null_defines): Adjust.
7224         * sunrpc/Makefile: Adjust comment.
7225         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
7226         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
7227         (CFLAGS-interp.c): Likewise.
7228         (CFLAGS-ldconfig.c): Likewise.
7229         (CPPFLAGS-.os): Likewise.
7230         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7231         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7232         * extra-modules.mk (extra-modules.mk): Likewise.
7233         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
7234         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
7235         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
7236         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
7237         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
7238         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
7239         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
7240         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
7241         * iconvdata/Makefile (CPPFLAGS): Likewise.
7242         (cpp-srcs-left): Add libof for all iconvdata routines.
7243         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
7244         * include/assert.h: Likewise.
7245         * include/ctype.h: Likewise.
7246         * include/errno.h: Likewise.
7247         * include/libc-symbols.h: Likewise.
7248         * include/math.h: Likewise.
7249         * include/netdb.h: Likewise.
7250         * include/resolv.h: Likewise.
7251         * include/stdio.h: Likewise.
7252         * include/stdlib.h: Likewise.
7253         * include/string.h: Likewise.
7254         * include/sys/stat.h: Likewise.
7255         * include/wctype.h: Likewise.
7256         * intl/l10nflist.c: Likewise.
7257         * libidn/idn-stub.c: Likewise.
7258         * libio/libioP.h: Likewise.
7259         * nptl/libc_multiple_threads.c: Likewise.
7260         * nptl/pthreadP.h: Likewise.
7261         * posix/regex_internal.h: Likewise.
7262         * resolv/res_hconf.c: Likewise.
7263         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
7264         * sysdeps/arm/memmove.S: Likewise.
7265         * sysdeps/arm/sysdep.h: Likewise.
7266         * sysdeps/generic/_itoa.h: Likewise.
7267         * sysdeps/generic/symbol-hacks.h: Likewise.
7268         * sysdeps/gnu/errlist.awk: Likewise.
7269         * sysdeps/gnu/errlist.c: Likewise.
7270         * sysdeps/i386/i586/memcpy.S: Likewise.
7271         * sysdeps/i386/i586/memset.S: Likewise.
7272         * sysdeps/i386/i686/memcpy.S: Likewise.
7273         * sysdeps/i386/i686/memmove.S: Likewise.
7274         * sysdeps/i386/i686/mempcpy.S: Likewise.
7275         * sysdeps/i386/i686/memset.S: Likewise.
7276         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7277         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7278         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
7279         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
7280         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7281         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7282         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
7283         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7284         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7285         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7286         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7287         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7288         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7289         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7290         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7291         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7292         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
7293         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
7294         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
7295         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7296         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7297         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7298         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7299         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7300         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7301         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7302         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
7303         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7304         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
7305         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7306         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7307         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7308         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7309         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7310         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7311         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7312         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7313         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7314         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7315         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7316         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7317         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7318         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7319         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7320         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7321         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7322         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
7323         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
7324         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7325         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7326         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7327         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
7328         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
7329         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7330         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7331         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
7332         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7333         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
7334         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
7335         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7336         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7337         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7338         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
7339         * sysdeps/nptl/bits/libc-lock.h: Likewise.
7340         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7341         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
7342         * sysdeps/posix/closedir.c: Likewise.
7343         * sysdeps/posix/opendir.c: Likewise.
7344         * sysdeps/posix/readdir.c: Likewise.
7345         * sysdeps/posix/rewinddir.c: Likewise.
7346         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
7347         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
7348         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
7349         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7350         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7351         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
7352         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
7353         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
7354         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
7355         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
7356         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
7357         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
7358         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
7359         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
7360         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
7361         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
7362         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
7363         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
7364         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
7365         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
7366         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
7367         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
7368         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
7369         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
7370         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
7371         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
7372         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
7373         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
7374         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
7375         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
7376         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
7377         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
7378         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
7379         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
7380         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
7381         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
7382         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7383         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7384         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
7385         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
7386         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
7387         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
7388         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
7389         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
7390         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
7391         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
7392         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
7393         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
7394         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
7395         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
7396         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
7397         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
7398         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7399         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
7400         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
7401         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
7402         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
7403         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
7404         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
7405         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
7406         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
7407         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
7408         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7409         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
7410         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
7411         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
7412         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
7413         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
7414         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
7415         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
7416         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
7417         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
7418         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
7419         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
7420         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
7421         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
7422         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
7423         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
7424         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7425         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
7426         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
7427         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7428         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
7429         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
7430         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
7431         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
7432         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
7433         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7434         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7435         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7436         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
7437         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
7438         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
7439         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7440         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7441         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
7442         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7443         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7444         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
7445         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
7446         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7447         * sysdeps/unix/alpha/sysdep.S: Likewise.
7448         * sysdeps/unix/alpha/sysdep.h: Likewise.
7449         * sysdeps/unix/make-syscalls.sh: Likewise.
7450         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7451         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7452         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7453         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7454         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7455         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
7456         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
7457         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7458         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7459         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
7460         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7461         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7462         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7463         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7464         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7465         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7466         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7467         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7468         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7469         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7470         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
7471         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7472         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7473         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7474         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7475         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7476         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7479         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
7480         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7481         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7482         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7483         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7484         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7485         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7486         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7487         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7488         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7489         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7490         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7491         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7492         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7493         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7494         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7495         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7496         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7497         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7498         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7499         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7500         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7501         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7502         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7503         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7504         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
7505         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7506         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7507         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7508         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
7509         * sysdeps/x86_64/memcpy.S: Likewise.
7510         * sysdeps/x86_64/memmove.c: Likewise.
7511         * sysdeps/x86_64/memset.S: Likewise.
7512         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
7513         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7514         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7515         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
7516         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7517         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7518         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7519         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7520         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7521         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7522         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7523         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7524         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
7525         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7526         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7527         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
7528         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7529         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7530         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7531         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7532         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
7533         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7534         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7535         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7536         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7537         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7538         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7539         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
7540         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7541         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7542         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
7543         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7544         * sysdeps/x86_64/strcmp.S: Likewise.
7546         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
7548         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
7549         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
7550         * elf/rtld-Rules: Likewise.
7551         * elf/setup-vdso.h: Likewise.
7552         * include/assert.h: Likewise.
7553         * include/bits/stdlib-float.h: Likewise.
7554         * include/errno.h: Likewise.
7555         * include/sys/stat.h: Likewise.
7556         * include/unistd.h: Likewise.
7557         * sysdeps/aarch64/setjmp.S: Likewise.
7558         * sysdeps/alpha/setjmp.S: Likewise.
7559         * sysdeps/arm/__longjmp.S: Likewise.
7560         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
7561         * sysdeps/arm/setjmp.S: Likewise.
7562         * sysdeps/arm/sysdep.h: Likewise.
7563         * sysdeps/generic/_itoa.h: Likewise.
7564         * sysdeps/generic/dl-sysdep.h: Likewise.
7565         * sysdeps/generic/ldsodefs.h: Likewise.
7566         * sysdeps/i386/dl-tls.h: Likewise.
7567         * sysdeps/i386/setjmp.S: Likewise.
7568         * sysdeps/m68k/setjmp.c: Likewise.
7569         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
7570         * sysdeps/mach/hurd/opendir.c: Likewise.
7571         * sysdeps/posix/getcwd.c: Likewise.
7572         * sysdeps/posix/opendir.c: Likewise.
7573         * sysdeps/posix/profil.c: Likewise.
7574         * sysdeps/powerpc/dl-procinfo.h: Likewise.
7575         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7576         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7577         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7578         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7579         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
7580         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7581         * sysdeps/s390/dl-tls.h: Likewise.
7582         * sysdeps/s390/s390-32/setjmp.S: Likewise.
7583         * sysdeps/s390/s390-64/setjmp.S: Likewise.
7584         * sysdeps/sh/sh3/setjmp.S: Likewise.
7585         * sysdeps/sh/sh4/setjmp.S: Likewise.
7586         * sysdeps/unix/alpha/sysdep.h: Likewise.
7587         * sysdeps/unix/arm/sysdep.S: Likewise.
7588         * sysdeps/unix/i386/sysdep.S: Likewise.
7589         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7590         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7591         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7592         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7593         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7594         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7595         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7596         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7597         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7598         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7599         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7600         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7601         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7604         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7605         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7606         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7607         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7608         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7609         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7610         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7611         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7612         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7613         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7614         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7615         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7616         * sysdeps/unix/x86_64/sysdep.S: Likewise.
7617         * sysdeps/x86_64/setjmp.S: Likewise.
7619         * include/math.h: Use IS_IN instead of IS_IN_libm.
7620         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
7621         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7622         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7623         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7624         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7625         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7626         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7627         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7628         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7629         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7630         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
7631         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7632         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
7633         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7634         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7635         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
7636         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
7637         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7638         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
7639         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
7640         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
7641         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
7642         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
7643         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
7644         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
7645         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
7646         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
7647         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
7648         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
7649         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7650         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
7651         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
7652         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7654         Likewise.
7655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
7656         Likewise.
7657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
7658         Likewise.
7659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
7660         Likewise.
7661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
7662         Likewise.
7663         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
7664         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
7665         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
7666         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7667         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7668         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
7671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
7672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
7673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
7674         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
7675         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
7676         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7677         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7678         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7679         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7680         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7681         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7682         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
7683         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
7684         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
7685         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
7686         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
7687         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
7688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7689         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
7691         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
7692         * nptl/pthreadP.h: Likewise.
7693         * nptl_db/structs.def: Likewise.
7694         * sysdeps/arm/sysdep.h: Likewise.
7695         * sysdeps/nptl/bits/libc-lock.h: Likewise.
7696         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7697         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
7698         * sysdeps/unix/alpha/sysdep.h: Likewise.
7699         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7700         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7701         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7702         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7703         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7704         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7705         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7706         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7707         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7708         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7709         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7710         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7711         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7712         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7715         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7716         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7717         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7718         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7719         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7720         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7721         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7722         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7723         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
7724         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7726         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
7727         * nptl/pthreadP.h: Likewise.
7728         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7729         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7730         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7731         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7732         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7733         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7734         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7735         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7736         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7737         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7738         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7739         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7741         Likewise.
7742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7743         Likewise.
7744         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7745         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7746         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7747         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7748         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7749         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7750         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7751         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7753         * dlfcn/dladdr.c: Use IS_IN.
7754         * dlfcn/dladdr1.c: Likewise.
7755         * dlfcn/dlclose.c: Likewise.
7756         * dlfcn/dlerror.c: Likewise.
7757         * dlfcn/dlinfo.c: Likewise.
7758         * dlfcn/dlmopen.c: Likewise.
7759         * dlfcn/dlopen.c: Likewise.
7760         * dlfcn/dlsym.c: Likewise.
7761         * dlfcn/dlvsym.c: Likewise.
7763         * include/ifaddrs.h: Use IS_IN.
7764         * inet/check_pf.c: Likewise.
7765         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7766         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
7768         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
7769         IS_IN_ldconfig.
7770         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
7771         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
7773         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
7774         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
7775         IS_IN (libc).
7777         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
7779         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
7780         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7781         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7782         * include/libc-symbols.h (IS_IN_LIB): New macro.
7783         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
7784         * include/netdb.h: Likewise.
7785         * include/stap-probe.h: Remove all uses of IN_LIB.
7787         * Makeconfig (module-cppflags-real): Define MODULE_NAME
7788         instead of IN_MODULE.
7789         * include/libc-symbols.h (IN_MODULE): Define using
7790         MODULE_NAME.
7791         (PASTE_NAME, PASTE_NAME1): New macros.
7792         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
7793         of IN_LIB.
7794         (STAP_PROBE_ASM): Likewise.
7796 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7798         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
7799         __mach_init in dlopened libc.
7801 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
7803         * sysdeps/arm/preconfigure.ac: Delete EABI check.
7804         * sysdeps/arm/preconfigure: Regenerate.
7806 2014-11-21  Roland McGrath  <roland@hack.frob.com>
7808         * nptl/pthread_create.c (__pthread_create_2_1): Set
7809         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
7810         when copying values from IATTR into PD.
7812 2014-11-21  Will Newton  <will.newton@linaro.org>
7813             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
7815         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
7816         Refactor inline-asm.  Also add comment.
7818         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
7819         ElfW macro instead of hardcoded Elf64 types.
7820         (la_aarch64_gnu_pltenter): Likewise.
7821         * sysdeps/aarch64/dl-machine.h
7822         (elf_machine_runtime_setup): Use ElfW(Addr).
7824         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
7825         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
7826         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
7827         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
7828         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
7829         (R_AARCH64_TLS_DTPMOD64): Rename to ..
7830         (R_AARCH64_TLS_DTPMOD): This.
7831         (R_AARCH64_TLS_DTPREL64): Rename to ...
7832         (R_AARCH64_TLS_DTPREL): This.
7833         (R_AARCH64_TLS_TPREL64): Rename to ...
7834         (R_AARCH64_TLS_TPREL): This.
7835         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
7836         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
7837         R_AARCH64_TLS_TPREL64.
7838         (elf_machine_rela): Likewise.
7840 2014-11-21  Torvald Riegel  <triegel@redhat.com>
7842         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
7843         by setting it to 0.  64b atomics are not supported currently.
7845 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7847         [BZ #16469]
7848         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
7849         search domain names.
7851 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7853         [BZ #16469]
7854         * NEWS: Update.
7855         * resolv/res_query.c (__libc_res_nquerydomain): Retain
7856         trailing dot.
7857         * posix/tst-getaddrinfo5.c: New.
7858         * posix/Makefile (tests): Add it.
7860 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7862         [BZ #14498]
7863         * NEWS: Fixed.
7864         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
7865         after parsing line but before break_if_match.
7866         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
7867         if there is a protocol mismatch.
7869 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
7871         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
7872         because the potential race is on the user-supplied stream.
7874 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7876         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
7877         string literal if not passed a buffer.
7878         * manual/job.texi (ctermid): Update reasoning, note deviation
7879         from posix, suggest mtasurace when not passed a buffer, for
7880         future non-preliminary safety notes.
7882 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7884         * manual/users.texi (cuserid): Fix MT-Safety note for the case
7885         of not passing it a buffer.
7886         Reported by Peng Haitao.
7888 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7890         * manual/Makefile ($(objpfx)stamp-summary): Require
7891         check-safety.sh to pass.
7892         * manual/check-safety.sh: Wish for verification that every
7893         @deftypefn and @deftypefun is followed by a @safety remark.
7895 2014-11-20  Roland McGrath  <roland@hack.frob.com>
7897         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
7899         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
7900         PTHREAD_CANCEL_ASYNCHRONOUS.
7901         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
7902         send SIGCANCEL.
7904         * nptl/default-sched.h: New file.
7905         * sysdeps/unix/sysv/linux/default-sched.h: New file.
7906         * nptl/pthread_create.c: Include it.
7907         (__pthread_create_2_1): Use collect_default_sched instead of making
7908         Linux syscalls here directly.
7910 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7912         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
7913         __pthread_once): Use C11 atomics.
7915 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7917         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
7919 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7921         * include/atomic.h (__atomic_link_error, __atomic_check_size,
7922         atomic_thread_fence_acquire, atomic_thread_fence_release,
7923         atomic_thread_fence_seq_cst, atomic_load_relaxed,
7924         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
7925         atomic_compare_exchange_weak_relaxed,
7926         atomic_compare_exchange_weak_acquire,
7927         atomic_compare_exchange_weak_release,
7928         atomic_exchange_acquire, atomic_exchange_release,
7929         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
7930         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
7931         atomic_fetch_and_acquire,
7932         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
7934 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7936         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
7937         USE_ATOMIC_COMPILER_BUILTINS): Define.
7938         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
7939         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7940         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
7941         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7942         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
7943         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7944         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
7945         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7946         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
7947         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7948         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
7949         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7950         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
7951         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7952         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
7953         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7954         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7955         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7956         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7957         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7958         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
7959         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7960         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7961         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7962         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
7963         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7964         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7965         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7966         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
7967         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7968         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
7969         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7970         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
7971         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7972         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7973         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7974         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
7975         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7976         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
7977         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7979 2014-11-19  Roland McGrath  <roland@hack.frob.com>
7981         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
7982         the sched_priority value here.  It was already checked when the user
7983         called pthread_attr_setschedparam.
7985         * nptl/tst-bad-schedattr.c: New file.
7986         * nptl/Makefile (tests): Add it.
7988 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
7989             Florian Weimer  <fweimer@redhat.com>
7990             Joseph Myers  <joseph@codesourcery.com>
7991             Adam Conrad  <adconrad@0c3.net>
7992             Andreas Schwab  <schwab@suse.de>
7993             Brooks  <bmoses@google.com>
7995         [BZ #17625]
7996         * wordexp-test.c (__dso_handle): Add prototype.
7997         (__register_atfork): Likewise.
7998         (__app_register_atfork): New function.
7999         (registered_forks): New global.
8000         (register_fork): New function.
8001         (test_case): Add 3 new tests for WRDE_CMDSUB.
8002         (main): Call __app_register_atfork.
8003         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
8004         fork count is non-zero fail the test.
8005         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
8006         is set.
8007         (parse_dollars): Remove check for WRDE_NOCMD.
8008         (parse_dquote): Likewise.
8010 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8012         * Makeconfig (built-modules): List non-library modules to be
8013         built.
8014         (module-cppflags): Include libc-modules.h for
8015         everything except shlib-versions.v.i.
8016         (CPPFLAGS): Use it.
8017         (before-compile): Add libc-modules.h.
8018         ($(common-objpfx)libc-modules.h,
8019         $(common-objpfx)libc-modules.stmp): New targets.
8020         (common-generated): Add libc-modules.h and libc-modules.stmp.
8021         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
8022         * include/libc-symbols.h: Don't include libc-modules.h.
8023         * include/libc-modules.h: Remove file.
8024         * scripts/gen-libc-modules.awk: New script to generate
8025         libc-modules.h.
8026         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
8027         Depend on libc-modules.stmp.
8029         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
8031         * Makeconfig (in-module): Get value of libof set for the
8032         translation unit.
8033         (CPPFLAGS): Use $(in-module).
8034         * Makerules: Don't suffix routine names for nonlib.
8035         * include/libc-modules.h: New file.
8036         * include/libc-symbols.h: Include libc-modules.h
8037         (IS_IN): New macro to replace IS_IN_* macros.
8038         * elf/Makefile: Set libof-* for each routine.
8039         * elf/rtld-Rules: Likewise.
8040         * extra-modules.mk: Likewise.
8041         * iconv/Makefile: Likewise.
8042         * iconvdata/Makefile: Likewise.
8043         * locale/Makefile: Likewise.
8044         * malloc/Makefile: Likewise.
8045         * nss/Makefile: Likewise.
8046         * sysdeps/gnu/Makefile: Likewise.
8047         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
8048         * sysdeps/unix/sysv/linux/Makefile: Likewise.
8049         * sysdeps/s390/s390-64/Makefile: Likewise.
8050         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
8051         CPPFLAGS for nscd instead of nonlib.
8053 2014-11-18  Roland McGrath  <roland@hack.frob.com>
8055         * nptl/createthread.c: New file.
8057         * nptl/createthread.c: Moved ...
8058         * sysdeps/unix/sysv/linux/createthread.c: ... here.
8060         * nptl/createthread.c: Add proper top-line comment.
8061         (do_clone): Folded into ...
8062         (create_thread): ... here.  Take new arguments STOPPED_START and
8063         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
8064         increment __nptl_threads, do event-reporting logic, do
8065         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
8066         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
8067         resource cleanup if sched_setaffinity or sched_setscheduler fails,
8068         just send SIGCANCEL.
8069         * nptl/pthread_create.c: Forward-declare create_thread before
8070         including createthread.c.
8071         (start_thread): Use new macro START_THREAD_DEFN to replace defining
8072         declaration, and new macro START_THREAD_SELF to replace argument.
8073         Remove return statement.
8074         (report_thread_creation): New function.
8075         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
8076         synchronization logic, and __nptl_nthreads increment here, around
8077         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
8078         PD->parent_cancelhandling here, before create_thread.  When
8079         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
8080         __deallocate_stack, and ENOMEM translation here.
8082 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
8084         [BZ #17616]
8085         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
8086         (mptwo): Rename to __mptwo.
8087         (__inv): Use __mptwo instead of mptwo.
8088         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
8089         (mptwo): Rename to __mptwo.
8090         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
8091         of mpone and __mptwo instead of mptwo.
8092         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
8093         instead of mpone.
8094         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8095         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
8096         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
8097         of mpone and __mptwo instead of mptwo.
8098         (__mpranred): Use __mpone instead of mpone.
8099         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
8100         variable.
8101         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8102         (test-xfail-ISO99/math.h/linknamespace): Likewise.
8103         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8104         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8105         (test-xfail-ISO11/math.h/linknamespace): Likewise.
8106         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8107         (test-xfail-XPG3/math.h/linknamespace): Likewise.
8108         (test-xfail-XPG4/math.h/linknamespace): Likewise.
8109         (test-xfail-POSIX/math.h/linknamespace): Likewise.
8110         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8111         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8112         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8113         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8114         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8115         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8116         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8117         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8118         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8119         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8121 2014-11-18  Tom de Vries  <tom@codesoucery.com>
8123         * manual/signal.texi (Primitives Interrupted by Signals): In section,
8124         replace BSD Handler xref with BSD Signal Handling.
8126 2014-11-17  Richard Henderson  <rth@redhat.com>
8128         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
8129         (_FP_PACK_RAW_2): Remove.
8130         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
8131         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
8132         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
8133         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
8134         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
8135         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
8136         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
8137         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
8138         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
8139         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
8140         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
8141         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
8142         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
8143         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
8144         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
8145         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
8147 2014-11-14  Roland McGrath  <roland@hack.frob.com>
8149         * signal/signal.h [__USE_MISC]
8150         (struct sigvec): Remove type.
8151         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
8152         (sigvec): Remove declaration.
8153         * sysdeps/posix/sigvec.c: Moved ...
8154         * signal/sigvec.c: ... here, replacing old file.
8155         (struct sigvec): New type, copied from old signal.h definition.
8156         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
8157         (__sigvec): Convert definition to prototype.
8158         (sigvec): Replace weak_alias with compat_symbol.
8159         * signal/Versions (libc: GLIBC_2.21): New version set.
8160         * include/signal.h: Remove __sigvec declaration.
8161         * sysdeps/unix/bsd/sigvec.c: Remove file.
8162         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
8163         * manual/signal.texi (BSD Handler): Remove subsection.
8164         Move siginterrupt up to ...
8165         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
8166         (Blocking in BSD): Fold subsection into its parent.
8167         * NEWS: Mention sigvec removal.
8169 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
8171         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
8172         (DLA_FMS): Make definition conditional only on [__FMA4__].
8173         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
8174         definition.
8176         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
8177         Make definition conditional only on [PROF].
8178         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
8179         definition.
8180         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
8181         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
8183         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
8184         !__GNUC__].
8185         * include/signal.h (__sigpause): Move declaration above call to
8186         libc_hidden_proto.
8187         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
8188         variable.
8189         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8190         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8192 2014-11-14  David S. Miller  <davem@davemloft.net>
8194         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
8195         Define before including <string/memcpy.c> and <string/mempcpy.c>.
8197 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
8199         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
8200         * configure: Regenerated.
8201         * manual/install.texi (Tools for Compilation): Document a
8202         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
8203         compiler verified to work.
8204         * INSTALL: Regenerated.
8206         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
8207         redeclare with asm name.
8208         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
8209         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
8210         including <string.h>.
8211         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8212         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
8213         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8214         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
8215         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8216         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8217         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8219 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
8221         * stdlib/strtol.c (__strtol): Use prototype definition.
8223         [BZ #17594]
8224         * stdlib/strtol.c (SYM__): New macro.
8225         (SYM__1): Likewise.
8226         (__strtol): Likewise.
8227         (strtol): Rename to __strtol and define as weak alias of
8228         __strtol.  Use libc_hidden_weak.
8230 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8232         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
8233         Use numbered labels in inline assembly.
8235 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8237         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
8238         Add setjmp LIBC_PROBE.
8239         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
8240         Likewise.
8241         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
8242         Add longjmp, longjmp_target LIBC_PROBE.
8243         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
8244         Likewise.
8246 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8248         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8249         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
8250         to get rid of unused variable warning.
8252 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8254         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
8255         Check for unwind_backtrace ==  NULL only in SHARED case.
8256         (__backchain_backtrace): Compile only in SHARED case.
8257         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
8258         Likewise.
8259         (__backchain_backtrace): Declare as static.
8261 2014-11-12  Roland McGrath  <roland@hack.frob.com>
8263         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
8264         (__libc_multiple_threads_ptr): Variable moved ...
8265         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
8267 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
8269         * conform/GlibcConform.pm: New file.
8270         * conform/conformtest.pl: Use GlibcConform module.
8271         * conform/linknamespace.pl: New file.
8272         * conform/list-header-symbols.pl: Likewise.
8273         * conform/Makefile (linknamespace-symlists-base): New variable.
8274         (linknamespace-symlists-tests): Likewise.
8275         (linknamespace-header-base): Likewise.
8276         (linknamespace-header-tests): Likewise.
8277         (tests-special): Add new tests.
8278         ($(linknamespace-symlists-tests)): New rule.
8279         (linknamespace-libs): New variable.
8280         ($(objpfx)symlist-stdlibs): New rule.
8281         ($(linknamespace-header-tests)): Likewise.
8282         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
8283         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
8284         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
8285         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
8286         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
8287         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
8288         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
8289         (test-xfail-ISO/math.h/linknamespace): Likewise.
8290         (test-xfail-ISO/signal.h/linknamespace): Likewise.
8291         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
8292         (test-xfail-ISO/time.h/linknamespace): Likewise.
8293         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8294         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
8295         (test-xfail-ISO99/math.h/linknamespace): Likewise.
8296         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8297         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8298         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8299         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8300         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8301         (test-xfail-ISO11/math.h/linknamespace): Likewise.
8302         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8303         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8304         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8305         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8306         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
8307         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
8308         (test-xfail-XPG3/math.h/linknamespace): Likewise.
8309         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
8310         (test-xfail-XPG3/search.h/linknamespace): Likewise.
8311         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
8312         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8313         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
8314         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8315         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8316         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
8317         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
8318         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8319         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
8320         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
8321         (test-xfail-XPG4/math.h/linknamespace): Likewise.
8322         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
8323         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8324         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8325         (test-xfail-XPG4/search.h/linknamespace): Likewise.
8326         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
8327         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
8328         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
8329         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
8330         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
8331         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8332         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
8333         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8334         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
8335         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
8336         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
8337         (test-xfail-POSIX/math.h/linknamespace): Likewise.
8338         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
8339         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
8340         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
8341         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8342         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
8343         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8344         (test-xfail-POSIX/time.h/linknamespace): Likewise.
8345         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
8346         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
8347         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8348         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8349         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
8350         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
8351         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
8352         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8353         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8354         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8355         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
8356         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
8357         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8358         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8359         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
8360         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8361         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8362         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
8363         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
8364         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
8365         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8366         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8367         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
8368         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8369         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
8370         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
8371         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
8372         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
8373         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8374         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
8375         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
8376         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
8377         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
8378         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
8379         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8380         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8381         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8382         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
8383         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
8384         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
8385         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8386         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
8387         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8388         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8389         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
8390         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
8391         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
8392         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8393         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8394         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
8395         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
8396         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8397         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8398         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
8399         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
8400         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
8401         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
8402         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8403         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8404         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
8405         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8406         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
8407         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8408         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8409         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8410         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8411         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8412         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
8413         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
8414         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8415         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8416         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8417         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8418         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8419         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
8420         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8421         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8422         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8423         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8424         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
8425         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
8426         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8427         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8428         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8429         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8430         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
8431         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8432         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
8433         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
8434         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8435         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8436         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8437         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8438         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8439         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
8440         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8441         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8442         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
8444         [BZ #17589]
8445         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
8446         of fgets_unlocked.
8448         [BZ #17585]
8449         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
8450         (memmem): Rename to __memmem and define as weak alias of
8451         __memmem.  Use libc_hidden_weak.
8452         (__memmem): Use libc_hidden_def.
8453         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
8454         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
8455         memmem.
8457         [BZ #17582]
8458         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
8459         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
8460         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
8461         and define as weak alias of __fgets_unlocked.  Use
8462         libc_hidden_weak.
8463         (__fgets_unlocked): Use libc_hidden_def.
8464         * include/stdio.h (__fgets_unlocked): Declare.  Use
8465         libc_hidden_proto.
8466         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
8467         __fgets_unlocked instead of fgets_unlocked.
8468         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
8469         (GET_NPROCS_CONF_PARSER): Likewise.
8470         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
8471         (GET_NPROCS_CONF_PARSER): Likewise.
8473         [BZ #17574]
8474         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
8475         weak alias of __wmemset.  Use libc_hidden_weak.
8476         (__wmemset): Use libc_hidden_def.
8477         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
8478         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
8479         of wmemset.
8481         [BZ #17573]
8482         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
8483         with asm name __mempcpy.
8484         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
8486         [BZ #17572]
8487         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
8488         and define as weak alias of __rawmemchr.
8489         (__rawmemchr): Do not define as strong alias of rawmemchr.
8491         [BZ #17571]
8492         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
8493         alias of __qsort_r.
8494         (qsort): Call __qsort_r instead of qsort_r.
8495         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
8496         (__qsort_r): Declare.  Call libc_hidden_proto.
8497         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
8498         instead of qsort_r.
8499         * nscd/gai.c (__qsort_r): Define to qsort_r.
8500         * posix/tst-rfc3484.c (__qsort_r): Likewise.
8501         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
8502         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
8504         [BZ #17570]
8505         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
8506         define as weak alias of __malloc_info.
8508         [BZ #17584]
8509         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
8510         as weak alias of __rewinddir.  Don't use libc_hidden_def.
8511         (__rewinddir): Use libc_hidden_def.
8512         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
8513         as weak alias of __rewinddir.  Don't use libc_hidden_def.
8514         (__rewinddir): Use libc_hidden_def.
8515         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
8516         weak alias of __rewinddir.  Don't use libc_hidden_def.
8517         (__rewinddir): Use libc_hidden_def.
8518         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
8519         (__rewinddir): Use libc_hidden_proto.
8520         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
8521         rewinddir.
8522         (__getcwd): Use __rewinddir instead of rewinddir.
8524         [BZ #17583]
8525         * libio/fileno.c (fileno): Rename to __fileno and define as weak
8526         alias of __fileno.  Use libc_hidden_weak.
8527         (__fileno): Use libc_hidden_def.
8528         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
8529         * libio/ftello.c (ftello): Rename to __ftello and define as weak
8530         alias of __ftello.
8531         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
8532         __ftello.
8533         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
8534         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
8535         libc_hidden_def.
8536         (fread_unlocked): Don't use libc_hidden_ver.
8537         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
8538         and define as weak alias of __fread_unlocked.  Don't use
8539         libc_hidden_def.
8540         (__fread_unlocked): Use libc_hidden_def.
8541         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
8542         (ftello): Don't use libc_hidden_proto.
8543         (__ftello): Declare.  Use libc_hidden_proto.
8544         (fread_unlocked): Don't use libc_hidden_proto.
8545         (__fread_unlocked): Declare.  Use libc_hidden_proto.
8546         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
8547         and __ftello instead of fileno, fread_unlocked and ftello.
8549 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8551         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
8552         GOT12.
8553         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8554         Likewise.
8555         (_dl_start_user): Likewise.
8556         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
8558 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
8559             Siddhesh Poyarekar  <siddhesh@redhat.com>
8561         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
8562         Move argv and envp down instead of moving argc up.
8563         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
8565 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
8567         [BZ #17506]
8568         * test-skeleton.c (main): Return successful if one of
8569         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
8570         * string/tst-strcoll-overflow.c: Define expected status.
8572 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
8574         [BZ #17475]
8575         * locale/iso-639.def: Define Bhili and Tulu language codes.
8577 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
8579         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
8581 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
8583         [BZ #17555]
8584         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
8586 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
8588         * configure.ac: Updated check of minimal required version to
8589         2.22.
8590         * manual/install.texi (Tools for Compilation): Updated version
8591         number.
8592         * configure: Regenerated.
8593         * INSTALL: Likewise.
8595 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
8597         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
8598         __tls_get_addr.
8600 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
8602         * include/sys/wait.h (__libc_waitpid): Remove declaration.
8603         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
8604         (__waitpid): Don't define as alias.  Use libc_hidden_def not
8605         libc_hidden_weak.
8606         (waitpid): Define as alias of __waitpid.
8607         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
8608         __waitpid.
8609         (__waitpid): Don't define as alias.  Use libc_hidden_def not
8610         libc_hidden_weak.
8611         (waitpid): Define as alias of __waitpid.
8612         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
8613         __libc_waitpid alias.
8614         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
8615         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
8616         Likewise.
8617         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
8618         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
8619         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
8620         alias.
8621         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
8622         __waitpid.
8623         (__waitpid): Don't define as alias.  Use libc_hidden_def not
8624         libc_hidden_weak.
8625         (waitpid): Define as alias of __waitpid.
8627 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
8629         * manual/llio.texi: Add comment that write safety has been
8630         fixed in Linux.
8632         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
8633         (localplt-build-dso): Add elf/ld.so.
8634         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
8635         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
8636         and free for ld.so.
8637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
8638         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
8639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
8640         Likewise.
8641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8642         Likewise.
8643         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
8644         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
8645         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
8646         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
8647         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8648         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
8649         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
8650         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
8651         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8652         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
8653         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8655 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
8657         [BZ #14132]
8658         * include/libc-symbols.h (INTUSE): Remove macro.
8659         (INTDEF): Likewise.
8660         (INTVARDEF): Likewise.
8661         (_INTVARDEF): Likewise.
8662         (INTDEF2): Likewise.
8663         (INTVARDEF2): Likewise.
8664         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
8665         rtld_hidden_def instead of INTVARDEF.
8666         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
8667         (_dl_starting_up_internal): Remove declaration.
8668         (_dl_starting_up): Use rtld_hidden_proto.
8669         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
8670         declaration.
8671         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
8672         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
8673         _dl_starting_up.
8674         * elf/dl-writev.h (_dl_writev): Likewise.
8675         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
8676         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
8677         _dl_starting_up_internal.
8679 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8681         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
8682         test-skeleton.c.
8684 2014-11-05  Will Newton  <will.newton@linaro.org>
8686         * benchtests/Makefile: (bench-malloc): Add malloc thread
8687         scalability benchmark.
8688         * benchtests/bench-malloc-threads.c: New file.
8690 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
8692         * sysdeps/aarch64/strchrnul.S: New file.
8694 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8696         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
8697         definition.
8698         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8699         Likwise.
8700         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8701         Likewise.
8702         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8703         Likewise.
8704         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8705         Likewise.
8706         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8707         Likewise.
8709 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
8711         * catgets/test-gencat.c: Use test-skeleton.c.
8712         * catgets/tst-catgets.c: Likewise.
8713         * csu/tst-empty.c: Likewise.
8714         * elf/tst-audit2.c: Likewise.
8715         * elf/tst-global1.c: Likewise.
8716         * elf/tst-pathopt.c: Likewise.
8717         * elf/tst-piemod1.c: Likewise.
8718         * elf/tst-tls10.c: Likewise.
8719         * elf/tst-tls11.c: Likewise.
8720         * elf/tst-tls12.c: Likewise.
8721         * gnulib/tst-gcc.c: Likewise.
8722         * iconvdata/tst-e2big.c: Likewise.
8723         * iconvdata/tst-loading.c: Likewise.
8724         * iconv/tst-iconv1.c: Likewise.
8725         * iconv/tst-iconv2.c: Likewise.
8726         * inet/test-inet6_opt.c: Likewise.
8727         * inet/tst-gethnm.c: Likewise.
8728         * inet/tst-network.c: Likewise.
8729         * inet/tst-ntoa.c: Likewise.
8730         * intl/tst-codeset.c: Likewise.
8731         * intl/tst-gettext2.c: Likewise.
8732         * intl/tst-gettext3.c: Likewise.
8733         * intl/tst-ngettext.c: Likewise.
8734         * intl/tst-translit.c: Likewise.
8735         * io/test-stat.c: Likewise.
8736         * libio/test-fmemopen.c: Likewise.
8737         * libio/tst-freopen.c: Likewise.
8738         * libio/tst-sscanf.c: Likewise.
8739         * libio/tst-ungetwc1.c: Likewise.
8740         * libio/tst-ungetwc2.c: Likewise.
8741         * libio/tst-widetext.c: Likewise.
8742         * localedata/tst-ctype.c: Likewise.
8743         * localedata/tst-digits.c: Likewise.
8744         * localedata/tst-leaks.c: Likewise.
8745         * localedata/tst-mbswcs1.c: Likewise.
8746         * localedata/tst-mbswcs2.c: Likewise.
8747         * localedata/tst-mbswcs3.c: Likewise.
8748         * localedata/tst-mbswcs4.c: Likewise.
8749         * localedata/tst-mbswcs5.c: Likewise.
8750         * localedata/tst-setlocale.c: Likewise.
8751         * localedata/tst-trans.c: Likewise.
8752         * localedata/tst-wctype.c: Likewise.
8753         * localedata/tst-xlocale1.c: Likewise.
8754         * login/tst-grantpt.c: Likewise.
8755         * malloc/tst-calloc.c: Likewise.
8756         * malloc/tst-malloc.c: Likewise.
8757         * malloc/tst-mallocstate.c: Likewise.
8758         * malloc/tst-mcheck.c: Likewise.
8759         * malloc/tst-mtrace.c: Likewise.
8760         * malloc/tst-obstack.c: Likewise.
8761         * math/atest-exp2.c: Likewise.
8762         * math/atest-exp.c: Likewise.
8763         * math/atest-sincos.c: Likewise.
8764         * math/test-matherr.c: Likewise.
8765         * math/test-misc.c: Likewise.
8766         * math/test-powl.c: Likewise.
8767         * math/tst-definitions.c: Likewise.
8768         * misc/tst-dirname.c: Likewise.
8769         * misc/tst-efgcvt.c: Likewise.
8770         * misc/tst-fdset.c: Likewise.
8771         * misc/tst-hsearch.c: Likewise.
8772         * misc/tst-mntent2.c: Likewise.
8773         * nptl/tst-sem7.c: Likewise.
8774         * nptl/tst-sem8.c: Likewise.
8775         * nptl/tst-sem9.c: Likewise.
8776         * nss/test-netdb.c: Likewise.
8777         * posix/tst-fnmatch.c: Likewise.
8778         * posix/tst-getlogin.c: Likewise.
8779         * posix/tst-gnuglob.c: Likewise.
8780         * posix/tst-mmap.c: Likewise.
8781         * pwd/tst-getpw.c: Likewise.
8782         * resolv/tst-inet_ntop.c: Likewise.
8783         * rt/tst-timer.c: Likewise.
8784         * stdio-common/test-fseek.c: Likewise.
8785         * stdio-common/test-popen.c: Likewise.
8786         * stdio-common/test-vfprintf.c: Likewise.
8787         * stdio-common/tst-cookie.c: Likewise.
8788         * stdio-common/tst-fileno.c: Likewise.
8789         * stdio-common/tst-gets.c: Likewise.
8790         * stdio-common/tst-obprintf.c: Likewise.
8791         * stdio-common/tst-perror.c: Likewise.
8792         * stdio-common/tst-sprintf2.c: Likewise.
8793         * stdio-common/tst-sprintf3.c: Likewise.
8794         * stdio-common/tst-sprintf.c: Likewise.
8795         * stdio-common/tst-swprintf.c: Likewise.
8796         * stdio-common/tst-tmpnam.c: Likewise.
8797         * stdio-common/tst-unbputc.c: Likewise.
8798         * stdio-common/tst-wc-printf.c: Likewise.
8799         * stdlib/tst-environ.c: Likewise.
8800         * stdlib/tst-fmtmsg.c: Likewise.
8801         * stdlib/tst-limits.c: Likewise.
8802         * stdlib/tst-rand48-2.c: Likewise.
8803         * stdlib/tst-rand48.c: Likewise.
8804         * stdlib/tst-random2.c: Likewise.
8805         * stdlib/tst-random.c: Likewise.
8806         * stdlib/tst-strtol.c: Likewise.
8807         * stdlib/tst-strtoll.c: Likewise.
8808         * stdlib/tst-tls-atexit.c: Likewise.
8809         * stdlib/tst-xpg-basename.c: Likewise.
8810         * string/test-ffs.c: Likewise.
8811         * string/tst-bswap.c: Likewise.
8812         * string/tst-inlcall.c: Likewise.
8813         * string/tst-strtok.c: Likewise.
8814         * string/tst-strxfrm.c: Likewise.
8815         * sysdeps/x86_64/tst-audit10.c: Likewise.
8816         * sysdeps/x86_64/tst-audit3.c: Likewise.
8817         * sysdeps/x86_64/tst-audit4.c: Likewise.
8818         * sysdeps/x86_64/tst-audit5.c: Likewise.
8819         * time/tst-ftime_l.c: Likewise.
8820         * time/tst-getdate.c: Likewise.
8821         * time/tst-mktime3.c: Likewise.
8822         * time/tst-mktime.c: Likewise.
8823         * time/tst-posixtz.c: Likewise.
8824         * time/tst-strptime2.c: Likewise.
8825         * time/tst-strptime3.c: Likewise.
8826         * wcsmbs/tst-btowc.c: Likewise.
8827         * wcsmbs/tst-mbrtowc.c: Likewise.
8828         * wcsmbs/tst-mbsrtowcs.c: Likewise.
8829         * wcsmbs/tst-wchar-h.c: Likewise.
8830         * wcsmbs/tst-wcpncpy.c: Likewise.
8831         * wcsmbs/tst-wcrtomb.c: Likewise.
8832         * wcsmbs/tst-wcsnlen.c: Likewise.
8833         * wcsmbs/tst-wcstof.c: Likewise.
8835 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
8837         [BZ #14132]
8838         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
8839         INTDEF.
8840         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
8841         declaration.
8842         (_dl_mcount): Use rtld_hidden_proto.
8843         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
8844         _dl_mcount.
8845         * elf/rtld.c (_rtld_global_ro): Likewise.
8847         [BZ #14132]
8848         * elf/dl-init.c (_dl_init): Don't use INTDEF.
8849         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
8850         of _dl_init_internal.
8851         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
8852         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
8853         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
8854         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
8855         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
8856         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
8857         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
8858         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
8859         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
8860         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
8861         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
8862         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
8863         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8864         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8865         * sysdeps/tile/dl-start.S (_start): Likewise.
8866         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
8867         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
8869         [BZ #14132]
8870         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
8871         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
8872         (rtld_progname): Make macro definition unconditional.
8873         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
8874         INTDEF.
8875         (dlmopen_doit): Do not use INTUSE with _dl_argv.
8876         (dl_main): Likewise.
8877         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8878         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
8879         instead of _dl_argv_internal.
8880         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8881         __GI__dl_argv instead of INTUSE(_dl_argv).
8882         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
8883         __GI__dl_argv instead of _dl_argv_internal.
8885         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
8886         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
8887         macro.
8888         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
8889         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
8890         New macro.
8891         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
8892         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
8893         macro.
8894         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
8895         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
8897 2014-11-04  Andreas Schwab  <schwab@suse.de>
8899         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
8901 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8903         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
8904         mtvsrd instruction in binary form.
8906 2014-11-03  Andreas Schwab  <schwab@suse.de>
8908         [BZ #17522]
8909         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
8910         for less than MB_LEN_MAX use a local buffer of that size.
8911         * libio/tst-fputws.c: New file.
8912         * libio/Makefile (tests): Add tst-fputws.
8914 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
8916         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
8917         the size of the fpu_fr.fpu_dregs[] array.
8919 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
8921         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
8922         (__nanosleep): Do not define as alias.
8923         (nanosleep): Define as alias of __nanosleep.
8924         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
8925         __libc_nanosleep name.
8927 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
8929         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
8930         install.texi in comment.
8932 2014-10-31  Torvald Riegel  <triegel@redhat.com>
8934         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
8935         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
8936         ... add here and use lwsync or sync ...
8937         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
8938         ... and add here using lwsync.
8940 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
8942         * elf/dl-machine-reject-phdr.h: New file.
8943         * elf/dl-load.c: #include that.
8944         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
8945         if that returned true.
8947 2014-10-31  Roland McGrath  <roland@hack.frob.com>
8949         [BZ #17496]
8950         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
8951         gen-as-const-headers chunk.  Add a big scare comment after the last
8952         safe place to touch before-compile.
8954 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
8956         * manual/install.texi (Tools for Compilation): Update autoconf
8957         version requirements.
8958         * INSTALL: Regenerated.
8960         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
8961         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
8962         (__libc_pselect): Likewise.
8964         [BZ #14138]
8965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
8966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8970 2014-10-31  Torvald Riegel  <triegel@redhat.com>
8972         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
8973         correct barrier instruction.
8974         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
8975         Likewise.
8976         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
8977         Likewise.
8979 2014-10-30  Roland McGrath  <roland@hack.frob.com>
8981         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
8982         after defining inlines.  Instead, just use parens to defeat macro
8983         expansion of __isctype in its declaration.
8985 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
8987         * include/sys/uio.h (__libc_readv): Remove declaration.
8988         (__libc_writev): Likewise.
8989         * misc/readv.c (__libc_readv): Rename to __readv.
8990         (__readv): Do not define as alias.
8991         (readv): Define as alias of __readv.
8992         * misc/writev.c (__libc_writev): Rename to __writev.
8993         (__writev): Do not define as alias.
8994         (writev): Define as alias of __writev.
8995         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
8996         (__readv): Do not define as alias.
8997         (readv): Define unconditionally as alias of __readv.
8998         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
8999         (__writev): Do not define as alias.
9000         (writev): Define unconditionally as alias of __writev.
9001         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
9002         name.
9003         (writev): Do not define __libc_writev name.
9005 2014-10-30  Roland McGrath  <roland@hack.frob.com>
9007         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
9008         (convert_charseq): New function, broken out of ...
9009         (use_from_charmap): ... here.  Call it.
9010         (use_to_charmap): Use convert_charseq and free instead of duplicating
9011         its code with a variable-length stack struct.
9013 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
9015         * include/fcntl.h (__libc_creat): Remove declaration.
9016         * io/creat.c (__libc_creat): Rename to creat.
9017         (creat): Do not define as alias.
9018         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
9019         of creat instead of __libc_creat.
9020         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
9021         to creat.
9022         (creat): Do not define as alias.
9023         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
9024         __libc_creat.
9025         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
9026         __libc_creat name.
9027         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
9028         Likewise.
9030 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
9032         * manual/llio.texi: Add comments discussing why write() may be
9033         considered MT-unsafe on Linux.
9035 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
9037         * dl-load.c (local_strdup): Remove.
9038         (expand_dynamic_string_token): Use __strdup.
9039         (decompose_rpath): Likewise.
9040         (_dl_map_object): Likewise.
9042 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
9044         [BZ #14132]
9045         * sysdeps/generic/unwind-dw2-fde.c
9046         (__register_frame_info_bases_internal): Do not declare.
9047         (__register_frame_info_table_bases_internal): Likewise.
9048         (__deregister_frame_info_bases_internal): Likewise.
9049         (__register_frame_info_bases): Declare and use hidden_proto before
9050         definition.  Use hidden_def instead of INTDEF.
9051         (__register_frame_info_table_bases): Likewise.
9052         (__deregister_frame_info_bases): Likewise.
9053         (__register_frame_info): Do not use INTUSE.
9054         (__register_frame): Likewise.
9055         (__register_frame_info_table): Likewise.
9056         (__register_frame_table): Likewise.
9057         (__deregister_frame_info): Likewise.
9058         (__deregister_frame): Likewise.
9060 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
9062         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9063         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
9064         not undefine.
9065         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
9066         Likewise.
9067         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
9068         Likewise.
9070 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
9072         [BZ #14138]
9073         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
9074         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
9075         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
9076         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
9077         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
9078         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
9079         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
9080         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
9081         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
9082         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
9083         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
9084         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
9085         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
9086         syscall.
9087         (setfsuid): Likewise.
9088         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
9089         (setfsuid): Likewise.
9090         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
9091         (setfsuid): Likewise.
9092         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
9093         Likewise.
9094         (setfsuid): Likewise.
9095         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
9096         (setfsuid): Likewise.
9097         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
9098         Likewise.
9099         (setfsuid): Likewise.
9101 2014-10-27  Andreas Schwab  <schwab@suse.de>
9103         [BZ #17501]
9104         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
9105         check for Slow_SSE4_2 feature bit.
9106         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
9107         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
9108         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
9109         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
9111 2014-10-24  Roland McGrath  <roland@hack.frob.com>
9113         * configure.ac: Validate compiler version with a empirical test of
9114         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
9115         $CC -v output.
9116         * configure: Regenerated.
9118         * inet/htons.c (htons): Prototypify.
9119         * inet/htonl.c (htonl): Likewise.
9121 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9123         * string/strncat.c (strncat): Improve performance by using strlen.
9125 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9127         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
9129 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9131         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
9132         Call libc_fetestexcept_aarch64.
9134 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9136         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
9137         Call libc_feholdexcept_aarch64.
9139 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9141         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
9142         Call get_rounding_mode.
9144 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9146         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9147         Simplify logic.
9149 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9151         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
9152         Simplify logic.
9154 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
9156         [BZ #14138]
9157         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
9158         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
9159         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
9160         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
9161         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
9162         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
9163         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
9164         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
9165         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
9166         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
9167         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9168         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
9169         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
9170         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
9171         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
9172         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
9173         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
9174         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
9175         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
9176         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
9177         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
9178         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
9179         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
9180         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
9181         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
9182         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
9183         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
9184         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
9185         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
9186         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
9187         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
9188         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
9189         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
9190         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
9191         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
9192         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
9193         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
9194         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
9195         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
9196         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
9197         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
9198         syscall.
9199         (geteuid): Likewise.
9200         (getgid): Likewise.
9201         (getuid): Likewise.
9202         (getresgid): Likewise.
9203         (getresuid): Likewise.
9204         (getgroups): Likewise.
9205         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
9206         (geteuid): Likewise.
9207         (getgid): Likewise.
9208         (getuid): Likewise.
9209         (getresgid): Likewise.
9210         (getresuid): Likewise.
9211         (getgroups): Likewise.
9212         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
9213         (geteuid): Likewise.
9214         (getgid): Likewise.
9215         (getuid): Likewise.
9216         (getresgid): Likewise.
9217         (getresuid): Likewise.
9218         (getgroups): Likewise.
9219         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
9220         Likewise.
9221         (geteuid): Likewise.
9222         (getgid): Likewise.
9223         (getuid): Likewise.
9224         (getresgid): Likewise.
9225         (getresuid): Likewise.
9226         (getgroups): Likewise.
9227         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
9228         (geteuid): Likewise.
9229         (getgid): Likewise.
9230         (getuid): Likewise.
9231         (getresgid): Likewise.
9232         (getresuid): Likewise.
9233         (getgroups): Likewise.
9234         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
9235         Likewise.
9236         (geteuid): Likewise.
9237         (getgid): Likewise.
9238         (getuid): Likewise.
9239         (getgroups): Likewise.
9241         [BZ #14138]
9242         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
9243         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
9244         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
9245         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9246         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
9247         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
9248         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
9249         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
9250         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
9251         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
9252         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
9253         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
9254         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
9255         __chown.
9256         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
9257         (lchown): Likewise.
9258         (fchown): Likewise.
9259         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
9260         Likewise.
9261         (lchown): Likewise.
9262         (fchown): Likewise.
9263         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
9264         (lchown): Likewise.
9265         (fchown): Likewise.
9266         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
9267         Likewise.
9268         (lchown): Likewise.
9269         (fchown): Likewise.
9271 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9273         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
9274         Simplify logic.
9276 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9278         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9279         Cleanup logic.
9281 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9283         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9284         Remove unused include.
9286 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9288         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
9289         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
9290         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
9291         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
9293 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
9294             Helge Deller <deller@gmx.de>
9296         [BZ #17508]
9297         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
9298         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
9299         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
9301 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
9303         [BZ #14132]
9304         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
9305         Remove macro definition.
9306         (__ashrdi3_v_glibc20): Likewise.
9307         (__lshrdi3_v_glibc20): Likewise.
9308         (__cmpdi2_v_glibc20): Likewise.
9309         (__ucmpdi2_v_glibc20): Likewise.
9310         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
9311         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9312         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9313         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9314         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9315         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
9317 2014-10-22  Roland McGrath  <roland@hack.frob.com>
9319         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
9320         old GNU extension [0] syntax.
9321         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
9322         alloca rather than an array member with variable length.
9323         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
9324         * nscd/nscd.c (invalidate_db): New function, broken out of ...
9325         (parse_opt): ... here.  Likewise use alloca there.
9326         Validate the -i argument before checking for rootness.
9327         (send_shutdown): New function, broken out of ...
9328         (parse_opt): ... here.
9330 2014-10-22  Roland McGrath  <roland@hack.frob.com>
9332         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
9333         macro to get at the _rt_local_ro field.
9334         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
9335         ([PIC] case) or _dl_hwcap ([!PIC] case).
9336         * sysdeps/arm/setjmp.S: Likewise.
9338         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
9339         * sysdeps/arm/configure.ac: New check to define it.
9340         * sysdeps/arm/configure: Regenerated.
9341         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
9342         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
9343         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
9344         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
9345         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
9346         Use move/movt pair instead of a load.
9347         (LDST_GLOBAL): Macro removed.
9348         (LDR_GLOBAL): New macro replaces it.
9349         (LDR_HIDDEN): New macro.
9350         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
9351         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
9353         * setjmp/tst-setjmp-static.c: New file.
9354         * setjmp/Makefile (tests): Add it.
9355         (tests-static): New variable.
9357 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
9359         [BZ #17485]
9360         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
9362 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
9364         [BZ #14132]
9365         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
9367 2014-10-21  Roland McGrath  <roland@hack.frob.com>
9369         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
9371 2014-10-20  Roland McGrath  <roland@hack.frob.com>
9373         * io/fts.c (dirent_not_directory): New function.
9374         (fts_build): Call it.
9376 2014-10-20  Roland McGrath  <roland@hack.frob.com>
9378         * nptl/version.c (__nptl_main): Use normal __write rather than
9379         INTERNAL_SYSCALL.
9380         (banner): Update copyright years.
9382         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
9383         gettimeofday.
9384         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9385         * nptl/pthread_cond_timedwait.c: Likewise.
9386         * nptl/pthread_mutex_timedlock.c: Likewise.
9387         * nptl/sem_timedwait.c: Likewise.
9389         * sysdeps/nptl/bits/libc-lock.h
9390         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9391         (__libc_lock_init_recursive): Return void, not 0.
9392         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
9393         (__libc_rwlock_init): Likewise.
9394         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
9396 2014-10-20  Torvald Riegel  <triegel@redhat.com>
9398         [BZ #15215]
9399         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
9400         (__pthread_once_slow): ... here.
9401         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
9402         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
9404 2014-10-20  Torvald Riegel  <triegel@redhat.com>
9406         [BZ #15215]
9407         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
9408         __PTHREAD_ONCE_FORK_GEN_INCR): New.
9409         * sysdeps/nptl/fork.c (__libc_fork): Use them.
9410         * nptl/pthread_once.c (__pthread_once): Likewise.
9411         Update comments.
9413 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
9415         [BZ #14138]
9416         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
9417         name.
9418         (writev): Use __libc_writev as strong name.
9419         * sysdeps/unix/sysv/linux/readv.c: Remove file.
9420         * sysdeps/unix/sysv/linux/writev.c: Likewise.
9422 2014-10-17  Roland McGrath  <roland@hack.frob.com>
9424         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
9426         * sysdeps/i386/nptl/tls.h
9427         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
9428         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
9429         New macros.
9430         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
9431         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
9432         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
9433         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
9434         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
9435         Call CHECK_THREAD_SYSINFO instead of doing an assert.
9437         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9438         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
9439         on [__NR_futex].
9440         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
9441         broken out of ...
9442         (__pthread_mutex_init): ... here.  Call it.
9443         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
9444         Conditionalize PI cases on [__NR_futex].
9445         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9446         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9447         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9449         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
9450         conditional on [SIGSETXID].
9451         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
9452         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
9453         is defined.  Likewise for SIGSETXID.
9454         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
9455         Conditionalize definitions on [SIGSETXID].
9456         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
9457         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
9458         unblocking on [SIGCANCEL].
9460         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
9461         [__NR_set_robust_list].
9463 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9465         * string/strcoll_l.c (get_next_seq): Fix up formatting.
9466         (do_compare): Likewise.
9468 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
9470         [BZ #15884]
9471         * string/strcoll_l.c: Don't include stdio.h.
9472         (coll_seq): Remove members idxarr and rulearr.
9473         (get_next_seq_cached): Remove function.
9474         (get_next_seq): Likewise.
9475         (get_next_seq_nocache): Rename to get_next_seq.
9476         (do_compare): Remove function.
9477         (do_compare_nocache): Rename to do_compare.
9478         (STRCOLL): Remove weight and rules cache.
9480 2014-10-16  Roland McGrath  <roland@hack.frob.com>
9482         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
9483         * sysdeps/arm/sfp-machine.h: ... to here.
9484         * sysdeps/arm/Implies: Remove arm/soft-fp.
9486 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
9488         * conform/data/sys/utsname.h-data (*_t): Allow.
9489         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
9490         [POSIX] (WEXITED): Do not expect constant.
9491         [POSIX] (WSTOPPED): Likewise.
9492         [POSIX] (WNOHANG): Likewise.
9493         [POSIX] (WNOWAIT): Likewise.
9494         [POSIX] (siginfo_t): Do not expect type or elements.
9495         [POSIX] (pid_t): Do not expect type.
9496         [POSIX] (signal.h): Do not allow header.
9497         [POSIX] (sys/resource.h): Likewise.
9498         [POSIX] (si_*): Do not allow pattern.
9499         [POSIX] (W*): Likewise.
9500         [POSIX] (P_*): Likewise.
9501         [POSIX] (BUS_*): Likewise.
9502         [POSIX] (CLD_*): Likewise.
9503         [POSIX] (FPE_*): Likewise.
9504         [POSIX] (ILL_*): Likewise.
9505         [POSIX] (POLL_*): Likewise.
9506         [POSIX] (SEGV_*): Likewise.
9507         [POSIX] (SI_*): Likewise.
9508         [POSIX] (TRAP_*): Likewise.
9509         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
9510         variable.
9512 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
9514         [BZ #12926]
9515         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
9516         infinite loop when __recvmsg returns 0.
9518 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
9520         * CANCEL-FCT-WAIVE: Remove file.
9521         * CANCEL-FILE-WAIVE: Likewise.
9523         [BZ #14132]
9524         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
9525         instead of INTVARDEF.
9526         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9527         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
9528         rtld_hidden_data_def instead of INTVARDEF.
9529         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9530         * elf/dl-deps.c (expand_dst): Likewise.
9531         * elf/dl-load.c (_dl_dst_count): Likewise.
9532         (_dl_dst_substitute): Likewise.
9533         (decompose_rpath): Likewise.
9534         (_dl_init_paths): Likewise.
9535         (open_path): Likewise.
9536         (_dl_map_object): Likewise.
9537         * elf/rtld.c (dl_main): Likewise.
9538         (process_dl_audit): Likewise.
9539         (process_envvars): Likewise.
9540         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
9541         Remove declaration.
9542         (__libc_enable_secure): Use rtld_hidden_proto.
9544 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9546         * elf/dl-load.c
9547         (add_path): New function broken out of _dl_rtld_di_serinfo.
9548         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
9550 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
9552         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
9553         parentheses around macro arguments.
9554         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
9555         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
9556         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
9557         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
9558         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
9559         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9560         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9561         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
9562         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
9563         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
9564         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
9565         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
9566         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
9567         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
9568         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
9569         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
9570         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
9571         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
9572         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
9573         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
9574         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
9575         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
9576         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
9577         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9578         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9579         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
9580         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
9581         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
9582         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
9583         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
9584         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
9585         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
9586         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
9587         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
9588         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
9589         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
9590         Likewise.
9591         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
9592         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9593         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9594         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
9595         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
9596         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
9597         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
9598         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
9599         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
9600         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
9601         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
9602         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
9603         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
9604         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
9605         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
9606         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9607         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9608         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
9609         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
9610         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
9611         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
9612         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
9613         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
9614         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
9615         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
9616         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
9617         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
9618         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
9619         (_FP_FRAC_SRS_1): Likewise.
9620         (_FP_FRAC_CLZ_1): Likewise.
9621         (_FP_MUL_MEAT_1_imm): Likewise.
9622         (_FP_MUL_MEAT_1_wide): Likewise.
9623         (_FP_MUL_MEAT_1_hard): Likewise.
9624         (_FP_SQRT_MEAT_1): Likewise.
9625         (_FP_FRAC_ASSEMBLE_1): Likewise.
9626         (_FP_FRAC_DISASSEMBLE_1): Likewise.
9627         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
9628         (__FP_CLZ_2): Likewise.
9629         (_FP_MUL_MEAT_2_wide): Likewise.
9630         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9631         (_FP_MUL_MEAT_2_gmp): Likewise.
9632         (_FP_MUL_MEAT_2_120_240_double): Likewise.
9633         (_FP_SQRT_MEAT_2): Likewise.
9634         (_FP_FRAC_ASSEMBLE_2): Likewise.
9635         (_FP_FRAC_DISASSEMBLE_2): Likewise.
9636         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
9637         (_FP_FRAC_CLZ_4): Likewise.
9638         (_FP_MUL_MEAT_4_wide): Likewise.
9639         (_FP_MUL_MEAT_4_gmp): Likewise.
9640         (_FP_SQRT_MEAT_4): Likewise.
9641         (_FP_FRAC_ASSEMBLE_4): Likewise.
9642         (_FP_FRAC_DISASSEMBLE_4): Likewise.
9643         * soft-fp/op-common.h (_FP_CMP): Likewise.
9644         (_FP_CMP_EQ): Likewise.
9645         (_FP_CMP_UNORD): Likewise.
9646         (_FP_TO_INT): Likewise.
9647         (_FP_FROM_INT): Likewise.
9648         [!__FP_CLZ] (__FP_CLZ): Likewise.
9649         (_FP_DIV_HELP_imm): Likewise.
9650         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
9651         Likewise.
9652         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
9653         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
9654         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
9655         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
9656         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
9657         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9658         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9659         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
9660         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
9661         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
9662         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
9663         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
9664         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
9665         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
9666         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
9667         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
9668         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
9669         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
9670         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
9671         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
9672         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
9673         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
9674         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
9675         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9676         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9677         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
9678         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
9679         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
9680         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
9681         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
9682         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
9683         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
9684         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
9685         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
9686         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
9687         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
9688         (FP_UNPACK_RAW_SP): Likewise.
9689         (FP_PACK_RAW_S): Likewise.
9690         (FP_PACK_RAW_SP): Likewise.
9691         (FP_UNPACK_S): Likewise.
9692         (FP_UNPACK_SP): Likewise.
9693         (FP_UNPACK_SEMIRAW_S): Likewise.
9694         (FP_UNPACK_SEMIRAW_SP): Likewise.
9695         (FP_PACK_S): Likewise.
9696         (FP_PACK_SP): Likewise.
9697         (FP_PACK_SEMIRAW_S): Likewise.
9698         (FP_PACK_SEMIRAW_SP): Likewise.
9699         (_FP_SQRT_MEAT_S): Likewise.
9700         (FP_CMP_S): Likewise.
9701         (FP_CMP_EQ_S): Likewise.
9702         (FP_CMP_UNORD_S): Likewise.
9703         (FP_TO_INT_S): Likewise.
9704         (FP_FROM_INT_S): Likewise.
9706         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
9708         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
9709         (FP_EX_INVALID_IMZ): Likewise.
9710         (FP_EX_INVALID_IMZ_FMA): Likewise.
9711         (FP_EX_INVALID_ISI): Likewise.
9712         (FP_EX_INVALID_ZDZ): Likewise.
9713         (FP_EX_INVALID_IDI): Likewise.
9714         (FP_EX_INVALID_SQRT): Likewise.
9715         (FP_EX_INVALID_CVI): Likewise.
9716         (FP_EX_INVALID_VC): Likewise.
9717         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
9718         "invalid" exceptions.
9719         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
9720         (_FP_ADD_INTERNAL): Likewise.
9721         (_FP_MUL): Likewise.
9722         (_FP_FMA): Likewise.
9723         (_FP_DIV): Likewise.
9724         (_FP_CMP_CHECK_NAN): Likewise.
9725         (_FP_SQRT): Likewise.
9726         (_FP_TO_INT): Likewise.
9727         (FP_EXTEND): Likewise.
9729 2014-10-09  Allan McRae  <allan@archlinux.org>
9731         * po/fr.po: Update French translation from translation project.
9733 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
9735         [BZ #14132]
9736         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
9737         of INTDEF.
9738         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
9739         (__cxa_atexit): Use libc_hidden_proto.
9740         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
9742         [BZ #14132]
9743         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
9744         declaration.
9745         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
9746         [!_ISOMAC] (__iswspace_l_internal): Likewise.
9747         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
9748         [!_ISOMAC] (__iswctype_internal): Likewise.
9749         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
9750         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
9751         alias.
9752         (fcntl): Remove __fcntl_internal alias.
9753         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
9754         __connect_internal alias.
9755         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
9756         Likewise.
9758         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
9759         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
9760         FP_DENORM_ZERO.
9761         (_FP_CHECK_FLUSH_ZERO): New macro.
9762         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
9763         (_FP_CMP): Likewise.
9764         (_FP_CMP_EQ): Likewise.
9765         (_FP_TO_INT): Do not set inexact for subnormal arguments if
9766         FP_DENORM_ZERO.
9767         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
9768         (FP_TRUNC): Likewise.
9770         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
9771         treated as invalid conversion, not as normal exponent.
9773         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
9774         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
9775         (_FP_CMP_EQ): Likewise.
9776         (_FP_CMP_UNORD): Likewise.
9777         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
9778         (FP_CMP_EQ_D): Likewise.
9779         (FP_CMP_UNORD_D): Likewise.
9780         * soft-fp/extended.h (FP_CMP_E): Likewise.
9781         (FP_CMP_EQ_E): Likewise.
9782         (FP_CMP_UNORD_E): Likewise.
9783         * soft-fp/quad.h (FP_CMP_Q): Likewise.
9784         (FP_CMP_EQ_Q): Likewise.
9785         (FP_CMP_UNORD_Q): Likewise.
9786         * soft-fp/single.h (FP_CMP_S): Likewise.
9787         (FP_CMP_EQ_S): Likewise.
9788         (FP_CMP_UNORD_S): Likewise.
9789         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
9790         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
9791         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
9792         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
9793         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
9794         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
9795         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
9796         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
9797         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
9798         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
9799         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
9800         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
9801         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
9802         to FP_CMP_Q.
9803         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
9804         FP_CMP_Q.
9805         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
9806         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
9807         FP_CMP_EQ_Q.
9808         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
9809         FP_CMP_Q.
9810         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
9811         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
9812         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
9813         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
9814         FP_CMP_EQ_Q.
9815         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
9816         FP_CMP_Q.
9817         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
9818         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
9819         FP_CMP_EQ_Q.
9820         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
9821         FP_CMP_Q.
9822         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
9823         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
9824         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
9825         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
9826         FP_CMP_EQ_Q.
9828         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
9829         a subnormal result, set the underflow exception if trapping on
9830         underflow is enabled.
9831         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
9832         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
9833         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
9834         redefine to 0.
9835         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
9836         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9837         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9838         * soft-fp/extendxftf2.c (__extendxftf2): Use
9839         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
9841         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
9842         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
9843         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9844         FP_HANDLE_EXCEPTIONS.
9845         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
9846         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9847         FP_HANDLE_EXCEPTIONS.
9848         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
9849         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9850         FP_HANDLE_EXCEPTIONS.
9851         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
9852         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9853         FP_HANDLE_EXCEPTIONS.
9855 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
9857         [BZ #14132]
9858         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
9859         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
9860         use INTUSE.
9861         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
9862         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
9863         Remove alias.
9864         (__adjtimex): Define using libc_hidden_ver.
9865         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
9866         Remove declaration.
9867         (ntp_gettime): Call __adjtimex directly.
9868         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
9869         Remove declaration.
9870         (ntp_gettimex): Call __adjtimex directly.
9871         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
9872         __adjtimex_internal alias.
9874 2014-10-08  Roland McGrath  <roland@hack.frob.com>
9876         [BZ #17460]
9877         * nscd/nscd.c (more_help): Rewrite list of tables collection
9878         using xstrdup and asprintf.
9880         * nscd/nscd_conf.c: Remove local xstrdup declaration.
9882 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9883             Roland McGrath  <roland@hack.frob.com>
9885         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
9886         (do_lookup_unique): ... local function 'enter' here; update callers.
9888 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
9890         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
9891         compat_symbol calls on [SHARED].
9892         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
9893         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
9894         Remove.
9895         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9896         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
9897         (oldsetrlimit): Remove.
9898         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9900         (lchown): New syscall entry.
9901         (oldsetrlimit): Remove.
9902         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9903         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
9904         (oldsetrlimit): Remove.
9905         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9907         [BZ #14138]
9908         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
9909         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
9910         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
9911         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
9912         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9913         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
9914         (fchown): Likewise.
9915         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
9916         (fchown): Likewise.
9917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
9918         Likewise.
9920 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9922         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
9923         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
9924         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
9925         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
9926         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
9927         Likewise.
9928         (__old_sem_post): Likewise.
9930 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
9932         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
9933         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
9934         HAVE_CLOCK_GETTIME_VSYSCALL macros.
9935         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
9936         Use INLINE_VSYSCALL macro.
9937         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
9938         __vdso_clock_gettime.
9939         * sysdeps/unix/sysv/linux/tile/init-first.c
9940         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
9941         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
9942         __vdso_clock_gettime.
9944         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
9945         to set up frame more cleanly.
9947         * sysdeps/tile/memcmp.c: New file.
9949         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
9951         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
9952         * sysdeps/tile/tilegx/strcasestr.c: New file.
9953         * sysdeps/tile/tilegx/strnlen.c: New file.
9954         * sysdeps/tile/tilegx/strstr.c: New file.
9956         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
9958 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
9960         * nptl/tst-setuid3.c: Write errors to stdout.
9962 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9964         * elf/dl-deps.c
9965         (preload): New functions broken out of _dl_map_object_deps.
9966         (_dl_map_object_deps):  Remove a nested function. Update call sites.
9968 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
9970         [BZ #14138]
9971         * sysdeps/unix/sysv/linux/execve.c: Remove file.
9972         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
9974 2014-10-01  Steve Ellcey  <sellcey@mips.com>
9976         * sysdeps/mips/strcmp.S: New.
9978 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
9980         [BZ #14138]
9981         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
9982         (linkat): Likewise.
9983         (mkdirat): Likewise.
9984         (readlinkat): Likewise.
9985         (renameat): Likewise.
9986         (symlinkat): Likewise.
9987         (unlinkat): Likewise.
9988         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
9989         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
9990         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
9991         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
9992         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9993         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
9994         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
9996 2014-09-30  Will Newton  <will.newton@linaro.org>
9998         * math/math.h: Define long double math functions if
9999         _LIBC_TEST is defined.
10000         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
10002         * localedata/Makefile: Move assignment to tests-special
10003         into an ifdef testing run-built-tests.
10004         * timezone/Makefile: Likewise.
10006 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
10008         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
10009         with $(BASH) not $(SHELL).
10011 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
10012             Matthew LeGendre  <legendre1@llnl.gov>
10014         [BZ #17411]
10015         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
10016         l_reloc_result.
10018 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10020         * stdio-common/printf_fp.c
10021         (hack_digit): New function, broken out of ...
10022         (__printf_fp): ... local function here.  Update call sites.
10023         hack_digit now takes an additional parameter that is a pointer
10024         to a struct of the referenced locals.  Those locals moved inside
10025         the struct and references updated.
10027 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
10029         * aclocal.m4: Require autoconf 2.69.
10030         * configure: Regenerated.
10031         * sysdeps/aarch64/configure: Likewise.
10032         * sysdeps/alpha/configure: Likewise.
10033         * sysdeps/arm/armv7/configure: Likewise.
10034         * sysdeps/arm/configure: Likewise.
10035         * sysdeps/ia64/configure: Likewise.
10036         * sysdeps/mach/configure: Likewise.
10037         * sysdeps/mips/configure: Likewise.
10038         * sysdeps/s390/configure: Likewise.
10039         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
10040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
10042         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
10043         file.
10044         * sysdeps/ia64/configure.ac: Likewise.
10046 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
10048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
10049         specify symbol version for ld.so.  Do not include entry for
10050         libpthread.
10051         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10052         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10053         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10055         [BZ #14171]
10056         * Makeconfig [$(build-shared) = yes]
10057         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
10058         makefiles.
10059         [$(build-shared) = yes && $(soversions.mk-done) = t]
10060         ($(common-objpfx)gnu/lib-names.h): Remove rule.
10061         [$(build-shared) = yes && $(soversions.mk-done) = t]
10062         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
10063         to Makerules.
10064         [$(build-shared) = yes && $(soversions.mk-done) = t]
10065         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
10066         here.
10067         [$(build-shared) = yes && $(soversions.mk-done) = t]
10068         (common-generated): Don't append gnu/lib-names.h and
10069         gnu/lib-names.stmp here.
10070         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
10071         (lib-names-h-abi): New variable.
10072         [$(build-shared) = yes && $(soversions.mk-done) = t]
10073         (lib-names-stmp-abi): Likewise.
10074         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10075         abi-variants] (before-compile): Append
10076         $(common-objpfx)$(lib-names-h-abi).
10077         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10078         abi-variants] (common-generated): Append gnu/lib-names.h.
10079         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10080         abi-variants] (install-others-nosubdir): Depend on
10081         $(inst_includedir)/$(lib-names-h-abi).
10082         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10083         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
10084         [$(build-shared) = yes && $(soversions.mk-done) = t]
10085         ($(common-objpfx)$(lib-names-h-abi)): New rule.
10086         [$(build-shared) = yes && $(soversions.mk-done) = t]
10087         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
10088         [$(build-shared) = yes && $(soversions.mk-done) = t]
10089         (common-generated): Append $(lib-names-h-abi) and
10090         $(lib-names-stmp-abi).
10091         * scripts/lib-names.awk: Do not handle multi being set.
10092         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
10093         Remove variable.
10094         (abi-lp64_be-ld-soname): Likewise.
10095         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
10096         Likewise.
10097         (abi-hard-ld-soname): Likewise.
10098         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
10099         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
10100         Remove variable.
10101         (abi-o32_hard-ld-soname): Likewise.
10102         (abi-o32_soft_2008-ld-soname): Likewise.
10103         (abi-o32_hard_2008-ld-soname): Likewise.
10104         (abi-n32_soft-ld-soname): Likewise.
10105         (abi-n32_hard-ld-soname): Likewise.
10106         (abi-n32_soft_2008-ld-soname): Likewise.
10107         (abi-n32_hard_2008-ld-soname): Likewise.
10108         (abi-n64_soft-ld-soname): Likewise.
10109         (abi-n64_hard-ld-soname): Likewise.
10110         (abi-n64_soft_2008-ld-soname): Likewise.
10111         (abi-n64_hard_2008-ld-soname): Likewise.
10112         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
10113         Likewise.
10114         (abi-64-v2-ld-soname): Likewise.
10115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
10116         ld.so entries.
10117         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
10118         variable.
10119         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
10120         entry.
10121         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
10122         variable.
10123         (abi-64-ld-soname): Likewise.
10124         (abi-x32-ld-soname): Likewise.
10125         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
10126         entry.
10127         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10129 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
10131         [BZ #14138]
10132         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
10133         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10134         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
10135         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
10136         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
10137         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
10138         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
10139         syscall entry for GLIBC_2.2 symbol version.
10140         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
10141         Likewise.
10142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10143         (setrlimit): Likewise.
10144         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
10145         Likewise.
10147 2014-09-23  Will Newton  <will.newton@linaro.org>
10149         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
10150         _LINUX_ARM_SYSDEP_H include guard too.
10151         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
10152         define.
10154 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10156         * sysdeps/unix/sysv/linux/eventfd.c:
10157         Make first argument unsigned.
10158         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
10159         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
10161 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
10163         * socket/recvmmsg.c (recvmmsg): Drop const argument.
10164         * socket/sys/socket.h: Likewise
10165         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
10167 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10169         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
10171 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
10173         * time/tst-ftime.c: New test.
10174         * time/Makefile (tests): Add tst-ftime.
10176 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
10178         * soft-fp/extended.h: Fix comment formatting.
10179         * soft-fp/op-1.h: Likewise.
10180         * soft-fp/op-2.h: Likewise.
10181         * soft-fp/op-4.h: Likewise.
10182         * soft-fp/op-8.h: Likewise.
10183         * soft-fp/op-common.h: Likewise.
10184         * soft-fp/soft-fp.h: Likewise.
10186         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
10188 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
10190         [BZ #6652]
10191         * Makeconfig (soversions-default-setname): Remove variable.
10192         ($(common-objpfx)soversions.i): Don't pass default_setname to
10193         soversions.awk.
10194         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
10195         oldest_abi to abi-versions.awk.
10196         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
10197         * config.make.in (oldest-abi): Remove variable.
10198         * configure.ac (--enable-oldest-abi): Remove configure option.
10199         * configure: Regenerated.
10200         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
10201         text.
10202         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
10203         * scripts/soversions.awk: Do not handle default_setname variable.
10204         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
10205         variable.
10206         * sysdeps/mach/hurd/configure: Regenerated.
10207         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
10208         variable.
10209         * sysdeps/unix/sysv/linux/configure: Regenerated.
10211 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10213         * elf/Makefile (CFLAGS-interp.c): Remove.
10214         ($(elf-objpfx)runtime-linker.h): Generate header with linker
10215         path string.
10216         * elf/interp.c: Include generated runtime-linker.h
10218         * Makerules (lib%.so): Don't include $(+interp) in
10219         prerequisites.
10220         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
10221         * dlfcn/eval.c: Remove file.
10223         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
10224         macros.
10226         [BZ #17266]
10227         * misc/sys/cdefs.h: Define __extern_always_inline for clang
10228         4.2 and newer.
10230         [BZ #17370]
10231         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
10233 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10234             Jakub Jelinek  <jakub@redhat.com>
10236         [BZ #17266]
10237         * libio/stdio.h: Check definition of __fortify_function
10238         instead of __extern_always_inline to include bits/stdio2.h.
10239         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
10240         check if __extern_always_inline is defined.
10241         [__USE_MISC || __USE_XOPEN]: Likewise.
10242         [__USE_ISOC99] Likewise.
10243         * misc/sys/cdefs.h (__fortify_function): Define only if
10244         __extern_always_inline is defined.
10245         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
10246         __extern_always_inline and __extern_inline only for g++-4.3
10247         and newer or a compatible gcc.
10249 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
10251         [BZ #17371]
10252         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10253         last change to handle zero prefix length.
10255 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10257         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
10258         _SC_REGEX_VERSION.
10260         * posix/getconf.c (vars): Add _POSIX_IPV6 and
10261         _POSIX_RAW_SOCKETS.
10263 2014-09-13  Allan McRae  <allan@archlinux.org>
10265         * po/ru.po: Update Russian translation from translation project.
10267 2014-09-12  Roland McGrath  <roland@hack.frob.com>
10269         * locale/programs/locale.c (show_locale_vars): Inline local function
10270         into its sole call site.  Clean up some style nits.
10271         (print_item): New function, broken out of ...
10272         (show_info): ... local function here.  Clean up style nits.
10274         * locale/programs/ld-ctype.c (set_one_default): New function, broken
10275         out of ...
10276         (set_class_defaults): ... local function set_default here.
10277         Define set_default as a macro locally to pass constant parameters.
10278         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
10279         rather than a shared local.
10281         * stdlib/rpmatch.c (try): New function, broken out of ...
10282         (rpmatch): ... local function here.  Also, prototypify definition.
10284 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
10286         * scripts/soversions.awk: Do not handle configuration names.
10287         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
10288         vendor and os variables to soversions.awk.
10289         * configure.ac: Do not modify gnu-* host_os.
10290         * configure: Regenerated
10291         * shlib-versions: Remove first column with configuration names.
10292         * nptl/shlib-versions: Likewise.
10293         * nptl_db/shlib-versions: Likewise.
10294         * sysdeps/hppa/shlib-versions: Likewise.
10295         * sysdeps/m68k/shlib-versions: Likewise.
10296         * sysdeps/mach/hurd/shlib-versions: Likewise.
10297         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
10298         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
10299         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
10300         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
10301         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
10302         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
10303         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
10304         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
10305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10306         Likewise.
10307         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10308         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10309         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10310         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10311         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10312         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
10313         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10314         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10317         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
10318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10319         Regenerated.
10320         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
10321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10322         Condition symbol version definitions on [HAVE_ELFV2_ABI].
10324         * shlib-versions: Remove OS-specific entries.  Moved to files in
10325         sysdeps.
10326         * sysdeps/mach/hurd/shlib-versions: New file.
10327         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10329         * nptl/shlib-versions: Remove architecture-specific entries.
10330         Moved to files in sysdeps.
10331         * shlib-versions: Likewise.
10332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
10333         file.
10334         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10335         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10336         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10337         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10339         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
10340         (UDP_NO_CHECK6_RX): Likewise.
10342 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10344         * sysdeps/posix/sysconf.c (__sysconf): Spell
10345         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
10347 2014-08-12  Florian Weimer  <fweimer@redhat.com>
10349         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
10350         loading.
10351         * iconv/Versions (__gconv_transliterate): Export for use from
10352         gconv modules.
10353         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
10354         (struct __gconv_trans_data, __gconv_trans_fct,
10355         __gconv_trans_context_fct, __gconv_trans_query_fct,
10356         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
10357         definitions.
10358         (struct __gconv_step_data): Remove __trans member.
10359         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
10360         longer hidden.  Remove unused trans_data argument.
10361         * iconv/gconv_int.h (struct trans_struct): Remove definition.
10362         (__gconv_translit_find): Remove declaration.
10363         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
10364         prototype.
10365         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
10366         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
10367         trans_data argument.  Add hidden definition.
10368         (__gconv_translit_find): Remove.
10369         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
10370         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
10371         * iconv/skeleton.c: Remove transliteration initialization.
10372         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
10373         __gconv_step_data initialization.
10374         * libio/iofwide.c (__libio_translit_): Remove.
10375         (_IO_fwide): Adjust struct __gconv_step_data initialization.
10376         * wcsmbs/btowc.c (__btowc): Likewise.
10377         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10378         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10379         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10380         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10381         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
10382         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10383         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10384         * wcsmbs/wctob.c (wctob): Likewise.
10386 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10388         [BZ #16194]
10389         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
10390         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
10391         register usage.
10392         * sysdeps/x86/Makefile: Adjust.
10394 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10395             Roland McGrath  <roland@hack.frob.com>
10397         * locale/weight.h: Add include guard.
10398         (findidx): Make static rather than auto; take new parameters
10399         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
10400         * locale/weightwc.h: Likewise.
10401         * posix/fnmatch_loop.c
10402         (FCT): Change type of EXTRA from int32_t to wint_t.
10403         Don't include either header inside the function.
10404         Call FINDIDX rather than findidx, and pass new arguments.
10405         #undef FINDIDX at the end of the file.
10406         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
10407         FINDIDX before including fnmatch_loop.c for the non-wide version.
10408         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
10409         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
10410         for the wide version.
10411         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
10412         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
10413         Pass new arguments to findidx.
10414         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
10415         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
10416         Don't #include it inside the function.  Pass new arguments to findidx.
10417         * posix/regex_internal.h
10418         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
10419         (re_string_elem_size_at): Don't #include it inside the function.
10420         Pass new arguments to findidx.
10421         * string/strcoll_l.c: #include WEIGHT_H at top level.
10422         (get_next_seq): Don't #include it inside the function.
10423         Pass new arguments to findidx.
10424         (get_next_seq_nocache): Likewise.
10425         * string/strxfrm_l.c: #include WEIGHT_H at top level.
10426         (STRXFRM): Don't #include it inside the function.
10427         Pass new arguments to findidx.
10429 2014-09-11  Florian Weimer  <fweimer@redhat.com>
10431         [BZ #17344]
10432         * malloc/malloc.c (unlink): Turn asserts into a call to
10433         malloc_printerr.
10435 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
10437         [BZ #17370]
10438         * libio/wfileops (do_ftell_wide): Free OUT.
10440 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
10442         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
10444 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10446         [BZ #17363]
10447         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
10448         group if the current group is empty.
10450 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10452         * benchtests/bench-memset.c (test_main): Add more test from size
10453         from 32 to 512 bytes.
10454         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10455         Add POWER8 memset object.
10456         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10457         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
10458         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
10459         implementation.
10460         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
10461         Likewise.
10462         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
10463         multiarch POWER8 memset optimization.
10464         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
10465         POWER8 memset optimization.
10467         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10468         Remove bzero multiarch objects.
10469         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
10470         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
10471         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
10472         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
10473         Remove define.
10474         [__bzero]: Redefine to specific name.
10475         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
10476         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
10477         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
10478         define.
10479         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10480         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10482 2014-09-10  Florian Weimer  <fweimer@redhat.com>
10484         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
10485         warnings into errors.
10487         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
10488         __cxa_thread_atexit_impl prototype.
10490 2014-09-09  Steve Ellcey  <sellcey@mips.com>
10492         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
10493         Fix capitalization of error message.
10495 2014-09-09  Steve Ellcey  <sellcey@mips.com>
10497         * sysdeps/mips/preconfigure: Modify ABI tests.
10499 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
10501         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
10503 2014-09-07  Roland McGrath  <roland@hack.frob.com>
10504             Carlos O'Donell  <carlos@systemhalted.org>
10506         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
10507         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
10508         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
10509         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
10510         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
10511         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
10512         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
10513         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
10514         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
10515         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
10516         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
10517         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
10518         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
10519         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
10520         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
10521         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
10522         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
10523         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
10524         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
10525         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
10526         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
10527         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
10528         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
10529         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
10530         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
10531         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
10532         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
10533         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
10534         Deconditionalize the code that was previously under [RESET_PID].
10535         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
10536         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
10537         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
10538         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
10539         include sysdep.h.
10541 2014-09-08  Allan McRae  <allan@archlinux.org>
10543         * version.h (RELEASE): Set to "development".
10544         (VERSION): Set to "2.20.90"
10546 2014-09-07  Allan McRae  <allan@archlinux.org
10548         * version.h (RELEASE): Set to "stable".
10549         (VERSION): Set to "2.20"
10550         * include/features.h (__GLIBC_MINOR__): Set to 20.
10552         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
10553         Liebler.
10555         * po/ko.po: Update Korean translation from translation project.
10557 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
10559         [BZ #17354]
10560         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
10561         macro for handling signed relocations.
10563 2014-09-03  Florian Weimer  <fweimer@redhat.com>
10565         [BZ #17325]
10566         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
10567         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
10568         assert.
10569         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
10570         * iconvdata/ibm935.c (BODY): Likewise.
10571         * iconvdata/ibm937.c (BODY): Likewise.
10572         * iconvdata/ibm939.c (BODY): Likewise.
10573         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
10574         assert.
10575         * iconvdata/Makefile (iconv-test.out): Pass module list to test
10576         script.
10577         * iconvdata/run-iconv-test.sh: New test loop for checking for
10578         decoder crashers.
10580 2014-09-02  Khem Raj  <raj.khem@gmail.com>
10582         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
10583         libm_hidden_ver.
10585 2014-09-01  Allan McRae  <allan@archlinux.org>
10587         * po/eo.po: Update Esperanto translation from translation project.
10589         * po/ca.po: Update Catalan translation from translation project.
10591 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10593         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
10594         __proc_dostop call.
10596 2014-08-27  Mark Wielaard  <mjw@redhat.com>
10598         [BZ #17319]
10599         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
10600         to call set_thread_area instead of hand written asm.
10601         (__NR_set_thread_area): Removed define.
10602         (TLS_FLAG_WRITABLE): Likewise.
10603         (__ASSUME_SET_THREAD_AREA): Remove check.
10604         (TLS_EBX_ARG): Remove define.
10605         (TLS_LOAD_EBX): Likewise.
10607 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10609         Simplify atomicity of socket creation in bind.
10611         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
10612         looking up the name after linking the file.
10614 2014-08-27  Allan McRae  <allan@archlinux.org>
10616         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10618 2014-08-26  Florian Weimer  <fweimer@redhat.com>
10620         [BZ #17187]
10621         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
10622         trans_compare, open_translit, __gconv_translit_find):
10623         Remove module loading code.
10625 2014-08-26  Allan McRae  <allan@archlinux.org>
10627         * po/vi.po: Update Vietnamese translation from translation project.
10629         * po/uk.po: Update Ukrainian translation from translation project.
10631         * po/fr.po: Update French translation from translation project.
10633         * po/ru.po: Update Russian translation from translation project.
10635         * po/pl.po: Update Polish translation from translation project.
10637         * po/cs.po: Update Czech translation from translation project.
10639         * po/de.po: Update German translation from translation project.
10641         * po/bg.po: Update Bulgarian translation from translation project.
10643         * po/sv.po: Update Sweedish translation from translation project.
10645         * po/nl.po: Update Dutch translation from translation project.
10647         * po/es.po: Update Spanish translation from translation project.
10649 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10651         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
10653         * catgets/Makefile (CPPFLAGS-gencat): Remove.
10654         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
10655         (CPPFLAGS-iconvconfig): Likewise.
10656         * timezone/Makefile (CPPFLAGS-zic): Likewise.
10658         * include/libc-symbols.h: Remove unnecessary check for
10659         NOT_IN_libc.
10660         * nptl/pthreadP.h: Likewise.
10661         * sysdeps/aarch64/setjmp.S: Likewise.
10662         * sysdeps/alpha/setjmp.S: Likewise.
10663         * sysdeps/arm/sysdep.h: Likewise.
10664         * sysdeps/i386/setjmp.S: Likewise.
10665         * sysdeps/m68k/setjmp.c: Likewise.
10666         * sysdeps/posix/getcwd.c: Likewise.
10667         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10668         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10669         * sysdeps/s390/s390-32/setjmp.S: Likewise.
10670         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10671         * sysdeps/sh/sh3/setjmp.S: Likewise.
10672         * sysdeps/sh/sh4/setjmp.S: Likewise.
10673         * sysdeps/unix/alpha/sysdep.h: Likewise.
10674         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10675         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10676         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10677         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10680         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10681         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10682         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10683         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10684         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10685         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10686         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10687         * sysdeps/x86_64/setjmp.S: Likewise.
10689 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
10691         [BZ #17263]
10692         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
10693         <stdint.h>.
10694         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
10695         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
10697 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10699         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
10701         [BZ #17262]
10702         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
10703         and __x86_64__ when disabling x87 inline functions.
10705 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
10707         [BZ #17259]
10708         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
10709         asm statement with __cpuid_count.
10711 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
10713         * configure.ac: Change __ehdr_start code to dereference the struct.
10714         Run readelf on the output to look for relocations.
10715         * configure: Regenerated.
10717 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
10719         [BZ #17261]
10720         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
10721         value to 0.
10722         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
10724 2014-08-12  Roland McGrath  <roland@hack.frob.com>
10726         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
10728 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
10730         [BZ #16892]
10731         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
10732         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
10734 2014-08-12  Sean Anderson  <seanga2@gmail.com>
10736         * malloc/malloc.c: Fix typo in comment.
10738 2014-08-09  Allan McRae  <allan@archlinux.org>
10740         * Regenerate libc.po.
10742 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
10744         * intl/tst-gettext2.sh: Check every lang file for creation.
10746 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
10748         * sysdeps/aarch64/fpu/math_private.h
10749         (libc_feholdsetround_noex_aarch64_ctx): New function.
10751 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
10753         * sysdeps/arm/armv6/strcpy.S (strcpy):
10754         Fix performance issue in misaligned cases.
10756 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10758         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
10759         Move definition from termios.h.
10760         (struct termio): Likewise.
10761         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10762         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10763         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10764         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10765         Likewise.
10766         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
10767         Move definition to ioctl-types.h
10768         (struct termio): Likewise.
10769         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10770         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10771         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10772         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10773         Likewise.
10775 2014-08-05  Richard Henderson  <rth@redhat.com>
10777         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
10778         exceptions.
10779         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
10780         Add fraiseexcpt.
10781         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
10782         Use __feraiseexcept.
10783         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
10784         Protect libm symbols with IS_IN_libm.
10786         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
10788 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
10790         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
10792 2014-08-04  Will Newton  <will.newton@linaro.org>
10794         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
10795         file.
10797 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
10799         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
10800         variants for each function.
10802 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10804         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
10805         appended ...
10806         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
10807         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
10808         appended ...
10809         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
10810         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
10811         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
10812         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
10813         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
10814         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
10815         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
10816         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
10817         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
10818         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
10819         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
10820         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
10821         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
10822         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
10823         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
10824         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
10825         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
10826         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
10827         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
10828         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
10829         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
10830         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
10831         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
10832         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
10833         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
10834         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
10835         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
10836         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
10837         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
10838         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
10839         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
10840         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
10841         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
10842         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
10843         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
10844         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
10845         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
10846         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
10847         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
10848         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
10849         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
10850         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
10851         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
10852         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
10853         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
10854         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
10855         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
10856         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
10857         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
10858         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
10859         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
10860         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
10861         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
10862         Update #include.
10863         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
10864         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
10866 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10868         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
10869         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
10870         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
10871         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
10872         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
10873         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
10875 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10877         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
10878         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
10879         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10880         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
10882 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10884         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
10885         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
10886         (__libc_vfork): Define function under this name.
10887         (__vfork): Define as an alias.
10888         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
10889         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
10891 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10893         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
10894         that was previously under [RESET_PID].
10895         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
10897 2014-08-04  Andreas Schwab  <schwab@suse.de>
10899         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
10901 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
10903         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
10904         (main): Likewise.
10906 2014-08-01  Roland McGrath  <roland@hack.frob.com>
10908         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
10910 2014-08-01  Richard Henderon  <rth@redhat.com>
10912         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
10913         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
10914         typo in exact zero test.
10915         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10916         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10917         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10919 2014-08-01  Roland McGrath  <roland@hack.frob.com>
10921         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
10922         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
10923         * sysdeps/arm/sysdep.h: ... here.
10924         [!__ASSEMBLER__]: Include <stdint.h>.
10926 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10928         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
10929         (HAVE_WCTYPE_H): Likewise.
10930         (HAVE_ISWCTYPE): Likewise.
10931         (ENABLE_NLS): Likewise.
10932         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
10933         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
10935         * posix/regex_internal.c: Check if DEBUG is defined and is
10936         set.
10938         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
10939         (HAVE_MBSRTOWCS): Likewise.
10940         * posix/fnmatch.c: Include string.h unconditionally.
10942 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
10944         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
10945         reversal.
10947 2014-07-31  Roland McGrath  <roland@hack.frob.com>
10949         * sysdeps/generic/safe-fatal.h: New file.
10950         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
10951         * nptl/forward.c: Include it.
10952         (__pthread_unwind): Use __safe_fatal as default action, rather
10953         than a bogus use of INTERNAL_SYSCALL that could never work.
10955         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
10956         * configure.ac (libc_cv_builtin_trap): New test.
10957         * configure: Regenerated.
10958         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
10959         (ABORT_INSTRUCTION): Define using __builtin_trap.
10961         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
10962         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
10963         * sysdeps/nptl/nptl-signals.h: New file.
10964         * nptl/pthreadP.h: Include <nptl-signals.h>.
10966 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10968         * sysdeps/s390/s390-64/utf16-utf32-z9.c
10969         (ONE_DIRECTION): Define.
10970         * sysdeps/s390/s390-64/utf8-utf16-z9.c
10971         (ONE_DIRECTION): Define.
10972         * sysdeps/s390/s390-64/utf8-utf32-z9.c
10973         (ONE_DIRECTION): Define.
10975 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10977         * sysdeps/s390/Makefile: Delete file.
10978         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
10979         * sysdeps/s390/__longjmp.c: Delete file.
10980         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
10981         Remove fields __flags and __reserved.
10982         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
10983         and add versioning.
10984         * sysdeps/s390/rtld-__longjmp.c: Delete file.
10985         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
10986         * sysdeps/s390/rtld-setjmp.S: Likewise.
10987         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
10988         * sysdeps/s390/s390-32/__longjmp.c: ... here.
10989         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
10990         * sysdeps/s390/s390-32/setjmp.S: ... here.
10991         Add versioning.
10992         (__sigsetjmp): Remove setting __flags field.
10993         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
10994         * sysdeps/s390/s390-64/__longjmp.c: ... here.
10995         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
10996         * sysdeps/s390/s390-64/setjmp.S: ... here.
10997         Add versioning.
10998         (__sigsetjmp): Remove setting __flags field.
10999         * sysdeps/s390/setjmp.S: Delete file.
11000         * sysdeps/s390/sigjmp.c: Likewise.
11001         * sysdeps/s390/v1-longjmp.c: Likewise.
11002         * sysdeps/s390/v1-setjmp.h: Likewise.
11003         * sysdeps/s390/v1-sigjmp.c: Likewise.
11004         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
11005         Remove v1-longjmp_chk.
11006         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
11007         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
11008         Include debug/longjmp_chk.c and add versioning.
11009         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
11010         Include nptl/pt-longjmp.c and add versioning.
11011         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
11012         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
11013         Include __longjmp.c.
11014         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11015         Move to ...
11016         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
11017         (__getcontext): Remove setting __flags field.
11018         Add versioning.
11019         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11020         Don't restore upper high grps.
11021         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
11022         Likewise.
11023         (__swapcontext): Remove setting uc_flags field.
11024         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
11025         Delete file.
11026         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11027         Include __longjmp.c.
11028         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11029         Move to ...
11030         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
11031         (__getcontext): Remove setting __flags field.
11032         Add versioning.
11033         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
11034         (__swapcontext): Remove setting uc_flags field.
11035         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
11036         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
11037         Remove fields uc_high_gprs and __reserved.
11038         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
11039         New file with reverted content.
11040         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
11041         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
11042         Regenerated.
11043         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
11044         Regenerated.
11046 2014-07-31  Andreas Schwab  <schwab@suse.de>
11048         * config.h.in (HAVE_IFUNC): Define to 0.
11049         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
11050         definedness.
11052 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
11054         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11055         memmove-avx-unaligned, memcpy-avx-unaligned and
11056         mempcpy-avx-unaligned.
11057         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11058         Add tests for AVX memcpy functions.
11059         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
11060         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
11061         memcpy_chk.
11062         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
11063         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
11064         memmove_chk.
11065         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
11066         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
11067         mempcpy_chk.
11068         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
11069         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
11070         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
11072 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11074         [BZ #17213]
11075         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
11076         powerpc64le.
11078 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
11080         [BZ #16839]
11081         * manual/llio.texi: Add section about open file description locks.
11082         * manual/examples/ofdlocks.c: Example of open file description
11083         lock usage.
11084         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
11085         F_OFD_SETLK, and F_OFD_SETLKW.
11087 2014-07-23  Allan McRae  <allan@archlinux.org>
11089         * po/es.po: Update Spanish translation from translation project.
11091 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
11093         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
11095 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
11097         [BZ #17078]
11098         * sysdeps/arm/dl-machine.h (elf_machine_rela)
11099         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
11100         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
11102 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
11104         [BZ #17088]
11105         * math/fesetenv.c (__fesetenv)
11106         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
11107         * math/feupdateenv.c (__feupdateenv)
11108         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
11110         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
11111         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11112         (__ASSUME_SOCKETCALL): Do not define.
11114         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
11115         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
11116         (__ASSUME_SOCKETCALL): Do not define.
11117         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
11118         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11119         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11120         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11121         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11122         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
11123         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11124         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11126         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
11127         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
11128         (__ASSUME_SOCKETCALL): Do not define.
11129         (__ASSUME_IPC64): Define unconditionally.
11130         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11131         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11132         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11133         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11134         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
11135         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11136         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
11137         Likewise.
11139         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
11140         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
11141         (__ASSUME_SOCKETCALL): Do not define.
11142         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
11143         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11144         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11145         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11146         (__ASSUME_REQUEUE_PI): Define unconditionally.
11147         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
11148         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11149         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11150         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
11151         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11152         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11154         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
11155         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
11156         (__ASSUME_SOCKETCALL): Do not define.
11157         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
11158         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11159         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11160         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
11161         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11162         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11164         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
11165         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
11166         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11167         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
11168         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11169         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
11170         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11171         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
11172         (__ASSUME_GETCPU_SYSCALL): Likewise.
11174         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
11175         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
11176         cases for individual architectures.
11177         * sysdeps/gnu/configure: Regenerated.
11178         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
11179         LIBC_SLIBDIR_RTLDDIR.
11180         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
11181         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
11182         LIBC_SLIBDIR_RTLDDIR.
11183         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
11184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
11185         LIBC_SLIBDIR_RTLDDIR.
11186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11187         Regenerated.
11188         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
11189         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
11190         file.
11191         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
11192         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
11193         file.
11194         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
11195         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
11196         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
11197         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
11199         * sysdeps/aarch64/shlib-versions: Move to ...
11200         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
11201         * sysdeps/alpha/shlib-versions: Move to ...
11202         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
11203         * sysdeps/arm/shlib-versions: Move to ...
11204         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
11205         * sysdeps/hppa/shlib-versions: Move all contents except for
11206         libgcc_s entry to ...
11207         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
11208         entry from ...
11209         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
11210         * sysdeps/ia64/shlib-versions: Move to ...
11211         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
11212         entry from ...
11213         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
11214         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
11215         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
11216         * sysdeps/microblaze/shlib-versions: Move to ...
11217         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
11218         * sysdeps/mips/shlib-versions: Move to ...
11219         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
11220         entry from ...
11221         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
11222         * sysdeps/tile/shlib-versions: Move to ...
11223         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
11224         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
11225         from ...
11226         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
11227         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
11228         entry from ...
11229         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
11231 2014-07-17  Will Newton  <will.newton@linaro.org>
11233         * sysdeps/arm/bits/atomic.h
11234         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
11235         (__arch_compare_and_exchange_bool_16_int): Likewise.
11236         (__arch_compare_and_exchange_bool_64_int): Likewise.
11238         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
11239         into an #else block.
11241 2014-07-16  Roland McGrath  <roland@hack.frob.com>
11243         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
11244         just Linux configurations.  Test empirically that the compiler sets
11245         __ARM_EABI__, rather than using the tuple to decide.
11246         * sysdeps/arm/preconfigure: Regenerated.
11247         * sysdeps/unix/sysv/linux/arm/configure: File removed.
11248         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
11249         contents appended ...
11250         * sysdeps/arm/configure.ac: ... here.
11251         * sysdeps/arm/configure: Regenerated.
11253 2014-07-15  Roland McGrath  <roland@hack.frob.com>
11255         * nptl/pthread_kill.c: New file.
11256         * nptl/pthread_sigmask.c: New file.
11257         * nptl/pthread_sigqueue.c: New file.
11259         * sysdeps/nptl/lowlevellock.h: New file.
11260         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
11261         * sysdeps/nptl/lowlevellock-futex.h: New file.
11263         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
11264         Remove dead declarations.
11266 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
11268         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
11269         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
11270         config-cflags-avx2.
11271         * sysdeps/x86_64/configure.ac: Likewise.
11272         * sysdeps/i386/configure: Regenerated.
11273         * sysdeps/x86_64/configure: Likewise.
11274         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11275         memset-avx2 only if config-cflags-avx2 is yes.
11276         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11277         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
11278         defined.
11279         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
11280         only if HAVE_AVX2_SUPPORT is defined.
11281         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11283 2014-07-14  Alan Modra  <amodra@gmail.com>
11285         [BZ #17153]
11286         * elf/elf.h (DT_PPC64_NUM): Correct value.
11287         * NEWS: Add to fixed bug list.
11289 2014-07-13  Jim Meyering  <meyering@fb.com>
11291         [BZ 17150]
11292         regex: don't deref NULL upon heap allocation failure
11293         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
11294         failure in one more place.
11295         To trigger the segfault, configure grep -with-included-regex,
11296         build it, and run these commands:
11297         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
11299 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
11301         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11303 2014-07-11  Richard Henderson  <rth@redhat.com>
11305         * sysdeps/aarch64/libm-test-ulps: Update.
11307 2014-07-10  Florian Weimer  <fweimer@redhat.com>
11309         [BZ #17135]
11310         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
11311         * nptl/allocatestack.c (__nptl_setxid_error): New function.
11312         (__nptl_setxid): Initialize error member.  Call
11313         __nptl_setxid_error.
11314         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
11315         * nptl/descr.h (struct xid_command): Add error member.
11316         * nptl/tst-setuid3.c: New file.
11317         * nptl/Makefile (tests): Add it.
11319 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11321         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
11322         New define.
11323         (__lll_trylock): Use __lll_base_trylock.
11324         (__lll_cond_trylock): Likewise.
11326 2014-07-10  Roland McGrath  <roland@hack.frob.com>
11328         * nptl/pthread_create.c (start_thread): Use atomic_or and
11329         lll_futex_wake directly rather than lll_robust_dead.
11330         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11331         (lll_robust_dead): Macro removed.
11332         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
11333         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11334         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11335         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11336         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11337         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11338         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11339         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11340         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11341         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11342         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11343         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11344         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11345         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11346         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11348         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11349         Use atomic_compare_and_exchange_val_acq directly rather than
11350         lll_robust_trylock.
11351         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11352         (__lll_robust_trylock, lll_robust_trylock): Removed.
11353         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11354         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11355         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11356         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11357         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11358         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11359         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11360         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11361         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11362         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11363         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11364         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11365         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11366         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11368 2014-07-02  Florian Weimer  <fweimer@redhat.com>
11370         * manual/locale.texi (Locale Names): New section documenting
11371         locale name syntax.  Adjust menu and node chaining accordingly.
11372         (Choosing Locale): Reference Locale Names, Locale Categories.
11373         Mention setting LC_ALL=C.  Reflect that name syntax is now
11374         documented.
11375         (Locale Categories): New section title.  Reference Locale Names.
11376         LC_ALL is an environment variable, but not a category.
11377         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
11378         description, now in Locale Name.  Reference that section.  Locale
11379         name syntax is now documented.
11381 2014-07-02  Florian Weimer  <fweimer@redhat.com>
11383         [BZ #17137]
11384         * locale/findlocale.c (name_present, valid_locale_name): New
11385         functions.
11386         (_nl_find_locale): Use the loc_name variable to store name
11387         candidates.  Call name_present and valid_locale_name to check and
11388         validate locale names.  Return an error if the locale is invalid.
11390 2014-07-02  Florian Weimer  <fweimer@redhat.com>
11392         * locale/setlocale.c (setlocale): Use strdup for allocating
11393         composite name copy.
11395 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11397         Sync up with gnulib.
11398         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
11399         [!_LIBC && ENABLE_NLS]: Include gettext.h.
11400         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
11401         and _GL_ARG_NONNULL.
11402         [USE_UNLOCKED_IO]: Include unlocked-io.h.
11403         [!_LIBC]: Include code for Windows and Cygwin.
11404         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
11405         Include prototype for int strerror_r.
11406         [!_LIBC] (is_open): New function.
11407         (flush_stdout): New function.
11408         (print_errno_message): Use it.
11409         (error): Likewise.
11410         (error_at_line): Likewise.
11411         (error_tail) Add function attribute macros.  Use
11412         __builtin_expect.
11414         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
11416         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
11418         * io/ftw.c: Include sys/param.h unconditionally.
11420         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
11422         [BZ #17125]
11423         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
11424         libc_freeres_ptr.
11425         (freecache): New function to free CACHE on exit.
11427         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
11428         initialization.
11430 2014-07-09  David S. Miller  <davem@davemloft.net>
11432         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11434         * sysdeps/sparc/nptl/internaltypes.h: Delete.
11435         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
11436         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
11437         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
11438         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
11439         * sysdeps/sparc/nptl/sem_init.c: Likewise.
11440         * sysdeps/sparc/nptl/sem_post.c: Likewise.
11441         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
11442         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
11443         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
11444         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
11445         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
11446         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
11448 2014-07-09  Andreas Schwab  <schwab@suse.de>
11450         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
11451         output.
11452         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
11453         (do_test): Likewise.
11455         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11457 2014-07-09  Will Newton  <will.newton@linaro.org>
11459         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
11460         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
11461         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
11462         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
11463         * sysdeps/hppa/start.S (_start): Likewise.
11465 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
11467         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
11469         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
11470         defined.
11472 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11474         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
11475         after checking that it is non-NULL.
11477         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
11479 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11481         * sysdeps/powerpc/memmove.c: Remove file.
11482         * sysdeps/powerpc/powerpc32/power4/memcopy.h
11483         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
11484         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
11485         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
11486         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
11487         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
11488         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
11489         string memmove instead of removed powerpc one.
11491         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11492         [weak_alias]: Fix compiler warning due trailing data.
11493         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
11494         [weak_alias]: Likewise.
11495         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
11496         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
11498         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11499         (__libc_ifunc_impl_list): Add memmove functions.
11501 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11503         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
11504         Remove code.
11505         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
11506         Likewise
11507         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
11508         Likewise
11509         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
11510         Likewise
11511         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
11512         Likewise
11513         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
11514         Likewise
11515         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
11516         Likewise
11517         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
11518         Likewise
11519         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
11520         Likewise
11521         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
11522         Likewise
11523         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
11524         Likewise
11525         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
11526         Likewise
11527         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
11528         Likewise
11529         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
11530         Likewise
11531         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
11532         Likewise
11533         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
11534         Likewise
11535         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
11536         Likewise
11538 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11540         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
11541         to avoid alignment traps in non-cacheable memory.
11542         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11544         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
11545         multiarch objects.
11546         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
11547         file: multiarch power7 memmove.
11548         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
11549         multiarch default memmove.
11550         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
11551         multiarch memove for powerpc32/power4.
11553         * string/bcopy.c: Use full path to include memmove.c.
11554         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
11555         multiarch objects.
11556         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
11557         bcopy for powerpc64.
11558         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
11559         bcopy for powerpc64.
11560         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
11561         and memmove implementations.
11562         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
11563         optimized multiarch memmove for POWER7/powerpc64.
11564         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
11565         default multiarch memmove for powerpc64.
11566         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
11567         multiarch for powerpc64.
11568         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
11569         for POWER7/powerpc64.
11570         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
11571         memmove for POWER7/powerpc64.
11573         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
11574         glibc default one.
11576         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
11577         __ELF_NATIVE_CLASS equal to 64.
11579 2014-07-07  Roland McGrath  <roland@hack.frob.com>
11581         * sysdeps/nptl/lowlevellock.h: File removed.
11583         * NEWS: NPTL is no longer an add-on!
11584         * nptl/internaltypes.h: Moved ...
11585         * sysdeps/nptl/internaltypes.h: ... here.
11586         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
11587         * sysdeps/nptl/fork.c: Likewise.
11588         * sysdeps/nptl/gai_misc.h: Likewise.
11589         * sysdeps/nptl/librt-cancellation.c: Likewise.
11590         * sysdeps/nptl/jmp-unwind.c: Likewise.
11591         * sysdeps/nptl/setxid.h: Likewise.
11592         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
11593         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
11594         * sysdeps/unix/sysv/linux/arm/Implies: New file.
11595         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
11596         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
11597         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
11598         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
11599         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
11600         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
11601         * sysdeps/unix/sysv/linux/mips/Implies: New file.
11602         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
11603         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
11604         * sysdeps/unix/sysv/linux/sh/Implies: New file.
11605         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
11606         * sysdeps/unix/sysv/linux/tile/Implies: New file.
11607         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
11608         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
11609         * nptl/Makeconfig: Moved ...
11610         * sysdeps/nptl/Makeconfig: ... here.
11611         * nptl/configure: File removed.
11612         * nptl/ANNOUNCE: File removed.
11613         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
11614         * sysdeps/unix/sysv/linux/configure: Regenerated.
11616         * nptl/Makefile (routines): Add libc_pthread_init,
11617         libc_multiple_threads, register-atfork and unregister-atfork.
11618         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
11619         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
11620         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
11621         pthread-pi-defines.sym, structsem.sym.
11622         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
11623         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
11624         [$(subdir) = nptl] (tests): Add tst-setgetname.
11625         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
11626         * sysdeps/unix/sysv/linux/sigaction.c: Just include
11627         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
11628         [!LIBC_SIGACTION]: Remove aliases.
11629         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11630         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11631         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11632         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
11633         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11634         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
11635         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11636         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11637         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11638         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
11639         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
11640         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
11641         __libc_allocate_rtsig_private.
11642         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
11643         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
11644         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
11645         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
11646         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
11647         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
11648         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
11649         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
11650         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
11651         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
11652         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
11653         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
11654         * nptl/internaltypes.h: ... here.
11655         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
11656         * sysdeps/nptl/jmp-unwind.c: ... here.
11657         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
11658         * nptl/libc-lowlevellock.c: ... here.
11659         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
11660         * nptl/libc_multiple_threads.c: ... here.
11661         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
11662         * nptl/libc_pthread_init.c: ... here.
11663         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
11664         * nptl/lowlevelbarrier.sym: ... here.
11665         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
11666         * nptl/lowlevelcond.sym: ... here.
11667         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
11668         * nptl/lowlevellock.c: ... here.
11669         * nptl/lowlevellock.h: Moved ...
11670         * sysdeps/nptl/lowlevellock.h: ... here.
11671         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
11672         * nptl/lowlevelrobustlock.c: ... here.
11673         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
11674         * nptl/lowlevelrobustlock.sym: ... here.
11675         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
11676         * nptl/lowlevelrwlock.sym: ... here.
11677         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
11678         * nptl/pt-fork.c: ... here.
11679         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
11680         * nptl/pthread-pi-defines.sym: ... here.
11681         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
11682         * nptl/pthread_attr_getaffinity.c: ... here.
11683         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
11684         * nptl/pthread_attr_setaffinity.c: ... here.
11685         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
11686         * nptl/pthread_mutex_cond_lock.c: ... here.
11687         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11688         Update #include.
11689         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
11690         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
11691         * nptl/pthread_once.c: ... here, replacing old file.
11692         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
11693         * nptl/pthread_yield.c: ... here.
11694         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
11695         * nptl/register-atfork.c: ... here.
11696         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
11697         * nptl/sem_post.c: ... here.
11698         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
11699         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
11700         * nptl/sem_timedwait.c: ... here.
11701         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
11702         * nptl/sem_trywait.c: ... here.
11703         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
11704         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
11705         * nptl/sem_wait.c: ... here.
11706         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
11707         * nptl/structsem.sym: ... here.
11708         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
11709         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
11710         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
11711         * nptl/unregister-atfork.c: ... here.
11712         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
11713         * nptl/unwindbuf.sym: ... here.
11714         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
11715         * sysdeps/nptl/fork.c: ... here.
11716         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
11717         * sysdeps/nptl/fork.h: ... here.
11718         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
11719         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
11720         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
11721         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
11722         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
11723         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
11724         * sysdeps/unix/sysv/linux/getpid.c: ... here.
11725         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
11726         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
11727         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
11728         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
11729         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
11730         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
11731         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
11732         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
11733         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
11734         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
11735         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
11736         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
11737         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
11738         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
11739         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
11740         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
11741         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
11742         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
11743         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
11744         * sysdeps/unix/sysv/linux/raise.c: ... here.
11745         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
11746         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
11747         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
11748         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
11749         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
11750         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
11751         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
11752         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
11753         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
11754         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
11755         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
11756         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
11757         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
11758         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
11759         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
11761 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11763         * sysdeps/generic/memcopy.h: Add comment for
11764         MEMCPY_OK_FOR_FWD_MEMMOVE.
11766 2014-07-04  Will Newton  <will.newton@linaro.org>
11768         * string/memchr.c: Merge from gnulib.
11769         [_LIBC]: Remove conditionals.
11770         (__ptr_t): Remove define.
11771         (LONG_MAX_32_BITS): Likewise.
11772         (LONG_MAX): Likewise.
11773         (MEMCHR): Use ANSI prototype and optimize algorithm.
11775         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
11777 2014-07-03  Roland McGrath  <roland@hack.frob.com>
11779         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
11780         (lll_futex_timed_wait_bitset): Fix syscall argument count.
11782         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
11783         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
11784         in a bare environment with no <stdlib.h> installed.
11785         * sysdeps/nptl/configure: Regenerated.
11787         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
11789         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
11790         AC_EGREP_CPP for kernel header checks, so they only succeed if
11791         including <linux/version.h> actually works right.
11792         * sysdeps/unix/sysv/linux/configure: Regenerated.
11794         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
11795         value so it's not diagnosed as unused.
11797         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
11798         thing) with "ifeq ($(subdir),rt)".
11800 2014-07-03  Richard Henderson  <rth@redhat.com>
11802         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
11803         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
11804         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
11806         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
11807         (math_force_eval): New.
11809         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
11810         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
11812         * sysdeps/alpha/fpu/s_round.c: Remove file.
11813         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
11815         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
11816         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
11817         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
11818         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
11819         (_dl_start, print_statistics): Likewise.
11820         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
11821         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
11823         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11824         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11825         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11826         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11827         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11828         (HP_SMALL_TIMING_AVAIL): Define.
11829         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11830         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11831         (HP_SMALL_TIMING_AVAIL): Define.
11832         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11833         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11835         * sysdeps/aarch64/hp-timing.h: New file.
11837         * sysdeps/generic/hp-timing.h: Remove dead comment.
11838         * sysdeps/generic/hp-timing-common.h: New file.
11839         * sysdeps/alpha/hp-timing.h: Include it.
11840         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
11841         * sysdeps/i386/i686/hp-timing.h: Likewise.
11842         * sysdeps/ia64/hp-timing.h: Likewise.
11843         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11844         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11845         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11846         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11847         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
11848         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
11849         (hp_timing_t): New.
11851         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
11852         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
11853         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
11854         * elf/rtld.c (_dl_start_final): Likewise.
11855         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
11856         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11857         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11858         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11859         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11860         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11861         (HP_TIMING_DIFF_INIT): Remove.
11862         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11863         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11864         (HP_TIMING_DIFF_INIT): Remove.
11865         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11866         * sysdeps/i386/i686/hp-timing.c: Remove file.
11867         * sysdeps/x86_64/hp-timing.c: Remove file.
11868         * sysdeps/ia64/hp-timing.c: Remove file.
11869         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
11870         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
11871         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
11872         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
11874         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
11875         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
11876         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
11877         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11878         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11879         (HP_TIMING_ACCUM): Remove.
11880         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11881         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
11882         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11884         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
11885         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
11886         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
11887         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
11888         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
11889         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11890         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
11891         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11893         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
11895 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
11897         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
11899 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11901         Sync up with gettext.
11902         * intl/loadmsgcat.c: Define O_BINARY if not defined.
11903         [_MSC_VER]: Include malloc.h
11904         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
11905         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
11906         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
11907         TEMP_FAILURE_RETRY.  Cast return of alloca.
11908         [!_LIBC] Call gl_rwlock_init.
11909         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
11911 2014-07-02  Roland McGrath  <roland@hack.frob.com>
11913         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
11914         before checking its value.
11916 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11918         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
11920         * debug/memcpy_chk.c: Don't include pagecopy.h.
11921         * debug/mempcpy_chk.c: Likewise.
11922         * string/memcpy.c: Likewise.
11923         * string/memmove.c: Likewise.
11924         * sysdeps/powerpc/memmove.c: Likewise.
11925         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
11926         definition of PAGE_COPY_FWD_MAYBE here...
11927         * sysdeps/generic/pagecopy.h: ... from here.
11928         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
11930 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11931             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11933         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
11934         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
11935         optimizations.
11936         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11937         (__libc_ifunc_impl_list): Likewise.
11938         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
11939         multiarch strcat for PPC64.
11940         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
11941         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
11943 2014-07-02  Roland McGrath  <roland@hack.frob.com>
11945         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
11947 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11949         * intl/loadmsgcat.c: Remove declaration of
11950         get_sysdep_segment_value.
11951         (get_sysdep_segment_value): Use ISO C style.
11952         (_nl_load_domain): Use ISO C style.  Get rid of redundant
11953         semicolon.  Fix typo and formatting in comment.
11954         (_nl_unload_domain): Use ISO C style.
11956         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
11958 2014-07-02  Will Newton  <will.newton@linaro.org>
11960         * malloc/obstack.c: Merge from gnulib master.
11961         [HAVE_CONFIG_H]: Remove conditional code.
11962         [!_LIBC]: Include config.h.
11963         [!ELIDE_CODE]: Don't include inttypes.h, include
11964         stdint.h unconditionally.
11965         (print_and_abort): Mark as _Noreturn.
11966         (_obstack_allocated_p): Mark as __attribute_pure__.
11967         (obstack_free): Rename to __obstack_free.
11968         [!__attribute__]: Remove conditional code.
11969         * malloc/obstack.h: Merge from gnulib master.
11970         [__cplusplus]: Move conditional down.
11971         [!__attribute_pure__]: Define __attribute_pure__ here
11972         if it is not already defined.
11973         (_obstack_memory_used): Mark as __attribute_pure__.
11974         [!__obstack_free]: Define as obstack_free.
11975         [__GNUC__]: Remove check for ancient NeXT gcc.
11977 2014-07-02  Will Newton  <will.newton@linaro.org>
11978             Paul Eggert  <eggert@cs.ucla.edu>
11980         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
11982 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11984         * resolv/gethnamaddr.c: Add comment warning that the file is
11985         not maintained.
11987 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
11989         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
11990         entries.
11992         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
11993         entry for aio_cancel and aio_cancel64.
11994         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
11995         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
11996         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
11997         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
11998         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
11999         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
12000         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
12001         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
12002         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
12003         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
12004         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
12005         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
12006         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
12008 2014-07-01  Roland McGrath  <roland@hack.frob.com>
12010         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
12011         * nptl/pthread_mutex_lock.c: Likewise.
12012         * nptl/pthread_mutex_timedlock.c: Likewise.
12013         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
12015 2014-07-01  Richard henderson  <rth@redhat.com>
12017         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
12018         (__isnan, __isnanl): Remove.
12019         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
12021         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12023 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12025         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12027 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12029         * resolv/nss_dns/dns-host.c (getanswer_r)
12030         [MULTI_PTRS_ARE_ALIASES]: Remove code.
12032 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
12034         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12035         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
12036         undefine.
12037         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
12038         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
12040 2014-07-01  Roland McGrath <roland@hack.frob.com>
12042         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
12043         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
12045         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
12046         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
12048         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
12049         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
12050         ... here.
12051         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
12052         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
12054         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
12055         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
12056         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
12057         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
12059         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
12060         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
12061         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
12062         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
12063         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
12064         Moved ...
12065         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
12066         ... here.
12067         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
12068         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
12069         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
12070         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
12071         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
12072         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
12073         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
12074         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
12075         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
12076         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
12077         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
12078         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
12079         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
12080         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
12081         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
12082         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
12083         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
12084         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
12085         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
12086         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
12087         ... here.
12088         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
12089         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
12090         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
12091         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
12092         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
12093         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
12094         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
12095         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
12097 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
12099         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
12100         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
12101         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
12102         Add sysdep.
12104 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12108 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
12110         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12111         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12113         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12115         * sysdeps/arm/libm-test-ulps: Regenerated.
12117 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
12118             Roland McGrath <roland@hack.frob.com>
12120         * test-skeleton.c (signal_handler): Kill the whole process group
12121         before killing the child individually.
12122         (main): Report any failure on `setpgid'.
12124 2014-06-30  Roland McGrath  <roland@hack.frob.com>
12126         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
12127         from _TLS_H to _ARM_NPTL_TLS_H.
12128         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
12129         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
12131 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
12133         [BZ #16539]
12134         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
12135         (__expm1l): Return argument unchanged when small but not
12136         subnormal.
12138         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
12139         include macro name.
12140         (_FP_UNPACK_RAW_1_P): Likewise.
12141         (_FP_PACK_RAW_1): Likewise.
12142         (_FP_PACK_RAW_1_P): Likewise.
12143         (_FP_MUL_MEAT_1_wide): Likewise.
12144         (_FP_MUL_MEAT_DW_1_hard): Likewise.
12145         (_FP_MUL_MEAT_1_hard): Likewise.
12146         (_FP_DIV_MEAT_1_imm): Likewise.
12147         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
12148         (_FP_DIV_MEAT_1_udiv): Likewise.
12149         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
12150         (_FP_UNPACK_RAW_2): Likewise.
12151         (_FP_UNPACK_RAW_2_P): Likewise.
12152         (_FP_PACK_RAW_2): Likewise.
12153         (_FP_PACK_RAW_2_P): Likewise.
12154         (_FP_MUL_MEAT_DW_2_wide): Likewise.
12155         (_FP_MUL_MEAT_2_wide): Likewise.
12156         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
12157         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12158         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
12159         (_FP_MUL_MEAT_2_gmp): Likewise.
12160         (_FP_DIV_MEAT_2_udiv): Likewise.
12161         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
12162         (_FP_FRAC_SRL_4): Likewise.
12163         (_FP_FRAC_SRST_4): Likewise.
12164         (_FP_FRAC_SRS_4): Likewise.
12165         (_FP_UNPACK_RAW_4): Likewise.
12166         (_FP_UNPACK_RAW_4_P): Likewise.
12167         (_FP_PACK_RAW_4): Likewise.
12168         (_FP_PACK_RAW_4_P): Likewise.
12169         (_FP_MUL_MEAT_DW_4_wide): Likewise.
12170         (_FP_MUL_MEAT_4_wide): Likewise.
12171         (_FP_MUL_MEAT_4_gmp): Likewise.
12172         (umul_ppppmnnn): Likewise.
12173         (_FP_DIV_MEAT_4_udiv): Likewise.
12174         (__FP_FRAC_ADD_4): Likewise.
12175         (__FP_FRAC_SUB_3): Likewise.
12176         (__FP_FRAC_SUB_4): Likewise.
12177         (__FP_FRAC_DEC_3): Likewise.
12178         (__FP_FRAC_DEC_4): Likewise.
12179         (__FP_FRAC_ADDI_4): Likewise.
12180         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
12181         (_FP_FRAC_SRL_8): Likewise.
12182         (_FP_FRAC_SRS_8): Likewise.
12184         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
12185         include macro name.
12186         (FP_UNPACK_RAW_EP): Likewise.
12187         (FP_PACK_RAW_E): Likewise.
12188         (FP_PACK_RAW_EP): Likewise.
12189         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
12190         (_FP_ISSIGNAN): Likewise.
12191         (_FP_ADD_INTERNAL): Likewise.
12192         (_FP_FMA): Likewise.
12193         (_FP_CMP): Likewise.
12194         (_FP_SQRT): Likewise.
12195         (_FP_TO_INT): Likewise.
12196         (_FP_FROM_INT): Likewise.
12197         (FP_EXTEND): Likewise.
12198         (_FP_DIV_MEAT_N_loop): Likewise.
12200 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
12202         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
12203         throughout.
12205 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
12207         [BZ #17097]
12208         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
12209         result with correct sign in case of exponents that produce
12210         overflow except for X very close to 1.
12212 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
12214         mktime: merge #if/#ifdef usage from glibc
12215         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
12216         as that works with both Glibc's and Gnulib's style.
12217         See thread starting at Siddhesh Poyarekar's bug report at:
12218         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
12220 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12222         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
12223         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
12224         * sysdeps/tile/tilegx/memmove.c: Remove file.
12226 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
12228         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
12229         abi-name definition.
12230         * scripts/soversions.awk: Do not handle or generate ABI lines.
12231         * shlib-versions: Remove ABI entries.
12232         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
12233         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
12235 2014-06-27  Roland McGrath  <roland@hack.frob.com>
12237         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
12238         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
12239         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
12240         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
12241         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
12242         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
12243         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
12244         Moved ...
12245         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12246         ... here.
12247         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
12248         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
12249         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
12250         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
12251         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
12252         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
12253         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
12254         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
12255         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
12256         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
12257         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
12258         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
12259         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
12260         Moved ...
12261         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
12262         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
12263         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
12264         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
12265         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
12266         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
12267         Moved ...
12268         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
12269         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
12270         Moved ...
12271         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
12272         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
12273         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
12274         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
12275         Moved ...
12276         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
12277         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
12278         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
12279         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
12280         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
12281         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
12282         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
12283         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
12284         Moved ...
12285         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
12286         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
12287         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
12288         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
12289         Moved ...
12290         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
12291         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
12292         Moved ...
12293         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
12294         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
12295         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
12296         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
12297         Moved ...
12298         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12299         ... here.
12300         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
12301         Identical file removed.
12302         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
12303         Moved ...
12304         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
12305         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
12306         Identical file removed.
12307         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
12308         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
12309         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
12310         Moved ...
12311         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
12312         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
12313         Identical file removed.
12314         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
12315         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
12316         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
12317         Identical file removed.
12318         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
12319         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
12320         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
12321         Identical file removed.
12322         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
12323         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
12324         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
12325         Identical file removed.
12326         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
12327         Moved ...
12328         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
12329         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
12330         Identical file removed.
12331         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
12332         Moved ...
12333         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
12334         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
12335         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
12336         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
12337         Identical file removed.
12338         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
12339         Moved ...
12340         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
12341         ... here.
12342         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
12343         Identical file removed.
12344         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
12345         Moved ...
12346         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
12347         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
12348         Identical file removed.
12349         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
12350         Moved ...
12351         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
12352         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
12353         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
12354         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
12355         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
12356         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
12357         Moved ...
12358         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
12359         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
12360         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
12362         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
12363         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
12364         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
12365         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
12366         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
12368 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
12370         [BZ #17092]
12371         * nscd/nscd.c (monitor_child): Return exit status of child
12372         instead of return value from wait syscall.
12374 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
12376         * configure.ac (libc_commonpagesize): Remove variable.
12377         (libc_relro_required): Likewise.
12378         (libc_cv_z_relro): Remove configure test.
12379         * configure: Regenerated.
12380         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
12381         variable.
12382         (libc_relro_required): Likewise.
12383         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
12384         (libc_relro_required): Likewise.
12385         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
12386         (libc_relro_required): Likewise.
12387         * sysdeps/arm/preconfigure: Regenerated.
12388         * sysdeps/ia64/preconfigure: Remove file.
12389         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
12390         variable.
12391         (libc_relro_required): Likewise.
12393         [BZ #16561]
12394         [BZ #16562]
12395         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
12396         (__ieee754_yn): Set FE_TONEAREST mode internally and then
12397         recompute overflowing results in original rounding mode.
12398         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
12399         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
12400         recompute overflowing results in original rounding mode.
12401         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
12402         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12403         recompute overflowing results in original rounding mode.
12404         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
12405         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12406         recompute overflowing results in original rounding mode.
12407         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
12408         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12409         recompute overflowing results in original rounding mode.
12410         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
12411         (libc_feholdsetround_ctx): New macro.
12412         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
12413         * sysdeps/i386/fpu/libm-test-ulps: Update.
12414         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
12416 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12418         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
12419         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
12420         corresponding .cpsetup call.
12422 2014-06-26  Roland McGrath  <roland@hack.frob.com>
12424         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
12425         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
12426         * sysdeps/arm/Makefile [$(subdir) = csu]
12427         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
12428         (static-only-routines): Add aeabi_read_tp here.
12429         (shared-only-routines): Add libc-aeabi_read_tp here.
12430         (CFLAGS-libc-start.c): Add -fexceptions here.
12431         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
12432         (sysdep_routines, static-only-routines, shared-only-routines):
12433         Don't add to these here.
12434         (CFLAGS-libc-start.c): Likewise.
12436         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
12437         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12438         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
12439         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12440         * sysdeps/arm/Makefile [$(subdir) = rt]
12441         (librt-sysdep_routines, librt-shared-only-routines):
12442         Append rt-aeabi_unwind_cpp_pr1 here.
12443         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
12444         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
12445         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
12446         (libpthread-sysdep_routines, libpthread-shared-only-routines):
12447         Append nptl-aeabi_unwind_cpp_pr1 here.
12448         (tests): Filter out tst-cleanupx4 here.
12449         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
12450         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
12451         Don't do those here.
12453 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12455         * scripts/list-sources.sh: Do not handle ports specially.
12457 2014-06-26  Roland McGrath  <roland@hack.frob.com>
12459         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
12460         * sysdeps/arm/feupdateenv.c: Likewise.
12462         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
12464 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12466         * manual/texinfo.tex: Update to version 2014-05-05.10 with
12467         trailing whitespace removed.
12468         * scripts/config.guess: Update to version 2014-03-23.
12469         * scripts/config.sub: Update to version 2014-05-01
12470         * scripts/install-sh: Update to version 2013-12-25.23.
12471         * scripts/move-if-change: Update from gnulib.
12473 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12475         * debug/memmove_chk.c: Remove pagecopy.h include.
12477 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
12479         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
12480         identical to gnulib mktime.
12482 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12484         * configure.ac: Do not test for machine being rs6000.  Do not test
12485         for powerpc*-*soft.
12486         * configure: Regenerated.
12488         [BZ #11505]
12489         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
12490         test.
12491         * configure: Regenerated.
12492         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
12493         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
12494         Remove configure test.
12495         * sysdeps/arm/configure: Regenerated.
12496         * sysdeps/nptl/configure.ac: Do not check
12497         libc_cv_asm_cfi_directives.
12498         * sysdeps/nptl/configure: Regenerated.
12499         * sysdeps/x86_64/nptl/configure.ac: Remove file.
12500         * sysdeps/x86_64/nptl/configure: Remove generated file.
12501         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
12502         unconditional.
12503         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
12505 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12507         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
12508         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
12509         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
12510         it is defined.
12512         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
12513         instead of whether it is defined.
12514         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
12515         * sysdeps/hppa/dl-machine.h: Likewise.
12516         * sysdeps/ia64/dl-machine.h: Likewise.
12517         * sysdeps/m68k/dl-machine.h: Likewise.
12518         * sysdeps/microblaze/dl-machine.h: Likewise.
12519         * sysdeps/mips/dl-machine.: Likewise.
12520         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12521         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12522         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12523         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12524         * sysdeps/sh/dl-machine.h: Likewise.
12525         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12526         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12527         * sysdeps/tile/dl-machine.h: Likewise.
12528         * sysdeps/x86_64/dl-machine.h: Likewise.
12530         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
12531         code.
12532         (verify_persistent_db): Likewise.
12534 2014-06-26  Roland McGrath  <roland@hack.frob.com>
12536         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
12537         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
12538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
12539         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
12540         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12541         Moved ...
12542         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12543         ... here.
12544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
12545         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
12546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
12547         Identical file removed.
12548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
12549         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
12550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
12551         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
12552         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
12553         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
12554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
12555         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
12556         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
12557         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
12558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12559         Moved ...
12560         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
12561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
12562         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
12563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
12564         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
12565         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12566         Moved ...
12567         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
12568         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
12569         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
12570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
12571         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
12572         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12573         Identical file removed.
12574         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
12575         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
12576         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
12577         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
12578         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12579         Moved ...
12580         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12581         ... here.
12582         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
12583         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
12584         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
12585         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
12586         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
12587         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
12588         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
12589         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
12590         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
12591         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
12592         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12593         Moved ...
12594         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
12595         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
12596         Moved ...
12597         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
12598         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
12599         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
12600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12601         Moved ...
12602         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
12603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
12604         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
12606         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
12607         folded into ...
12608         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
12609         * sysdeps/unix/sysv/linux/s390/Versions
12610         (libpthread: GLIBC_2.19): New version set.
12611         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
12612         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
12613         (librt: GLIBC_2.3.3): New version set.
12614         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
12615         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
12616         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
12617         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
12618         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
12619         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
12620         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
12621         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
12622         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
12623         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
12624         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
12625         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
12626         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
12627         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
12628         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
12629         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
12630         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
12631         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
12632         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
12633         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
12634         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
12635         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
12636         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
12637         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
12638         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
12639         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
12640         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
12641         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
12642         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
12643         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
12644         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
12645         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
12646         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
12647         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
12648         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
12649         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
12650         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
12651         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
12652         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
12653         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
12654         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
12655         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
12656         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
12657         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
12658         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
12660         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
12661         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
12662         (__libc_vfork): Define the function under this name.
12663         [!NOT_IN_libc] (__vfork): Make this an alias.
12664         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12665         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
12666         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
12667         (__libc_vfork): Define the function under this name.
12668         [!NOT_IN_libc] (__vfork): Make this an alias.
12669         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12670         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
12671         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
12672         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
12673         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
12674         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12676         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
12677         code that was previously under [RESET_PID].
12678         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
12679         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
12680         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
12682         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
12683         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
12684         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
12685         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
12686         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
12687         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
12688         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
12689         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
12690         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
12691         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
12692         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
12693         Moved ...
12694         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
12695         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
12696         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
12697         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
12698         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
12699         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
12700         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
12701         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
12702         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
12703         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
12704         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
12705         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
12706         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
12707         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
12708         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
12709         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
12710         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
12711         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
12712         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
12713         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
12714         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
12715         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
12716         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
12717         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
12718         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
12719         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
12720         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
12721         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
12722         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
12724 2014-06-25  Roland McGrath  <roland@hack.frob.com>
12726         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
12727         that was previously under [RESET_PID].
12728         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
12730 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
12732         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
12733         not undefine and redefine.
12734         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
12735         [O_CLOEXEC]: Make code unconditional.
12736         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
12737         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
12738         <kernel-features.h>.
12739         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
12740         conditional variable definition.
12741         (shm_open) [O_CLOEXEC]: Make code unconditional.
12742         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
12743         code.
12745         * configure.ac (USE_REGPARMS): Don't define here.
12746         * configure: Regenerated.
12747         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
12748         * sysdeps/i386/configure: Regenerated.
12750         * nptl/createthread.c: Don't include kernel-features.h.
12751         * nptl/pthread_cancel.c: Likewise.
12752         * nptl/pthread_condattr_setclock.c: Likewise.
12753         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
12754         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
12755         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
12756         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
12757         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
12758         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
12759         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12760         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
12761         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12762         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
12763         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
12764         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
12765         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
12766         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
12767         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
12768         * nscd/gai.c: Likewise.
12769         * nss/nss_db/db-open.c: Likewise.
12770         * sysdeps/generic/ldsodefs.h: Likewise.
12771         * sysdeps/sh/nptl/tls.h: Likewise.
12772         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12773         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
12774         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
12775         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
12776         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
12777         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12778         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
12779         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12780         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12781         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12782         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12783         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12784         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
12785         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
12786         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
12787         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
12788         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
12789         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
12790         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
12791         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
12792         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12793         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12794         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
12795         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
12796         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12797         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12798         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
12799         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
12800         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12801         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
12802         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
12803         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
12804         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
12805         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
12806         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12807         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12808         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12809         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
12810         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
12811         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12812         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12813         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
12814         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
12815         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12816         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
12817         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
12818         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
12819         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
12820         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
12821         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12822         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12823         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12824         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12825         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12826         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
12827         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12828         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12829         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
12830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
12832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
12833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
12834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
12835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
12841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
12842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
12843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
12844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
12850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
12851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12852         * sysdeps/unix/sysv/linux/pread.c: Likewise.
12853         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
12854         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
12855         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
12856         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
12857         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
12858         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
12859         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
12860         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
12861         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12862         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
12863         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12864         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
12865         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
12866         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
12867         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
12868         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12869         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
12870         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
12871         * sysdeps/unix/sysv/linux/system.c: Likewise.
12872         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
12873         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12874         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12875         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12876         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12877         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12878         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12880         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
12881         * configure: Regenerated.
12882         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
12884         * configure.ac (base_machine): Do not set specially for particular
12885         machines here.
12886         * configure: Regenerated.
12887         * sysdeps/powerpc/preconfigure: Move machine and base_machine
12888         settings from configure.ac.
12889         * sysdeps/i386/preconfigure: New file.
12890         * sysdeps/s390/preconfigure: Likewise.
12891         * sysdeps/sh/preconfigure: Likewise.
12892         * sysdeps/sparc/preconfigure: Likewise.
12894 2014-06-25  Roland McGrath  <roland@hack.frob.com>
12896         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
12897         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
12898         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
12899         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
12900         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
12901         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
12902         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
12903         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
12904         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
12905         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
12906         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
12907         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
12908         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
12909         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
12910         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
12911         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
12912         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
12913         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
12914         * sysdeps/sparc/sparc64/Makefile: ... appended here.
12916         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
12917         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
12918         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
12919         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
12920         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
12921         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
12922         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
12923         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
12924         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
12925         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
12926         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
12927         * sysdeps/sparc/sparc32/sem_post.c: ... here.
12928         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
12929         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
12930         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
12931         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
12932         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
12933         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
12934         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
12935         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
12936         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
12937         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
12938         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
12939         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
12940         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
12941         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
12942         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
12943         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
12944         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
12945         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
12946         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
12947         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
12948         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
12949         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
12950         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
12951         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
12952         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
12953         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
12955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
12956         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
12957         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
12958         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
12959         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12960         Moved ...
12961         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12962         ... here.
12963         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
12964         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
12965         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
12966         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
12967         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
12968         Moved ...
12969         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
12970         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
12971         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
12972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
12973         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
12974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
12975         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
12976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12977         Moved ...
12978         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
12979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12980         Moved ...
12981         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
12982         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
12983         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
12984         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12985         Moved ...
12986         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
12987         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
12988         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
12989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
12990         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
12991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
12992         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
12993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
12994         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
12995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12996         Moved ...
12997         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12998         ... here.
12999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
13000         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
13001         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
13002         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
13003         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
13004         Moved ...
13005         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
13006         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
13007         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
13008         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
13009         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
13010         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
13011         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
13012         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13013         Moved ...
13014         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
13015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13016         Moved ...
13017         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
13018         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
13019         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
13020         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13021         Moved ...
13022         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
13023         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
13024         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
13025         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
13026         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
13028 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
13030         * timezone/checktab.awk: Update from tzcode 2014e.
13031         * timezone/private.h: Likewise.
13032         * timezone/tzfile.h: Likewise.
13033         * timezone/zdump.c: Likewise.
13034         * timezone/zic.c: Likewise.
13036         * sysdeps/unix/sysv/linux/kernel-features.h
13037         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
13038         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
13039         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
13040         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
13041         Remove conditional code.
13043 2014-06-25  Will Newton  <will.newton@linaro.org>
13045         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
13046         (_dl_arm_cap_flags): Add HWCAP2 values.
13047         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
13048         (_DL_HWCAP_COUNT): Increase to 37.
13049         (_DL_HWCAP_LAST): New define.
13050         (_DL_HWCAP2_LAST): New define.
13051         (_dl_procinfo): Add support for printing
13052         AT_HWCAP2 entries.
13053         (_dl_string_hwcap): Use _dl_hwcap_string.
13055 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13059 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
13061         * README: Do not mention ports directory.
13063         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
13064         Remove macro.
13065         * sysdeps/unix/sysv/linux/futimes.c: Do not include
13066         <kernel-features.h>.
13067         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
13068         conditional variable definition.
13069         (__futimes): Update comment.
13070         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
13071         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
13073         [BZ #16560]
13074         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
13075         arguments close to 0.
13076         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
13077         Likewise.
13078         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
13079         Likewise.
13080         * math/auto-libm-test-in: Add more tests of exp10.
13081         * math/auto-libm-test-out: Regenerated.
13082         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13084         * sysdeps/unix/sysv/linux/kernel-features.h
13085         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
13086         * sysdeps/unix/sysv/linux/readv.c: Do not include
13087         <kernel-features.h>.
13088         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13089         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13090         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13091         unconditional.
13092         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13093         conditional code.
13094         * sysdeps/unix/sysv/linux/writev.c: Do not include
13095         <kernel-features.h>.
13096         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13097         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13098         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13099         unconditional.
13100         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13101         conditional code.
13103 2014-06-25  Will Newton  <will.newton@linaro.org>
13105         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
13106         comment changes throughout the file.  Remove checks
13107         for HAVE_*_H definitions that are not required.
13108         (__gen_tempname): Call abort if an unknown kind value is
13109         passed.
13111 2014-06-25  Andreas Schwab  <schwab@suse.de>
13113         [BZ #17086]
13114         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
13115         scalbln, scalblnf, scalblnl in libc.
13117 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13119         [BZ #17086]
13120         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
13121         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13122         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13124 2014-06-24  Roland McGrath  <roland@hack.frob.com>
13126         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
13127         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
13128         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
13129         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
13130         Update #include.
13131         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
13132         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
13133         Update #include.
13134         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
13135         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
13136         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
13137         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
13138         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
13139         * sysdeps/x86/bits/pthreadtypes.h: ... here.
13140         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
13141         * sysdeps/x86/bits/semaphore.h: ... here.
13142         * sysdeps/x86/nptl/elide.h: Moved ...
13143         * sysdeps/x86/elide.h: ... here.
13144         * sysdeps/x86_64/nptl/Implies: File removed.
13145         * sysdeps/i386/nptl/Implies: File removed.
13147 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
13149         [BZ #16539]
13150         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
13151         return the argument for normal arguments with exponent below -64.
13152         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13153         Likewise.
13154         * math/auto-libm-test-in: Add another test of expm1.
13155         * math/auto-libm-test-out: Regenerated.
13157         [BZ #16287]
13158         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
13159         calling __erfcl for arguments at least 16.
13160         * math/auto-libm-test-in: Add more tests of erf.
13161         * math/auto-libm-test-out: Regenerated.
13163         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
13164         individual architectures.
13165         * sysdeps/unix/sysv/linux/configure: Regenerated.
13166         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
13167         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
13168         * sysdeps/unix/sysv/linux/powerpc/configure.ac
13169         (ldd_rewrite_script): Define variable.
13170         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
13172         file.
13173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
13174         generated file.
13175         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
13176         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
13177         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
13178         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
13179         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
13180         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
13181         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
13182         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
13184 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13186         [BZ #17084]
13187         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
13188         Rename member __data.d to __data.__elision_data.
13190 2014-06-24  Wilco  <wdijkstr@arm.com>
13192         * NEWS: Add 16918 to fixed bug list.
13194 2014-06-24  Wilco  <wdijkstr@arm.com>
13196         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
13198 2014-06-24  Wilco  <wdijkstr@arm.com>
13200         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
13201         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
13202         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
13203         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
13204         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
13205         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
13206         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
13207         Use _FPU_MASK_RM.
13209 2014-06-24  Wilco  <wdijkstr@arm.com>
13211         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
13213 2014-06-24  Wilco  <wdijkstr@arm.com>
13215         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
13216         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
13217         * sysdeps/arm/fesetround.c (fesetround): Remove space.
13218         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
13220 2014-06-24  Wilco  <wdijkstr@arm.com>
13222         [BZ #16918]
13223         * sysdeps/arm/feupdateenv.c (feupdateenv):
13224         Rewrite to reduce FPSCR accesses and fix return value.
13226 2014-06-24  Wilco  <wdijkstr@arm.com>
13228         * sysdeps/arm/fclrexcpt.c (feclearexcept):
13229         Optimize to avoid unnecessary FPSCR writes.
13230         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
13231         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
13232         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
13233         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
13235 2014-06-24  Wilco  <wdijkstr@arm.com>
13237         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
13238         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
13239         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
13240         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
13241         Call libc_fetestexcept_vfp.
13242         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
13243         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
13244         __SOFTFP__ ifdef so that they can be built for softfp.
13246 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13248         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
13249         argument type signed char.
13251         * Makerules (check-abi): Dump diff of symlist if the test
13252         fails.
13254 2014-06-23  Roland McGrath  <roland@hack.frob.com>
13256         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
13257         using abort.
13259         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13260         Remove unused variable ST.
13262 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
13264         [BZ #16354]
13265         [BZ #17061]
13266         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
13267         small arguments before calling __expm1.
13268         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
13269         small arguments before calling __expm1f.
13270         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
13271         small arguments before calling __expm1l.
13272         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13273         Likewise.
13274         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
13275         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
13276         spurious underflow for some cosh tests.
13277         * math/auto-libm-test-out: Regenerated.
13278         * sysdeps/i386/fpu/libm-test-ulps: Update.
13280         [BZ #17050]
13281         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
13282         (__ieee754_y1): Set errno if return value overflows.
13283         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
13284         (__ieee754_y1f): Set errno if return value overflows.
13285         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
13286         (__ieee754_y1l): Set errno if return value overflows.
13287         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
13288         (__ieee754_y1l): Set errno if return value overflows.
13289         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
13290         * math/auto-libm-test-out: Regenerated.
13292         * math/gen-auto-libm-tests.c: Document use of
13293         ignore-zero-inf-sign.
13294         (input_flag_type): Add value flag_ignore_zero_inf_sign.
13295         (input_flags): Add ignore-zero-inf-sign.
13296         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
13297         * math/gen-libm-test.pl (generate_testfile): Handle
13298         ignore-zero-inf-sign.
13299         * math/auto-libm-test-in: Mark some cpow tests with
13300         ignore-zero-inf-sign and some with xfail-rounding.
13301         * math/auto-libm-test-out: Regenerated.
13302         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
13303         * sysdeps/i386/fpu/libm-test-ulps: Update.
13304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13306         [BZ #16315]
13307         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
13308         overflowing or underflowing operations take place with sign of
13309         result.
13310         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13311         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13312         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
13313         (__ieee754_pow): Recompute overflowing and underflowing results in
13314         original rounding mode.
13315         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
13316         (__powl_helper): Allow negative argument X and scale negated value
13317         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
13318         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
13319         overflowing or underflowing operations take place with sign of
13320         result.
13321         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
13322         Include <math.h>.
13323         * math/auto-libm-test-in: Add more tests of pow.
13324         * math/auto-libm-test-out: Regenerated.
13325         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
13326         (pow_tonearest_test_data): Remove.
13327         (pow_test_tonearest): Likewise.
13328         (pow_towardzero_test_data): Likewise.
13329         (pow_test_towardzero): Likewise.
13330         (pow_downward_test_data): Likewise.
13331         (pow_test_downward): Likewise.
13332         (pow_upward_test_data): Likewise.
13333         (pow_test_upward): Likewise.
13334         (main): Don't call removed functions.
13335         * sysdeps/i386/fpu/libm-test-ulps: Update.
13336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13338 2014-06-23  Roland McGrath  <roland@hack.frob.com>
13340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
13341         Moved ...
13342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
13343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13344         Moved ...
13345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
13346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13347         Moved ...
13348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
13349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13350         Moved ...
13351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
13352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13353         File removed.
13354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13355         File removed.
13356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
13357         File removed.
13358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
13359         File removed.
13360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
13361         File removed.
13362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
13363         File removed.
13364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
13365         File removed.
13366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13367         File removed.
13368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
13369         File removed.
13370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13371         File removed.
13372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
13373         File removed.
13374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
13375         File removed.
13376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
13377         Moved ...
13378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
13379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
13380         Moved ...
13381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13382         ... here.
13383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
13384         Moved ...
13385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
13386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
13387         Moved ...
13388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
13389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
13390         Moved ...
13391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
13392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
13393         Moved ...
13394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
13395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
13396         Moved ...
13397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
13398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
13399         Moved ...
13400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
13401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
13402         Moved ...
13403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
13404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
13405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13406         ... here.
13407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
13408         Moved ...
13409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
13410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13411         Moved ...
13412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13413         ... here.
13414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
13415         Moved ...
13416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13417         ... here.
13418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13419         Moved ...
13420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13421         ... here.
13422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13423         Moved ...
13424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
13425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13426         Moved ...
13427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
13428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
13429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
13430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13431         Moved ...
13432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13433         ... here.
13434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13435         Moved ...
13436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13437         ... here.
13438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13439         Moved ...
13440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
13441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13442         Moved ...
13443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
13444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13445         Moved ...
13446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
13447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13448         Moved ...
13449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
13450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13451         Moved ...
13452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13453         ... here.
13454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13455         Moved ...
13456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
13457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13458         Moved ...
13459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
13460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13461         Moved ...
13462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
13463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13464         Moved ...
13465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
13466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
13467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
13468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13469         Moved ...
13470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
13471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13472         Moved ...
13473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
13474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13475         Moved ...
13476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13477         ... here.
13478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13479         Moved ...
13480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13481         ... here.
13482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13483         Moved ...
13484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13485         ... here.
13486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13487         Moved ...
13488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
13489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13490         Moved ...
13491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
13492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13493         Moved ...
13494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
13495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13496         Moved ...
13497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13498         ... here.
13499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13500         Moved ...
13501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13502         ... here.
13503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13504         Moved ...
13505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13506         ... here.
13507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13508         Moved ...
13509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
13510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13511         Moved ...
13512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
13514 2014-06-23  Will Newton  <will.newton@linaro.org>
13515             Wilco  <wdijkstr@arm.com>
13517         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
13518         implementation.  Include get-rounding-mode.h.
13519         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
13520         [!libc_feholdsetround_noex_ctx]: Define
13521         libc_feholdsetround_noex_ctx.
13522         [!libc_feholdsetround_noexf_ctx]: Define
13523         libc_feholdsetround_noexf_ctx.
13524         [!libc_feholdsetround_noexl_ctx]: Define
13525         libc_feholdsetround_noexl_ctx.
13526         (libc_feholdsetround_ctx): New function.
13527         (libc_feresetround_ctx): New function.
13528         (libc_feholdsetround_noex_ctx): New function.
13529         (libc_feresetround_noex_ctx): New function.
13531 2014-06-23  Roland McGrath  <roland@hack.frob.com>
13533         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
13534         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
13535         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
13536         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
13537         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
13538         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
13540         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
13541         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
13542         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
13543         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
13544         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
13545         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
13546         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
13547         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
13548         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
13549         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
13550         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
13551         Moved ...
13552         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13553         ... here.
13554         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
13555         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
13556         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
13557         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
13558         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
13559         Moved ...
13560         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
13561         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
13562         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
13563         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
13564         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
13565         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
13566         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
13567         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
13568         Moved ...
13569         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
13570         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
13571         Moved ...
13572         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
13573         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
13574         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
13575         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
13576         Moved ...
13577         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
13578         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
13579         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
13580         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
13581         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
13582         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
13583         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
13584         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
13585         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
13586         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
13587         Moved ...
13588         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13589         ... here.
13590         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
13591         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
13592         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
13593         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
13594         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
13595         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
13596         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
13597         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
13598         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
13599         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
13600         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
13601         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
13602         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
13603         Moved ...
13604         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
13605         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
13606         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
13607         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
13608         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
13609         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
13610         Moved ...
13611         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
13612         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
13613         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
13614         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
13615         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
13617         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
13618         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
13619         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
13620         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
13621         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
13622         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
13623         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
13624         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
13625         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
13626         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
13627         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
13628         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
13629         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
13630         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
13631         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
13632         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
13633         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
13634         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
13635         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
13636         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
13637         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
13638         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
13639         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
13640         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
13641         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
13642         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
13643         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
13644         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
13646 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
13648         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
13649         (FALLOC_FL_COLLAPSE_RANGE): New macro.
13650         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
13651         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
13652         (IPV6_PMTUDISC_INTERFACE): Likewise.
13653         (IPV6_PMTUDISC_OMIT): Likewise.
13655 2014-06-23  Andreas Schwab  <schwab@suse.de>
13657         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
13658         Remove unused errout label.
13660 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13662         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
13663         macro: hardware supports Vector Crypto instructions.
13665 2014-06-23  Will Newton  <will.newton@linaro.org>
13667         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
13668         rather than __builtin_expect.
13670         * elf/dl-lookup.c (undefined_msg): Remove variable.
13671         (_dl_lookup_symbol_x): Replace undefined_msg with string
13672         literal.
13674         * elf/dl-lookup.c (do_lookup_unique): New function.
13675         (do_lookup_x): Move STB_GNU_UNIQUE handling code
13676         to a separate function.
13678 2014-06-23  Andreas Schwab  <schwab@suse.de>
13680         [BZ #17079]
13681         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
13682         before reading the next line.
13684 2014-06-23  Will Newton  <will.newton@linaro.org>
13686         * test-skeleton.c (signal_handler): Use printf and %m
13687         rather than perror.  Use printf rather than fprintf to
13688         stderr.  Use puts rather than fputs to stderr.
13689         (main): Likewise.
13691 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
13693         * nscd/nscd.c (thread_info_t): Remove typedef.
13694         (thread_info): Remove variable.
13696 2014-06-21  Allan McRae  <allan@archlinux.org>
13698         * NEWS: Mention CVE-2014-4043.
13700 2014-06-20  Roland McGrath  <roland@hack.frob.com>
13702         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
13703         * nptl/smp.h: ... here.
13705         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
13707         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
13708         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
13709         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
13710         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
13712         * nptl/allocatestack.c: Include <stack-aliasing.h>.
13713         * nptl/stack-aliasing.h: New file.
13714         * sysdeps/i386/i686/stack-aliasing.h: New file.
13715         * sysdeps/i386/i686/nptl/Makefile: File removed.
13716         * sysdeps/x86_64/stack-aliasing.h: New file.
13717         * sysdeps/x86_64/nptl/Makefile
13718         (CFLAGS-pthread_create.c): Variable removed.
13720         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
13721         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
13722         old file.
13723         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
13724         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
13725         old file.
13727 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
13729         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13730         (__ASSUME_SIGFRAME_V2): Remove macro.
13731         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
13732         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
13733         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
13734         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
13735         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
13736         Declare as function.  Remove conditional macro definitions.
13737         (__default_rt_sa_restorer): Likewise.
13738         (__default_sa_restorer_v1): Remove declaration.
13739         (__default_sa_restorer_v2): Likewise.
13740         (__default_rt_sa_restorer_v1): Likewise.
13741         (__default_rt_sa_restorer_v2): Likewise.
13742         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
13743         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
13744         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
13746 2014-06-20  Roland McGrath  <roland@hack.frob.com>
13748         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
13749         (libpthread-routines): Add sysdep.
13750         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
13751         * sysdeps/unix/sysv/linux/sparc/Versions
13752         (libpthread: GLIBC_2.3.3): New version set.
13753         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
13754         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
13755         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
13756         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
13757         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
13758         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
13759         Moved ...
13760         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
13761         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
13762         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
13763         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
13764         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
13765         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
13766         * sysdeps/sparc/nptl/sem_init.c: ... here.
13767         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
13768         * sysdeps/sparc/nptl/sem_post.c: ... here.
13769         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
13770         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
13771         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
13772         * sysdeps/sparc/nptl/sem_wait.c: ... here.
13773         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
13774         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
13775         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
13776         (libpthread-routines): Add cpu_relax.
13777         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
13778         File removed.
13779         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
13780         (librt: GLIBC_2.3.3): New version set.
13781         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
13782         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
13783         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
13784         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
13785         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
13786         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
13787         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
13788         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
13789         Moved ...
13790         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
13791         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
13792         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
13793         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
13794         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
13795         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
13796         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
13797         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
13798         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
13799         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
13800         Moved ...
13801         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
13802         Update #include.
13803         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
13804         Moved ...
13805         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
13806         Update #include.
13807         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
13808         Moved ...
13809         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
13810         Update #include.
13811         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
13812         Moved ...
13813         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
13814         Update #include.
13815         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
13816         Moved ...
13817         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
13818         Update #include.
13819         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
13820         Moved ...
13821         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
13822         Update #include.
13823         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
13824         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
13825         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
13826         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
13827         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
13828         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
13829         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
13830         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
13831         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
13832         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
13833         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13834         Moved ...
13835         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
13836         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
13837         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
13838         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
13839         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
13841 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
13843         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
13844         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
13845         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13846         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
13847         * nscd/nscd.c: Likewise.
13848         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13849         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13850         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13851         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13853         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
13854         <kernel-features.h>.
13855         (init_mq_netlink): Remove conditional have_sock_cloexec
13856         definitions.  Remove code conditional on have_sock_cloexec < 0.
13857         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
13858         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
13859         * sysdeps/unix/sysv/linux/opensock.c: Do not include
13860         <kernel-features.h>.
13861         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
13862         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
13864 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
13866         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13867         Add tests for memset_chk and memset.
13869         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
13870         with AVX2_Usable.
13872 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
13874         [BZ #16046]
13875         * elf/tst-dl-iter-static.c: New file.
13876         * elf/Makefile (tests-static): Add tst-dl-iter-static.
13878         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
13879         error.
13881 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
13883         * sysdeps/unix/sysv/linux/kernel-features.h
13884         (__ASSUME_F_GETOWN_EX): Remove macro.
13885         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
13886         <kernel-features.h>.
13887         (miss_F_GETOWN_EX): Remove variable or macro.
13888         (do_fcntl): Do not check miss_F_GETOWN_EX.
13889         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
13891         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
13892         Remove macro.
13893         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
13894         [!__ASSUME_AT_RANDOM]: Remove conditional code.
13895         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
13897         * sysdeps/unix/sysv/linux/kernel-features.h
13898         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
13899         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
13900         [ADJ_OFFSET_SS_READ]: Make code unconditional.
13901         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
13903 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
13905         [BZ #17075]
13906         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
13907         Fix calculation of the symbol's value.
13908         * sysdeps/arm/tst-armtlsdescloc.c: New file.
13909         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
13910         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
13911         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
13912         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
13913         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
13914         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
13915         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
13916         (modules-names): Add `tst-armtlsdescmod',
13917         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
13918         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
13919         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13920         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
13921         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
13922         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13923         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
13924         ($(objpfx)tst-armtlsdescloc): New dependency.
13925         ($(objpfx)tst-armtlsdescextnow): Likewise.
13926         ($(objpfx)tst-armtlsdescextlazy): Likewise.
13927         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
13928         TLS scheme support.
13929         * sysdeps/arm/configure: Regenerate.
13931 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
13933         * include/fcntl.h (__atfct_seterrno): Remove prototype.
13934         (__atfct_seterrno_2): Likewise.
13935         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
13936         <kernel-features.h>.
13937         (__ASSUME_ATFCTS): Do not undefine and redefine.
13938         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
13939         (__have_atfcts): Remove conditional definition.
13940         (__fxstatat([__NR_fstatat64]: Make code unconditional.
13941         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
13942         unreachable if [__ASSUME_ATFCTS].
13943         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
13944         not undefine and redefine.
13945         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
13946         <kernel-features.h>.
13947         (faccessat) [__NR_faccessat]: Make code unconditional.
13948         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
13949         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
13950         <kernel-features.h>.
13951         (fchmodat) [__NR_fchmodat]: Make code unconditional.
13952         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13953         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
13954         <kernel-features.h>.
13955         (fchownat) [__NR_fchownat]: Make code unconditional.
13956         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
13957         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
13958         <kernel-features.h>.
13959         (futimesat) [__NR_futimesat]: Make code unconditional.
13960         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
13961         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13962         <kernel-features.h>.
13963         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13964         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13965         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13966         <kernel-features.h>.
13967         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
13968         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13969         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
13970         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13971         <kernel-features.h>.
13972         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
13973         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13974         * sysdeps/unix/sysv/linux/linkat.c: Do not include
13975         <kernel-features.h>.
13976         (linkat) [__NR_linkat]: Make code unconditional.
13977         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13978         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
13979         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
13980         <kernel-features.h>.
13981         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
13982         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13983         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
13984         <kernel-features.h>.
13985         (mkdirat) [__NR_mkdirat]: Make code unconditional.
13986         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
13987         * sysdeps/unix/sysv/linux/openat.c: Do not include
13988         <kernel-features.h>.
13989         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
13990         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
13991         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
13992         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
13993         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
13994         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
13995         <kernel-features.h>.
13996         (readlinkat) [__NR_readlinkat]: Make code unconditional.
13997         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
13998         result of INLINE_SYSCALL directly, not via int variable.
13999         * sysdeps/unix/sysv/linux/renameat.c: Do not include
14000         <kernel-features.h>.
14001         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
14002         (renameat) [__NR_renameat]: Make code unconditional.
14003         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
14004         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
14005         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
14006         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
14007         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
14008         (__ASSUME_ATFCTS): Do not undefine and redefine.
14009         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
14010         <kernel-features.h>.
14011         (symlinkat) [__NR_symlinkat]: Make code unconditional.
14012         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14013         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
14014         <kernel-features.h>.
14015         (unlinkat) [__NR_unlinkat]: Make code unconditional.
14016         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14017         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
14018         (__ASSUME_ATFCTS): Do not undefine and redefine.
14019         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14020         <kernel-features.h>.
14021         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14022         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14023         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14024         <kernel-features.h>.
14025         (__xmknodat) [__NR_mknodat]: Make code unconditional.
14026         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14028 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
14030         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
14032 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
14034         [BZ #17069]
14035         * posix/regcomp.c (parse_reg_exp): Deallocate partially
14036         constructed tree before returning error.
14037         * posix/bug-regexp36.c: Expand test case.
14039 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
14041         [BZ #6803]
14042         * math/libm-test.inc (scalbln_test_date):
14043         Add errno expectations.
14044         * math/w_scalblnf.c: New File.
14045         Add wrapper which checks for setting errno to ERANGE.
14046         Add weak_alias for corresponding scalbln function.
14047         * math/w_scalbln.c: Likewise.
14048         * math/w_scalblnl.c: Likewise.
14049         * math/Makefile (libm-calls): Add w_scalbln.
14050         * sysdeps/ieee754/flt-32/s_scalblnf.c:
14051         Remove weak_alias for corresponding scalbln function.
14052         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14053         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14054         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14055         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14056         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
14057         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14058         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
14059         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14060         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
14061         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
14062         Remove long_double_symbol for scalblnl function in libm, libc.
14063         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
14064         Add wrapper which checks for setting errno to ERANGE.
14065         Add long_double_symbol for scalblnl function in libm, libc.
14066         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
14067         Remove long_double_symbol for scalblnl in libm.
14068         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
14069         Add wrapper which checks for setting errno to ERANGE.
14070         Add long_double_symbol for scalblnl function in libm.
14071         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
14072         Do not use wrapper because of own implementation.
14074 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
14076         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
14077         3 bytes for __pad1 for x32.
14078         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
14080 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
14081             H.J. Lu  <hongjiu.lu@intel.com>
14083         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
14084         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
14085         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14086         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14087         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14089 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
14091         [BZ #17069]
14092         * posix/regcomp.c (parse_expression): Deallocate partially
14093         constructed tree before returning error.
14094         * posix/Makefile.c (tests): Add bug-regex36.
14095         (generated): Add bug-regex36.mtrace.
14096         (tests-special): Add $(objpfx)bug-regex36-mem.out
14097         (bug-regex36-ENV): New variable.
14098         ($(objpfx)bug-regex36-mem.out): New rule.
14099         * posix/bug-regex36.c: New file.
14101 2014-06-19  Will Newton  <will.newton@linaro.org>
14103         * malloc/malloc.c (systrim): If extra is zero then return
14104         early.
14106 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14108         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
14110 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
14112         * sysdeps/aarch64/strchr.S: New file.
14114 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
14116         [BZ #17022]
14117         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
14118         from arguments -2 or below.
14119         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14120         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14122 2014-06-18  Andreas Schwab  <schwab@suse.de>
14124         [BZ #17062]
14125         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
14126         of a bracket expr not to run off the end of the string.
14127         * posix/Makefile (tests): Add tst-fnmatch3.
14128         * posix/tst-fnmatch3.c: New file.
14130 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
14132         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
14133         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14134         [$(cross-compiling) = no]: Likewise.
14135         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14136         [$(cross-compiling) = no]: Likewise.
14138 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14140         [BZ #17031]
14141         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
14142         double, adjusted for any remainder from the high double.
14143         * math/libm-test.inc (nearbyint): Add tests.
14144         (rint): Likewise.
14146 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14148         * nptl/sysdeps/powerpc/Makefile: Moved ...
14149         * sysdeps/powerpc/nptl/Makefile: ... here.
14150         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
14151         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
14152         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
14153         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
14154         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
14155         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
14156         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
14157         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
14158         * nptl/sysdeps/powerpc/tls.h: Moved ...
14159         * sysdeps/powerpc/nptl/tls.h: ... here.
14161 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
14163         [BZ #16681]
14164         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
14165         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
14166         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
14167         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
14168         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
14169         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
14170         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
14171         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
14172         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
14174 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
14176         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14178 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
14180         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
14181         defined operator.
14183         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
14184         $TIMEOUTFACTOR.
14186 2014-06-16  Florian Weimer  <fweimer@redhat.com>
14188         [BZ #17058]
14189         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
14190         non-executed part of the test.
14192 2014-06-16  Andreas Schwab  <schwab@suse.de>
14194         * string/bits/string2.h (strdup, strndup): Update feature guard.
14196 2014-06-14  David S. Miller  <davem@davemloft.net>
14198         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14200 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
14202         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
14203         that was previously under [RESET_PID].
14204         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
14206         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
14207         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
14208         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
14209         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14210         (__libc_vfork): New strong alias.
14211         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
14213 2014-06-14 Andi Kleen  <ak@linux.intel.com>
14215         * sysdeps/generic/elide.h: New file.
14217 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14219         * Makefile (installed-headers): Adjust path of pthread.h header.
14221 2014-06-13  Roland McGrath  <roland@hack.frob.com>
14223         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
14224         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
14225         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
14226         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
14228         * nptl/sysdeps/s390/Makefile: Moved ...
14229         * sysdeps/s390/nptl/Makefile: ... here.
14230         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
14231         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
14232         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
14233         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
14234         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
14235         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
14236         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
14237         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
14238         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
14239         * sysdeps/s390/nptl/pthreaddef.h: ... here.
14240         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
14241         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
14242         * nptl/sysdeps/s390/tls.h: Moved ...
14243         * sysdeps/s390/nptl/tls.h: ... here.
14245         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
14246         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
14248 2014-06-13  David S. Miller  <davem@davemloft.net>
14250         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
14251         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
14252         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
14253         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
14254         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
14255         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
14256         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
14257         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
14258         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
14259         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
14260         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
14261         Remove RESET_PID cpp guards.
14262         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
14263         Remove RESET_PID cpp guards.
14264         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
14266 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
14268         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
14269         __sp to uintptr_t.
14271 2014-06-13  Andi Kleen  <ak@linux.intel.com>
14273         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
14274         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
14275         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
14276         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
14277         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
14278         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
14279         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
14280         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
14281         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
14282         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
14283         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
14284         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
14285         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
14286         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
14287         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
14288         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
14289         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
14290         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
14291         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
14292         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
14294         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
14295         (pthread_rwlock_rdlock): Add elision.
14296         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
14297         (pthread_rwlock_wrlock): Add elision.
14298         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
14299         (pthread_rwlock_trywrlock): Add elision.
14300         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
14301         (pthread_rwlock_tryrdlock): Add elision.
14302         * nptl/pthread_rwlock_unlock.c: Include elide.h.
14303         (pthread_rwlock_tryrdlock): Add elision unlock.
14304         * nptl/sysdeps/pthread/pthread.h:
14305         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
14306         (PTHREAD_RWLOCK_INITIALIZER,
14307         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
14308         Handle new elision field.
14309         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
14310         * sysdeps/arm/nptl/bits/pthreadtypes.h
14311         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14312         * sysdeps/sh/nptl/bits/pthreadtypes.h
14313         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14314         * sysdeps/tile/nptl/bits/pthreadtypes.h
14315         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14316         * sysdeps/a/nptl/bits/pthreadtypes.h
14317         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14318         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14319         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14320         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14321         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14322         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
14323         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14324         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14325         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14326         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14327         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14328         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14329         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14330         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14331         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14332         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
14333         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14334         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
14335         (elision_init): Set try_xbegin to zero when no RTM.
14336         * sysdeps/x86/nptl/bits/pthreadtypes.h
14337         (pthread_rwlock_t): Change __pad1 to __rwelision.
14338         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14340 2014-06-13  Andi Kleen  <ak@linux.intel.com>
14342         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
14343         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
14344         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
14345         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
14347 2014-06-13  Meador Inge  <meadori@codesourcery.com>
14349         [BZ #16996]
14350         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
14351         that the cached result has been set before returning it.
14353 2014-06-12  Roland McGrath  <roland@hack.frob.com>
14355         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
14356         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
14357         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
14358         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
14359         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
14360         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
14362         * nptl/sysdeps/sparc/Makefile: Moved ...
14363         * sysdeps/sparc/nptl/Makefile: ... here.
14364         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
14365         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
14366         * nptl/sysdeps/sparc/tls.h: Moved ...
14367         * sysdeps/sparc/nptl/tls.h: ... here.
14368         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
14369         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
14370         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
14371         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
14372         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
14373         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
14374         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
14375         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
14376         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
14377         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
14378         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
14379         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
14380         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
14381         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
14382         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
14383         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
14384         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
14385         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
14386         Update #include.
14387         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
14388         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
14389         Update #include.
14390         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
14391         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
14392         Update #include.
14393         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
14394         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
14395         Update #include.
14397         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14399         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
14400         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
14402         * sysdeps/pthread/posix-timer.h: Include <list.h>.
14403         (struct list_links): Type removed.
14404         (struct thread_node, struct timer_node): Replace struct list_links
14405         with struct list_head.
14406         (list_unlink_ip): Likewise.
14407         * sysdeps/pthread/timer_routines.c
14408         (timer_free_list, thread_free_list, thread_active_list): Likewise.
14409         (list_append, list_insbefore): Likewise.
14410         (list_init): Function removed.
14411         (thread_init, init_module): Use INIT_LIST_HEAD instead.
14412         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
14413         * sysdeps/pthread/Makefile: ... here, new file.
14415         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
14416         * sysdeps/nptl/Implies: ... here.
14417         * sysdeps/unix/sysv/linux/Implies: Add nptl.
14418         * nptl/sysdeps/pthread/list.h: Moved ...
14419         * include/list.h: ... here.
14420         * nptl/sysdeps/pthread/createthread.c: Moved ...
14421         * nptl/createthread.c: ... here.
14422         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
14423         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
14424         * nptl/pt-longjmp.c: ... here.
14425         * nptl/sysdeps/pthread/Makefile: Moved ...
14426         * sysdeps/nptl/Makefile: ... here.
14427         * nptl/sysdeps/pthread/Subdirs: Moved ...
14428         * sysdeps/nptl/Subdirs: ... here.
14429         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
14430         * sysdeps/nptl/aio_misc.h: ... here.
14431         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
14432         * sysdeps/nptl/bits/libc-lock.h: ... here.
14433         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
14434         * sysdeps/nptl/bits/libc-lockP.h: ... here.
14435         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
14436         * sysdeps/nptl/bits/stdio-lock.h: ... here.
14437         * nptl/sysdeps/pthread/configure: Moved ...
14438         * sysdeps/nptl/configure: ... here.
14439         * nptl/sysdeps/pthread/configure.ac: Moved ...
14440         * sysdeps/nptl/configure.ac: ... here.
14441         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
14442         * sysdeps/nptl/gai_misc.h: ... here.
14443         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
14444         * sysdeps/nptl/librt-cancellation.c: ... here.
14445         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
14446         * sysdeps/nptl/malloc-machine.h: ... here.
14447         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
14448         * sysdeps/nptl/pthread-functions.h: ... here.
14449         * nptl/sysdeps/pthread/pthread.h: Moved ...
14450         * sysdeps/nptl/pthread.h: ... here.
14451         * nptl/sysdeps/pthread/setxid.h: Moved ...
14452         * sysdeps/nptl/setxid.h: ... here.
14453         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
14454         * sysdeps/nptl/sigfillset.c: ... here.
14455         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
14456         * sysdeps/nptl/tcb-offsets.h: ... here.
14457         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
14458         * sysdeps/nptl/tst-mqueue8x.c: ... here.
14459         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
14460         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
14461         * nptl/sysdeps/pthread/allocalim.h: Moved ...
14462         * sysdeps/pthread/allocalim.h: ... here.
14463         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
14464         * sysdeps/pthread/bits/sigthread.h: ... here.
14465         * nptl/sysdeps/pthread/flockfile.c: Moved ...
14466         * sysdeps/pthread/flockfile.c: ... here.
14467         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
14468         * sysdeps/pthread/ftrylockfile.c: ... here.
14469         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
14470         * sysdeps/pthread/funlockfile.c: ... here.
14471         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
14472         * sysdeps/pthread/posix-timer.h: ... here.
14473         * nptl/sysdeps/pthread/timer_create.c: Moved ...
14474         * sysdeps/pthread/timer_create.c: ... here.
14475         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
14476         * sysdeps/pthread/timer_delete.c: ... here.
14477         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
14478         * sysdeps/pthread/timer_getoverr.c: ... here.
14479         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
14480         * sysdeps/pthread/timer_gettime.c: ... here.
14481         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
14482         * sysdeps/pthread/timer_routines.c: ... here.
14483         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
14484         * sysdeps/pthread/timer_settime.c: ... here.
14485         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
14486         * sysdeps/pthread/tst-timer.c: ... here.
14487         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
14488         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
14490         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
14491         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
14493         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
14494         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
14495         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
14496         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
14497         Update #include target.
14498         * nptl/sysdeps/i386/i686/Makefile: Moved ...
14499         * sysdeps/i386/i686/nptl/Makefile: ... here.
14500         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
14501         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
14502         Update #include target.
14503         * nptl/sysdeps/i386/i686/tls.h: Moved ...
14504         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
14505         * nptl/sysdeps/i386/Makefile: Moved ...
14506         * sysdeps/i386/nptl/Makefile: ... here.
14507         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
14508         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
14509         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
14510         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
14511         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
14512         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
14513         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
14514         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
14515         * sysdeps/i386/nptl/pthreaddef.h: ... here.
14516         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
14517         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
14518         * nptl/sysdeps/i386/tls.h: Moved ...
14519         * sysdeps/i386/nptl/tls.h: ... here.
14521         * sysdeps/sh/Makefile [$(subdir) = csu]
14522         (gen-as-const-headers): Add tcb-offsets.sym.
14523         * nptl/sysdeps/sh/Makefile: File removed.
14524         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
14525         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
14526         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
14527         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
14528         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
14529         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
14530         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
14531         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
14532         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
14533         * sysdeps/sh/nptl/pthreaddef.h: ... here.
14534         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
14535         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
14536         * nptl/sysdeps/sh/tls.h: Moved ...
14537         * sysdeps/sh/nptl/tls.h: ... here.
14538         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
14539         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
14540         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
14541         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
14542         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
14543         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
14544         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
14545         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
14546         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
14547         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
14548         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
14549         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
14550         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
14551         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
14552         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
14553         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
14554         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
14555         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
14556         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
14557         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
14558         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
14559         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
14560         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
14561         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
14562         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
14563         Moved ...
14564         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
14565         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
14566         Moved ...
14567         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
14568         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
14569         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
14570         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
14571         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
14572         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
14573         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
14574         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
14575         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
14576         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
14577         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
14578         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
14579         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
14580         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
14581         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
14582         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
14583         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
14584         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
14585         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
14587 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14589         * posix/spawn_faction_addopen.c: Include string.h.
14591 2014-06-11  Roland McGrath  <roland@hack.frob.com>
14593         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
14594         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
14595         * nptl/sysdeps/x86_64/Makefile: Moved ...
14596         * sysdeps/x86_64/nptl/Makefile: ... here.
14597         * nptl/sysdeps/x86_64/configure: Moved ...
14598         * sysdeps/x86_64/nptl/configure: ... here.
14599         * nptl/sysdeps/x86_64/configure.ac: Moved ...
14600         * sysdeps/x86_64/nptl/configure.ac: ... here.
14601         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
14602         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
14603         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
14604         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
14605         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
14606         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
14607         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
14608         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
14609         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
14610         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
14611         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
14612         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
14613         * nptl/sysdeps/x86_64/tls.h: Moved ...
14614         * sysdeps/x86_64/nptl/tls.h: ... here.
14615         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
14616         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
14617         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
14618         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
14620         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
14622 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14626 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
14628         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
14629         type.
14630         [POSIX] (off_t): Likewise.
14631         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
14632         [POSIX] (S_ISBLK): Require macro.
14633         [POSIX] (S_ISCHR): Likewise.
14634         [POSIX] (S_ISDIR): Likewise.
14635         [POSIX] (S_ISFIFO): Likewise.
14636         [POSIX] (S_ISREG): Likewise.
14637         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
14638         optional-macro.
14639         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
14640         type.
14641         [POSIX] (time_t): Likewise.
14642         [POSIX] (timer_t): Likewise.
14644 2014-06-11  Florian Weimer  <fweimer@redhat.com>
14646         [BZ #17048]
14647         * posix/spawn_int.h (struct __spawn_action): Make the path string
14648         non-const to support deallocation.
14649         * posix/spawn_faction_addopen.c
14650         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
14651         * posix/spawn_faction_destroy.c
14652         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
14653         path in all spawn_do_open actions.
14654         * posix/tst-spawn.c (do_test): Exercise the copy operation in
14655         posix_spawn_file_actions_addopen.
14657 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
14659         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
14660         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
14661         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
14662         conditional code always true.
14663         (__libc_vfork): New alias.
14665 2014-06-11  Roland McGrath  <roland@hack.frob.com>
14667         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14668         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
14670         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
14672         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14673         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
14675         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14676         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
14678         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14679         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
14681 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14683         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
14684         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
14685         multiarch strcmp for PPC64.
14686         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
14687         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
14688         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
14689         multiarch optimizations.
14690         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14691         (__libc_ifunc_impl_list): Likewise.
14693 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14695         * benchtests/scripts/validate_benchout.py: New script.
14696         * benchtests/Makefile (bench-func): Call it.
14697         * benchtests/scripts/benchout.schema.json: New file.
14699 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
14701         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
14702         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
14703         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
14704         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
14705         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
14706         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
14707         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
14708         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
14709         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
14710         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
14711         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
14712         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
14713         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
14714         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
14715         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
14716         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
14717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
14718         Moved ...
14719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
14720         ... here.
14721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
14722         Moved ...
14723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
14724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
14725         Moved ...
14726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
14727         ... here.
14728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
14729         Moved ...
14730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
14731         ... here.
14732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
14733         Moved ...
14734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
14735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
14736         Moved ...
14737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
14738         ... here.
14739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
14740         Moved ...
14741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
14742         ... here.
14743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
14744         Moved ...
14745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
14746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
14747         Moved ...
14748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
14749         ... here.
14750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
14751         Moved ...
14752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
14753         ... here.
14754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
14755         Moved ...
14756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
14757         ... here.
14758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
14759         Moved ...
14760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
14761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
14762         Moved ...
14763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
14764         ... here.
14765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
14766         Moved ...
14767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
14768         ... here.
14769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
14770         Moved ...
14771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
14772         ... here.
14773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
14774         Moved ...
14775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
14776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
14777         Moved ...
14778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
14779         ... here.
14780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
14781         Moved ...
14782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
14783         ... here.
14784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
14785         Moved ...
14786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
14787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
14788         Moved ...
14789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
14790         ... here.
14791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
14792         Moved ...
14793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
14794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
14795         Moved ...
14796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
14797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
14798         Moved ...
14799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
14800         ... here.
14801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
14802         Moved ...
14803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
14804         ... here.
14805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
14806         Moved ...
14807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
14808         ... here.
14809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
14810         Moved ...
14811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
14812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
14813         Moved ...
14814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
14815         ... here.
14816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
14817         Moved ...
14818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
14819         ... here.
14820         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
14821         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
14822         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
14823         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
14824         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
14825         Moved ...
14826         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
14827         ... here.
14828         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
14829         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
14830         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
14831         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
14832         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
14833         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
14834         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
14835         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
14836         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
14837         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
14838         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
14839         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
14840         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
14841         Moved ...
14842         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
14843         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
14844         Moved ...
14845         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
14846         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
14847         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
14848         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
14849         Moved ...
14850         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
14851         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
14852         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
14853         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
14854         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
14855         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
14856         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
14858 2014-06-10  Wilco  <wdijkstr@arm.com>
14860         * math/test-fenv-return.c: New file.
14861         * math/Makefile: Add new test test-fenv-return.
14863 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
14865         [BZ #17042]
14866         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
14867         when x - 1 is zero.
14868         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
14869         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14870         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
14871         0.0L for an argument of 1.0L.
14872         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14873         Likewise.
14874         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
14875         value when x - 1 is zero.
14876         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
14877         * sysdeps/i386/fpu/libm-test-ulps: Update.
14878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14880 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
14882         [BZ #15119]
14883         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
14885 2014-06-09  Roland McGrath  <roland@hack.frob.com>
14887         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
14888         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
14890 2014-06-09  Roland McGrath  <roland@hack.frob.com>
14892         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14893         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
14895         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14896         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
14898         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14899         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
14901         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14902         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
14904         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
14905         if not already defined.
14906         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
14907         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
14908         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
14909         (TLS_INIT_TP): Use it.
14910         (TLS_DEFINE_INIT_TP): New macro.
14911         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
14913 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
14915         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
14916         constant.
14917         [POSIX] (IXANY): Likewise.
14918         [POSIX] (OLCUC): Likewise.
14919         [POSIX || POSIX2008] (CBAUD): Do not allow.
14920         [POSIX || POSIX2008] (DEFECHO): Likewise.
14921         [POSIX || POSIX2008] (ECHOCTL): Likewise.
14922         [POSIX || POSIX2008] (ECHOKE): Likewise.
14923         [POSIX || POSIX2008] (ECHOPRT): Likewise.
14924         [POSIX || POSIX2008] (EXTA): Likewise.
14925         [POSIX || POSIX2008] (EXTB): Likewise.
14926         [POSIX || POSIX2008] (FLUSHO): Likewise.
14927         [POSIX || POSIX2008] (LOBLK): Likewise.
14928         [POSIX || POSIX2008] (PENDIN): Likewise.
14929         [POSIX || POSIX2008] (SWTCH): Likewise.
14930         [POSIX || POSIX2008] (VDISCARD): Likewise.
14931         [POSIX || POSIX2008] (VDSUSP): Likewise.
14932         [POSIX || POSIX2008] (VLNEXT): Likewise.
14933         [POSIX || POSIX2008] (VREPRINT): Likewise.
14934         [POSIX || POSIX2008] (VSTATUS): Likewise.
14935         [POSIX || POSIX2008] (VWERASE): Likewise.
14936         (B*): Change to B[0123456789]*.
14937         * conform/data/time.h-data [POSIX || UNIX98]
14938         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
14939         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14940         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
14941         [POSIX] (tm_*): Do not allow.
14943 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
14945         * Makefile (install): Don't set LANGUAGE.
14946         * Makefile.in (install): Likewise.
14947         * assert/Makefile (test-assert-ENV): Remove variable.
14948         (test-assert-perr-ENV): Likewise.
14949         * elf/Makefile (neededtest4-ENV): Likewise.
14950         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14951         [$(cross-compiling) = no]: Don't set LANGUAGE.
14952         * io/ftwtest-sh (LANG): Remove variable.
14953         * libio/Makefile (tst-widetext-ENV): Likewise.
14954         * manual/install.texi (Running make install): Don't refer to
14955         environment settings for make install.
14956         * INSTALL: Regenerated.
14957         * nptl/tst-tls6.sh: Don't set LANG.
14958         * posix/globtest.sh (LANG): Remove variable.
14959         * string/Makefile (tester-ENV): Likewise.
14960         (inl-tester-ENV): Likewise.
14961         (noinl-tester-ENV): Likewise.
14962         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14963         [$(cross-compiling) = no]: Don't set LANGUAGE.
14964         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
14965         without explicit environment settings.
14967 2014-06-06  Roland McGrath  <roland@hack.frob.com>
14969         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
14970         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
14971         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
14972         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
14974 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
14976         * crypt/crypt-private.h [DOS]: Add some includes taken from the
14977         other files in the crypt directory.
14978         * crypt/crypt.c: Remove duplicate includes.
14979         * crypt/crypt-entry.c: Likewise.
14980         * crypt/crypt_util.c: Likewise.
14982 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
14984         * Makeconfig (run-program-env): New variable.
14985         (run-program-prefix-before-env): Likewise.
14986         (run-program-prefix-after-env): Likewise.
14987         (run-program-prefix): Define in terms of new variables.
14988         (built-program-cmd-before-env): New variable.
14989         (built-program-cmd-after-env): Likewise.
14990         (built-program-cmd): Define in terms of new variables.
14991         (test-program-prefix-before-env): New variable.
14992         (test-program-prefix-after-env): Likewise.
14993         (test-program-prefix): Define in terms of new variables.
14994         (test-program-cmd-before-env): New variable.
14995         (test-program-cmd-after-env): Likewise.
14996         (test-program-cmd): Define in terms of new variables.
14997         * Rules (make-test-out): Use $(run-program-env).
14998         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
14999         (help): Do not mention environment variables.  Mention
15000         --timeoutfactor option.
15001         (timeoutfactor): New variable.
15002         (blacklist_exports): Remove function.
15003         (exports): Remove variable.
15004         (command): Do not include ${exports}.
15005         * manual/install.texi (Configuring and compiling): Do not mention
15006         test wrappers preserving environment variables.  Mention that last
15007         assignment to a variable must take precedence.
15008         * INSTALL: Regenerated.
15009         * benchtests/Makefile (run-bench): Use $(run-program-env).
15010         * catgets/Makefile ($(objpfx)test1.cat): Use
15011         $(built-program-cmd-before-env), $(run-program-env) and
15012         $(built-program-cmd-after-env).
15013         ($(objpfx)test2.cat): Do not specify environment variables
15014         explicitly.
15015         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
15016         $(run-program-env) and $(built-program-cmd-after-env).
15017         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
15018         $(run-program-env) and $(test-program-cmd-after-env).
15019         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
15020         explicitly.
15021         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
15022         run_program_env and test_program_cmd_after_env arguments.
15023         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
15024         * elf/tst-pathopt.sh: Use run_program_env argument.
15025         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
15026         $(test-wrapper-env) and $(run-program-env).
15027         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
15028         run_program_env arguments.
15029         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
15030         * intl/Makefile ($(objpfx)tst-gettext.out): Use
15031         $(test-program-prefix-before-env), $(run-program-env) and
15032         $(test-program-prefix-after-env).
15033         ($(objpfx)tst-gettext2.out): Likewise.
15034         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
15035         run_program_env and test_program_prefix_after_env arguments.
15036         * intl/tst-gettext2.sh: Likewise.
15037         * intl/tst-gettext4.sh: Do not set environment variables
15038         explicitly.
15039         * intl/tst-gettext6.sh: Likewise.
15040         * intl/tst-translit.sh: Likewise.
15041         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
15042         $(test-program-prefix-before-env), $(run-program-env) and
15043         $(test-program-prefix-after-env).
15044         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
15045         run_program_env and test_program_prefix_after_env arguments.
15046         * math/Makefile (run-regen-ulps): Use $(run-program-env).
15047         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
15048         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
15049         explicitly with each use of ${test_wrapper_env}.
15050         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
15051         $(test-program-prefix-before-env), $(run-program-env) and
15052         $(test-program-prefix-after-env).
15053         * posix/tst-getconf.sh: Do not set environment variables
15054         explicitly.
15055         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
15056         run_program_env and test_program_prefix_after_env arguments.
15057         * stdio-common/tst-printf.sh: Do not set environment variables
15058         explicitly.
15059         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
15060         $(test-program-prefix-before-env), $(run-program-env) and
15061         $(test-program-prefix-after-env).
15062         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
15063         run_program_env and test_program_prefix_after_env arguments.
15064         Split $test calls into $test_pre and $test.
15065         * timezone/Makefile (build-testdata): Use
15066         $(built-program-cmd-before-env), $(run-program-env) and
15067         $(built-program-cmd-after-env).
15069 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15071         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
15072         strlen for non SHARED builds.
15074 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15076         * nptl/allocatestack.c (check_list): Inlined function...
15077         (__reclaim_stacks): ... here.
15079 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
15081         [BZ #15698]
15082         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15083         memory overrun.
15085 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
15087         * Rules (make-test-out): Include
15088         LOCPATH=$(common-objpfx)localedata in default environment.
15089         * debug/Makefile (tst-chk1-ENV): Remove variable.
15090         (tst-chk2-ENV): Likewise.
15091         (tst-chk3-ENV): Likewise.
15092         (tst-chk4-ENV): Likewise.
15093         (tst-chk5-ENV): Likewise.
15094         (tst-chk6-ENV): Likewise.
15095         (tst-lfschk1-ENV): Likewise.
15096         (tst-lfschk2-ENV): Likewise.
15097         (tst-lfschk3-ENV): Likewise.
15098         (tst-lfschk4-ENV): Likewise.
15099         (tst-lfschk5-ENV): Likewise.
15100         (tst-lfschk6-ENV): Likewise.
15101         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
15102         (tst-iconv7-ENV): Likewise.
15103         * intl/Makefile (LOCPATH-ENV): Likewise.
15104         (tst-codeset-ENV): Likewise.
15105         (tst-gettext3-ENV): Likewise.
15106         (tst-gettext5-ENV): Likewise.
15107         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
15108         (tst-fopenloc-ENV): Likewise.
15109         (tst-fgetws-ENV): Remove variable.
15110         (tst-ungetwc1-ENV): Likewise.
15111         (tst-ungetwc2-ENV): Likewise.
15112         (bug-ungetwc2-ENV): Likewise.
15113         (tst-swscanf-ENV): Likewise.
15114         (bug-ftell-ENV): Likewise.
15115         (tst-fgetwc-ENV): Likewise.
15116         (tst-fseek-ENV): Likewise.
15117         (tst-ftell-partial-wide-ENV): Likewise.
15118         (tst-ftell-active-handler-ENV): Likewise.
15119         (tst-ftell-append-ENV): Likewise.
15120         * posix/Makefile (tst-fnmatch-ENV): Likewise.
15121         (tst-regexloc-ENV): Likewise.
15122         (bug-regex1-ENV): Likewise.
15123         (tst-regex-ENV): Likewise.
15124         (tst-regex2-ENV): Likewise.
15125         (bug-regex5-ENV): Likewise.
15126         (bug-regex6-ENV): Likewise.
15127         (bug-regex17-ENV): Likewise.
15128         (bug-regex18-ENV): Likewise.
15129         (bug-regex19-ENV): Likewise.
15130         (bug-regex20-ENV): Likewise.
15131         (bug-regex22-ENV): Likewise.
15132         (bug-regex23-ENV): Likewise.
15133         (bug-regex25-ENV): Likewise.
15134         (bug-regex26-ENV): Likewise.
15135         (bug-regex30-ENV): Likewise.
15136         (bug-regex32-ENV): Likewise.
15137         (bug-regex33-ENV): Likewise.
15138         (bug-regex34-ENV): Likewise.
15139         (bug-regex35-ENV): Likewise.
15140         (tst-rxspencer-ENV): Likewise.
15141         (tst-rxspencer-no-utf8-ENV): Likewise.
15142         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
15143         (tst-sscanf-ENV): Likewise.
15144         (tst-swprintf-ENV): Likewise.
15145         (tst-swscanf-ENV): Likewise.
15146         (test-vfprintf-ENV): Likewise.
15147         (scanf13-ENV): Likewise.
15148         (bug14-ENV): Likewise.
15149         (tst-grouping-ENV): Likewise.
15150         * stdlib/Makefile (tst-strtod-ENV): Likewise.
15151         (tst-strtod3-ENV): Likewise.
15152         (tst-strtod4-ENV): Likewise.
15153         (tst-strtod5-ENV): Likewise.
15154         (testmb2-ENV): Likewise./
15155         * string/Makefile (tst-strxfrm-ENV): Likewise.
15156         (tst-strxfrm2-ENV): Likewise.
15157         (bug-strcoll1-ENV): Likewise.
15158         (test-strcasecmp-ENV): Likewise.
15159         (test-strncasecmp-ENV): Likewise.
15160         * time/Makefile (tst-strptime-ENV): Likewise.
15161         (tst-ftime_l-ENV): Likewise.
15162         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
15163         (tst-mbrtowc-ENV): Likewise.
15164         (tst-wcrtomb-ENV): Likewise.
15165         (tst-mbrtowc2-ENV): Likewise.
15166         (tst-c16c32-1-ENV): Likewise.
15167         (tst-mbsnrtowcs-ENV): Likewise.
15169 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
15171         * manual/resource.texi (How to get information about the memory
15172         subsystem?): Fix typo.
15173         Reported by Peon de la Parra Ivan <peon@keba.com>
15175 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
15177         [BZ #16882]
15178         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
15179         (pthread_spin_lock): Branch out of spin loop to proper location.
15180         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
15181         (pthread_spin_lock): Likewise.
15183         * nptl/tst-spin4.c: New test.
15184         * nptl/Makefile (tests): Add tst-spin4.
15186 2014-06-03  Andreas Schwab  <schwab@suse.de>
15188         [BZ #15946]
15189         * resolv/res_send.c (send_dg): Reload file descriptor after
15190         calling reopen.
15192 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
15194         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15196 2014-06-03  Richard Henderson  <rth@redhat.com>
15198         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
15199         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
15200         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
15201         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
15202         in the SAVE_PID block.
15203         (__libc_vfork): New alias.
15204         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
15206         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
15207         child in registers, not on the stack.  Remove RESET_PID conditionals.
15208         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
15210 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15212         * sysdeps/aarch64/libm-test-ulps: Regenerate.
15214 2014-06-03  Wilco  <wdijkstr@arm.com>
15216         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
15217         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
15218         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15219         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
15220         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
15221         Likewise.
15223 2014-06-03  Wilco  <wdijkstr@arm.com>
15225         * sysdeps/aarch64/fpu/math_private.h
15226         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
15227         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
15228         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
15229         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15230         Fix declarations.
15232 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15234         * crypt/crypt-private.h: Include ufc-crypt.h.
15235         (__b64_from_24bit): Declare extern.
15236         * crypt/crypt_util.c(__b64_from_24bit): New function.
15237         (b64t): New static const variable.
15238         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
15239         (b64t): Remove variable.
15240         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
15241         * crypt/sha256-crypt.c: Include crypt-private.h.
15242         (b64t): Remove variable.
15243         (__sha256_crypt_r): Remove b64_from_24bit and replace
15244         with __b64_from_24bit.
15245         * crypt/sha512-crypt.c: Likewise.
15247 2014-06-02  Roland McGrath  <roland@hack.frob.com>
15249         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
15250         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
15251         Label the code __libc_vfork rather than __vfork.
15252         [!NOT_IN_libc] (vfork): Define as weak alias.
15253         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
15254         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
15255         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
15257 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15259         * malloc/malloc.c (malloc_info): Fix format specifier for
15260         n_mmaps.
15262 2014-06-02  Wilco  <wdijkstr@arm.com>
15264         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
15265         FPCR write.
15267 2014-06-02  Wilco  <wdijkstr@arm.com>
15269         [BZ #17009]
15270         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
15271         Rewrite to reduce FPCR/FPSR accesses.
15273 2014-06-01  David S. Miller  <davem@davemloft.net>
15275         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15277 2014-05-31  David S. Miller  <davem@davemloft.net>
15279         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
15280         to occur in round to nearest mode when |x| >= 2.0
15282 2014-05-30  Richard Henderson  <rth@twiddle.net>
15284         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
15285         (PSEUDO_RET_NOERRNO): Remove.
15286         (ret): Don't redefine.
15287         (ret_NOERRNO): Define in terms of ret.
15288         (ret_ERRVAL): Likewise.
15290         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
15291         use of PSEUDO_RET; perform the error check directly.
15293 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
15295         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
15296         with __int128_t.
15298 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15300         * malloc/malloc (malloc_info): Fix formatting.
15302 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15303             Roland McGrath  <roland@hack.frob.com>
15305         * malloc/malloc (malloc_info): Also print mmapped statistics.
15307 2014-05-30  Roland McGrath  <roland@hack.frob.com>
15309         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
15310         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
15312 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
15314         * malloc/malloc.c (malloc_info): Inline mi_arena.
15316 2014-05-29  Richard Henderson  <rth@twiddle.net>
15318         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
15319         Remove comma before expanding ASM_ARGS_##nr.
15320         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
15321         Make _x0 a strict output; make _x8 a strict input; adjust expansion
15322         of ASM_ARGS_##nr.
15323         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
15324         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
15325         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
15326         (ASM_ARGS_1): Add leading comma.
15328         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
15329         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
15330         to __errno_location.
15331         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
15332         Remove the expected plt for __errno_location.
15334         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15335         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
15336         call to __read_tp.
15338         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15339         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
15340         it and break it down.
15341         (DOCARGS_0, DOCARGS_1): Do nothing.
15342         (DOCARGS_2): Update to store into the new stack frame.
15343         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
15344         (UNDOCARGS_1): Update to restore from the new stack frame.
15345         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
15346         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
15348         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15349         (SINGLE_THREAD_P): New parameter for result regno.
15350         (PSEUDO): Update to match; use cbz instead of beq.
15352         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15353         Use ENTRY to define the _nocancel entry point.  Share the syscall
15354         and syscall error check paths with the cancel path.
15355         (PSEUDO_END): New.
15357         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
15358         whitespace; tabs before and after asm mnemonics.
15360 2014-05-29  Eric Wong  <normalperson@yhbt.net>
15362         [BZ #15132]
15363         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15364         Call fstat64 or stat64 internally, depending on arguments passed.
15365         Replace stat buffer argument with file descriptor argument.
15366         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
15367         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15368         Pass fd to __internal_statvfs instead of calling fstat64.
15369         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
15370         Pass fd to __internal_statvfs64 instead of calling fstat64.
15371         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
15372         Pass -1 to __internal_statvfs instead of calling stat64.
15373         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
15374         Pass -1 to __internal_statvfs64 instead of calling stat64.
15376 2014-05-28  Roland McGrath  <roland@hack.frob.com>
15378         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
15379         that was previously under [RESET_PID].
15380         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
15382         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
15383         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
15385 2014-05-27  Roland McGrath  <roland@hack.frob.com>
15387         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
15389         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
15390         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
15392 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
15394         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
15396 2014-05-27  Andreas Schwab  <schwab@suse.de>
15398         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
15399         TLS_INIT_TP macro.
15400         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
15401         * elf/rtld.c (init_tls, dl_main): Likewise.
15402         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
15403         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
15404         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
15405         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
15406         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
15407         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
15408         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
15409         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
15410         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
15411         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
15412         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
15413         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
15414         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
15415         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
15416         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
15417         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
15418         * sysdeps/generic/tls.h: Update description.
15420 2014-05-27  Will Newton  <will.newton@linaro.org>
15422         [BZ #16990]
15423         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
15424         and restore r2 rather than just restoring.
15426 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15428         [BZ #16724]
15429         * libio/tst-ftell-append.c: New test case.
15430         * libio/Makefile (tests): Add test case.
15431         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
15432         append mode.
15433         * libio/wfileops.c (do_ftell_wide): Likewise.
15435 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15437         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15439         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
15440         ...
15441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
15442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15443         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
15444         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
15445         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
15446         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
15447         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
15448         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
15449         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
15450         Moved ...
15451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
15452         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
15453         Moved ...
15454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
15455         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
15456         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
15457         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
15458         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
15459         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
15460         ...
15461         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
15462         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
15463         Moved ...
15464         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
15465         here.
15466         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
15467         ...
15468         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
15469         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
15470         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
15472         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
15473         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
15474         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
15475         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
15477         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
15478         merge into ...
15479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
15480         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
15481         ...
15482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
15483         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
15484         ...
15485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
15486         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15487         Moved ...
15488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
15489         here.
15490         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15491         Moved ...
15492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
15493         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15494         Moved ...
15495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
15497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
15498         conditional [RESET_PID].
15499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
15500         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
15501         removed.
15502         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
15503         removed.
15505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
15506         <tcb-offsets.h>.
15507         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15508         (__libc_vfork): New strong alias.
15509         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
15510         removed.
15511         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
15512         Removed.
15514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
15515         <tcb-offsets.h>.
15516         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
15517         (__libc_vfork): New strong alias.
15518         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
15519         removed.
15520         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
15521         removed.
15523 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
15525         * malloc/malloc.c (mi_arena): New function.
15526         (malloc_info): Remove nested function mi_arena. Call non-nosted
15527         function mi_arena.
15529 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15531         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
15532         by insrwi.
15533         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
15534         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
15535         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
15536         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
15537         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
15538         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
15539         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
15541 2014-05-26  Andreas Schwab  <schwab@suse.de>
15543         [BZ #16984]
15544         * locale/programs/repertoire.c (repertoire_read): Add slash
15545         between I18NPATH element and file name.
15546         * locale/programs/locfile.c (locfile_read): Likewise.
15548 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15550         * nptl/pthread_mutexattr_settype.c
15551         (__pthread_mutexattr_settype):
15552         Disable lock elision for PTHREAD_MUTEX_NORMAL.
15554 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15556         * nptl/tst-mutex5 (do_test):
15557         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
15559 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15561         * benchtests/README: Document 'init' directive.
15562         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
15563         BENCH_INIT.
15564         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
15565         (parse_file): Recognize 'init' directive.
15567 2014-05-26  Kyle McMartin  <kyle@redhat.com>
15569         [BZ #16796]
15570         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
15571         alignment of struct pthread.
15573 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15575         [BZ #16878]
15576         * nscd/netgroupcache.c (addgetnetgrentX): Look for
15577         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15578         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
15579         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15581 2014-05-25  Richard Henderson  <rth@twiddle.net>
15583         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15584         (SINGLE_THREAD_P_PIC): Remove.
15585         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
15586         (SINGLE_THREAD_P_PIC): Remove.
15588         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
15589         branch to syscall error ...
15590         (PSEUDO): ... here.
15591         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
15592         from __local_syscall_error to .Lsyscall_error.
15593         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
15594         (SYSCALL_ERROR): Update label name.
15596         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15597         Do not use DOARGS/UNDOARGS.
15598         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
15599         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
15600         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
15601         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
15602         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
15604         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
15605         block comment.
15607         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
15608         define if !NOT_IN_libc.
15609         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
15610         define with non-default symbol versions.
15612 2014-05-23  Richard Henderson  <rth@twiddle.net>
15614         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
15615         (vfork, __vfork): Define via compat_symbol.
15617         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
15618         [!HAVE_IFUNC] (vfork_compat): Remove.
15619         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
15621 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
15623         [BZ #16978]
15624         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
15625         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
15626         variable.
15628 2014-05-23  Richard Henderson  <rth@twiddle.net>
15630         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
15631         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
15632         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
15633         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
15635         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
15636         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
15637         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
15638         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
15639         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
15640         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
15641         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
15642         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
15643         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
15644         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
15645         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
15646         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
15647         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
15648         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
15649         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
15650         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
15651         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
15652         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
15653         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
15654         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
15655         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
15656         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
15657         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
15658         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
15659         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
15660         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
15661         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
15662         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
15663         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
15664         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
15665         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
15666         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
15667         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
15668         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
15669         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
15670         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
15671         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
15672         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
15673         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
15674         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
15675         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
15676         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
15677         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
15678         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
15679         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
15680         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
15681         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
15682         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
15683         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
15684         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
15685         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
15686         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
15687         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
15688         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
15689         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
15690         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
15692         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
15693         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
15694         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
15695         before exiting on error.
15696         (__libc_vfork): New strong alias.
15697         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
15698         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
15700         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
15701         that was previously under [RESET_PID].
15702         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
15704         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
15706 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
15708         [BZ #16977]
15709         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
15710         value when x - 1 is zero.
15711         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
15712         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
15713         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
15714         0.0L for an argument of 1.0L.
15715         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
15716         Likewise.
15717         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
15718         value when x - 1 is zero.
15719         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
15720         * sysdeps/i386/fpu/libm-test-ulps: Update.
15721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15723 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
15725         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
15726         alphasort and versionsort.
15728 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15730         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
15731         macro.
15732         [copysignf]: Likewise.
15734 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15736         * crypt/md5-crypt.c: Fix formatting.
15738 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15740         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
15741         (b64_from_24bit): New function.
15743 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15745         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
15746         libc_hidden_builtin_def to ifunc.
15747         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15748         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
15750 2014-05-21  Roland McGrath  <roland@hack.frob.com>
15752         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
15753         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
15755 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
15757         * nscd/Depend (linuxthreads): Remove.
15758         (nptl): Add.
15759         * resolv/Depend (linuxthreads): Remove.
15760         * rt/Depend (linuxthreads): Remove.
15762         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
15763         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
15764         $(common-objpfx)elf/.
15765         (link-libc-before-gnulib): Likewise.
15766         (elfobjdir): Remove variable.
15767         * Makefile (install): Use $(elf-objpfx) instead of
15768         $(common-objpfx)elf/.
15769         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
15770         $(elfobjdir)/.
15771         (link-libc-deps): Likewise.
15772         ($(common-objpfx)libc.so): Likewise.
15773         ($(common-objpfx)linkobj/libc.so): Likewise.
15774         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
15775         instead of $(common-objpfx)elf/.
15776         (symbolic-link-list): Likewise.
15777         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15778         [$(cross-compiling) = no]: Likewise.
15779         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
15780         $(elfobjdir)/.
15781         (static-gnulib-arch): Likewise.
15782         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15783         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
15784         $(common-objpfx)elf/.
15786 2014-05-21  Richard Henderson  <rth@redhat.com>
15788         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15789         (SINGLE_THREAD_P): Use the correct width load.  Fold
15790         into the ldr offset.
15792         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
15793         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
15795 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
15797         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
15798         (libgcc_s_resume): Use __attribute_used__.
15799         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
15800         Likewise.
15802 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15804         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
15805         optimization when used with float constants.
15807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15809 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
15811         [BZ #16915]
15812         * locale/nl_langinfo_l.c: Make direct reference to every
15813         _nl_current_CATEGORY symbol.
15814         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
15815         (tests-static): Add tst-langinfo-static.
15816         (tests-special): Add tst-langinfo-static.out.
15817         ($(objpfx)tst-langinfo.out): Redirect output.
15818         ($(objpfx)tst-langinfo-static.out): New.
15819         * localedata/tst-langinfo.sh: Send output to stdout.
15820         * localedata/tst-langinfo-static.c: New file.
15822         [BZ #16965]
15823         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
15824         when the shift amount is modulo the limb size.
15826 2014-05-20  Richard Henderson  <rth@redhat.com>
15828         [BZ #16967]
15829         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
15830         Change type of sa_flags from unsigned int to int.
15832         [BZ #16966]
15833         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
15835         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
15837 2014-05-20  Will Newton  <will.newton@linaro.org>
15839         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15840         Test the return value of the system call in the nocancel case.
15842 2014-05-20  Will Newton  <will.newton@linaro.org>
15843             Yvan Roux  <yvan.roux@linaro.org>
15845         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
15846         #include of asm/ptrace.h.
15847         (PTRACE_GET_THREAD_AREA): Remove #undef.
15848         (PTRACE_GETHBPREGS): Likewise.
15849         (PTRACE_SETHBPREGS): Likewise.
15850         (struct user_regs_struct): New structure.
15851         (struct user_fpsimd_struct): New structure.
15852         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
15853         #include of asm/ptrace.h and second #include of sys/user.h.
15854         (PTRACE_GET_THREAD_AREA): Remove #undef.
15855         (PTRACE_GETHBPREGS): Likewise.
15856         (PTRACE_SETHBPREGS): Likewise.
15857         (ELF_NGREG): Use new struct user_regs_struct.
15858         (elf_fpregset_t): Use new struct user_fpsimd_struct.
15860 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15862         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
15863         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
15865 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
15867         [BZ #16958]
15868         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
15869         membar to avoid block loads/stores to overlap previous stores.
15871 2014-05-17  Richard Henderson  <rth@redhat.com>
15873         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
15874         Create the __##syscall_name##_nocancel entry point.
15875         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
15876         Remove; let the sysdep-cancel.h code create it.
15878 2014-05-17  David S. Miller  <davem@davemloft.net>
15880         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
15881         Protect with __USE_GNU.
15882         (TIOCSET_TEMPT): Likewise.
15883         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15884         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
15885         these are already provided in bits/ioctl-types.h
15887 2014-05-16  Roland McGrath  <roland@hack.frob.com>
15889         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
15890         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
15892         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
15893         Use wait4 regardless of [__NR_waitpid].
15895 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
15897         PR libgcc/60166
15898         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15899         (_FP_NANSIGN_Q): Set the quiet bit.
15901 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
15903         * benchtests/Makefile
15904         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
15905         not $(common-objpfx)math/libm.so.
15906         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
15907         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
15908         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
15909         $(common-objpfx)dlfcn/libdl.so.
15910         ($(objpfx)tst-audit8): Depend on $(libm), not
15911         $(common-objpfx)math/libm.so.
15912         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
15913         not $(common-objpfx)dlfcn/libdl.so.
15914         * math/Makefile
15915         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15916         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
15917         [$(build-shared) = yes].
15918         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
15919         $(common-objpfx)nptl/libpthread.so.
15920         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
15921         $(common-objpfx)math/libm.so$(libm.so-version) or
15922         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
15923         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
15924         $(common-objpfx)dlfcn/libdl.so.
15925         * setjmp/Makefile (link-libm): Remove variable.
15926         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
15927         * stdio-common/Makefile (link-libm): Remove variable.
15928         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
15929         * stdlib/Makefile (link-libm): Remove variable.
15930         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
15931         ($(objpfx)tst-strtod-round): Likewise.
15932         ($(objpfx)tst-tininess): Likewise.
15933         ($(objpfx)tst-strtod-underflow): Likewise.
15934         ($(objpfx)tst-strtod6): Likewise.
15935         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
15936         $(libdl), not $(common-objpfx)nptl/libpthread.so and
15937         $(common-objpfx)dlfcn/libdl.so.
15939 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15941         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
15942         BSD terminal modes definitions.
15944 2014-05-16  Roland McGrath  <roland@hack.frob.com>
15946         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
15947         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
15949         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
15950         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
15951         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
15952         Don't do #include_next.
15953         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
15954         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
15955         Don't do #include_next.
15956         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
15957         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
15958         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
15959         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
15961 2014-05-16  Allan McRae  <allan@archlinux.org>
15963         * po/sv.po: Update Swedish translation from translation project.
15965         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
15966         in sed expression.
15968 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
15970         [BZ #16917]
15971         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
15972         errno if the TIOCGPTN ioctl fails with an error different than
15973         EINVAL.
15974         * login/tst-ptsname.c: New file.
15975         * login/Makefile (tests): Add tst-ptsname.
15977         [BZ #16943]
15978         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
15979         and prlimit64.
15981 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15983         [BZ #16849]
15984         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
15985         herrno to return EAI_AGAIN.
15987 2014-05-14  Roland McGrath  <roland@hack.frob.com>
15989         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
15990         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
15991         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
15992         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
15993         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
15994         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
15995         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
15996         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
15997         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
15998         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
15999         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
16000         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
16001         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
16002         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
16003         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
16004         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
16005         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
16006         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
16007         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
16008         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
16009         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
16010         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
16011         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
16012         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
16013         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
16014         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
16015         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
16016         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
16017         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
16018         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
16019         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
16020         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
16021         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
16022         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
16023         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16024         Moved ...
16025         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
16026         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
16027         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
16028         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
16029         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
16030         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
16031         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
16032         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
16033         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
16034         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
16035         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
16036         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
16037         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
16038         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
16039         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
16040         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
16041         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
16042         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
16043         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
16044         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
16045         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
16046         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
16047         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
16048         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
16049         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
16050         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
16051         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
16052         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16053         Moved ...
16054         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
16055         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
16056         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
16057         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
16058         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
16059         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
16060         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
16061         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
16062         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
16063         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
16064         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
16065         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
16066         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
16067         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
16068         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
16069         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
16070         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
16071         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
16072         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
16073         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16074         Moved ...
16075         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
16076         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
16077         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
16079         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
16080         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
16081         (libpthread-sysdep_routines): Add elision-related stuff here instead.
16082         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
16083         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
16084         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
16085         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
16086         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
16087         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
16088         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
16089         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
16090         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
16091         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
16092         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
16093         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
16094         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
16095         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
16096         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
16097         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
16098         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
16099         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
16100         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
16101         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
16102         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
16103         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
16104         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
16105         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
16106         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
16107         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
16108         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
16109         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
16111         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
16112         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
16114         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
16115         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
16116         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
16117         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
16118         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
16119         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
16120         Moved ...
16121         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
16122         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16123         Moved ...
16124         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
16125         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16126         Moved ...
16127         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
16128         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
16129         Moved ...
16130         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
16131         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
16132         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
16133         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16134         Moved ...
16135         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
16136         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
16137         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
16138         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
16139         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
16140         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
16141         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
16142         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16143         Moved ...
16144         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
16145         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16146         Moved ...
16147         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16148         ... here.
16149         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
16150         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
16151         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
16152         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
16153         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16154         Moved ...
16155         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16156         ... here.
16157         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
16158         Moved ...
16159         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
16160         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
16161         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
16162         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
16163         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
16164         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
16165         Moved ...
16166         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
16167         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
16168         Moved ...
16169         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
16170         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
16171         Moved ...
16172         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
16173         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
16174         Moved ...
16175         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
16176         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
16177         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
16178         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
16179         Moved ...
16180         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
16181         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
16182         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
16183         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
16184         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
16185         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
16186         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
16187         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16188         Moved ...
16189         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
16190         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16191         Moved ...
16192         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16193         ... here.
16194         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
16195         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
16196         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
16197         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
16198         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16199         Moved ...
16200         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16201         ... here.
16202         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
16203         Moved ...
16204         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
16205         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
16206         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
16207         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
16208         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
16209         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
16210         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
16211         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
16212         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
16213         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
16214         Moved ...
16215         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
16216         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16217         Moved ...
16218         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
16219         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16220         Moved ...
16221         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
16222         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
16223         Moved ...
16224         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
16225         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
16226         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
16227         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
16228         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
16229         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16230         Moved ...
16231         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
16232         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
16233         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
16234         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
16235         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
16236         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
16237         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
16238         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16239         Moved ...
16240         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
16241         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16242         Moved ...
16243         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16244         ... here.
16245         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
16246         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
16247         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
16248         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
16249         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16250         Moved ...
16251         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16252         ... here.
16253         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
16254         Moved ...
16255         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
16256         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
16257         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
16258         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
16259         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
16260         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
16261         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
16262         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
16263         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
16264         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
16265         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
16267         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
16268         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
16270         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
16271         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
16273         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
16274         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
16275         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
16276         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
16277         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
16278         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
16279         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
16280         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
16281         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
16282         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
16283         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
16284         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
16285         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
16286         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
16287         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
16288         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
16289         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
16290         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
16291         Moved ...
16292         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
16293         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
16294         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
16295         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
16296         Moved ...
16297         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
16298         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
16299         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
16300         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
16301         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
16302         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
16303         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
16304         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
16305         Moved ...
16306         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
16307         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
16308         Moved ...
16309         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
16310         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
16311         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
16312         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
16313         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
16314         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
16315         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
16316         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
16317         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
16318         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
16319         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
16320         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
16321         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
16322         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
16323         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
16324         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
16325         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
16327         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
16328         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
16329         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
16330         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
16331         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
16333         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
16334         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
16335         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
16336         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
16337         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
16338         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
16339         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
16340         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
16341         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
16342         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
16344         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
16345         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
16347         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
16348         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
16349         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
16350         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
16351         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
16352         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
16353         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
16354         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
16355         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
16356         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
16357         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
16358         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
16359         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
16360         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
16361         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
16362         Update #include.
16363         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
16364         Likewise.
16365         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16366         Likewise.
16367         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16368         Likewise.
16369         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16370         Likewise.
16371         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
16372         Likewise.
16373         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
16374         Likewise.
16375         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16376         Likewise.
16377         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
16378         Likewise.
16379         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
16380         Likewise.
16381         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
16382         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
16383         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
16384         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
16385         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
16386         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
16387         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
16388         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
16389         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
16390         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
16391         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
16392         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
16393         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
16394         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
16395         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
16397         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
16398         that was previously under [RESET_PID].
16399         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16400         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
16401         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
16403         * sysdeps/i386/nptl/Implies: New file.
16404         * sysdeps/x86_64/nptl/Implies: New file.
16405         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
16406         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
16407         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
16408         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
16410         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
16411         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16412         (__libc_vfork): New strong alias.
16413         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
16414         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
16416         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
16417         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16418         (__libc_vfork): New strong alias.
16419         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
16420         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
16422         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
16423         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16424         (__libc_vfork): New strong alias.
16425         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
16426         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
16427         * nptl/pt-vfork.c: New file.
16428         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
16429         (libpthread: GLIBC_2.20): New version set (empty).
16431 2014-05-14  Will Newton  <will.newton@linaro.org>
16433         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
16434         rather than #if.
16436 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
16438         [BZ #16564]
16439         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
16440         arguments with exponent 65 or above.
16441         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
16442         arguments 0x1p113L or above.
16443         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
16444         to arguments 0x1p107L or above.
16445         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
16446         positive arguments with exponent 65 or above.
16447         * math/auto-libm-test-in: Add more tests of log1p.
16448         * math/auto-libm-test-out: Regenerated.
16450         [BZ #16928]
16451         * math/s_cacos.c (__cacos): Ensure zero real part of result from
16452         non-finite arguments is +0.
16453         * math/s_cacosf.c (__cacosf): Likewise.
16454         * math/s_cacosl.c (__cacosl): Likewise.
16455         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
16456         * sysdeps/i386/fpu/libm-test-ulps: Update.
16457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16459         [BZ #16927]
16460         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
16461         value.
16462         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16463         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
16464         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
16465         for explicit high bit of mantissa when testing for argument equal
16466         to 1.
16467         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
16468         * sysdeps/i386/fpu/libm-test-ulps: Update.
16469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16471         [BZ #16516]
16472         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
16473         (__erf): Scale by 16 instead of 8 in potentially underflowing
16474         case.  Ensure exception if result actually underflows.
16475         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
16476         (__erff): Scale by 16 instead of 8 in potentially underflowing
16477         case.  Ensure exception if result actually underflows.
16478         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
16479         (efx8): Remove variable.
16480         (__erfl): Scale by 16 instead of 8 in potentially underflowing
16481         case.  Ensure exception if result actually underflows.
16482         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
16483         (efx8): Remove variable.
16484         (__erfl): Scale by 16 instead of 8 in potentially underflowing
16485         case.  Ensure exception if result actually underflows.
16486         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
16487         (efx8): Remove variable.
16488         (__erfl): Scale by 16 instead of 8 in potentially underflowing
16489         case.  Ensure exception if result actually underflows.
16490         * math/auto-libm-test-in: Add more tests of erf.
16491         * math/auto-libm-test-out: Regenerated.
16493 2014-05-14  Andreas Schwab  <schwab@suse.de>
16495         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
16496         Remove code conditionalized on USE___THREAD.
16498         * config.h.in (HAVE_PT_CHOWN): Define as 0.
16499         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
16500         not definedness.
16502 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
16504         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
16505         Define unconditionally.
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/aarch64/kernel-features.h
16514         (__ASSUME_DUP3): Do not define.
16515         (__ASSUME_EVENTFD2): Likewise.
16516         (__ASSUME_IN_NONBLOCK): Likewise.
16517         (__ASSUME_O_CLOEXEC): Likewise.
16518         (__ASSUME_PIPE2): Likewise.
16519         (__ASSUME_SIGNALFD4): Likewise.
16520         (__ASSUME_SOCK_CLOEXEC): Likewise.
16521         (__ASSUME_UTIMES): Undefine.
16522         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16523         (__ASSUME_UTIMES): Do not define.
16524         (__ASSUME_O_CLOEXEC): Likewise.
16525         (__ASSUME_SOCK_CLOEXEC): Likewise.
16526         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
16527         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
16528         0x020621].
16529         (__ASSUME_PIPE2): Likewise.
16530         (__ASSUME_EVENTFD2): Likewise.
16531         (__ASSUME_SIGNALFD4): Likewise.
16532         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
16533         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
16534         Do not define.
16535         (__ASSUME_EVENTFD2): Likewise.
16536         (__ASSUME_SIGNALFD4): Likewise.
16537         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16538         (__ASSUME_32BITUIDS): Likewise.
16539         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16540         (__ASSUME_IPC64): Likewise.
16541         (__ASSUME_ST_INO_64_BIT): Likewise.
16542         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
16543         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
16544         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16545         (__ASSUME_UTIMES): Do not define.
16546         (__ASSUME_PSELECT): Likewise.
16547         (__ASSUME_PPOLL): Likewise.
16548         (__ASSUME_O_CLOEXEC): Likewise.
16549         (__ASSUME_SOCK_CLOEXEC): Likewise.
16550         (__ASSUME_IN_NONBLOCK): Likewise.
16551         (__ASSUME_PIPE2): Likewise.
16552         (__ASSUME_EVENTFD2): Likewise.
16553         (__ASSUME_SIGNALFD4): Likewise.
16554         (__ASSUME_DUP3): Likewise.
16555         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16556         (__ASSUME_UTIMES): Likewise.
16557         (__ASSUME_O_CLOEXEC): Likewise.
16558         (__ASSUME_SOCK_CLOEXEC): Likewise.
16559         (__ASSUME_IN_NONBLOCK): Likewise.
16560         (__ASSUME_PIPE2): Likewise.
16561         (__ASSUME_EVENTFD2): Likewise.
16562         (__ASSUME_SIGNALFD4): Likewise.
16563         (__ASSUME_DUP3): Likewise.
16564         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16565         (__ASSUME_UTIMES): Likewise.
16566         (__ASSUME_O_CLOEXEC): Likewise.
16567         (__ASSUME_SOCK_CLOEXEC): Likewise.
16568         (__ASSUME_IN_NONBLOCK): Likewise.
16569         (__ASSUME_PIPE2): Likewise.
16570         (__ASSUME_EVENTFD2): Likewise.
16571         (__ASSUME_SIGNALFD4): Likewise.
16572         (__ASSUME_DUP3): Likewise.
16573         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
16574         Likewise.
16575         (__ASSUME_UTIMES): Likewise.
16576         (__ASSUME_EVENTFD2): Likewise.
16577         (__ASSUME_SIGNALFD4): Likewise.
16578         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16579         (__ASSUME_O_CLOEXEC): Likewise.
16580         (__ASSUME_SOCK_CLOEXEC): Likewise.
16581         (__ASSUME_IN_NONBLOCK): Likewise.
16582         (__ASSUME_PIPE2): Likewise.
16583         (__ASSUME_EVENTFD2): Likewise.
16584         (__ASSUME_SIGNALFD4): Likewise.
16585         (__ASSUME_DUP3): Likewise.
16586         (__ASSUME_UTIMES): Undefine.
16588         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
16589         feclearexcept.  Remove symbol versioning code.
16590         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
16591         symbol versioning code.
16592         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
16593         symbol versioning code.
16594         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
16595         feupdateenv.  Remove symbol versioning code.
16596         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
16597         fegetexceptflag.  Remove symbol versioning code.
16598         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
16599         fesetexceptflag.  Remove symbol versioning code.
16600         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
16601         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
16602         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
16603         (__posix_fadvise64_l32): Remove prototype.
16604         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
16605         code.
16607 2014-05-13  Roland McGrath  <roland@hack.frob.com>
16609         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
16610         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
16611         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
16612         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
16614 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
16616         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
16617         current working directory
16619 2014-05-13  Roland McGrath  <roland@hack.frob.com>
16621         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
16622         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
16623         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
16624         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
16625         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
16626         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
16627         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
16628         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
16629         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
16630         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
16631         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
16632         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
16633         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
16634         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
16635         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
16636         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
16637         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
16638         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
16639         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
16640         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
16641         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
16642         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
16643         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
16644         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
16645         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
16646         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
16647         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
16648         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
16649         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
16650         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
16651         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
16652         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
16653         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
16654         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
16655         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
16656         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
16657         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
16658         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
16659         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
16660         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
16661         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
16662         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
16664         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
16665         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
16667         * sysdeps/unix/sysv/linux/arm/Makefile
16668         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16669         Add rt-aeabi_unwind_cpp_pr1.
16670         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
16671         Add nptl-aeabi_unwind_cpp_pr1.
16672         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
16673         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
16674         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
16675         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16676         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
16677         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16679         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
16680         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
16681         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
16682         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
16684         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
16685         Deconditionalize the code that was previously under [RESET_PID].
16686         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
16688         * sysdeps/generic/exit-thread.h: New file.
16689         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
16690         * include/unistd.h (__exit_thread): Remove declaration.
16691         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
16692         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
16693         * csu/libc-start.c: Include <exit-thread.h>.
16694         (LIBC_START_MAIN): Pass no argument to __exit_thread.
16695         * nptl/pthread_create.c: Include <exit-thread.h>.
16696         (start_thread): Call __exit_thread in place of __exit_thread_inline.
16697         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
16698         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
16699         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
16700         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
16701         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
16702         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
16703         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
16704         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
16705         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
16706         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
16707         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
16708         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
16709         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
16710         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
16711         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
16712         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
16714 2014-05-13  Andreas Schwab  <schwab@suse.de>
16716         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
16718 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
16720         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16721         (__ASSUME_UTIMES): Do not condition on kernel version.
16722         (__ASSUME_PSELECT): Define unconditionally.
16723         (__ASSUME_PPOLL): Likewise.
16724         (__ASSUME_ATFCTS): Likewise.
16725         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
16726         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
16727         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
16728         (__ASSUME_UTIMENSAT): Define unconditionally.
16729         (__ASSUME_PRIVATE_FUTEX): Likewise.
16730         (__ASSUME_FALLOCATE): Likewise.
16731         (__ASSUME_O_CLOEXEC): Likewise.
16732         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
16733         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
16734         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
16735         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
16736         (__ASSUME_IN_NONBLOCK): Likewise.
16737         (__ASSUME_PIPE2): Likewise.
16738         (__ASSUME_EVENTFD2): Likewise.
16739         (__ASSUME_SIGNALFD4): Likewise.
16740         (__ASSUME_DUP3): Likewise.
16741         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16742         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
16743         (__ASSUME_AT_RANDOM): Likewise.
16744         (__ASSUME_PREADV): Likewise.
16745         (__ASSUME_PWRITEV): Likewise.
16746         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
16747         (__ASSUME_F_GETOWN_EX): Define unconditionally.
16748         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
16749         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16750         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
16751         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16752         (__ASSUME_O_CLOEXEC): Define unconditionally.
16753         (__ASSUME_PSELECT): Do not undefine conditionally.
16754         (__ASSUME_PPOLL): Likewise.
16755         (__ASSUME_ATFCTS): Likewise.
16756         (__ASSUME_SET_ROBUST_LIST): Likewise.
16757         (__ASSUME_UTIMENSAT): Likewise.
16758         (__ASSUME_FDATASYNC): Define unconditionally.
16759         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16760         (__ASSUME_SIGFRAME_V2): Likewise.
16761         )__ASSUME_EVENTFD2): Likewise.
16762         (__ASSUME_SIGNALFD4): Likewise.
16763         (__ASSUME_PSELECT): Do not undefine conditionally.
16764         (__ASSUME_PPOLL): Likewise.
16765         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16766         (__ASSUME_PSELECT): Define unconditionally.
16767         (__ASSUME_PPOLL): Likewise.
16768         (__ASSUME_O_CLOEXEC): Likewise.
16769         (__ASSUME_SOCK_CLOEXEC): Likewise.
16770         (__ASSUME_IN_NONBLOCK): Likewise.
16771         (__ASSUME_PIPE2): Likewise.
16772         (__ASSUME_EVENTFD2): Likewise.
16773         (__ASSUME_SIGNALFD4): Likewise.
16774         (__ASSUME_DUP3): Likewise.
16775         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16776         (__ASSUME_O_CLOEXEC): Likewise.
16777         (__ASSUME_SOCK_CLOEXEC): Likewise.
16778         (__ASSUME_IN_NONBLOCK): Likewise.
16779         (__ASSUME_PIPE2): Likewise.
16780         (__ASSUME_EVENTFD2): Likewise.
16781         (__ASSUME_SIGNALFD4): Likewise.
16782         (__ASSUME_DUP3): Likewise.
16783         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16784         (__ASSUME_EVENTFD2): Likewise.
16785         (__ASSUME_SIGNALFD4): Likewise.
16786         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16788 2014-05-12  Andreas Schwab  <schwab@suse.de>
16790         [BZ #16932]
16791         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
16792         (_nss_nis_gethostbyname4_r): Return error if item length is larger
16793         than maximum RPC packet size.
16794         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
16795         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
16796         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
16797         (_nss_nis_getservbyport_r): Likewise.
16799 2014-05-12  Will Newton  <will.newton@linaro.org>
16801         * malloc/Makefile (tests): Add tst-mallopt.
16802         * malloc/tst-mallopt.c: New file.
16804 2014-05-09  Roland McGrath  <roland@hack.frob.com>
16806         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
16807         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
16809 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16811         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
16812         (tst-tlsmod6.so): Likewise.
16814 2014-05-09  Roland McGrath  <roland@hack.frob.com>
16816         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
16818 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
16820         [BZ #16064]
16821         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
16822         and <dl-procinfo.h>.
16823         (__fegetenv): Save SSE state in envp->__eip if supported.
16824         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
16825         envp->__eip if supported.
16826         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
16827         and <dl-procinfo.h>.
16828         (__fesetenv): Always set __eip, __cs_selector, __opcode,
16829         __data_offset and __data_selector in environment to 0.  Set SSE
16830         state if supported.
16831         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16832         test-fenv-sse.
16833         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
16834         -mfpmath=sse.
16835         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
16837 2014-05-09  Will Newton  <will.newton@linaro.org>
16839         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
16840         and libc_relro_required for ARM.
16841         * sysdeps/arm/preconfigure: Regenerate.
16843 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
16844             Stefan Liebler  <stli@linux.vnet.ibm.com>
16846         * config.make.in (enable-lock-elision): New Makefile variable.
16847         * configure.ac: Likewise.
16848         * configure: Regenerate.
16849         * sysdeps/s390/configure.ac:
16850         Add check for gcc transactions support.
16851         * sysdeps/s390/configure: Regenerate.
16852         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
16853         Build elision files if enabled.
16854         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
16855         Add lock elision support for s390.
16856         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
16857         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
16858         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
16859         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
16860         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
16861         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
16862         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16863         Likewise.
16864         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
16865         Likewise.
16866         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
16867         Likewise.
16868         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
16869         Likewise.
16870         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
16871         (__lll_timedlock_elision, __lll_lock_elision)
16872         (__lll_unlock_elision, __lll_trylock_elision)
16873         (lll_timedlock_elision, lll_lock_elision)
16874         (lll_unlock_elision, lll_trylock_elision): Add.
16875         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16876         (pthread_mutex_t): Add lock elision support for s390.
16878 2014-05-14  Wilco  <wdijkstr@arm.com>
16880         * sysdeps/arm/fclrexcpt.c: Cleanup.
16881         * sysdeps/arm/fedisblxcpt.c: Cleanup.
16882         * sysdeps/arm/feenablxcpt.c: Cleanup.
16883         * sysdeps/arm/fegetenv.c: Cleanup.
16884         * sysdeps/arm/fegetexcept.c: Cleanup.
16885         * sysdeps/arm/fegetround.c: Cleanup.
16886         * sysdeps/arm/feholdexcpt.c: Cleanup.
16887         * sysdeps/arm/fesetenv.c: Cleanup.
16888         * sysdeps/arm/fesetround.c: Cleanup.
16889         * sysdeps/arm/feupdateenv.c: Cleanup.
16890         * sysdeps/arm/fgetexcptflg.c: Cleanup.
16891         * sysdeps/arm/fraiseexcpt.c: Cleanup.
16892         * sysdeps/arm/fsetexcptflg.c: Cleanup.
16893         * sysdeps/arm/ftestexcept.c: Cleanup.
16894         * sysdeps/arm/get-rounding-mode.h: Cleanup.
16895         * sysdeps/arm/setfpucw.c: Cleanup.
16897 2014-05-09  Will Newton  <will.newton@linaro.org>
16899         * sysdeps/arm/armv7/strcmp.S: New file.
16900         * NEWS: Mention addition of ARMv7 optimized strcmp.
16902 2014-05-08  Roland McGrath  <roland@hack.frob.com>
16904         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
16905         look for %.ac rather than %.in.
16907         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
16908         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
16909         * sysdeps/mach/hurd/configure: Regenerated.
16910         * sysdeps/unix/sysv/linux/configure: Regenerated.
16912         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
16914 2014-05-07  Steve Ellcey  <sellcey@mips.com>
16916         [BZ# 16922]
16917         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
16918         (LONG_SUB): Ditto.
16919         (PTR_SUB): Ditto.
16921 2014-05-07  Andreas Schwab  <schwab@suse.de>
16923         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
16924         when skipping over non-matching result from nscd.
16926 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
16928         [BZ #16876]
16929         * nptl/sockperf.c (client): Check socket return value.
16931         [BZ #16877]
16932         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
16933         nscd security class.
16935 2014-05-06  Roland McGrath  <roland@hack.frob.com>
16937         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
16938         * sysdeps/arm/unwind.h: ... here.
16940 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
16942         [BZ# 16916]
16943         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
16944         Define.
16946 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16948         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
16949         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
16950         multiarch strncpy for PPC64.
16951         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
16952         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
16953         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
16954         multiarch optimizations.
16955         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16956         (__libc_ifunc_impl_list): Likewise.
16957         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
16958         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
16959         multiarch stpncpy for PPC64.
16960         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
16961         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
16963 2014-05-06  Andreas Schwab  <schwab@suse.de>
16965         [BZ #16912]
16966         * gmon/mcount.c (_MCOUNT_DECL): Use
16967         atomic_compare_and_exchange_bool_acq instead of
16968         catomic_compare_and_exchange_bool_acq.
16970 2014-05-05  Roland McGrath  <roland@hack.frob.com>
16972         * elf/Makefile (others, install-bin): Remove pldd.
16973         (pldd-modules): Variable removed.
16974         ($(objpfx)pldd): Target removed.
16975         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
16976         (others, install-bin): Append pldd here.
16977         ($(objpfx)pldd): New target.
16979         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
16980         to 0, so the first #if test emitted later doesn't see it undefined.
16981         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
16982         * sysdeps/gnu/errlist.c: Regenerated.
16984 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16986         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16987         [libc_hidden_builtin_def]: Define to empty value.
16988         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
16989         [libc_hidden_builtin_def]: Likewise.
16990         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
16991         [libc_hidden_builtin_def]: Likewise.
16992         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
16993         [libc_hidden_builtin_def]: Likewise.
16994         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
16995         __redirect_memcpy and define ifunc as default hidden symbol.
16996         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
16997         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
16999 2014-05-04  Adam Conrad  <adconrad@0c3.net>
17001         * locale/iso-4217.def: Reintroduce XDR currency.
17003 2014-05-04  Allan McRae  <allan@archlinux.org>
17005         * po/eo.po: Update Esperanto translation from translation project.
17007 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
17009         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
17010         and FEATURE_INDEX_MAX to 1.
17011         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
17013 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17015         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
17016         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
17017         * iconvdata/big5.c (ONE_DIRECTION): Define.
17018         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
17019         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
17020         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
17021         * iconvdata/cp932.c (ONE_DIRECTION): Define.
17022         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
17023         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
17024         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
17025         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
17026         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
17027         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
17028         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
17029         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
17030         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
17031         * iconvdata/gbk.c (ONE_DIRECTION): Define.
17032         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
17033         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
17034         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
17035         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
17036         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
17037         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
17038         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
17039         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
17040         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
17041         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
17042         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
17043         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
17044         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
17045         * iconvdata/iso646.c (ONE_DIRECTION): Define.
17046         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
17047         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
17048         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
17049         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
17050         * iconvdata/johab.c (ONE_DIRECTION): Define.
17051         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
17052         * iconvdata/sjis.c (ONE_DIRECTION): Define.
17053         * iconvdata/t.61.c (ONE_DIRECTION): Define.
17054         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
17055         * iconvdata/tscii.c (ONE_DIRECTION): Define.
17056         * iconvdata/uhc.c (ONE_DIRECTION): Define.
17057         * iconvdata/unicode.c (ONE_DIRECTION): Define.
17058         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
17059         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
17060         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
17062 2014-05-01  Roland McGrath  <roland@hack.frob.com>
17064         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
17065         (_IO_JUMPS_OFFSET): Define to 0.
17067         * nptl/sysdeps/pthread/bits/libc-lock.h
17068         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
17069         (__libc_lock_define_initialized_recursive): Always define using
17070         initializer.  Modern compilers treat uninitialized (implicit zero) and
17071         explicit zero initializers the same (i.e. put the datum in bss).
17073 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
17075         * nscd/nscd-client.h: Include <string.h>.
17077 2014-05-01  David S. Miller  <davem@davemloft.net>
17079         [BZ #16885]
17080         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
17081         multiple zero bytes exist at the end of a string.
17082         Reported by Aurelien Jarno <aurelien@aurel32.net>
17084         * string/test-strcmp.c (check): Add explicit test for situations where
17085         there are multiple zero bytes after the first.
17087 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
17089         [BZ #16890]
17090         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
17091         when compiling wprintf.
17092         * stdio-common/tstdiomisc.c (t3): New function.
17093         (main): Call it.
17095 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17097         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
17098         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
17099         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
17100         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
17102 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17104         * stdlib/longlong.h: Updated from GCC.
17106 2014-05-01  Will Newton  <will.newton@linaro.org>
17107             Bernard Ogden  <bernie.ogden@linaro.org>
17109         * NEWS: Update fixed bug list.
17111         [BZ #15119]
17112         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
17114 2014-04-30  David S. Miller  <davem@davemloft.net>
17116         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
17117         (libc_feholdexcept_setround_sparc_ctx): New function.
17118         (libc_fesetenv_sparc_ctx): Likewise.
17119         (libc_feupdateenv_sparc_ctx): Likewise.
17120         (libc_feholdsetround_sparc_ctx): Likewise.
17121         (libc_feholdexcept_setround_ctx): Define.
17122         (libc_feholdexcept_setroundf_ctx): Likewise.
17123         (libc_feholdexcept_setroundl_ctx): Likewise.
17124         (libc_fesetenv_ctx): Likewise.
17125         (libc_fesetenvf_ctx): Likewise.
17126         (libc_fesetenvl_ctx): Likewise.
17127         (libc_feupdateenv_ctx): Likewise.
17128         (libc_feupdateenvf_ctx): Likewise.
17129         (libc_feupdateenvl_ctx): Likewise.
17130         (libc_feresetround_ctx): Likewise.
17131         (libc_feresetroundf_ctx): Likewise.
17132         (libc_feresetroundl_ctx): Likewise.
17133         (libc_feholdsetround_ctx): Likewise.
17134         (libc_feholdsetroundf_ctx): Likewise.
17135         (libc_feholdsetroundl_ctx): Likewise.
17137         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17138         with __USE_GNU instead of XOPEN cpp guards.
17140         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
17141         0.
17143         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17144         with XOPEN cpp guards.
17146 2014-04-30  Julian Brown  <julian@codesourcery.com>
17148         [BZ #16888]
17149         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
17150         handling.
17152 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
17154         [BZ #9894]
17155         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17156         Change to 2.6.32.
17157         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
17158         * sysdeps/unix/sysv/linux/configure: Regenerated.
17159         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
17160         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
17161         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
17162         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
17163         * README: Update reference to required Linux kernel version.
17164         * manual/install.texi (Linux): Update reference to required Linux
17165         kernel headers version.
17166         * INSTALL: Regenerated.
17168         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
17169         header inclusion.
17170         [POSIX] (limits.h): Likewise.
17171         [POSIX] (math.h): Likewise.
17172         [POSIX] (sys/wait.h): Likewise.
17173         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
17174         function.
17175         [POSIX] (stddef.h): Do not allow header inclusion.
17177 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17179         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
17181 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
17183         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17184         Return immediately after lll_futex_wake.
17186 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17188         [BZ #16791]
17189         * nscd/nscd-client.h (datahead_init_common): Initialize entire
17190         structure.
17191         (datahead_init_pos): Call datahead_init_common early.
17192         (datahead_init_neg): Likewise.
17194         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
17195         datahead_init_neg): New functions.
17196         * nscd/aicache.c (addhstaiX): Use them.
17197         * nscd/grpcache.c (cache_addgr): Likewise.
17198         * nscd/hstcache.c (cache_addhst): Likewise.
17199         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17200         * nscd/netgroupcache.c (do_notfound): Likewise.
17201         (addgetnetgrentX): Likewise.
17202         (addinnetgrX): Likewise.
17203         * nscd/pwdcache.c (cache_addpw): Likewise.
17204         * nscd/servicescache.c (cache_addserv): Likewise.
17206 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17207             Atsushi Onoe  <atsushi@onoe.org>
17209         [BZ #14308]
17210         [BZ #12994]
17211         [BZ #13651]
17212         * resolv/res_query.c (__libc_res_nsearch): Return if at least
17213         one response is valid.
17214         * resolv/res_send.c (send_dg): Check for validity of other
17215         response if the current response is a referral.
17217 2014-04-29  Steve Ellcey  <sellcey@mips.com>
17219         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
17221 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
17223         [BZ #16823]
17224         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
17225         Always divide by positive zero when computing -Inf result.
17226         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17227         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17229 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17231         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
17232         FPSCR if value do not change.
17233         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17234         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
17235         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17236         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17237         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
17238         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
17239         function.
17241 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
17243         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
17244         * sysdeps/unix/sysv/linux/hppa: Move directory from
17245         ports/systeps/unix/sysv/linux/hppa.
17246         * README: Update listing for hppa-*-linux-gnu.
17248 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
17250         [BZ #16754]
17251         * manual/stdio.texi (Hook functions): Fix types of stream hook
17252         functions.
17253         [BZ #16854]
17254         * socket/sys/socket.h: Fix typo in comment.
17256 2014-04-28  Wilco  <wdijkstr@arm.com>
17258         * sysdeps/arm/fenv_private.h: New file.
17259         * sysdeps/arm/math_private.h: New file.
17260         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
17262 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
17264         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
17265         with __int128_t.
17266         (La_x86_64_retval): Likewise.
17268 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
17270         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
17271         fpsr if value didn't change.
17272         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
17273         to fpcr if value didn't change.
17274         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
17275         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
17276         fpsr or fpcr if value didn't change.
17277         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17278         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
17279         fpcr if value didn't change.
17280         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
17281         to fpsr if value didn't change.
17283 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17285         * nptl/tst-sem3.c: Use test-skeleton.c
17286         (main): Rename to do_test.  Use return instead of
17287         exit.
17288         * nptl/tst-sem4.c: Use test-skeleton.c
17289         (main): Rename to do_test.
17291 2014-04-22  David S. Miller  <davem@davemloft.net>
17293         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
17294         (struct sigaction): New struct member __glibc_reserved0, change
17295         type of sa_flags to int.
17297 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
17299         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
17300         (COUNT_LEADING_ZEROS_0): Define for AArch64.
17302 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17304         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
17305         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
17307 2014-04-22  Will Newton  <will.newton@linaro.org>
17308             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
17310         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
17311         (__longjmp): Add longjmp and longjmp_target SystemTap
17312         probes.
17313         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
17314         (__sigsetjmp): Add setjmp SystemTap probe.
17316 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
17318         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
17319         match manual order.
17321 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17323         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
17325         * sysdeps/powerpc/fpu/fenv_private.h
17326         (libc_feholdexcept_setroundl_ctx): Define to
17327         libc_feholdexcept_setround_ppc_ctx.
17328         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
17329         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
17330         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
17331         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
17333 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
17335         * sysdeps/aarch64/math-tests.h: New file.
17337 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
17339         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
17340         New.
17341         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17342         Check and set bit_AVX2_Usable.
17343         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
17344         macro.
17345         (bit_AVX2): Likewise.
17346         (index_AVX2_Usable): Likewise.
17347         (CPUID_AVX2): Likewise.
17348         (HAS_AVX2): Likewise.
17350 2014-04-17  Will Newton  <will.newton@linaro.org>
17352         * manual/setjmp.texi (System V contexts): Add note that
17353         calling setcontext on a context created by a call to a
17354         signal handler is undefined.  Update text to note that
17355         setcontext from a signal handler is possible but not
17356         recommended.
17358         [BZ #16629]
17359         * stdlib/tst-setcontext.c: Include signal.h.
17360         (main): Check that the signal stack before and
17361         after swapcontext is the same.
17363         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
17364         Re-implement to restore registers in user code and avoid
17365         rt_sigreturn system call.
17367 2014-04-17  Wilco  <wdijkstr@arm.com>
17369         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
17370         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
17371         * math/test-fenv.c: Skip exception trap tests on targets which only
17372         support non-stop mode.
17374 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
17375             Wilco Dijkstra  <wilco.dijkstra@arm.com>
17377         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
17378         (libc_feholdsetround_aarch64_ctx)
17379         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
17380         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
17381         (libc_feresetround_ctx, libc_feresetroundf_ctx)
17382         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
17383         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
17384         (libc_feresetround_noexl_ctx): Define.
17386 2014-04-16  Richard Henderson  <rth@redhat.com>
17388         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
17390         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
17391         unwind tables.
17393         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
17394         const from the non-libc, non-ldso copy.
17396         * sysdeps/alpha/libm-test-ulps: Regenerate.
17398 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
17399             Wilco Dijkstra  <wilco.dijkstra@arm.com>
17401         * sysdeps/aarch64/fpu/math_private.h: New file.
17403 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17405         * sysdeps/aarch64/libm-test-ulps: Regenerate.
17407 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
17409         [BZ #16275]
17410         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
17411         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
17412         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
17413         Intel MPX bound registers before _dl_profile_fixup.
17414         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
17415         registers after _dl_profile_fixup.  Save and restore bound
17416         registers bnd0/bnd1 when calling _dl_call_pltexit.
17417         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
17418         (LR_BND_OFFSET): Likewise.
17419         (LRV_BND0_OFFSET): Likewise.
17420         (LRV_BND1_OFFSET): Likewise.
17422 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17424         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
17425         to...
17426         * sysdeps/mach/hurd/i386/tls.h: ... here.
17427         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
17428         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
17429         fields.
17431 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17433         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
17435 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17437         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17439 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17441         [BZ #14770]
17442         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
17443         * sysdeps/s390/configure: Regenerate.
17445         [BZ #16824]
17446         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
17447         Set round-to-nearest internally to reduce error accumulation.
17449 2014-04-16  Alan Modra  <amodra@gmail.com>
17451         [BZ #16740]
17452         [BZ #16619]
17453         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
17454         * math/libm-test.inc (frexp_test_data): Add tests.
17455         * NEWS: Update fixed bug list.
17457 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17459         * benchtests/Makefile: Depend on libraries in build directory.
17460         (bench-math): Separate out math tests.
17461         (bench-pthread): Separate out pthread tests.
17462         (bench): Include math and pthread tests.
17464 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
17466         [BZ #16831]
17467         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
17468         _dl_debug_initialize.
17470         * configure.ac: Remove SELinux header check.
17471         * configure: Regenerate.
17472         * nscd/selinux.c (perms): Array of const char* to permission names.
17473         (nscd_request_avc_has_perm): Call security_deny_unknown to find
17474         default policy. Call string_to_security_class and string_to_av_perm to
17475         translate strings. Enforce default policy and call avs_has_perm with
17476         results of translated strings.
17478 2014-04-13  David S. Miller  <davem@davemloft.net>
17480         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17482 2014-04-12  Allan McRae  <allan@archlinux.org>
17484         [BZ #16838]
17485         * manual/string.texi (Collation Functions): Fix qsort argument
17486         order in example.
17487         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17489 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
17491         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
17492         Make the test a no-op if there are no exceptions defined.
17494 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17496         * elf/Makefile (tests): make tst-dlopen-aout conditional on
17497         enable-hardcoded-path-in-tests
17499 2014-04-11  Will Newton  <will.newton@linaro.org>
17501         * benchtests/Makefile (extra-objs): Add json-lib.o.
17502         (bench-func): Tidy up JSON output.
17503         * benchtests/bench-skeleton.c: Include json-lib.h.
17504         (main): Use JSON library functions to do output of
17505         benchmark results.
17506         * benchtests/bench-timing-type.c (main): Output the
17507         timing type simply, leaving formatting to the user.
17508         * benchtests/json-lib.c: New file.
17509         * benchtests/json-lib.h: Likewise.
17511 2014-04-11  Torvald Riegel  <triegel@redhat.com>
17513         [BZ #15215]
17514         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
17515         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
17516         memory barriers.  Add comments.
17517         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
17518         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
17519         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
17520         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
17521         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
17522         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
17524 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17526         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
17527         * sysdeps/s390/s390-64/configure.ac: ... this ...
17528         * sysdeps/s390/configure.ac: ... to here.
17529         * sysdeps/s390/s390-32/configure: Delete file.
17530         * sysdeps/s390/s390-64/configure: Delete file.
17531         * sysdeps/s390/configure: Regenerate.
17533 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
17535         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
17537 2014-04-11  Will Newton  <will.newton@linaro.org>
17539         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
17540         to zero if it is not defined elsewhere.  (mtrim): Test
17541         the value of MALLOC_DEBUG with #if rather than #ifdef.
17543 2014-04-10 Torvald Riegel  <triegel@redhat.com>
17545         * benchtests/pthread_once-inputs: New file.
17546         * benchtests/pthread_once-source.c: New file.
17547         * benchtests/README: Update documentation.
17549 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
17550             H.J. Lu  <hongjiu.lu@intel.com>
17552         [BZ #16275]
17553         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
17554         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
17555         * sysdeps/x86_64/configure: Regenerated.
17556         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
17557         macro.
17558         (REGISTER_SAVE_RAX): Likewise.
17559         (REGISTER_SAVE_RCX): Likewise.
17560         (REGISTER_SAVE_RDX): Likewise.
17561         (REGISTER_SAVE_RSI): Likewise.
17562         (REGISTER_SAVE_RDI): Likewise.
17563         (REGISTER_SAVE_R8): Likewise.
17564         (REGISTER_SAVE_R9): Likewise.
17565         (REGISTER_SAVE_BND0): Likewise.
17566         (REGISTER_SAVE_BND1): Likewise.
17567         (REGISTER_SAVE_BND2): Likewise.
17568         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
17569         bound registers when calling _dl_fixup.
17571 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17573         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
17574         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
17575         of its definition.
17576         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
17577         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
17578         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
17579         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
17580         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
17581         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
17582         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
17584 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
17586         [BZ #15514]
17587         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
17588         pathconf(_PC_NAME_MAX).
17590 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17592         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
17593         Remove macro usage.
17594         (__PTHREAD_SPINS): Move definition to ...
17595         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17596         (__PTHREAD_SPINS): ... here.
17597         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17598         (__PTHREAD_SPIN): Likewise.
17599         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
17600         (__PTHREAD_SPIN): Likewise.
17601         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
17602         (__PTHREAD_SPIN): Likewise.
17603         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
17604         (__PTHREAD_SPIN): Likewise.
17605         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17606         (__PTHREAD_SPIN): Likewise.
17607         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17608         (__PTHREAD_SPIN): Likewise.
17609         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
17610         (__PTHREAD_SPIN): Likewise.
17611         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17612         (__PTHREAD_SPIN): Likewise.
17613         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17614         (__PTHREAD_SPIN): Likewise.
17615         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17616         (__PTHREAD_SPIN): Likewise.
17617         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17618         (__PTHREAD_SPIN): Likewise.
17619         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
17620         (__PTHREAD_SPIN): Likewise.
17622         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
17623         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
17624         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
17625         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
17626         imply folder.
17627         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
17628         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
17629         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
17630         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
17631         correct imply path.
17632         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
17633         strlen symbol for non multi-arch builds.
17634         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
17635         missing hidden_def and weak_alias.
17637 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
17639         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
17641 2014-04-07  Will Newton  <will.newton@linaro.org>
17643         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
17644         and contents.  [!_LIBC] Remove #ifndef and contents.
17645         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
17646         * string/memccpy.c (__memccpy): Use ANSI prototype.
17647         * string/memfrob.c (memfrob): Likewise.
17648         * string/strcoll.c (STRCOLL): Likewise.
17649         * string/strlen.c (strlen): Likewise.
17650         * string/strtok.c (STRTOK): Likewise.
17651         * string/strcat.c: Remove unused #include of memcopy.h.
17652         (strcat): Use ANSI prototype.
17653         * string/strchr.c: Remove unused #include of memcopy.h.
17654         (strchr): Use ANSI prototype.
17655         * string/strcmp.c: Remove unused #include of memcopy.h.
17656         (strcmp): Use ANSI prototype.
17657         * string/strcpy.c: Remove unused #include of memcopy.h.
17658         (strcpy): Use ANSI prototype.
17660 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17662         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
17663         * config.make.in (config-extra-cppflags): Set it from
17664         libc_extra_cppflags.
17665         * configure.ac (libc_extra_cflags): Make it accumulate over
17666         configure fragments.
17667         (libc_extra_cppflags): New flag.
17668         * configure. Regenerate.
17669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
17670         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
17671         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
17672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17674         [BZ #16815]
17675         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
17676         result for FE_DOWNWARD rounding mode.
17677         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17678         Likewise.
17679         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17681 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
17683         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
17684         in function argument name.
17686 2014-04-03  David Svoboda  <svoboda@cert.org>
17688         [BZ #5666]
17689         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
17690         explicitly.
17692 2014-04-03  Roland McGrath  <roland@hack.frob.com>
17694         * elf/dl-unmap-segments.h: New file.
17695         * sysdeps/generic/ldsodefs.h
17696         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
17697         * elf/dl-close.c: Include <dl-unmap-segments.h>.
17698         * elf/dl-fptr.c: Likewise.
17699         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
17700         * sysdeps/aarch64/tlsdesc.c: Likewise.
17701         * sysdeps/arm/tlsdesc.c: Likewise.
17702         * sysdeps/i386/tlsdesc.c: Likewise.
17703         * sysdeps/tile/dl-runtime.c: Likewise.
17704         * sysdeps/x86_64/tlsdesc.c: Likewise.
17705         * elf/dl-load.h: New file.
17706         * elf/dl-load.c: Include it.
17707         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
17708         Macros moved to dl-load.h.
17709         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
17710         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
17711         Use _dl_unmap_segments in place of __munmap.
17712         Break out segment-mapping loop into ...
17713         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
17715 2014-04-03  Will Newton  <will.newton@linaro.org>
17717         * elf/dl-lookup.c (do_lookup_x): Remove comment
17718         referring to nested function and move variable
17719         declarations down to before first use.
17721 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
17723         [BZ #16799]
17724         [BZ #16800]
17725         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
17726         with 0 numerator.
17727         * math/s_catanf.c (__catanf): Likewise.
17728         * math/s_catanh.c (__catanh): Likewise.
17729         * math/s_catanhf.c (__catanhf): Likewise.
17730         * math/s_catanhl.c (__catanhl): Likewise.
17731         * math/s_catanl.c (__catanl): Likewise.
17732         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
17733         by positive zero when computing -Inf result.
17734         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
17735         (catanh_test): Likewise.
17736         * sysdeps/i386/fpu/libm-test-ulps: Update.
17737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17739         [BZ #16789]
17740         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
17741         instead of using underflowing value in computing result.
17742         * math/s_clog10.c (__clog10): Likewise.
17743         * math/s_clog10f.c (__clog10f): Likewise.
17744         * math/s_clog10l.c (__clog10l): Likewise.
17745         * math/s_clogf.c (__clogf): Likewise.
17746         * math/s_clogl.c (__clogl): Likewise.
17747         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
17748         (clog10_test): Likewise.
17749         * sysdeps/i386/fpu/libm-test-ulps: Update.
17750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17752 2014-04-02  Alan Modra  <amodra@gmail.com>
17754         [BZ #16739]
17755         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
17756         output when value is near a power of two.  Use int64_t for lx and
17757         remove casts.  Use decimal rather than hex exponent constants.
17758         Don't use long double multiplication when double will suffice.
17759         * math/libm-test.inc (nextafter_test_data): Add tests.
17760         * NEWS: Add 16739 and 16786 to bug list.
17762         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
17764         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
17766 2014-04-01  Will Newton  <will.newton@linaro.org>
17768         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
17769         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
17771 2014-04-01  Florian Weimer  <fweimer@redhat.com>
17773         [BZ #13347]
17774         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
17775         * nptl/tst-setuid2.c: New file.
17776         * nptl/Makefile (xtests): Add tst-setuid2.
17778 2014-04-01  Alan Modra  <amodra@gmail.com>
17780         [BZ #16786]
17781         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
17783 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
17785         [BZ #6803]
17786         [BZ #6804]
17787         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
17788         set errno as appropriate.
17789         * math/w_scalbf.c (__scalbf): Likewise.
17790         * math/w_scalbl.c (__scalbl): Likewise.
17791         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
17792         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
17793         * math/libm-test.inc (scalb_test_data): Add errno expectations.
17794         Add more NaN tests.
17796         [BZ #16349]
17797         * math/w_atan2.c: Include <errno.h>.
17798         (__atan2): Set errno for result underflowing to zero.
17799         * math/w_atan2f.c: Include <errno.h>.
17800         (__atan2f): Set errno for result underflowing to zero.
17801         * math/w_atan2l.c: Include <errno.h>.
17802         (__atan2l): Set errno for result underflowing to zero.
17803         * math/auto-libm-test-in: Don't allow missing errno for some atan2
17804         tests.
17805         * math/auto-libm-test-out: Regenerated.
17807 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17809         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
17810         Encode instruction correctly in little endian.
17811         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
17812         Likewise.
17813         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
17814         Likewise.
17815         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
17816         Likewise.
17817         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
17818         Likewise.
17820 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
17822         [BZ #9894]
17823         * sysdeps/unix/sysv/linux/kernel-features.h
17824         [__sparc__ && !__arch64__ && !__sparc_v9__]
17825         (__ASSUME_SET_ROBUST_LIST): Do not define.
17826         [__sparc__ && !__arch64__ && !__sparc_v9__]
17827         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17828         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
17829         Likewise.
17830         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17831         (__ASSUME_FUTEX_LOCK_PI): Undefine.
17832         (__ASSUME_REQUEUE_PI): Likewise.
17833         (__ASSUME_SET_ROBUST_LIST): Likewise.
17834         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17835         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
17836         Undefine.
17837         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17838         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
17839         Likewise.
17840         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
17841         Likewise.
17842         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
17843         Likewise.
17844         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17845         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
17846         Undefine.
17847         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
17848         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
17849         Likewise.
17851         [BZ #16648]
17852         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17853         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
17854         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
17856 2014-03-31  Will Newton  <will.newton@linaro.org>
17858         * benchtests/Makefile (bench): Add ffs and ffsll to list
17859         of tests.
17860         * benchtests/ffs-inputs: New file.
17861         * benchtests/ffsll-inputs: Likewise.
17863 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
17865         [BZ #16770]
17866         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
17867         too large before casting to int.
17868         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
17869         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
17870         * math/libm-test.inc (scalb_test_data): Add more tests.
17872 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17874         * benchtests/Makefile (DETAILED_OPT): New make option.
17875         (bench-func): Run benchmark program with -d if DETAILED_OPT is
17876         set.
17877         * benchtests/bench-skeleton.c: Include stdbool.h.
17878         (main): Store and print timings per input.
17879         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
17880         member to each argument value.
17881         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
17882         (_print_arg_data): Initialize per-input timing to 0.
17884         * benchtests/Makefile (timing-type): New binary.
17885         (bench-clean): Also remove bench-timing-type.
17886         (bench): New target for timing-type.
17887         (bench-func): Print output in JSON format.
17888         * benchtests/bench-skeleton.c (main): Print output in JSON
17889         format.
17890         * benchtests/bench-timing-type.c: New file.
17891         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
17892         (TIMING_PRINT_STATS): Remove.
17893         * benchtests/scripts/bench.py (_print_arg_data): Store variant
17894         name separately.
17896         * benchtests/bench-modf.c: Remove.
17897         * benchtests/modf-inputs: New inputs file.
17899 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
17901         [BZ #16362]
17902         * math/s_clog10.c (M_PI_LOG10E): New macro.
17903         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
17904         imaginary parts are 0.
17905         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
17906         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
17907         imaginary parts are 0.
17908         * math/s_clog10l.c (M_PI_LOG10El): New macro.
17909         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
17910         imaginary parts are 0.
17911         * math/libm-test.inc (clog10_test_data): Update expected results
17912         for when real and imaginary parts are 0.
17914 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
17916         * elf/dl-load.c: Finish conversion of __builtin_expect into
17917         __glibc_{un}likely.
17919 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
17921         [BZ #16348]
17922         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
17923         1+x for argument with exponent below -67.
17924         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
17925         Likewise.
17926         * math/auto-libm-test-in: Add more tests of exp.
17927         * math/auto-libm-test-out: Regenerated.
17929 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17931         [BZ #16759]
17932         * inet/getnetgrent_r.c (get_nonempty_val): New function.
17933         (nscd_getnetgrent): Use it.
17935         [BZ #16760]
17936         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
17937         of stpcpy.
17939 2014-03-27  Andi Kleen  <ak@linux.intel.com>
17941         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
17942         (lll_robust_lock, lll_cond_lock, lll_timedlock)
17943         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17944         (lll_robust_unlock): Remove out of line section. Use cfi
17945         intrinsics.
17946         (LLL_STUB_UNWIND_INFO*): Remove.
17947         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
17948         (lll_robust_lock, lll_cond_lock, lll_timedlock)
17949         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17950         (lll_robust_unlock): Remove out of line section. Use cfi
17951         intrinsics.
17952         (LLL_STUB_UNWIND_INFO*): Remove.
17954 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17956         [BZ #16758]
17957         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
17958         blank values.
17960 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
17962         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
17964 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
17966         [BZ #16198]
17967         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
17968         fnstenv.
17969         * math/test-fenv-preserve.c: New file.
17970         * math/Makefile (tests): Add test-fenv-preserve.
17972 2014-03-26  Will Newton <will.newton@linaro.org>
17974         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
17976 2014-03-25  Roland McGrath  <roland@hack.frob.com>
17978         * scripts/versionlist.awk: Partition the version sets and emit all
17979         GLIBC_* (sorted) before all others (sorted).
17981 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
17983         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
17984         GLIBC_2.2.5 version.
17986 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17988         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
17989         calls.
17991         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
17992         previous change.
17994         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17996 2014-03-25  Andreas Schwab  <schwab@suse.de>
17998         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
17999         label to be used after in6ailist is initialized.
18001 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18003         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18004         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18006 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
18008         [BZ #16357]
18009         [BZ #16599]
18010         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
18011         min_plus_half.
18012         (fp_formats): Update initializers.
18013         (init_fp_formats): Initialize new field.
18014         (output_for_one_input_case): Allow underflow for results up to
18015         min_plus_half.
18016         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
18017         * math/auto-libm-test-in: Don't mark some underflows from asin and
18018         atanh as spurious.
18019         * math/auto-libm-test-out: Regenerated.
18020         * sysdeps/i386/fpu/libm-test-ulps: Update.
18021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18023 2014-03-25  Andreas Schwab  <schwab@suse.de>
18025         * libio/Makefile (tst-ftell-partial-wide-ENV)
18026         (tst-ftell-active-handler-ENV): Define.
18028 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
18030         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
18032 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
18034         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
18036 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
18038         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
18039         * sysdeps/x86_64/fpu/multiarch/e_exp.c
18040         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18042 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
18044         [BZ #16634]
18045         * elf/dl-load.c (open_verify): Add mode parameter.
18046         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
18047         (open_path): Change from boolean 'secure' to complete flag 'mode'
18048         (_dl_map_object): Adjust.
18049         * elf/Makefile (tests): Add tst-dlopen-aout.
18050         * elf/tst-dlopen-aout.c: New test.
18052 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
18054         [BZ #16714]
18055         * sysdeps/unix/sysv/linux/s390/bits/stat.h
18056         (struct stat): Rename member pad0 to __glibc_reserved0.
18058         [BZ #16712]
18059         * sysdeps/s390/s390-32/bits/wordsize.h
18060         (__WORDSIZE32_SIZE_ULONG): New define.
18061         * sysdeps/s390/s390-64/bits/wordsize.h
18062         (__WORDSIZE32_SIZE_ULONG): Likewise.
18063         * sysdeps/generic/stdint.h (SIZE_MAX):
18064         Define as UL if __WORDSIZE32_SIZE_ULONG.
18066         [BZ #16713]
18067         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
18068         (__glibc_reserved0): New variable.
18069         (sa_flags): Change type to int.
18071         * posix/Makefile (before-compile): Use += before-compile instead
18072         of a :=.
18074         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18075         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18077 2014-03-20  Andreas Schwab  <schwab@suse.de>
18079         [BZ #16743]
18080         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
18081         non-matching result from nscd.
18083 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18085         * scripts/bench.py: Moved to ...
18086         * benchtests/scripts/bench.py: ... here.
18087         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
18089 2014-03-24  Andreas Schwab  <schwab@suse.de>
18091         [BZ #16002]
18092         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
18093         alloca_account and account alloca use for struct in6ailist.
18095 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
18097         [BZ #16284]
18098         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
18099         rounding mode to recompute results that overflow to infinity or
18100         underflow to zero.
18101         * math/auto-libm-test-in: Don't mark tests as expected to fail for
18102         bug 16284.
18103         * math/auto-libm-test-out: Regenerated.
18104         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
18105         (ccosh_test): Likewise.
18106         (csin_test_data): Use plus_oflow.
18107         (csin_test): Use ALL_RM_TEST.
18108         (csinh_test_data): Use plus_oflow.
18109         (csinh_test): Use ALL_RM_TEST.
18110         * sysdeps/i386/fpu/libm-test-ulps: Update.
18111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18113 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
18115         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
18116         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
18117         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
18119         [BZ #16731]
18120         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
18121         when x - 1 is zero.
18122         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
18123         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
18124         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18125         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
18126         argument is 1.
18127         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
18128         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
18129         zero.
18130         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
18131         * sysdeps/i386/fpu/libm-test-ulps: Update.
18132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18134 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18136         * scripts/bench.pl: Remove file.
18137         * scripts/bench.py: New benchmark script.
18138         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
18139         * benchtests/README: Mention python dependency.
18140         * scripts/pylintrc: New file.
18141         * scripts/pylint: New file.
18143         * bits/mathdef.h: Use #ifdef instead of #if.
18144         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
18145         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18146         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
18147         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18148         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
18149         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18151 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18152             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18154         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
18155         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
18156         and strpbrk-ppc64 objects.
18157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18158         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
18159         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
18160         multiarch strpbrk for POWER7.
18161         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
18162         multiarch strpbrk for PPC64.
18163         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
18164         ifunc selector.
18165         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
18166         strpbrk for POWER7.
18168 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
18170         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
18171         (atan_test): Likewise.
18172         (atanh_test_data): Use NO_TEST_INLINE for two tests.
18173         (atanh_test): Use ALL_RM_TEST.
18174         (atan2_test_data): Likewise.
18175         (cabs_test): Likewise.
18176         (cacosh_test): Likewise.
18177         (carg_test): Likewise.
18178         (casin_test): Likewise.
18179         (casinh_test): Likewise.
18180         (cbrt_test): Likewise.
18181         (csqrt_test): Likewise.
18182         (erf_test): Likewise.
18183         (erfc_test): Likewise.
18184         (pow10_test): Likewise.
18185         (exp2_test): Likewise.
18186         (hypot_test): Likewise.
18187         (j0_test): Likewise.
18188         (j1_test): Likewise.
18189         (lgamma_test): Likewise.
18190         (gamma_test): Likewise.
18191         (sincos_test): Likewise.
18192         (tanh_test): Likewise.
18193         (y0_test): Likewise.
18194         (y1_test): Likewise.
18195         * sysdeps/i386/fpu/libm-test-ulps: Update.
18196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18198 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18200         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
18201         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
18202         and strcspn-ppc64 objects.
18203         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18204         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
18205         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
18206         multiarch strcspn for POWER7.
18207         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
18208         multiarch strcspn for PPC64.
18209         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
18210         ifunc selector.
18211         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
18212         strcspn for POWER7.
18214 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
18216         * math/gen-libm-test.pl (generate_testfile): Expect only function
18217         name as argument to AUTO_TESTS_* and pass results for all rounding
18218         modes to parse_args.
18219         (parse_auto_input): Separate inputs of automatic tests from
18220         outputs before storing in %auto_tests.
18221         * math/libm-test.inc (acos_test_data): Update call to
18222         AUTO_TESTS_f_f.
18223         (acos_test): Use ALL_RM_TEST.
18224         (acos_tonearest_test_data): Remove.
18225         (acos_test_tonearest): Likewise.
18226         (acos_towardzero_test_data): Likewise.
18227         (acos_test_towardzero): Likewise.
18228         (acos_downward_test_data): Likewise.
18229         (acos_test_downward): Likewise.
18230         (acos_upward_test_data): Likewise.
18231         (acos_test_upward): Likewise.
18232         (acosh_test_data): Update call to AUTO_TESTS_f_f.
18233         (asin_test_data): Likewise.
18234         (asin_test): Use ALL_RM_TEST.
18235         (asin_tonearest_test_data): Remove.
18236         (asin_test_tonearest): Likewise.
18237         (asin_towardzero_test_data): Likewise.
18238         (asin_test_towardzero): Likewise.
18239         (asin_downward_test_data): Likewise.
18240         (asin_test_downward): Likewise.
18241         (asin_upward_test_data): Likewise.
18242         (asin_test_upward): Likewise.
18243         (asinh_test_data): Update call to AUTO_TESTS_f_f.
18244         (atan_test_data): Likewise.
18245         (atanh_test_data): Likewise.
18246         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
18247         (cabs_test_data): Update call to AUTO_TESTS_c_f.
18248         (carg_test_data): Likewise.
18249         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
18250         (ccos_test_data): Update call to AUTO_TESTS_c_c.
18251         (ccosh_test_data): Likewise.
18252         (cexp_test_data): Likewise.
18253         (clog_test_data): Likewise.
18254         (clog10_test_data): Likewise.
18255         (cos_test_data): Update call to AUTO_TESTS_f_f.
18256         (cos_test): Use ALL_RM_TEST.
18257         (cos_tonearest_test_data): Remove.
18258         (cos_test_tonearest): Likewise.
18259         (cos_towardzero_test_data): Likewise.
18260         (cos_test_towardzero): Likewise.
18261         (cos_downward_test_data): Likewise.
18262         (cos_test_downward): Likewise.
18263         (cos_upward_test_data): Likewise.
18264         (cos_test_upward): Likewise.
18265         (cosh_test_data): Update call to AUTO_TESTS_f_f.
18266         (cosh_test): Use ALL_RM_TEST.
18267         (cosh_tonearest_test_data): Remove.
18268         (cosh_test_tonearest): Likewise.
18269         (cosh_towardzero_test_data): Likewise.
18270         (cosh_test_towardzero): Likewise.
18271         (cosh_downward_test_data): Likewise.
18272         (cosh_test_downward): Likewise.
18273         (cosh_upward_test_data): Likewise.
18274         (cosh_test_upward): Likewise.
18275         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
18276         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
18277         (ctan_test_data): Likewise.
18278         (ctan_test): Use ALL_RM_TEST.
18279         (ctan_tonearest_test_data): Remove.
18280         (ctan_test_tonearest): Likewise.
18281         (ctan_towardzero_test_data): Likewise.
18282         (ctan_test_towardzero): Likewise.
18283         (ctan_downward_test_data): Likewise.
18284         (ctan_test_downward): Likewise.
18285         (ctan_upward_test_data): Likewise.
18286         (ctan_test_upward): Likewise.
18287         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
18288         (ctanh_test): Use ALL_RM_TEST.
18289         (ctanh_tonearest_test_data): Remove.
18290         (ctanh_test_tonearest): Likewise.
18291         (ctanh_towardzero_test_data): Likewise.
18292         (ctanh_test_towardzero): Likewise.
18293         (ctanh_downward_test_data): Likewise.
18294         (ctanh_test_downward): Likewise.
18295         (ctanh_upward_test_data): Likewise.
18296         (ctanh_test_upward): Likewise.
18297         (erf_test_data): Update call to AUTO_TESTS_f_f.
18298         (erfc_test_data): Likewise.
18299         (exp_test_data): Likewise.
18300         (exp_test): Use ALL_RM_TEST.
18301         (exp_tonearest_test_data): Remove.
18302         (exp_test_tonearest): Likewise.
18303         (exp_towardzero_test_data): Likewise.
18304         (exp_test_towardzero): Likewise.
18305         (exp_downward_test_data): Likewise.
18306         (exp_test_downward): Likewise.
18307         (exp_upward_test_data): Likewise.
18308         (exp_test_upward): Likewise.
18309         (exp10_test_data): Update call to AUTO_TESTS_f_f.
18310         (exp10_test): Use ALL_RM_TEST.
18311         (exp10_tonearest_test_data): Remove.
18312         (exp10_test_tonearest): Likewise.
18313         (exp10_towardzero_test_data): Likewise.
18314         (exp10_test_towardzero): Likewise.
18315         (exp10_downward_test_data): Likewise.
18316         (exp10_test_downward): Likewise.
18317         (exp10_upward_test_data): Likewise.
18318         (exp10_test_upward): Likewise.
18319         (exp2_test_data): Update call to AUTO_TESTS_f_f.
18320         (expm1_test_data): Likewise.
18321         (expm1_test): Use ALL_RM_TEST.
18322         (expm1_tonearest_test_data): Remove.
18323         (expm1_test_tonearest): Likewise.
18324         (expm1_towardzero_test_data): Likewise.
18325         (expm1_test_towardzero): Likewise.
18326         (expm1_downward_test_data): Likewise.
18327         (expm1_test_downward): Likewise.
18328         (expm1_upward_test_data): Likewise.
18329         (expm1_test_upward): Likewise.
18330         (fma_test_data): Update call to AUTO_TESTS_fff_f.
18331         (fma_test): Use ALL_RM_TEST.
18332         (fma_towardzero_test_data): Remove.
18333         (fma_test_towardzero): Likewise.
18334         (fma_downward_test_data): Likewise.
18335         (fma_test_downward): Likewise.
18336         (fma_upward_test_data): Likewise.
18337         (fma_test_upward): Likewise.
18338         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
18339         (j0_test_data): Update call to AUTO_TESTS_f_f.
18340         (j1_test_data): Likewise.
18341         (jn_test_data): Update call to AUTO_TESTS_if_f.
18342         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
18343         (log_test_data): Update call to AUTO_TESTS_f_f.
18344         (log10_test_data): Likewise.
18345         (log1p_test_data): Likewise.
18346         (log2_test_data): Likewise.
18347         (pow_test_data): Update call to AUTO_TESTS_ff_f.
18348         (pow_tonearest_test_data): Likewise.
18349         (sin_test_data): Update call to AUTO_TESTS_f_f.
18350         (sin_test): Use ALL_RM_TEST.
18351         (sin_tonearest_test_data): Remove.
18352         (sin_test_tonearest): Likewise.
18353         (sin_towardzero_test_data): Likewise.
18354         (sin_test_towardzero): Likewise.
18355         (sin_downward_test_data): Likewise.
18356         (sin_test_downward): Likewise.
18357         (sin_upward_test_data): Likewise.
18358         (sin_test_upward): Likewise.
18359         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
18360         (sinh_test_data): Update call to AUTO_TESTS_f_f.
18361         (sinh_test): Use ALL_RM_TEST.
18362         (sinh_tonearest_test_data): Remove.
18363         (sinh_test_tonearest): Likewise.
18364         (sinh_towardzero_test_data): Likewise.
18365         (sinh_test_towardzero): Likewise.
18366         (sinh_downward_test_data): Likewise.
18367         (sinh_test_downward): Likewise.
18368         (sinh_upward_test_data): Likewise.
18369         (sinh_test_upward): Likewise.
18370         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
18371         (sqrt_test): Use ALL_RM_TEST.
18372         (sqrt_tonearest_test_data): Remove.
18373         (sqrt_test_tonearest): Likewise.
18374         (sqrt_towardzero_test_data): Likewise.
18375         (sqrt_test_towardzero): Likewise.
18376         (sqrt_downward_test_data): Likewise.
18377         (sqrt_test_downward): Likewise.
18378         (sqrt_upward_test_data): Likewise.
18379         (sqrt_test_upward): Likewise.
18380         (tan_test_data): Update call to AUTO_TESTS_f_f.
18381         (tan_test): Use ALL_RM_TEST.
18382         (tan_tonearest_test_data): Remove.
18383         (tan_test_tonearest): Likewise.
18384         (tan_towardzero_test_data): Likewise.
18385         (tan_test_towardzero): Likewise.
18386         (tan_downward_test_data): Likewise.
18387         (tan_test_downward): Likewise.
18388         (tan_upward_test_data): Likewise.
18389         (tan_test_upward): Likewise.
18390         (tanh_test_data): Update call to AUTO_TESTS_f_f.
18391         (tgamma_test_data): Likewise.
18392         (y0_test_data): Likewise.
18393         (y1_test_data): Likewise.
18394         (yn_test_data): Update call to AUTO_TESTS_if_f.
18395         (main): Do not call removed functions.
18397 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
18399         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
18400         (ldexp_test_data): Remove.
18401         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
18402         scalbn_test_data.
18403         (scalb_test): Use ALL_RM_TEST.
18405 2014-03-19  Andreas Schwab  <schwab@suse.de>
18407         * nscd/nscd.service: Also invalidate netgroup cache on reload.
18409 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
18411         [BZ #16649]
18412         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18413         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
18414         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
18415         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18416         (__ASSUME_PREADV): Undefine.
18417         (__ASSUME_PWRITEV): Likewise.
18419 2014-03-18  Roland McGrath  <roland@hack.frob.com>
18421         * bits/mman-linux.h: Add comment about non-Linux use.
18422         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
18423         bits/mman-linux.h resting place.
18425         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
18426         * bits/mman-linux.h: ... here.
18428 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18430         * conform/conformtest.pl: Add standard definition when calling C
18431         preprocessor on data files.
18432         (checknamespace): Remove unused variable.
18434 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
18436         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
18437         minus_oflow, plus_uflow and minus_uflow in expected results.
18438         * math/libm-test.inc (scalbn_test_data): Add more tests of
18439         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
18440         minus_uflow.
18441         (scalbn_test): Use ALL_RM_TEST.
18442         (scalbln_test_data): Add more tests of negative arguments.  Use
18443         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
18444         (scalbln_test): Use ALL_RM_TEST.
18446 2014-03-18  Roland McGrath  <roland@hack.frob.com>
18448         * scripts/abilist.awk: Ignore symbols marked with .hidden.
18450 2014-03-18  Will Newton  <will.newton@linaro.org>
18452         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
18453         inaccurate comment.
18455 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
18457         * Makerules [!subdir] (check-abi): Exit with error status if a
18458         test failed.
18460 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
18462         * math/libm-test.inc (nearbyint_test_data): Include all tests used
18463         for rint.  Include results for all rounding modes.
18464         (nearbyint_test): Use ALL_RM_TEST.
18465         (rint_test_data): Include all tests used for nearbyint.
18467 2014-03-17  Will Newton  <will.newton@linaro.org>
18469         * nptl/sysdeps/pthread/pthread.h: Revert previous
18470         change.
18472         * sysdeps/generic/ldsodefs.h: Revert previous
18473         change.
18475         * libio/genops.c: Revert previous change.
18476         * libio/libioP.h: Likewise.
18477         * stdio-common/vfprintf.c: Likewise.
18479         * sysdeps/generic/math_private.h: Revert previous
18480         change.
18482         * sysdeps/generic/math_private.h: Check whether
18483         HAVE_RM_CTX is defined with #ifdef rather
18484         than #if.
18486         * argp/argp-fmtstream.h: Check whether
18487         __STRICT_ANSI__ is defined with #ifdef rather
18488         than #if.
18489         * argp/argp.h: Likewise.
18491         * libio/genops.c: Check whether
18492         _IO_JUMPS_OFFSET is defined with #ifdef rather
18493         than #if.
18494         * libio/libioP.h: Likewise.
18495         * stdio-common/vfprintf.c: Likewise.
18497         * sysdeps/generic/ldsodefs.h: Check whether
18498         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
18499         than #if.
18501         * nptl/sysdeps/pthread/pthread.h: Check
18502         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
18503         its value.
18505 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18507         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
18508         setting O_APPEND.
18509         * libio/tst-ftell-active-handler.c (do_append_test): Add a
18510         test case.
18512         [BZ #16680]
18513         * libio/fileops.c (_IO_file_open): Seek to end of file but
18514         don't cache the offset.
18515         (get_file_offset): Remove function.
18516         (do_ftell): Use cached offset when available.
18517         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
18518         don't cache the offset.
18519         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
18520         case.
18521         (do_one_test): Call it.
18522         (do_ftell_test): Fix up expected old offset for a+ mode.
18523         * libio/wfileops.c (do_ftell_wide): Used cached offset when
18524         available.
18526         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
18527         up test status with function return status.
18528         (do_write_test): Likewise.
18529         (do_append_test): Likewise.
18531         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
18532         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
18533         Remove.
18535 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
18537         * math/gen-libm-test.pl (parse_args): Handle results specified for
18538         each rounding mode separately.
18539         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
18540         tests and results from lrint_tonearest_test_data,
18541         lrint_towardzero_test_data, lrint_downward_test_data and
18542         lrint_upward_test_data.
18543         (lrint_test): Use ALL_RM_TEST.
18544         (lrint_tonearest_test_data): Remove.
18545         (lrint_test_tonearest): Likewise.
18546         (lrint_towardzero_test_data): Likewise.
18547         (lrint_test_towardzero): Likewise.
18548         (lrint_downward_test_data): Likewise.
18549         (lrint_test_downward): Likewise.
18550         (lrint_upward_test_data): Likewise.
18551         (lrint_test_upward): Likewise.
18552         (llrint_test_data): Merge in per-rounding-mode tests and results
18553         from llrint_tonearest_test_data, llrint_towardzero_test_data,
18554         llrint_downward_test_data and llrint_upward_test_data.
18555         (llrint_test): Use ALL_RM_TEST.
18556         (llrint_tonearest_test_data): Remove.
18557         (llrint_test_tonearest): Likewise.
18558         (llrint_towardzero_test_data): Likewise.
18559         (llrint_test_towardzero): Likewise.
18560         (llrint_downward_test_data): Likewise.
18561         (llrint_test_downward): Likewise.
18562         (llrint_upward_test_data): Likewise.
18563         (llrint_test_upward): Likewise.
18564         (rint_test_data): Merge in per-rounding-mode tests and results
18565         from rint_tonearest_test_data, rint_towardzero_test_data,
18566         rint_downward_test_data and rint_upward_test_data.  Add
18567         per-rounding-mode results for tests not in those arrays.
18568         (rint_test): Use ALL_RM_TEST.
18569         (rint_tonearest_test_data): Remove.
18570         (rint_test_tonearest): Likewise.
18571         (rint_towardzero_test_data): Likewise.
18572         (rint_test_towardzero): Likewise.
18573         (rint_downward_test_data): Likewise.
18574         (rint_test_downward): Likewise.
18575         (rint_upward_test_data): Likewise.
18576         (rint_test_upward): Likewise.
18577         (main): Don't call removed functions.
18579 2014-03-14  Roland McGrath  <roland@hack.frob.com>
18581         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
18582         "Compiled on ..." crapola.  It is anti-useful.
18584 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
18586         * scripts/evaluate-test.sh: Handle fourth argument to determine
18587         whether test run should stop on failure.
18588         * Makeconfig (stop-on-test-failure): New variable.
18589         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
18590         $(stop-on-test-failure).
18591         * Makefile (tests): Give a summary of results from testing and
18592         exit with failure status if they include an ERROR or FAIL.
18593         (xtests): Likewise.
18594         * manual/install.texi (Configuring and compiling): Mention
18595         stop-on-test-failure=y.
18596         * INSTALL: Regenerated.
18598 2014-03-14  Roland McGrath  <roland@hack.frob.com>
18600         * scripts/versionlist.awk: New file.
18601         * Makerules [$(build-shared) = yes]
18602         (postclean-generated): Add Versions.def, not Versions.def.v and
18603         Versions.def.v.i.
18604         ($(common-objpfx)Versions.def.v.i): Target removed.
18605         ($(common-objpfx)Versions.def): New target.
18606         ($(common-objpfx)Versions.all): Depend on that rather that
18607         $(common-objpfx)Versions.def.v.
18608         * Versions.def: File removed.
18610         * Makeconfig (+gccwarn): Add -Wundef.
18611         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
18612         a dl-sysdep.h breaking its contract.
18613         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
18614         * include/stackinfo.h: New file.
18615         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
18616         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
18617         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
18618         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
18619         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
18620         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
18621         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18622         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18623         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18624         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18625         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18626         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
18627         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18628         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18629         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18631 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18633         [BZ #16707]
18634         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
18635         implementation.
18636         * math/libm-test.inc (round_test_data): Add more tests.
18638         [BZ #16706]
18639         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
18640         implementation.
18641         * math/libm-test.inc (nearbyint_test_data): Add more tests.
18643         [BZ #16701]
18644         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
18645         implementation.
18646         * math/libm-test.inc (ceil_test_data): Add more tests.
18648         * math/libm-test.inc (trunc_test_data): Add more tests related to
18649         BZ#16414.
18651 2014-03-14  Roland McGrath  <roland@hack.frob.com>
18653         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
18654         with #if rather than #ifdef.
18655         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
18657 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
18659         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
18660         first.  Disable AVX-512 GCC support if assembler doesn't support
18661         it.
18662         * sysdeps/x86_64/configure: Regenerated.
18664 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
18666         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
18667         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
18668         (__old_pthread_attr_setstack): Likewise.
18669         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
18670         [!_STACK_GROWS_DOWN]: Likewise.
18672 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
18674         * config.make.in (have-bash2): Delete.
18675         * configure.ac (libc_cv_have_bash2): Delete.
18676         * configure: Regenerate.
18677         * elf/Makefile (common-ldd-rewrite): Rename to ...
18678         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
18679         (sh-ldd-rewrite): Delete.
18680         (bash-ldd-rewrite): Delete.
18681         (have-bash2): Delete checks.
18682         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
18683         ldd-rewrite.
18685         * config.make.in (have-ksh): Delete.
18686         (KSH): Delete.
18687         * configure.ac (libc_cv_have_ksh): Delete.
18688         * configure: Regenerate.
18690         * elf/Makefile: Delete $(have-ksh) check.
18691         ($(objpfx)sotruss): Change KSH to BASH.
18692         * elf/sotruss.ksh: Rename to ...
18693         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
18694         function style to match POSIX.  Drop ksh vim mode setting.
18696         * manual/time.texi (Specifying the Time Zone with TZ): Change
18697         Tuesday to Thursday.
18699         * debug/tst-longjmp_chk2.c: Update header comment.
18700         (stackoverflow_handler): Add comment.  Call assert on pass value.
18702 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
18704         [BZ #16194]
18705         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
18706         (HAVE_AVX512_ASM_SUPPORT): Likewise.
18707         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
18708         (La_x86_64_vector): Add zmm.
18709         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
18710         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
18711         ($(objpfx)tst-audit10): New target.
18712         ($(objpfx)tst-audit10.out): Likewise.
18713         (tst-audit10-ENV): New.
18714         (AVX512-CFLAGS): Likewise.
18715         (CFLAGS-tst-audit10.c): Likewise.
18716         (CFLAGS-tst-auditmod10a.c): Likewise.
18717         (CFLAGS-tst-auditmod10b.c): Likewise.
18718         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
18719         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
18720         * sysdeps/x86_64/configure: Regenerated.
18721         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
18722         AVX-512 zmm register support.
18723         (_dl_x86_64_save_sse): Likewise.
18724         (_dl_x86_64_restore_sse): Likewise.
18725         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
18726         size vector registers.
18727         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
18728         (ZMM_SIZE): Likewise.
18729         * sysdeps/x86_64/tst-audit10.c: New file.
18730         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
18731         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
18733 2014-03-13  Roland McGrath  <roland@hack.frob.com>
18735         * configure.ac (HAVE_EHDR_START): New check.
18736         * configure: Regenerated.
18737         * config.h.in (HAVE_EHDR_START): New #undef.
18738         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
18739         assuming the lowest-addressed segment maps the start of the file.
18741 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
18743         * INSTALL: Regenerated.
18745 2014-03-13  Will Newton  <will.newton@linaro.org>
18747         * manual/setjmp.texi (System V contexts): Improve
18748         clarity and grammar of documentation.
18750 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
18752         [BZ #16381]
18753         * elf/Makefile (tests): Add tst-pie2.
18754         (tests-pie): Add tst-pie2.
18755         * elf/tst-pie2.c: New file.
18756         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
18757         for ET_EXEC.
18758         * elf/rtld.c (map_doit): Load executable as lt_executable.
18759         (dl_main): Likewise.
18761 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
18763         [BZ #16642]
18764         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18765         (__ASSUME_PSELECT): Undefine.
18767 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18769         [BZ #16689]
18770         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
18771         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
18772         static build.
18773         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
18774         selector for static builds.
18776 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18778         [BZ #16695]
18779         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
18780         key in the buffer.
18782 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18784         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
18785         IFUNC selector for static builds.
18787 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
18789         * sysdeps/mips/math_private.h [__mips_hard_float]
18790         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
18791         libc_feresetround_mips_ctx.
18792         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
18793         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
18794         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
18796         [BZ #16677]
18797         * math/s_nextafter.c (__nextafter): Do not return value from
18798         overflowing computation.
18799         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
18800         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
18801         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
18802         Likewise.
18803         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18804         Likewise.
18805         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
18806         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
18808 2014-03-11  Roland McGrath  <roland@hack.frob.com>
18810         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
18811         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
18812         Move sfi_sp use from the load-multiple (that no longer sets sp) to
18813         the new mov targetting sp.
18815 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18817         [BZ #16683]
18818         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
18819         Define it for static builds as well.
18820         (NO_BZERO_IMPL): Likewise.
18822 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18824         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
18825         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
18826         multiarch strspn for PPC64.
18827         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
18828         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
18829         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18830         (__libc_ifunc_impl_list): Likewise.
18831         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
18832         multiarch optimizations
18833         * string/strspn.c (strspn): Using macro to redefine symbol name.
18835 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18836             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18838         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
18839         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
18840         multiarch strncat for PPC64.
18841         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
18842         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
18843         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18844         (__libc_ifunc_impl_list): Likewise.
18845         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
18846         multiarch optimizations
18848 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18850         [BZ #16639]
18851         * nscd/nscd.service: Make service type forking.
18853 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18855         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
18856         sign in non default rounding modes.
18857         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
18859 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
18861         * math/libm-test.inc (ALL_RM_TEST): New macro.
18862         (ceil_test): Use ALL_RM_TEST.
18863         (cimag_test): Likewise.
18864         (conj_test): Likewise.
18865         (copysign_test): Likewise.
18866         (cproj_test): Likewise.
18867         (creal_test): Likewise.
18868         (fabs_test): Likewise.
18869         (floor_test): Likewise.
18870         (fmax_test): Likewise.
18871         (fmin_test): Likewise.
18872         (fmod_test): Likewise.
18873         (fpclassify_test): Likewise.
18874         (frexp_test): Likewise.
18875         (ilogb_test): Likewise.
18876         (isfinite_test): Likewise.
18877         (finite_test): Likewise.
18878         (isgreater_test): Likewise.
18879         (isgreaterequal_test): Likewise.
18880         (isinf_test): Likewise.
18881         (isless_test): Likewise.
18882         (islessequal_test): Likewise.
18883         (islessgreater_test): Likewise.
18884         (isnan_test): Likewise.
18885         (isnormal_test): Likewise.
18886         (issignaling_test): Likewise.
18887         (isunordered_test): Likewise.
18888         (logb_test): Likewise.
18889         (logb_downward_test_data): Remove.
18890         (logb_test_downward): Likewise.
18891         (lround_test): Use ALL_RM_TEST.
18892         (llround_test): Likewise.
18893         (modf_test): Likewise.
18894         (nexttoward_test): Likewise.
18895         (remainder_test): Likewise.
18896         (drem_test): Likewise.
18897         (remainder_tonearest_test_data): Likewise.
18898         (remainder_test_tonearest): Likewise.
18899         (drem_test_tonearest): Likewise.
18900         (remainder_towardzero_test_data): Likewise.
18901         (remainder_test_towardzero): Likewise.
18902         (drem_test_towardzero): Likewise.
18903         (remainder_downward_test_data): Likewise.
18904         (remainder_test_downward): Likewise.
18905         (drem_test_downward): Likewise.
18906         (remainder_upward_test_data): Likewise.
18907         (remainder_test_upward): Likewise.
18908         (drem_test_upward): Likewise.
18909         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
18910         (round_test): Use ALL_RM_TEST.
18911         (signbit_test): Likewise.
18912         (trunc_test): Likewise.
18913         (significand_test): Likewise.
18914         (main): Don't call removed functions.
18916 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
18918         [BZ #16674]
18919         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
18920         || __USE_XOPEN2K8].
18921         (ILL_ILLOPN): Likewise.
18922         (ILL_ILLADR): Likewise.
18923         (ILL_ILLTRP): Likewise.
18924         (ILL_PRVOPC): Likewise.
18925         (ILL_PRVREG): Likewise.
18926         (ILL_COPROC): Likewise.
18927         (ILL_BADSTK): Likewise.
18928         (FPE_INTDIV): Likewise.
18929         (FPE_INTOVF): Likewise.
18930         (FPE_FLTDIV): Likewise.
18931         (FPE_FLTOVF): Likewise.
18932         (FPE_FLTUND): Likewise.
18933         (FPE_FLTRES): Likewise.
18934         (FPE_FLTINV): Likewise.
18935         (FPE_FLTSUB): Likewise.
18936         (SEGV_MAPERR): Likewise.
18937         (SEGV_ACCERR): Likewise.
18938         (BUS_ADRALN): Likewise.
18939         (BUS_ADRERR): Likewise.
18940         (BUS_OBJERR): Likewise.
18941         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18942         (TRAP_TRACE): Likewise.
18943         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18944         __USE_XOPEN2K8].
18945         (CLD_KILLED): Likewise.
18946         (CLD_DUMPED): Likewise.
18947         (CLD_TRAPPED): Likewise.
18948         (CLD_STOPPED): Likewise.
18949         (CLD_CONTINUED): Likewise.
18950         (POLL_IN): Likewise.
18951         (POLL_OUT): Likewise.
18952         (POLL_MSG): Likewise.
18953         (POLL_ERR): Likewise.
18954         (POLL_PRI): Likewise.
18955         (POLL_HUP): Likewise.
18956         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
18957         Likewise.
18958         (ILL_ILLOPN): Likewise.
18959         (ILL_ILLADR): Likewise.
18960         (ILL_ILLTRP): Likewise.
18961         (ILL_PRVOPC): Likewise.
18962         (ILL_PRVREG): Likewise.
18963         (ILL_COPROC): Likewise.
18964         (ILL_BADSTK): Likewise.
18965         (FPE_INTDIV): Likewise.
18966         (FPE_INTOVF): Likewise.
18967         (FPE_FLTDIV): Likewise.
18968         (FPE_FLTOVF): Likewise.
18969         (FPE_FLTUND): Likewise.
18970         (FPE_FLTRES): Likewise.
18971         (FPE_FLTINV): Likewise.
18972         (FPE_FLTSUB): Likewise.
18973         (SEGV_MAPERR): Likewise.
18974         (SEGV_ACCERR): Likewise.
18975         (BUS_ADRALN): Likewise.
18976         (BUS_ADRERR): Likewise.
18977         (BUS_OBJERR): Likewise.
18978         (BUS_MCEERR_AR): Likewise.
18979         (BUS_MCEERR_AO): Likewise.
18980         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18981         (TRAP_TRACE): Likewise.
18982         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18983         __USE_XOPEN2K8].
18984         (CLD_KILLED): Likewise.
18985         (CLD_DUMPED): Likewise.
18986         (CLD_TRAPPED): Likewise.
18987         (CLD_STOPPED): Likewise.
18988         (CLD_CONTINUED): Likewise.
18989         (POLL_IN): Likewise.
18990         (POLL_OUT): Likewise.
18991         (POLL_MSG): Likewise.
18992         (POLL_ERR): Likewise.
18993         (POLL_PRI): Likewise.
18994         (POLL_HUP): Likewise.
18995         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
18996         (ILL_ILLOPN): Likewise.
18997         (ILL_ILLADR): Likewise.
18998         (ILL_ILLTRP): Likewise.
18999         (ILL_PRVOPC): Likewise.
19000         (ILL_PRVREG): Likewise.
19001         (ILL_COPROC): Likewise.
19002         (ILL_BADSTK): Likewise.
19003         (FPE_INTDIV): Likewise.
19004         (FPE_INTOVF): Likewise.
19005         (FPE_FLTDIV): Likewise.
19006         (FPE_FLTOVF): Likewise.
19007         (FPE_FLTUND): Likewise.
19008         (FPE_FLTRES): Likewise.
19009         (FPE_FLTINV): Likewise.
19010         (FPE_FLTSUB): Likewise.
19011         (SEGV_MAPERR): Likewise.
19012         (SEGV_ACCERR): Likewise.
19013         (BUS_ADRALN): Likewise.
19014         (BUS_ADRERR): Likewise.
19015         (BUS_OBJERR): Likewise.
19016         (BUS_MCEERR_AR): Likewise.
19017         (BUS_MCEERR_AO): Likewise.
19018         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19019         (TRAP_TRACE): Likewise.
19020         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19021         __USE_XOPEN2K8].
19022         (CLD_KILLED): Likewise.
19023         (CLD_DUMPED): Likewise.
19024         (CLD_TRAPPED): Likewise.
19025         (CLD_STOPPED): Likewise.
19026         (CLD_CONTINUED): Likewise.
19027         (POLL_IN): Likewise.
19028         (POLL_OUT): Likewise.
19029         (POLL_MSG): Likewise.
19030         (POLL_ERR): Likewise.
19031         (POLL_PRI): Likewise.
19032         (POLL_HUP): Likewise.
19033         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
19034         Likewise.
19035         (ILL_ILLOPN): Likewise.
19036         (ILL_ILLADR): Likewise.
19037         (ILL_ILLTRP): Likewise.
19038         (ILL_PRVOPC): Likewise.
19039         (ILL_PRVREG): Likewise.
19040         (ILL_COPROC): Likewise.
19041         (ILL_BADSTK): Likewise.
19042         (ILL_BADIADDR): Likewise.
19043         (ILL_BREAK): Likewise.
19044         (FPE_INTDIV): Likewise.
19045         (FPE_INTOVF): Likewise.
19046         (FPE_FLTDIV): Likewise.
19047         (FPE_FLTOVF): Likewise.
19048         (FPE_FLTUND): Likewise.
19049         (FPE_FLTRES): Likewise.
19050         (FPE_FLTINV): Likewise.
19051         (FPE_FLTSUB): Likewise.
19052         (FPE_DECOVF): Likewise.
19053         (FPE_DECDIV): Likewise.
19054         (FPE_DECERR): Likewise.
19055         (FPE_INVASC): Likewise.
19056         (FPE_INVDEC): Likewise.
19057         (SEGV_MAPERR): Likewise.
19058         (SEGV_ACCERR): Likewise.
19059         (SEGV_PSTKOVF): Likewise.
19060         (BUS_ADRALN): Likewise.
19061         (BUS_ADRERR): Likewise.
19062         (BUS_OBJERR): Likewise.
19063         (BUS_MCEERR_AR): Likewise.
19064         (BUS_MCEERR_AO): Likewise.
19065         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19066         (TRAP_TRACE): Likewise.
19067         (TRAP_BRANCH): Likewise.
19068         (TRAP_HWBKPT): Likewise.
19069         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19070         __USE_XOPEN2K8].
19071         (CLD_KILLED): Likewise.
19072         (CLD_DUMPED): Likewise.
19073         (CLD_TRAPPED): Likewise.
19074         (CLD_STOPPED): Likewise.
19075         (CLD_CONTINUED): Likewise.
19076         (POLL_IN): Likewise.
19077         (POLL_OUT): Likewise.
19078         (POLL_MSG): Likewise.
19079         (POLL_ERR): Likewise.
19080         (POLL_PRI): Likewise.
19081         (POLL_HUP): Likewise.
19082         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
19083         (ILL_ILLOPN): Likewise.
19084         (ILL_ILLADR): Likewise.
19085         (ILL_ILLTRP): Likewise.
19086         (ILL_PRVOPC): Likewise.
19087         (ILL_PRVREG): Likewise.
19088         (ILL_COPROC): Likewise.
19089         (ILL_BADSTK): Likewise.
19090         (FPE_INTDIV): Likewise.
19091         (FPE_INTOVF): Likewise.
19092         (FPE_FLTDIV): Likewise.
19093         (FPE_FLTOVF): Likewise.
19094         (FPE_FLTUND): Likewise.
19095         (FPE_FLTRES): Likewise.
19096         (FPE_FLTINV): Likewise.
19097         (FPE_FLTSUB): Likewise.
19098         (SEGV_MAPERR): Likewise.
19099         (SEGV_ACCERR): Likewise.
19100         (BUS_ADRALN): Likewise.
19101         (BUS_ADRERR): Likewise.
19102         (BUS_OBJERR): Likewise.
19103         (BUS_MCEERR_AR): Likewise.
19104         (BUS_MCEERR_AO): Likewise.
19105         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19106         (TRAP_TRACE): Likewise.
19107         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19108         __USE_XOPEN2K8].
19109         (CLD_KILLED): Likewise.
19110         (CLD_DUMPED): Likewise.
19111         (CLD_TRAPPED): Likewise.
19112         (CLD_STOPPED): Likewise.
19113         (CLD_CONTINUED): Likewise.
19114         (POLL_IN): Likewise.
19115         (POLL_OUT): Likewise.
19116         (POLL_MSG): Likewise.
19117         (POLL_ERR): Likewise.
19118         (POLL_PRI): Likewise.
19119         (POLL_HUP): Likewise.
19120         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
19121         (ILL_ILLOPN): Likewise.
19122         (ILL_ILLADR): Likewise.
19123         (ILL_ILLTRP): Likewise.
19124         (ILL_PRVOPC): Likewise.
19125         (ILL_PRVREG): Likewise.
19126         (ILL_COPROC): Likewise.
19127         (ILL_BADSTK): Likewise.
19128         (FPE_INTDIV): Likewise.
19129         (FPE_INTOVF): Likewise.
19130         (FPE_FLTDIV): Likewise.
19131         (FPE_FLTOVF): Likewise.
19132         (FPE_FLTUND): Likewise.
19133         (FPE_FLTRES): Likewise.
19134         (FPE_FLTINV): Likewise.
19135         (FPE_FLTSUB): Likewise.
19136         (SEGV_MAPERR): Likewise.
19137         (SEGV_ACCERR): Likewise.
19138         (BUS_ADRALN): Likewise.
19139         (BUS_ADRERR): Likewise.
19140         (BUS_OBJERR): Likewise.
19141         (BUS_MCEERR_AR): Likewise.
19142         (BUS_MCEERR_AO): Likewise.
19143         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19144         (TRAP_TRACE): Likewise.
19145         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19146         __USE_XOPEN2K8].
19147         (CLD_KILLED): Likewise.
19148         (CLD_DUMPED): Likewise.
19149         (CLD_TRAPPED): Likewise.
19150         (CLD_STOPPED): Likewise.
19151         (CLD_CONTINUED): Likewise.
19152         (POLL_IN): Likewise.
19153         (POLL_OUT): Likewise.
19154         (POLL_MSG): Likewise.
19155         (POLL_ERR): Likewise.
19156         (POLL_PRI): Likewise.
19157         (POLL_HUP): Likewise.
19158         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
19159         (ILL_ILLOPN): Likewise.
19160         (ILL_ILLADR): Likewise.
19161         (ILL_ILLTRP): Likewise.
19162         (ILL_PRVOPC): Likewise.
19163         (ILL_PRVREG): Likewise.
19164         (ILL_COPROC): Likewise.
19165         (ILL_BADSTK): Likewise.
19166         (FPE_INTDIV): Likewise.
19167         (FPE_INTOVF): Likewise.
19168         (FPE_FLTDIV): Likewise.
19169         (FPE_FLTOVF): Likewise.
19170         (FPE_FLTUND): Likewise.
19171         (FPE_FLTRES): Likewise.
19172         (FPE_FLTINV): Likewise.
19173         (FPE_FLTSUB): Likewise.
19174         (SEGV_MAPERR): Likewise.
19175         (SEGV_ACCERR): Likewise.
19176         (BUS_ADRALN): Likewise.
19177         (BUS_ADRERR): Likewise.
19178         (BUS_OBJERR): Likewise.
19179         (BUS_MCEERR_AR): Likewise.
19180         (BUS_MCEERR_AO): Likewise.
19181         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19182         (TRAP_TRACE): Likewise.
19183         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19184         __USE_XOPEN2K8].
19185         (CLD_KILLED): Likewise.
19186         (CLD_DUMPED): Likewise.
19187         (CLD_TRAPPED): Likewise.
19188         (CLD_STOPPED): Likewise.
19189         (CLD_CONTINUED): Likewise.
19190         (POLL_IN): Likewise.
19191         (POLL_OUT): Likewise.
19192         (POLL_MSG): Likewise.
19193         (POLL_ERR): Likewise.
19194         (POLL_PRI): Likewise.
19195         (POLL_HUP): Likewise.
19196         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
19197         (ILL_ILLOPN): Likewise.
19198         (ILL_ILLADR): Likewise.
19199         (ILL_ILLTRP): Likewise.
19200         (ILL_PRVOPC): Likewise.
19201         (ILL_PRVREG): Likewise.
19202         (ILL_COPROC): Likewise.
19203         (ILL_BADSTK): Likewise.
19204         (ILL_DBLFLT): Likewise.
19205         (ILL_HARDWALL): Likewise.
19206         (FPE_INTDIV): Likewise.
19207         (FPE_INTOVF): Likewise.
19208         (FPE_FLTDIV): Likewise.
19209         (FPE_FLTOVF): Likewise.
19210         (FPE_FLTUND): Likewise.
19211         (FPE_FLTRES): Likewise.
19212         (FPE_FLTINV): Likewise.
19213         (FPE_FLTSUB): Likewise.
19214         (SEGV_MAPERR): Likewise.
19215         (SEGV_ACCERR): Likewise.
19216         (BUS_ADRALN): Likewise.
19217         (BUS_ADRERR): Likewise.
19218         (BUS_OBJERR): Likewise.
19219         (BUS_MCEERR_AR): Likewise.
19220         (BUS_MCEERR_AO): Likewise.
19221         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19222         (TRAP_TRACE): Likewise.
19223         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19224         __USE_XOPEN2K8].
19225         (CLD_KILLED): Likewise.
19226         (CLD_DUMPED): Likewise.
19227         (CLD_TRAPPED): Likewise.
19228         (CLD_STOPPED): Likewise.
19229         (CLD_CONTINUED): Likewise.
19230         (POLL_IN): Likewise.
19231         (POLL_OUT): Likewise.
19232         (POLL_MSG): Likewise.
19233         (POLL_ERR): Likewise.
19234         (POLL_PRI): Likewise.
19235         (POLL_HUP): Likewise.
19236         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
19237         (ILL_ILLOPN): Likewise.
19238         (ILL_ILLADR): Likewise.
19239         (ILL_ILLTRP): Likewise.
19240         (ILL_PRVOPC): Likewise.
19241         (ILL_PRVREG): Likewise.
19242         (ILL_COPROC): Likewise.
19243         (ILL_BADSTK): Likewise.
19244         (FPE_INTDIV): Likewise.
19245         (FPE_INTOVF): Likewise.
19246         (FPE_FLTDIV): Likewise.
19247         (FPE_FLTOVF): Likewise.
19248         (FPE_FLTUND): Likewise.
19249         (FPE_FLTRES): Likewise.
19250         (FPE_FLTINV): Likewise.
19251         (FPE_FLTSUB): Likewise.
19252         (SEGV_MAPERR): Likewise.
19253         (SEGV_ACCERR): Likewise.
19254         (BUS_ADRALN): Likewise.
19255         (BUS_ADRERR): Likewise.
19256         (BUS_OBJERR): Likewise.
19257         (BUS_MCEERR_AR): Likewise.
19258         (BUS_MCEERR_AO): Likewise.
19259         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19260         (TRAP_TRACE): Likewise.
19261         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19262         __USE_XOPEN2K8].
19263         (CLD_KILLED): Likewise.
19264         (CLD_DUMPED): Likewise.
19265         (CLD_TRAPPED): Likewise.
19266         (CLD_STOPPED): Likewise.
19267         (CLD_CONTINUED): Likewise.
19268         (POLL_IN): Likewise.
19269         (POLL_OUT): Likewise.
19270         (POLL_MSG): Likewise.
19271         (POLL_ERR): Likewise.
19272         (POLL_PRI): Likewise.
19273         (POLL_HUP): Likewise.
19274         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
19275         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19277         [BZ #16670]
19278         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
19279         before #include of <time.h>.
19280         [!__USE_XOPEN2K] (__need_timespec): Likewise.
19281         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
19282         (test-xfail-UNIX98/sched.h/conform): Likewise.
19284 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19286         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
19287         error absence of trapping exception support.
19288         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19290 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
19292         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
19293         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
19294         * timezone/Makefile (testdata): Move definition above include of
19295         Rules.
19296         (test-zones): New variable.
19297         (tests-special): Add zone files.
19298         (build-testdata): Use $(evaluate-test).
19300         * elf/Makefile (tests-special): Rename tests to end with .out.
19301         ($(objpfx)noload-mem): Likewise.
19302         ($(objpfx)tst-leaks1-mem): Likewise.
19303         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
19304         * iconv/Makefile (xtests-special): Change test-iconvconfig to
19305         $(objpfx)test-iconvconfig.out.
19306         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
19307         set -e inside subshell and redirect output to file.
19308         * iconvdata/Makefile (generated): Rename tests to end with .out.
19309         Correct type.
19310         (tests-special): Rename tests to end with .out.
19311         ($(objpfx)mtrace-tst-loading): Likewise.
19312         * intl/Makefile (generated): Likewise.
19313         (tests-special): Likewise.
19314         ($(objpfx)mtrace-tst-gettext): Likewise.
19315         * misc/Makefile (generated): Likewise.
19316         (tests-special): Likewise.
19317         ($(objpfx)tst-error1-mem): Likewise.
19318         * nptl/Makefile (tests-special): Likewise.
19319         ($(objpfx)tst-stack3-mem): Likewise.
19320         (generated): Likewise.
19321         * posix/Makefile (generated): Likewise.
19322         (tests-special): Likewise.
19323         (xtests-special): Likewise.
19324         ($(objpfx)tst-fnmatch-mem): Likewise.
19325         ($(objpfx)bug-regex2-mem): Likewise.
19326         ($(objpfx)bug-regex14-mem): Likewise.
19327         ($(objpfx)bug-regex21-mem): Likewise.
19328         ($(objpfx)bug-regex31-mem): Likewise.
19329         ($(objpfx)tst-vfork3-mem): Likewise.
19330         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19331         ($(objpfx)tst-pcre-mem): Likewise.
19332         ($(objpfx)tst-boost-mem): Likewise.
19333         ($(objpfx)bug-ga2-mem): Likewise.
19334         ($(objpfx)bug-glob2-mem): Likewise.
19335         * resolv/Makefile (generate): Likewise.
19336         (tests-special): Likewise.
19337         (xtests-special): Likewise.
19338         (generated): Likewise.
19339         ($(objpfx)mtrace-tst-leaks): Likewise.
19340         ($(objpfx)mtrace-tst-leaks2): Likewise.
19342         * scripts/merge-test-results.sh: New file.
19343         * Makefile (tests-special-notdir): New variable.
19344         (tests): Run merge-test-results.sh.
19345         (xtests): Likewise.
19346         * Rules (tests-special-notdir): New variable.
19347         (xtests-special-notdir): Likewise.
19348         (tests): Run merge-test-results.sh
19349         (xtests): Likewise.
19351         * Makeconfig (test-xfail-name): New variable.
19352         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
19353         compute variable name for expected failures.
19354         * conform/Makefile (conformtest-headers-data): New variable.
19355         (conformtest-standards): Likewise.
19356         (conformtest-headers-ISO): Likewise.
19357         (conformtest-headers-ISO99): Likewise.
19358         (conformtest-headers-ISO11): Likewise.
19359         (conformtest-headers-POSIX): Likewise.
19360         (conformtest-headers-XPG3): Likewise.
19361         (conformtest-headers-XPG4): Likewise.
19362         (conformtest-headers-UNIX98): Likewise.
19363         (conformtest-headers-XOPEN2K): Likewise.
19364         (conformtest-headers-POSIX2008): Likewise.
19365         (conformtest-headers-XOPEN2K8): Likewise.
19366         (conformtest-header-list-base): Likewise.
19367         (conformtest-header-list-tests): Likewise.
19368         (conformtest-header-base): Likewise.
19369         (conformtest-header-tests): Likewise.
19370         (tests-special): Add $(conformtest-header-list-tests).  If
19371         [$(fast-check) && !$(cross-compiling)], add
19372         $(conformtest-header-tests) instead of
19373         $(objpfx)run-conformtest.out.
19374         (generated): Add $(conformtest-header-list-base).  If
19375         [$(fast-check) && !$(cross-compiling)], add
19376         $(conformtest-header-base).  Remove previous setting.
19377         ($(conformtest-header-list-tests)): New target.
19378         (test-xfail-run-conformtest): Remove variable.
19379         ($(objpfx)run-conformtest.out): Remove target.
19380         (test-xfail-ISO11/complex.h/conform): New variable.
19381         (test-xfail-ISO11/stdalign.h/conform): Likewise.
19382         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19383         (test-xfail-XPG3/varargs.h/conform): Likewise.
19384         (test-xfail-XPG4/varargs.h/conform): Likewise.
19385         (test-xfail-UNIX98/varargs.h/conform): Likewise.
19386         (test-xfail-XPG4/ndbm.h/conform): Likewise.
19387         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
19388         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
19389         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
19390         (test-xfail-XPG3/fcntl.h/conform): Likewise.
19391         (test-xfail-XPG3/ftw.h/conform): Likewise.
19392         (test-xfail-XPG3/grp.h/conform): Likewise.
19393         (test-xfail-XPG3/langinfo.h/conform): Likewise.
19394         (test-xfail-XPG3/limits.h/conform): Likewise.
19395         (test-xfail-XPG3/pwd.h/conform): Likewise.
19396         (test-xfail-XPG3/search.h/conform): Likewise.
19397         (test-xfail-XPG3/signal.h/conform): Likewise.
19398         (test-xfail-XPG3/stdio.h/conform): Likewise.
19399         (test-xfail-XPG3/stdlib.h/conform): Likewise.
19400         (test-xfail-XPG3/string.h/conform): Likewise.
19401         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
19402         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
19403         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19404         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19405         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
19406         (test-xfail-XPG3/sys/types.h/conform): Likewise.
19407         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
19408         (test-xfail-XPG3/termios.h/conform): Likewise.
19409         (test-xfail-XPG3/time.h/conform): Likewise.
19410         (test-xfail-XPG3/unistd.h/conform): Likewise.
19411         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
19412         (test-xfail-XPG4/fcntl.h/conform): Likewise.
19413         (test-xfail-XPG4/langinfo.h/conform): Likewise.
19414         (test-xfail-XPG4/netdb.h/conform): Likewise.
19415         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
19416         (test-xfail-XPG4/signal.h/conform): Likewise.
19417         (test-xfail-XPG4/stdio.h/conform): Likewise.
19418         (test-xfail-XPG4/stdlib.h/conform): Likewise.
19419         (test-xfail-XPG4/stropts.h/conform): Likewise.
19420         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19421         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19422         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19423         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19424         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19425         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
19426         (test-xfail-XPG4/sys/time.h/conform): Likewise.
19427         (test-xfail-XPG4/sys/types.h/conform): Likewise.
19428         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
19429         (test-xfail-XPG4/termios.h/conform): Likewise.
19430         (test-xfail-XPG4/ucontext.h/conform): Likewise.
19431         (test-xfail-XPG4/unistd.h/conform): Likewise.
19432         (test-xfail-XPG4/utmpx.h/conform): Likewise.
19433         (test-xfail-POSIX/sched.h/conform): Likewise.
19434         (test-xfail-POSIX/signal.h/conform): Likewise.
19435         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19436         (test-xfail-POSIX/tar.h/conform): Likewise.
19437         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
19438         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
19439         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
19440         (test-xfail-UNIX98/netdb.h/conform): Likewise.
19441         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
19442         (test-xfail-UNIX98/sched.h/conform): Likewise.
19443         (test-xfail-UNIX98/signal.h/conform): Likewise.
19444         (test-xfail-UNIX98/stdio.h/conform): Likewise.
19445         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
19446         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19447         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19448         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19449         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19450         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19451         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19452         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19453         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
19454         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
19455         (test-xfail-UNIX98/unistd.h/conform): Likewise.
19456         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19457         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
19458         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
19459         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
19460         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
19461         (test-xfail-XOPEN2K/math.h/conform): Likewise.
19462         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
19463         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19464         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19465         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
19466         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
19467         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
19468         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
19469         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19470         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19471         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19472         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19473         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19474         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19475         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
19476         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
19477         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
19478         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
19479         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19480         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
19481         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19482         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
19483         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
19484         (test-xfail-POSIX2008/signal.h/conform): Likewise.
19485         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19486         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
19487         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
19488         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19489         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19490         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
19491         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
19492         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19493         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19494         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
19495         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
19496         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19497         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19498         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19499         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
19500         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19501         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19502         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19503         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19504         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
19505         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
19506         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
19507         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
19508         (conformtest-cc-flags): Likewise.
19509         ($(conformtest-header-tests): New target.
19510         * conform/check-header-lists.sh: New file.
19511         * conform/run-conformtest.sh: Remove.
19513         * conform/conformtest.pl: Allow ' and \ in values given for
19514         constants.
19515         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
19516         inclusion.
19517         [POSIX] (sys/types.h): Likewise.
19518         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
19519         inclusion.
19520         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
19521         inclusion.
19522         * conform/data/signal.h-data (SIGIO): Remove expectation.
19523         [XPG3] (SIGBUS): Do not expect.
19524         [POSIX || XPG3] (SIGPOLL): Likewise.
19525         [POSIX || XPG3] (SIGPROF): Likewise.
19526         [POSIX || XPG3] (SIGSYS): Likewise.
19527         [XPG3] (SIGTRAP): Likewise.
19528         [POSIX || XPG3] (SIGURG): Likewise.
19529         [POSIX || XPG3] (SIGVTALRM): Likewise.
19530         [POSIX || XPG3] (SIGXCPU): Likewise.
19531         [POSIX || XPG3] (SIGXFSZ): Likewise.
19532         [POSIX] (SA_SIGINFO): Expect.
19533         [XPG3] (siginfo_t): Do not expect type or contents.
19534         [POSIX] (si_pid): Do not expect element.
19535         [POSIX] (si_uid): Likewise.
19536         [POSIX] (si_addr): Likewise.
19537         [POSIX] (si_status): Likewise.
19538         [POSIX] (si_band): Likewise.
19539         [XPG4] (si_value): Likewise.
19540         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
19541         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
19542         [POSIX || XPG3] (ILL_ILLADR): Likewise.
19543         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
19544         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
19545         [POSIX || XPG3] (ILL_PRVREG): Likewise.
19546         [POSIX || XPG3] (ILL_COPROC): Likewise.
19547         [POSIX || XPG3] (ILL_BADSTK): Likewise.
19548         [POSIX || XPG3] (FPE_INTDIV): Likewise.
19549         [POSIX || XPG3] (FPE_INTOVF): Likewise.
19550         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
19551         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
19552         [POSIX || XPG3] (FPE_FLTUND): Likewise.
19553         [POSIX || XPG3] (FPE_FLTRES): Likewise.
19554         [POSIX || XPG3] (FPE_FLTINV): Likewise.
19555         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
19556         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
19557         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
19558         [POSIX || XPG3] (BUS_ADRALN): Likewise.
19559         [POSIX || XPG3] (BUS_ADRERR): Likewise.
19560         [POSIX || XPG3] (BUS_OBJERR): Likewise.
19561         [POSIX || XPG3] (CLD_EXITED): Likewise.
19562         [POSIX || XPG3] (CLD_KILLED): Likewise.
19563         [POSIX || XPG3] (CLD_DUMPED): Likewise.
19564         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
19565         [POSIX || XPG3] (CLD_STOPPED): Likewise.
19566         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
19567         [POSIX || XPG3] (POLL_IN): Likewise.
19568         [POSIX || XPG3] (POLL_OUT): Likewise.
19569         [POSIX || XPG3] (POLL_MSG): Likewise.
19570         [POSIX || XPG3] (POLL_ERR): Likewise.
19571         [POSIX || XPG3] (POLL_PRI): Likewise.
19572         [POSIX || XPG3] (POLL_HUP): Likewise.
19573         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
19574         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
19575         (SIG*): Do not allow.
19576         [XPG3] (si_*): Likewise.
19577         [XPG3] (SI_*): Likewise.
19578         [XPG3 || XPG4] (sigev_*): Likewise.
19579         [XPG3 || XPG4] (SIGEV_*): Likewise.
19580         [XPG3 || XPG4] (sival_*): Likewise.
19581         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
19582         [POSIX || XPG3] (BUS_*): Likewise.
19583         [POSIX || XPG3] (CLD_*): Likewise.
19584         [POSIX || XPG3] (FPE_*): Likewise.
19585         [POSIX || XPG3] (ILL_*): Likewise.
19586         [POSIX || XPG3] (POLL_*): Likewise.
19587         [POSIX || XPG3] (SEGV_*): Likewise.
19588         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
19589         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
19590         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
19591         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
19592         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
19593         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
19594         Specify type and value.
19595         (TVERSLEN): Likewise.
19596         (REGTYPE): Likewise.
19597         (AREGTYPE): Likewise.
19598         (LNKTYPE): Likewise.
19599         (SYMTYPE): Likewise.
19600         (CHRTYPE): Likewise.
19601         (BLKTYPE): Likewise.
19602         (DIRTYPE): Likewise.
19603         (FIFOTYPE): Likewise.
19604         (CONTTYPE): Likewise.
19605         (TSUID): Likewise.
19606         (TSGID): Likewise.
19607         (TSVTX): Likewise.
19608         (TUREAD): Likewise.
19609         (TUWRITE): Likewise.
19610         (TUEXEC): Likewise.
19611         (TGREAD): Likewise.
19612         (TGWRITE): Likewise.
19613         (TGEXEC): Likewise.
19614         (TOREAD): Likewise.
19615         (TOWRITE): Likewise.
19616         (TOEXEC): Likewise.
19617         [POSIX] (TSVTX): Expect constant.
19619 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
19621         * Makefile (tests): Change dependencies to ....
19622         (tests-special): ... additions to this variable.
19623         (tests): Depend on $(tests-special).
19624         * Makerules (check-abi-list): New variable.
19625         (check-abi): Depend on $(check-abi-list).
19626         [$(subdir) = elf] (tests-special): Add
19627         $(objpfx)check-abi-libc.out.
19628         [$(build-shared) = yes && subdir] (tests-special): Add
19629         $(check-abi-list).
19630         [$(build-shared) = yes && subdir] (tests): Do not depend on
19631         check-abi.
19632         * Rules (tests): Depend on $(tests-special).
19633         (xtests): Depend on $(xtests-special).
19634         * catgets/Makefile (tests): Change dependencies to ....
19635         (tests-special): ... additions to this variable.
19636         * conform/Makefile (tests): Change dependencies to ....
19637         (tests-special): ... additions to this variable.
19638         * elf/Makefile (tests): Change dependencies to ....
19639         (tests-special): ... additions to this variable.
19640         * grp/Makefile (tests): Change dependencies to ....
19641         (tests-special): ... additions to this variable.
19642         * iconv/Makefile (xtests): Change dependencies to ....
19643         (xtests-special): ... additions to this variable.
19644         * iconvdata/Makefile (tests): Change dependencies to ....
19645         (tests-special): ... additions to this variable.
19646         * intl/Makefile (tests): Change dependencies to ....
19647         (tests-special): ... additions to this variable.  Also add
19648         $(objpfx)tst-gettext.out.
19649         * io/Makefile (tests): Change dependencies to ....
19650         (tests-special): ... additions to this variable.
19651         * libio/Makefile (tests): Change dependencies to ....
19652         (tests-special): ... additions to this variable.
19653         * malloc/Makefile (tests): Change dependencies to ....
19654         (tests-special): ... additions to this variable.
19655         * misc/Makefile (tests): Change dependencies to ....
19656         (tests-special): ... additions to this variable.
19657         * nptl/Makefile (tests): Change dependencies to ....
19658         (tests-special): ... additions to this variable.
19659         * nptl_db/Makefile (tests): Change dependencies to ....
19660         (tests-special): ... additions to this variable.
19661         * posix/Makefile (tests): Change dependencies to ....
19662         (tests-special): ... additions to this variable.
19663         (xtests): Change dependencies to ....
19664         (xtests-special): ... additions to this variable.
19665         * resolv/Makefile (tests): Change dependencies to ....
19666         (tests-special): ... additions to this variable.
19667         (xtests): Change dependencies to ....
19668         (xtests-special): ... additions to this variable.
19669         * stdio-common/Makefile (tests): Change dependencies to ....
19670         (tests-special): ... additions to this variable.
19671         (do-tst-unbputc): Remove target.
19672         (do-tst-printf): Likewise.
19673         * stdlib/Makefile (tests): Change dependencies to ....
19674         (tests-special): ... additions to this variable.
19675         * string/Makefile (tests): Change dependencies to ....
19676         (tests-special): ... additions to this variable.
19677         * sysdeps/x86/Makefile (tests): Change dependencies to ....
19678         (tests-special): ... additions to this variable.
19680         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
19681         whole file.
19682         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
19683         whole file.
19684         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
19685         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
19687         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
19688         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
19689         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
19690         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
19691         * conform/data/libgen.h-data [XPG3]: Likewise.
19692         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
19693         * conform/data/ndbm.h-data [XPG3]: Likewise.
19694         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19695         * conform/data/netdb.h-data [XPG3]: Likewise.
19696         * conform/data/netinet/in.h-data [XPG3]: Likewise.
19697         * conform/data/poll.h-data [XPG3]: Likewise.
19698         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19699         * conform/data/strings.h-data [XPG3]: Likewise.
19700         * conform/data/stropts.h-data [XPG3]: Likewise.
19701         * conform/data/sys/mman.h-data [XPG3]: Likewise.
19702         * conform/data/sys/resource.h-data [XPG3]: Likewise.
19703         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
19704         Likewise.
19705         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
19706         * conform/data/sys/time.h-data [XPG3]: Likewise.
19707         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
19708         * conform/data/sys/uio.h-data [XPG3]: Likewise.
19709         * conform/data/sys/un.h-data [XPG3]: Likewise.
19710         * conform/data/syslog.h-data [XPG3]: Likewise.
19711         * conform/data/ucontext.h-data [XPG3]: Likewise.
19712         * conform/data/utmpx.h-data [XPG3]: Likewise.
19713         * conform/data/varargs.h-data [UNIX98]: Enable file.
19715         * manual/Makefile (INSTALL_INFO): Remove variable setting.
19717         * math/libm-test.inc (struct test_f_f_data): Move expected results
19718         into structure for each rounding mode.
19719         (struct test_ff_f_data): Likewise.
19720         (struct test_ff_f_data_nexttoward): Likewise.
19721         (struct test_fi_f_data): Likewise.
19722         (struct test_fl_f_data): Likewise.
19723         (struct test_if_f_data): Likewise.
19724         (struct test_fff_f_data): Likewise.
19725         (struct test_c_f_data): Likewise.
19726         (struct test_f_f1_data): Likewise.
19727         (struct test_fF_f1_data): Likewise.
19728         (struct test_ffI_f1_data): Likewise.
19729         (struct test_c_c_data): Likewise.
19730         (struct test_cc_c_data): Likewise.
19731         (struct test_f_i_data): Likewise.
19732         (struct test_ff_i_data): Likewise.
19733         (struct test_f_l_data): Likewise.
19734         (struct test_f_L_data): Likewise.
19735         (struct test_fFF_11_data): Likewise.
19736         (RM_): New macro.
19737         (RM_FE_DOWNWARD): Likewise.
19738         (RM_FE_TONEAREST): Likewise.
19739         (RM_FE_TOWARDZERO): Likewise.
19740         (RM_FE_UPWARD): Likewise.
19741         (RUN_TEST_LOOP_f_f): Update references to expected results.
19742         (RUN_TEST_LOOP_2_f): Likewise.
19743         (RUN_TEST_LOOP_fff_f): Likewise.
19744         (RUN_TEST_LOOP_c_f): Likewise.
19745         (RUN_TEST_LOOP_f_f1): Likewise.
19746         (RUN_TEST_LOOP_fF_f1): Likewise.
19747         (RUN_TEST_LOOP_fI_f1): Likewise.
19748         (RUN_TEST_LOOP_ffI_f1): Likewise.
19749         (RUN_TEST_LOOP_c_c): Likewise.
19750         (RUN_TEST_LOOP_cc_c): Likewise.
19751         (RUN_TEST_LOOP_f_i): Likewise.
19752         (RUN_TEST_LOOP_f_i_tg): Likewise.
19753         (RUN_TEST_LOOP_ff_i_tg): Likewise.
19754         (RUN_TEST_LOOP_f_b): Likewise.
19755         (RUN_TEST_LOOP_f_b_tg): Likewise.
19756         (RUN_TEST_LOOP_f_l): Likewise.
19757         (RUN_TEST_LOOP_f_L): Likewise.
19758         (RUN_TEST_LOOP_fFF_11): Likewise.
19759         * math/gen-libm-test.pl (parse_args): Output four copies of
19760         expected results for each test.
19762         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19763         (__ASSUME_UTIMES): Remove.
19764         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19765         (__ASSUME_UTIMES): Likewise.
19767         * math/gen-auto-libm-tests.c: Update comment on output format.
19768         (output_for_one_input_case): Generate before-rounding and
19769         after-rounding information as conditions on output flags not
19770         floating-point format.
19771         * math/auto-libm-test-out: Regenerated.
19772         * math/gen-libm-test.pl (cond_value): New function.
19773         (or_cond_value): Use cond_value.
19774         (generate_testfile): Handle conditional exceptions.
19776 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
19778         * math/libm-test.inc (max_valid_error): New variable.
19779         (init_max_error): Take new argument specifying whether function
19780         results are exactly determined.  Set max_valid_error and bound
19781         other variables for errors based on this argument.
19782         (set_max_error): Do not record results above max_valid_error.
19783         (check_float_internal): Only accept errors of up to 0.5ulps if
19784         also at most max_valid_error.
19785         (START): Take new argument EXACT and pass it to init_max_error.
19786         (acos_test): Update call to START.
19787         (acos_test_tonearest): Likewise.
19788         (acos_test_towardzero): Likewise.
19789         (acos_test_downward): Likewise.
19790         (acos_test_upward): Likewise.
19791         (acosh_test): Likewise.
19792         (asin_test): Likewise.
19793         (asin_test_tonearest): Likewise.
19794         (asin_test_towardzero): Likewise.
19795         (asin_test_downward): Likewise.
19796         (asin_test_upward): Likewise.
19797         (asinh_test): Likewise.
19798         (atan_test): Likewise.
19799         (atanh_test): Likewise.
19800         (atan2_test): Likewise.
19801         (cabs_test): Likewise.
19802         (cacos_test): Likewise.
19803         (cacosh_test): Likewise.
19804         (carg_test): Likewise.
19805         (casin_test): Likewise.
19806         (casinh_test): Likewise.
19807         (catan_test): Likewise.
19808         (catanh_test): Likewise.
19809         (cbrt_test): Likewise.
19810         (ccos_test): Likewise.
19811         (ccosh_test): Likewise.
19812         (ceil_test): Likewise.
19813         (cexp_test): Likewise.
19814         (cimag_test): Likewise.
19815         (clog_test): Likewise.
19816         (clog10_test): Likewise.
19817         (conj_test): Likewise.
19818         (copysign_test): Likewise.
19819         (cos_test): Likewise.
19820         (cos_test_tonearest): Likewise.
19821         (cos_test_towardzero): Likewise.
19822         (cos_test_downward): Likewise.
19823         (cos_test_upward): Likewise.
19824         (cosh_test): Likewise.
19825         (cosh_test_tonearest): Likewise.
19826         (cosh_test_towardzero): Likewise.
19827         (cosh_test_downward): Likewise.
19828         (cosh_test_upward): Likewise.
19829         (cpow_test): Likewise.
19830         (cproj_test): Likewise.
19831         (creal_test): Likewise.
19832         (csin_test): Likewise.
19833         (csinh_test): Likewise.
19834         (csqrt_test): Likewise.
19835         (ctan_test): Likewise.
19836         (ctan_test_tonearest): Likewise.
19837         (ctan_test_towardzero): Likewise.
19838         (ctan_test_downward): Likewise.
19839         (ctan_test_upward): Likewise.
19840         (ctanh_test): Likewise.
19841         (ctanh_test_tonearest): Likewise.
19842         (ctanh_test_towardzero): Likewise.
19843         (ctanh_test_downward): Likewise.
19844         (ctanh_test_upward): Likewise.
19845         (erf_test): Likewise.
19846         (erfc_test): Likewise.
19847         (exp_test): Likewise.
19848         (exp_test_tonearest): Likewise.
19849         (exp_test_towardzero): Likewise.
19850         (exp_test_downward): Likewise.
19851         (exp_test_upward): Likewise.
19852         (exp10_test): Likewise.
19853         (exp10_test_tonearest): Likewise.
19854         (exp10_test_towardzero): Likewise.
19855         (exp10_test_downward): Likewise.
19856         (exp10_test_upward): Likewise.
19857         (pow10_test): Likewise.
19858         (exp2_test): Likewise.
19859         (expm1_test): Likewise.
19860         (expm1_test_tonearest): Likewise.
19861         (expm1_test_towardzero): Likewise.
19862         (expm1_test_downward): Likewise.
19863         (expm1_test_upward): Likewise.
19864         (fabs_test): Likewise.
19865         (fdim_test): Likewise.
19866         (floor_test): Likewise.
19867         (fma_test): Likewise.
19868         (fma_test_towardzero): Likewise.
19869         (fma_test_downward): Likewise.
19870         (fma_test_upward): Likewise.
19871         (fmax_test): Likewise.
19872         (fmin_test): Likewise.
19873         (fmod_test): Likewise.
19874         (fpclassify_test): Likewise.
19875         (frexp_test): Likewise.
19876         (hypot_test): Likewise.
19877         (ilogb_test): Likewise.
19878         (isfinite_test): Likewise.
19879         (finite_test): Likewise.
19880         (isgreater_test): Likewise.
19881         (isgreaterequal_test): Likewise.
19882         (isinf_test): Likewise.
19883         (isless_test): Likewise.
19884         (islessequal_test): Likewise.
19885         (islessgreater_test): Likewise.
19886         (isnan_test): Likewise.
19887         (isnormal_test): Likewise.
19888         (issignaling_test): Likewise.
19889         (isunordered_test): Likewise.
19890         (j0_test): Likewise.
19891         (j1_test): Likewise.
19892         (jn_test): Likewise.
19893         (ldexp_test): Likewise.
19894         (lgamma_test): Likewise.
19895         (gamma_test): Likewise.
19896         (lrint_test): Likewise.
19897         (lrint_test_tonearest): Likewise.
19898         (lrint_test_towardzero): Likewise.
19899         (lrint_test_downward): Likewise.
19900         (lrint_test_upward): Likewise.
19901         (llrint_test): Likewise.
19902         (llrint_test_tonearest): Likewise.
19903         (llrint_test_towardzero): Likewise.
19904         (llrint_test_downward): Likewise.
19905         (llrint_test_upward): Likewise.
19906         (log_test): Likewise.
19907         (log10_test): Likewise.
19908         (log1p_test): Likewise.
19909         (log2_test): Likewise.
19910         (logb_test): Likewise.
19911         (logb_test_downward): Likewise.
19912         (lround_test): Likewise.
19913         (llround_test): Likewise.
19914         (modf_test): Likewise.
19915         (nearbyint_test): Likewise.
19916         (nextafter_test): Likewise.
19917         (nexttoward_test): Likewise.
19918         (pow_test): Likewise.
19919         (pow_test_tonearest): Likewise.
19920         (pow_test_towardzero): Likewise.
19921         (pow_test_downward): Likewise.
19922         (pow_test_upward): Likewise.
19923         (remainder_test): Likewise.
19924         (drem_test): Likewise.
19925         (remainder_test_tonearest): Likewise.
19926         (drem_test_tonearest): Likewise.
19927         (remainder_test_towardzero): Likewise.
19928         (drem_test_towardzero): Likewise.
19929         (remainder_test_downward): Likewise.
19930         (drem_test_downward): Likewise.
19931         (remainder_test_upward): Likewise.
19932         (drem_test_upward): Likewise.
19933         (remquo_test): Likewise.
19934         (rint_test): Likewise.
19935         (rint_test_tonearest): Likewise.
19936         (rint_test_towardzero): Likewise.
19937         (rint_test_downward): Likewise.
19938         (rint_test_upward): Likewise.
19939         (round_test): Likewise.
19940         (scalb_test): Likewise.
19941         (scalbn_test): Likewise.
19942         (scalbln_test): Likewise.
19943         (signbit_test): Likewise.
19944         (sin_test): Likewise.
19945         (sin_test_tonearest): Likewise.
19946         (sin_test_towardzero): Likewise.
19947         (sin_test_downward): Likewise.
19948         (sin_test_upward): Likewise.
19949         (sincos_test): Likewise.
19950         (sinh_test): Likewise.
19951         (sinh_test_tonearest): Likewise.
19952         (sinh_test_towardzero): Likewise.
19953         (sinh_test_downward): Likewise.
19954         (sinh_test_upward): Likewise.
19955         (sqrt_test): Likewise.
19956         (sqrt_test_tonearest): Likewise.
19957         (sqrt_test_towardzero): Likewise.
19958         (sqrt_test_downward): Likewise.
19959         (sqrt_test_upward): Likewise.
19960         (tan_test): Likewise.
19961         (tan_test_tonearest): Likewise.
19962         (tan_test_towardzero): Likewise.
19963         (tan_test_downward): Likewise.
19964         (tan_test_upward): Likewise.
19965         (tanh_test): Likewise.
19966         (tgamma_test): Likewise.
19967         (trunc_test): Likewise.
19968         (y0_test): Likewise.
19969         (y1_test): Likewise.
19970         (yn_test): Likewise.
19971         (significand_test): Likewise.
19973         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
19974         individual tests in comment.
19975         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
19976         (prev_max_error): New variable.
19977         (prev_real_max_error): Likewise.
19978         (prev_imag_max_error): Likewise.
19979         (compare_ulp_data): Don't refer to test names in comment.
19980         (find_test_ulps): Remove function.
19981         (find_function_ulps): Likewise.
19982         (find_complex_function_ulps): Likewise.
19983         (init_max_error): Take function name as argument.  Look up ulps
19984         for that function.
19985         (print_ulps): Remove function.
19986         (print_max_error): Use prev_max_error instead of calling
19987         find_function_ulps.
19988         (print_complex_max_error): Use prev_real_max_error and
19989         prev_imag_max_error instead of calling find_complex_function_ulps.
19990         (check_float_internal): Take max_ulp parameter instead of calling
19991         find_test_ulps.  Don't call print_ulps.
19992         (check_float): Update call to check_float_internal.
19993         (check_complex): Update calls to check_float_internal.
19994         (START): Pass argument to init_max_error.
19995         * math/gen-libm-test.pl (%results): Don't include "kind"
19996         information.
19997         (parse_ulps): Don't handle ulps of individual tests.
19998         (print_ulps_file): Likewise.
19999         (output_ulps): Likewise.
20000         * math/README.libm-test: Update.
20001         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
20002         individual tests.
20003         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
20004         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
20005         * sysdeps/arm/libm-test-ulps: Likewise.
20006         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20007         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
20008         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
20009         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
20010         * sysdeps/microblaze/libm-test-ulps: Likewise.
20011         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20012         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20013         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20014         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
20015         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20016         * sysdeps/sh/libm-test-ulps: Likewise.
20017         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20018         * sysdeps/tile/libm-test-ulps: Likewise.
20019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20021 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
20023         * math/libm-test.inc (print_complex_max_error): Check separately
20024         whether real and imaginary errors are within allowed range and
20025         pass 0 to print_complex_function_ulps instead of value within
20026         allowed range.
20028 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20030         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
20031         formatting.
20032         (get_handles_fopen): Likewise.
20033         (do_write_test): Likewise.
20035         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
20037         * libio/fileops.c (do_ftell): Use cached offset when
20038         available.
20039         * libio/iofwide.c (do_ftell_wide): Likewise.
20040         * libio/iofdopen.c (_IO_new_fdopen): Don't use
20041         _IO_file_attach.
20042         * libio/wfileops.c (_IO_fwide): Don't cache offset.
20044         [BZ #16532]
20045         * libio/libioP.h (get_file_offset): New function.
20046         * libio/fileops.c (get_file_offset): Likewise.
20047         (do_ftell): Likewise.
20048         (_IO_new_file_seekoff): Split out ftell logic.
20049         * libio/wfileops.c (do_ftell_wide): Likewise.
20050         (_IO_wfile_seekoff): Split out ftell logic.
20051         * libio/tst-ftell-active-handler.c: New test case.
20052         * libio/Makefile (tests): Add it.
20054 2014-03-03  Roland McGrath  <roland@hack.frob.com>
20056         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
20057         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
20059 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20061         [BZ #16639]
20062         * nscd/connections.c (nscd_init): Call do_exit.
20063         (start_threads): Call do_exit and notify_parent.
20064         (begin_drop_privileges): Call do_exit.
20065         (finish_drop_privileges): Likewise.
20066         * nscd/selinux.c (preserve_capabilities): Likewise.
20067         (install_real_capabilities): Likewise.
20068         (nscd_selinux_enabled): Likewise.
20069         (avc_create_thread): Likewise.
20070         (avc_alloc_lock): Likewise.
20071         (nscd_avc_init): Likewise.
20072         * nscd/nscd.c (parent_fd): New static variable.
20073         (main): Create a pipe between parent and child processes.
20074         Skip closing parent_fd.
20075         (monitor_child): New function.
20076         (do_exit): Likewise.
20077         (notify_parent): Likewise.
20078         * nscd/nscd.h (notify_parent): Likewise.
20079         (do_exit): Likewise.
20081 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
20083         * malloc/malloc.c (__libc_calloc): Revert last change.
20085 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20087         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20089 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20091         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
20092         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
20093         implementation.
20094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20095         (__libc_ifunc_impl_list): Likewise.
20096         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
20097         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
20098         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
20099         * string/strrchr.c: Define STRRCHR.
20101 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
20103         * benchtest/bench-strtok.c (simple_strtok): Delete.
20104         (strtok_string): Use as benchmark.
20105         * string/strtok (STRTOK): New macro.
20107 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
20109         * manual/threads.texi: Add header and standard comments to all
20110         functions.
20112         * elf/dl-lookup.c (check_match): New function.
20113         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
20114         (do_lookup_x): Remove nested function check_match. Use non-nested
20115         function check_match.
20117 2014-02-28  Roland McGrath  <roland@hack.frob.com>
20119         * csu/Makefile (generated, before-compile): Use += rather than =.
20120         * catgets/Makefile (generated, generated-dirs): Likewise.
20121         * debug/Makefile (generated): Likewise.
20122         * dlfcn/Makefile (generated): Likewise.
20123         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
20124         * iconvdata/Makefile (before-compile, generated): Likewise.
20125         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
20126         * libio/Makefile (generated): Likewise.
20127         * malloc/Makefile (generated): Likewise.
20128         * manual/Makefile (generated, generated-dirs): Likewise.
20129         * misc/Makefile (generated): Likewise.
20130         * posix/Makefile (generated): Likewise.
20131         * resolv/Makefile (generated): Likewise.
20132         * sunrpc/Makefile (generated, generated-dirs): Likewise.
20133         * timezone/Makefile (generated, generated-dirs): Likewise.
20135         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
20137 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20139         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20140         power8 implementation.
20141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
20142         file: POWER8 llround ifunc implementation.
20143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20144         (__lllround): Add POWER8 implementation.
20145         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
20146         POWER8 llround implementation.
20148         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
20149         power8 implementation.
20150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
20151         file: POWER8 llrint ifunc implementation.
20152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
20153         Add POWER8 implementation.
20154         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
20155         POWER8 llrint implementation.
20157         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
20158         power8 implementation.
20159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
20160         file: POWER8 finite ifunc implementation.
20161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
20162         Add POWER8 implementation.
20163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
20164         Likewise.
20165         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
20166         POWER8 finite implementation.
20167         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
20169         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
20170         power8 implementation.
20171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
20172         file: POWER8 isinf ifunc implementation.
20173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
20174         POWER8 implementation.
20175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
20176         Likewise.
20177         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
20178         isinf implementation.
20179         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
20181         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20182         (INIT_ARCH): Add hwcap2 initialization.
20183         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20184         power8 implementation.
20185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
20186         file: POWER8 isnan ifunc implementation.
20187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
20188         POWER8 implementation.
20189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
20190         Likewise.
20191         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
20192         isnan implementation.
20193         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
20195 2014-02-27  Joey Ye  <joey.ye@arm.com>
20197         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20198         (_FP_NANFRAC_Q): Set to zero.
20200 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20202         [BZ #16623]
20203         * math/auto-libm-test-in: New test inputs.
20204         * math/auto-libm-test-out: Regenerate.
20205         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
20206         and DA.
20207         (__cos): Likewise.
20208         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20210 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
20212         * scripts/evaluate-test.sh: Take new argument indicating whether
20213         failure is expected.
20214         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
20215         indicating whether failure is expected.
20216         * conform/Makefile (test-xfail-run-conformtest): New variable.
20217         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
20218         level.
20219         * posix/Makefile (test-xfail-annexc): New variable.
20220         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
20222 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
20224         * argp/Makefile: Include Makeconfig immediately after defining
20225         subdir.
20226         * assert/Makefile: Likewise.
20227         * benchtests/Makefile: Likewise.
20228         * catgets/Makefile: Likewise.
20229         * conform/Makefile: Likewise.
20230         * crypt/Makefile: Likewise.
20231         * csu/Makefile: Likewise.
20232         (all): Remove target.
20233         * ctype/Makefile: Include Makeconfig immediately after defining
20234         subdir.
20235         * debug/Makefile: Likewise.
20236         * dirent/Makefile: Likewise.
20237         * dlfcn/Makefile: Likewise.
20238         * gmon/Makefile: Likewise.
20239         * gnulib/Makefile: Likewise.
20240         * grp/Makefile: Likewise.
20241         * gshadow/Makefile: Likewise.
20242         * hesiod/Makefile: Likewise.
20243         * hurd/Makefile: Likewise.
20244         (all): Remove target.
20245         * iconvdata/Makefile: Include Makeconfig immediately after
20246         defining subdir.
20247         * inet/Makefile: Likewise.
20248         * intl/Makefile: Likewise.
20249         * io/Makefile: Likewise.
20250         * libio/Makefile: Likewise.
20251         (all): Remove target.
20252         * locale/Makefile: Include Makeconfig immediately after defining
20253         subdir.
20254         * login/Makefile: Likewise.
20255         * mach/Makefile: Likewise.
20256         (all): Remove target.
20257         * malloc/Makefile: Include Makeconfig immediately after defining
20258         subdir.
20259         (all): Remove target.
20260         * manual/Makefile: Include Makeconfig immediately after defining
20261         subdir.
20262         * math/Makefile: Likewise.
20263         * misc/Makefile: Likewise.
20264         * nis/Makefile: Likewise.
20265         * nss/Makefile: Likewise.
20266         * po/Makefile: Likewise.
20267         (all): Remove target.
20268         * posix/Makefile: Include Makeconfig immediately after defining
20269         subdir.
20270         * pwd/Makefile: Likewise.
20271         * resolv/Makefile: Likewise.
20272         * resource/Makefile: Likewise.
20273         * rt/Makefile: Likewise.
20274         * setjmp/Makefile: Likewise.
20275         * shadow/Makefile: Likewise.
20276         * signal/Makefile: Likewise.
20277         * socket/Makefile: Likewise.
20278         * soft-fp/Makefile: Likewise.
20279         * stdio-common/Makefile: Likewise.
20280         * stdlib/Makefile: Likewise.
20281         * streams/Makefile: Likewise.
20282         * string/Makefile: Likewise.
20283         * sunrpc/Makefile: Likewise.
20284         (all): Remove target.
20285         * sysvipc/Makefile: Include Makeconfig immediately after defining
20286         subdir.
20287         * termios/Makefile: Likewise.
20288         * time/Makefile: Likewise.
20289         * timezone/Makefile: Likewise.
20290         (all): Remove target.
20291         * wcsmbs/Makefile: Include Makeconfig immediately after defining
20292         subdir.
20293         * wctype/Makefile: Likewise.
20295 2014-02-26  Steve Ellcey  <sellcey@mips.com>
20297         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
20298         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
20299         (libc_feholdexcept_setround_mips): Ditto.
20300         (libc_feholdsetround): New.
20301         (libc_feholdsetroundf): New.
20302         (libc_feholdsetroundl): New.
20303         (libc_feupdateenv_test_mips): New.
20304         (libc_feupdateenv_test): New.
20305         (libc_feupdateenv_testf): New.
20306         (libc_feupdateenv_testl): New.
20307         (libc_feresetround): New.
20308         (libc_feresetroundf): New.
20309         (libc_feresetroundl): New.
20310         (libc_fetestexcept_mips): New.
20311         (libc_fetestexcept): New.
20312         (libc_fetestexceptf): New.
20313         (libc_fetestexceptl): New.
20314         (HAVE_RM_CTX): New.
20315         (libc_feholdexcept_setround_mips_ctx): New.
20316         (libc_feholdexcept_setround_ctx): New.
20317         (libc_feholdexcept_setroundf_ctx): New.
20318         (libc_feholdexcept_setroundl_ctx): New.
20319         (libc_fesetenv_mips_ctx): New.
20320         (libc_fesetenv_ctx): New.
20321         (libc_fesetenv_ctxf): New.
20322         (libc_fesetenv_ctxl): New.
20323         (libc_feupdateenv_mips_ctx): New.
20324         (libc_feupdateenv_ctx): New.
20325         (libc_feupdateenvf_ctx): New.
20326         (libc_feupdateenvl_ctx): New.
20327         (libc_feholdsetround_mips_ctx): New.
20328         (libc_feholdsetround_ctx): New.
20329         (libc_feholdsetroundf_ctx): New.
20330         (libc_feholdsetroundl_ctx): New.
20331         (libc_feresetround_mips_ctx): New.
20332         (libc_feresetround_ctx): New.
20333         (libc_feresetroundf_ctx): New.
20334         (libc_feresetroundl_ctx): New.
20336 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
20338         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
20340         * manual/ipc.texi: New file.
20341         * manual/Makefile (chapters): Add ipc.
20342         * manual/job.texi: Add "Inter-Process Communication" to next.
20343         * manual/process.texi: Add "Inter-Process Communication" to prev.
20345 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20347         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20349 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
20351         * malloc/malloc.c (__libc_calloc): Simplify implementation.
20353         * manual/arith.texi: Fix spaces after sentences.
20354         * manual/charset.texi: Likewise.
20355         * manual/errno.texi: Likewise.
20356         * manual/install.texi: Likewise.
20357         * manual/llio.texi: Likewise.
20358         * manual/locale.texi: Likewise.
20359         * manual/maint.texi: Likewise.
20360         * manual/math.texi: Likewise.
20361         * manual/memory.texi: Likewise.
20362         * manual/message.texi: Likewise.
20363         * manual/probes.texi: Likewise.
20364         * manual/resource.texi: Likewise.
20365         * manual/signal.texi: Likewise.
20366         * manual/socket.texi: Likewise.
20367         * manual/stdio.texi: Likewise.
20368         * manual/string.texi: Likewise.
20369         * manual/time.texi: Likewise.
20370         * manual/users.texi: Likewise.
20372 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
20374         [BZ #16632]
20375         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
20376         _DEFAULT_SOURCE is defined.
20378 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
20379             Carlos O'Donell  <carlos@redhat.com>
20381         [BZ #16613]
20382         * elf/dl-tls.c (_dl_count_modids): New function.
20383         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
20384         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
20385         audit library and increment generation counter.
20386         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
20387         * elf/tst-audit9.c: New file.
20388         * elf/tst-auditmod9a.c: New file.
20389         * elf/tst-auditmod9b.c: New file.
20390         * elf/Makefile: Add rules to build and run tst-audit9.
20392 2014-02-25  Florian Weimer  <fweimer@redhat.com>
20394         [BZ #15347]
20395         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
20397 2014-02-25  Will Newton  <will.newton@linaro.org>
20399         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
20400         (__longjmp): Restore sp and lr before restoring callee
20401         saved registers.  Add longjmp and longjmp_target
20402         SystemTap probe point.
20403         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
20404         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
20405         Define to zero to match jmpbuf layout.
20406         * sysdeps/arm/setjmp.S: Include stap-probe.h.
20407         (__sigsetjmp): Save sp and lr before saving callee
20408         saved registers.  Add setjmp SystemTap probe point.
20410 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20412         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20414 2014-02-24  Andreas Schwab  <schwab@suse.de>
20416         [BZ #15804]
20417         * elf/pldd.c (wait_for_ptrace_stop): New function.
20418         (main): Call it after attaching.
20420 2014-02-22  Roland McGrath  <roland@hack.frob.com>
20422         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
20423         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
20424         Versions files is now verboten.
20425         * hurd/Versions (libc: GLIBC_2.0):
20426         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
20427         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
20428         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
20429         * mach/Versions: Likewise.
20431         * csu/Versions: Remove unused %include.
20432         * resolv/Versions: Likewise.
20434 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
20436         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
20437         ($(objpfx)check-local-headers.out): Likewise.
20438         ($(objpfx)begin-end-check.out): Likewise.
20439         * Makerules (check-abi-%.out): Likewise.
20440         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
20441         ($(objpfx)test2.cat): Likewise.
20442         ($(objpfx)de/libc.cat): Likewise.
20443         ($(objpfx)test-gencat.out): Likewise.
20444         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
20445         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
20446         ($(objpfx)noload-mem): Likewise.
20447         ($(objpfx)tst-pathopt.out): Likewise.
20448         ($(objpfx)tst-rtld-load-self.out): Likewise.
20449         ($(objpfx)tst-array1-cmp.out): Likewise.
20450         ($(objpfx)tst-array1-static-cmp.out): Likewise.
20451         ($(objpfx)tst-array2-cmp.out): Likewise.
20452         ($(objpfx)tst-array3-cmp.out): Likewise.
20453         ($(objpfx)tst-array4-cmp.out): Likewise.
20454         ($(objpfx)tst-array5-cmp.out): Likewise.
20455         ($(objpfx)tst-array5-static-cmp.out): Likewise.
20456         ($(objpfx)check-textrel.out): Likewise.
20457         ($(objpfx)check-execstack.out): Likewise.
20458         ($(objpfx)check-localplt.out): Likewise.
20459         ($(objpfx)order2-cmp.out): Likewise.
20460         ($(objpfx)tst-leaks1-mem): Likewise.
20461         ($(objpfx)tst-leaks1-static-mem): Likewise.
20462         ($(objpfx)tst-initorder-cmp.out): Likewise.
20463         ($(objpfx)tst-initorder2-cmp.out): Likewise.
20464         ($(objpfx)tst-unused-dep.out): Likewise.
20465         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
20466         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
20467         * iconv/Makefile (test-iconvconfig): Likewise.
20468         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
20469         ($(objpfx)iconv-test.out): Likewise.
20470         ($(objpfx)tst-tables.out): Likewise.
20471         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
20472         ($(objpfx)tst-gettext.out): Likewise.
20473         ($(objpfx)tst-translit.out): Likewise.
20474         ($(objpfx)tst-gettext2.out): Likewise.
20475         ($(objpfx)tst-gettext4.out): Likewise.
20476         ($(objpfx)tst-gettext6.out): Likewise.
20477         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
20478         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
20479         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
20480         ($(objpfx)tst-fopenloc-mem.out): Likewise.
20481         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
20482         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
20483         * posix/Makefile ($(objpfx)globtest.out): Likewise.
20484         ($(objpfx)wordexp-tst.out): Likewise.
20485         ($(objpfx)annexc.out): Likewise.
20486         ($(objpfx)tst-fnmatch-mem): Likewise.
20487         ($(objpfx)bug-regex2-mem): Likewise.
20488         ($(objpfx)bug-regex14-mem): Likewise.
20489         ($(objpfx)bug-regex21-mem): Likewise.
20490         ($(objpfx)bug-regex31-mem): Likewise.
20491         ($(objpfx)tst-vfork3-mem): Likewise.
20492         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20493         ($(objpfx)tst-pcre-mem): Likewise.
20494         ($(objpfx)tst-boost-mem): Likewise.
20495         ($(objpfx)tst-getconf.out): Likewise.
20496         ($(objpfx)bug-ga2-mem): Likewise.
20497         ($(objpfx)bug-glob2-mem): Likewise.
20498         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
20499         ($(objpfx)mtrace-tst-leaks2): Likewise.
20500         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
20501         ($(objpfx)tst-printf.out): Likewise.
20502         ($(objpfx)tst-setvbuf1.out): Likewise.
20503         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
20504         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
20505         ($(objpfx)tst-fmtmsg.out): Likewise.
20506         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
20507         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
20509         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
20510         * bits/sigaction.h [__USE_MISC]: Likewise.
20511         * bits/waitstatus.h: Update #endif comments.
20512         * ctype/ctype.h: Likewise.
20513         * dirent/dirent.h: Likewise.
20514         [__USE_MISC]: Remove redundant conditionals.
20515         * grp/grp.h: Update #endif comments.
20516         [__USE_GNU]: Remove redundant conditionals.
20517         [__USE_MISC]: Likewise.
20518         * inet/netinet/in.h [__USE_GNU]: Likewise.
20519         * io/sys/stat.h [__USE_MISC]: Likewise.
20520         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
20521         * libio/bits/stdio.h: Update #endif comments.
20522         [__USE_MISC]: Remove redundant conditionals.
20523         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
20524         * libio/stdio.h: Update #endif comments.
20525         [__USE_MISC]: Remove redundant conditionals.
20526         * math/bits/math-finite.h [__USE_MISC]: Likewise.
20527         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
20528         * math/math.h: Update #else and #endif comments.
20529         [__USE_MISC]: Remove redundant conditionals.
20530         * misc/sys/uio.h: Update #endif comments.
20531         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
20532         * posix/glob.h [__USE_MISC]: Likewise.
20533         * posix/sys/types.h: Update #endif comments.
20534         [__USE_MISC]: Remove redundant conditionals.
20535         * posix/sys/wait.h: Update #endif comments.
20536         [__USE_MISC]: Remove redundant conditionals.
20537         * posix/unistd.h: Update #endif comments.
20538         [__USE_MISC]: Remove redundant conditionals.
20539         * pwd/pwd.h [__USE_GNU]: Likewise.
20540         [__USE_MISC]: Likewise.
20541         * resolv/netdb.h [__USE_GNU]: Likewise.
20542         * signal/signal.h: Update #endif comments.
20543         [__USE_MISC]: Remove redundant conditionals.
20544         * stdlib/stdlib.h: Update #else and #endif comments.
20545         [__USE_MISC]: Remove redundant conditionals.
20546         [__USE_GNU]: Likewise.
20547         * string/bits/string2.h [__USE_MISC]: Likewise.
20548         * string/string.h: Update #endif comments.
20549         [__USE_MISC]: Remove redundant conditionals.
20550         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
20551         Likewise.
20552         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
20553         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
20554         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
20555         Likewise.
20556         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
20557         Likewise.
20558         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
20559         comments.
20560         [__USE_MISC]: Remove redundant conditionals.
20561         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
20562         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
20563         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
20564         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
20565         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
20566         Likewise.
20567         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
20568         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
20569         Likewise.
20570         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
20571         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
20572         Likewise.
20573         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
20574         Likewise.
20575         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
20576         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
20577         Likewise.
20578         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
20579         Likewise.
20580         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
20581         * sysdeps/x86/bits/string.h: Update #endif comments.
20582         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
20583         conditionals.
20584         * time/sys/time.h: Update #endif comments.
20585         * time/time.h: Likewise.
20586         [__USE_MISC]: Remove redundant conditionals.
20588 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
20590         [BZ #16600]
20591         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
20593 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
20595         * Versions.def (librt): Add GLIBC_2.17.
20597 2014-02-21  Adam Conrad  <adconrad@0c3.net>
20599         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
20600         synonym for _SYS_AUXV_H to allow direct inclusion.
20601         * sysdeps/sparc/bits/hwcap.h: Likewise.
20602         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
20603         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
20604         * sysdeps/sparc/sysdep.h: Likewise.
20606 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20608         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
20610 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20612         * benchtests/bench-strrchr.c: Print length instead of position.
20614 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
20616         [BZ #16611]
20617         * sysdeps/unix/sysv/linux/kernel-features.h
20618         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
20619         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
20620         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
20621         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
20622         Likewise.
20623         [__i386__ || __powerpc__ || __sh__ || __sparc__]
20624         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20625         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
20626         (__ASSUME_SENDMMSG): Define instead of using previous
20627         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
20628         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20629         (__ASSUME_SENDMMSG_SYSCALL): Define.
20630         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20631         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
20632         Likewise.
20633         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20634         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20635         Likewise.
20636         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20637         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20638         Likewise.
20639         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
20640         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20641         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20642         [__ASSUME_SENDMMSG]: Change conditionals to
20643         [__ASSUME_SENDMMSG_SOCKETCALL].
20644         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20645         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
20646         Define.
20647         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20648         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
20649         Likewise.
20650         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
20651         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20652         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20653         [!__ASSUME_SENDMMSG]: Change conditional to
20654         [!__ASSUME_SENDMMSG_SOCKETCALL].
20655         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20656         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20657         Define.
20659         [BZ #16610]
20660         * sysdeps/unix/sysv/linux/kernel-features.h
20661         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
20662         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
20663         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
20664         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
20665         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20666         [__i386__ || __sparc__]
20667         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20668         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
20669         (__ASSUME_RECVMMSG): Define instead of using previous
20670         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
20671         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20672         (__ASSUME_RECVMMSG_SYSCALL): Define.
20673         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20674         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20675         Likewise.
20676         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20677         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20678         Likewise.
20679         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20680         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20681         Likewise.
20682         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
20683         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20684         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20685         [__ASSUME_RECVMMSG]: Change condition to
20686         [__ASSUME_RECVMMSG_SOCKETCALL].
20687         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20688         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20689         Define.
20690         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20691         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20692         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20693         Likewise.
20694         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
20695         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20696         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20697         [!__ASSUME_RECVMMSG]: Change condition to
20698         [!__ASSUME_RECVMMSG_SOCKETCALL].
20699         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20700         (__ASSUME_RECVMMSG_SYSCALL): Define.
20702         [BZ #16609]
20703         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
20704         __powerpc__ || __s390__ || __sh__ || __sparc__]
20705         (__ASSUME_SOCKETCALL): Define.
20706         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
20707         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
20708         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
20709         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
20710         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20711         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
20712         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
20713         (__ASSUME_ACCEPT4): Define instead of using previous
20714         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
20715         __powerpc__ || __sparc__ || __s390__)] condition.
20716         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20717         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20718         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
20719         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20720         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20721         [!__ASSUME_ACCEPT4]: Change condition to
20722         [!__ASSUME_ACCEPT4_SOCKETCALL].
20723         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20724         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
20725         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
20726         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20727         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
20728         __ASSUME_ACCEPT4_SYSCALL.
20729         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
20730         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
20731         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20732         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
20733         __ASSUME_ACCEPT4_SYSCALL.
20734         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
20735         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20736         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20737         [__ASSUME_ACCEPT4]: Change condition to
20738         [__ASSUME_ACCEPT4_SOCKETCALL].
20739         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20740         (__ASSUME_SOCKETCALL): Define.
20741         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
20742         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20743         (__ASSUME_SOCKETCALL): Define.
20744         (__ASSUME_ACCEPT4): Remove.
20745         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
20746         Define.
20747         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20748         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
20749         Likewise.
20750         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20751         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20753         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
20754         macro.
20755         (HWCAP_ARM_LPAE): Likewise.
20756         (HWCAP_ARM_EVTSTRM): Likewise.
20757         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
20758         Add vpfd32, lpae and evtstrm.
20759         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
20760         Increase to 22.
20762 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
20764         * math/auto-libm-test-in: Add tests of clog10.
20765         * math/auto-libm-test-out: Regenerated.
20766         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
20767         * sysdeps/i386/fpu/libm-test-ulps: Update.
20768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20770 2014-02-18  Andreas Schwab  <schwab@suse.de>
20772         [BZ #16574]
20773         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
20774         Store non-zero if the second buffer was newly allocated.
20775         (send_dg): Likewise.
20776         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
20777         to send_vc and send_dg.
20778         (res_nsend): Pass NULL for ansp2_malloced.
20779         * resolv/res_query.c (__libc_res_nquery): Add parameter
20780         answerp2_malloced and pass it down to __libc_res_nsend.
20781         (res_nquery): Pass additional NULL to __libc_res_nquery.
20782         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
20783         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
20784         second answer buffer if answerp2_malloced was set.
20785         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
20786         (__libc_res_nquerydomain): Add parameter
20787         answerp2_malloced and pass it down to __libc_res_nquery.
20788         (res_nquerydomain): Pass additional NULL to
20789         __libc_res_nquerydomain.
20790         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
20791         additional NULL to __libc_res_nsend and __libc_res_nquery.
20792         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
20793         additional NULL to __libc_res_nsearch.
20794         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
20795         parameter of __libc_res_nsearch to check for separately allocated
20796         second buffer.
20797         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
20798         __libc_res_nquery.
20799         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
20800         additional NULL to __libc_res_nquery.
20801         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
20802         __libc_res_nsearch.
20803         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
20804         * include/resolv.h: Update prototypes of __libc_res_nquery,
20805         __libc_res_nsearch, __libc_res_nsend.
20807 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
20809         * math/auto-libm-test-in: Add tests of fma.
20810         * math/auto-libm-test-out: Regenerated.
20811         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
20812         (fma_towardzero_test_data): Likewise.
20813         (fma_downward_test_data): Likewise.
20814         (fma_upward_test_data): Likewise.
20815         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
20816         mpc_mode.
20817         (rounding_modes): Add values for new field.
20818         (func_calc_method): Add value mpfr_fff_f.
20819         (func_calc_desc): Add mpfr_fff_f union field.
20820         (test_function): Add field exact_args.
20821         (FUNC): Add macro argument EXACT_ARGS.
20822         (FUNC_mpfr_f_f): Update call to FUNC.
20823         (FUNC_mpfr_f_f): Likewise.
20824         (FUNC_mpfr_ff_f): Likewise.
20825         (FUNC_mpfr_if_f): Likewise.
20826         (FUNC_mpc_c_f): Likewise.
20827         (FUNC_mpc_c_c): Likewise.
20828         (test_functions): Add fma.  Update calls to FUNC.
20829         (handle_input_arg): Add argument exact_args.
20830         (add_test): Update call to handle_input_arg.
20831         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
20832         (output_for_one_input_case): Update call to calc_generic_results.
20833         Recalculate exact zero results in each rounding mode.
20835         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
20836         non-negative before setting low bit.
20837         * math/auto-libm-test-in: Mark one asin test possibly having
20838         spurious underflow.
20839         * math/auto-libm-test-out: Regenerated.
20840         * sysdeps/i386/fpu/libm-test-ulps: Update.
20841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20843 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
20845         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
20846         * sysdeps/unix/sysv/linux/microblaze: Move directory from
20847         ports/sysdeps/unix/sysv/linux/microblaze.
20848         * README: Add missing listing for microblaze*-*-linux-gnu.
20850 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
20852         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
20853         duplicate code
20855 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
20857         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
20858         * sysdeps/unix/sysv/linux/ia64: Move directory from
20859         ports/sysdeps/unix/sysv/linux/ia64.
20860         * README: Update listing for ia64-*-linux-gnu.
20862 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
20863             Joseph Myers  <joseph@codesourcery.com>
20865         * Makeconfig (test-name): New variable.
20866         (evaluate-test): Likewise.
20867         * Makerules (do-test-clean): Remove .test-result files.
20868         (common-mostlyclean): Likewise.
20869         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
20870         * scripts/evaluate-test.sh: New file.
20872 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
20874         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
20875         separate $(objpfx)tst-fopenloc-cmp.out and
20876         $(objpfx)tst-fopenloc-mem.out targets.
20877         (tests): Update dependencies.
20878         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
20879         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
20880         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
20881         (tst-rxspencer-no-utf8-ARGS): New variable.
20882         (tst-rxspencer-no-utf8-ENV): Likewise.
20883         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
20884         instead of $(objpfx)tst-rxspencer-mem.
20885         ($(objpfx)tst-rxspencer-mem): Change target to
20886         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
20887         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
20888         * posix/tst-rxspencer-no-utf8.c: New file.
20890         * elf/Makefile ($(objpfx)order.out): Remove rule.
20891         [$(run-built-tests) = yes] (tests): Depend on
20892         $(objpfx)order-cmp.out.
20893         ($(objpfx)order-cmp.out): New rule.
20894         [$(run-built-tests) = yes] (tests): Depend on
20895         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
20896         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
20897         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
20898         $(objpfx)tst-array5-static-cmp.out.
20899         ($(objpfx)tst-array1.out): Remove rule.
20900         ($(objpfx)tst-array1-cmp.out): New rule.
20901         ($(objpfx)tst-array1-static.out): Remove rule.
20902         ($(objpfx)tst-array1-static-cmp.out): New rule.
20903         ($(objpfx)tst-array2.out): Remove rule.
20904         ($(objpfx)tst-array2-cmp.out): New rule.
20905         ($(objpfx)tst-array3.out): Remove rule.
20906         ($(objpfx)tst-array3-cmp.out): New rule.
20907         ($(objpfx)tst-array4.out): Remove rule.
20908         ($(objpfx)tst-array4-cmp.out): New rule.
20909         ($(objpfx)tst-array5.out): Remove rule.
20910         ($(objpfx)tst-array5-cmp.out): New rule.
20911         ($(objpfx)tst-array5-static.out): Remove rule.
20912         ($(objpfx)tst-array5-static-cmp.out): New rule.
20913         [$(run-built-tests) = yes] (tests): Depend on
20914         $(objpfx)order2-cmp.out.
20915         ($(objpfx)order2.out): Remove rule.
20916         ($(objpfx)order2-cmp.out): New rule.
20917         ($(objpfx)tst-initorder.out): Remove rule.
20918         [$(run-built-tests) = yes] (tests): Depend on
20919         $(objpfx)tst-initorder-cmp.out.
20920         ($(objpfx)tst-initorder-cmp.out): New rule.
20921         ($(objpfx)tst-initorder2.out): Remove rule.
20922         [$(run-built-tests) = yes] (tests): Depend on
20923         $(objpfx)tst-initorder2-cmp.out.
20924         ($(objpfx)tst-initorder2-cmp.out): New rule.
20925         [$(run-built-tests) = yes] (tests): Depend on
20926         $(objpfx)tst-unused-dep-cmp.out.
20927         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
20928         ($(objpfx)tst-unused-dep-cmp.out): New rule.
20929         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
20930         on $(objpfx)tst-setvbuf1-cmp.out.
20931         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
20932         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
20933         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
20934         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
20935         ($(objpfx)tst-svc.out): Remove rule.
20936         ($(objpfx)tst-svc-cmp.out): New rule.
20938 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
20940         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
20941         * ctype/ctype.h [__USE_MISC]: Likewise.
20942         * dirent/dirent.h [__USE_MISC]: Likewise.
20943         * grp/grp.h [__USE_MISC]: Likewise.
20944         * io/fcntl.h [__USE_MISC]: Likewise.
20945         * io/sys/stat.h [__USE_MISC]: Likewise.
20946         * libio/stdio.h [__USE_MISC]: Likewise.
20947         * posix/unistd.h [__USE_MISC]: Likewise.
20948         * pwd/pwd.h [__USE_MISC]: Likewise.
20949         * stdlib.h [__USE_MISC]: Likewise.
20950         * string/bits/string2.h [__USE_MISC]: Likewise.
20951         * string/string.h [__USE_MISC]: Likewise.
20952         * time/time.h [__USE_MISC]: Likewise.
20954 2014-02-13  Andreas Schwab  <schwab@suse.de>
20956         [BZ #16574]
20957         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
20958         second answer buffer if it was separately allocated.
20960 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
20962         * sysdeps/mips/math-tests.h: Include <features.h>.
20963         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20964         (ROUNDING_TESTS_long_double): Do not define.
20965         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20966         (EXCEPTION_TESTS_long_double): Likewise.
20967         * sysdeps/mips/mips64/libm-test-ulps: Update.
20969         * include/features.h (__USE_BSD): Remove macro definitions.
20970         (__USE_SVID): Likewise.
20971         (_BSD_SOURCE): Likewise.
20972         (_SVID_SOURCE): Likewise.
20973         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
20974         from definition of _DEFAULT_SOURCE.
20975         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
20976         [_DEFAULT_SOURCE].
20977         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
20978         * bits/mman.h [__USE_BSD]: Likewise.
20979         * bits/termios.h [__USE_BSD]: Likewise.
20980         * bits/waitstatus.h [__USE_BSD]: Likewise.
20981         * ctype/ctype.h [__USE_SVID]: Likewise.
20982         * dirent/dirent.h [__USE_BSD]: Likewise.
20983         * grp/grp.h [__USE_SVID]: Likewise.
20984         [__USE_BSD]: Likewise.
20985         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
20986         * io/fcntl.h [__USE_BSD]: Likewise.
20987         * io/ftw.h [__USE_BSD]: Likewise.
20988         * io/sys/stat.h [__USE_BSD]: Likewise.
20989         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
20990         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
20991         * libio/stdio.h [__USE_SVID]: Likewise.
20992         [__USE_BSD]: Likewise.
20993         * math/math.h [__USE_SVID]: Likewise.
20994         [__USE_BSD]: Likewise.
20995         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
20996         * misc/bits/syslog.h [__USE_BSD]: Likewise.
20997         * misc/search.h [__USE_SVID]: Likewise.
20998         * misc/sys/mman.h [__USE_BSD]: Likewise.
20999         * misc/sys/syslog.h [__USE_BSD]: Likewise.
21000         * misc/sys/uio.h [__USE_BSD]: Likewise.
21001         * posix/bits/unistd.h [__USE_BSD]: Likewise.
21002         * posix/glob.h [__USE_BSD]: Likewise.
21003         * posix/regex.h [__USE_BSD]: Likewise.
21004         * posix/sys/types.h [__USE_BSD]: Likewise.
21005         [__USE_SVID]: Likewise.
21006         * posix/sys/utsname.h [__USE_SVID]: Likewise.
21007         * posix/sys/wait.h [__USE_BSD]: Likewise.
21008         [__USE_SVID]: Likewise.
21009         * posix/unistd.h [__USE_BSD]: Likewise.
21010         [__USE_SVID]: Likewise.
21011         * pwd/pwd.h [__USE_SVID]: Likewise.
21012         * resolv/netdb.h [__USE_BSD]: Likewise.
21013         * setjmp/setjmp.h [__USE_BSD]: Likewise.
21014         * signal/signal.h [__USE_BSD]: Likewise.
21015         [__USE_SVID]: Likewise.
21016         * socket/sys/socket.h [__USE_BSD]: Likewise.
21017         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
21018         * stdlib/stdlib.h [__USE_BSD]: Likewise.
21019         [__USE_SVID]: Likewise.
21020         * string/bits/string2.h [__USE_BSD]: Likewise.
21021         [__USE_SVID]: Likewise.
21022         * string/bits/string3.h [__USE_BSD]: Likewise.
21023         * string/endian.h [__USE_BSD]: Likewise.
21024         * string/string.h [__USE_SVID]: Likewise.
21025         [__USE_BSD]: Likewise.
21026         * string/strings.h [__USE_BSD]: Likewise.
21027         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
21028         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
21029         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
21030         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
21031         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
21032         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
21033         Likewise.
21034         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
21035         Likewise.
21036         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
21037         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
21038         Likewise.
21039         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
21040         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
21041         Likewise.
21042         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
21043         Likewise.
21044         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
21045         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
21046         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
21047         Likewise.
21048         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
21049         Likewise.
21050         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
21051         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
21052         * termios/termios.h [__USE_BSD]: Likewise.
21053         * time/sys/time.h [__USE_BSD]: Likewise.
21054         * time/time.h [__USE_BSD]: Likewise.
21055         [__USE_SVID]: Likewise.
21057         * Makefile (subdir_targets): Remove subdir_lint.out.
21059         * stdio-common/Makefile (do-tst-unbputc): Remove target.
21060         (do-tst-printf): Likewise.
21061         (tests): Depend directly on $(objpfx)tst-unbputc.out and
21062         $(objpfx)tst-printf.out.
21064         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
21066         * Makerules (check-abi-%): Change target to
21067         $(objpfx)check-abi-%.out.
21068         (check-abi target): Update dependencies.
21069         (check-abi-pattern variable): Redirect output of diff to $@.
21070         (check-abi variable): Likewise.
21071         * elf/Makefile (check-abi): Update dependencies.
21073         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
21074         unused.
21075         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
21076         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
21077         subnormal range.
21078         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
21079         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
21080         value has largest subnormal exponent.
21081         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
21082         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
21083         * sysdeps/aarch64/soft-fp/sfp-machine.h
21084         (_FP_TININESS_AFTER_ROUNDING): New macro.
21085         * sysdeps/alpha/soft-fp/sfp-machine.h
21086         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21087         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21088         Likewise.
21089         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
21090         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21091         * sysdeps/mips/soft-fp/sfp-machine.h
21092         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21093         * sysdeps/powerpc/soft-fp/sfp-machine.h
21094         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21095         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21096         Likewise.
21097         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21098         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21099         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21100         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21101         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21102         Likewise.
21104 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
21106         [BZ #16545]
21107         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
21108         model 1.
21110 2014-02-12  Richard Henderson  <rth@redhat.com>
21112         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
21113         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
21114         * sysdeps/unix/sysv/linux/alpha: Move directory from
21115         ports/sysdeps/unix/sysv/linux/alpha.
21116         * README: Update listing for alpha-*-linux-gnu.
21118 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
21120         * include/features.h: Update comment documenting feature test
21121         macros.
21122         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
21123         _DEFAULT_SOURCE.
21124         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
21125         (_SVID_SOURCE): Likewise.
21126         (_DEFAULT_SOURCE): Update description of default features.
21127         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
21128         with _GNU_SOURCE.
21129         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
21130         (S_ISVTX): Likewise.
21131         * manual/math.texi (Mathematical Constants): Likewise.
21132         * manual/signal.texi (Interrupted Primitives): Likewise.
21133         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
21134         * math/test-matherr.c (_SVID_SOURCE): Do not define.
21135         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
21136         Don't refer to _SVID_SOURCE in warning text.
21138         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21140         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
21141         already defined.
21142         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
21143         * sysdeps/mips/dl-lookup.c: Remove.
21144         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
21146 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21148         [BZ #16447]
21149         * math/auto-libm-test-in: Add testcase for expl.
21150         * math/auto-libm-test-out: Regenerate.
21151         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
21152         calculation of unsafe.
21153         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
21155 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21157         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
21158         * sysdeps/unix/sysv/linux/aarch64: Move directory from
21159         ports/sysdeps/unix/sysv/linux/aarch64.
21160         * README: Update listing for aarch64*-*-linux-gnu.
21162 2014-02-11  Will Newton  <will.newton@linaro.org>
21164         * manual/probes.texi (Mathematical Function Probes): Use
21165         "triggered" instead of "hit".
21167         * manual/probes.texi (Internal Probes): Add documentation
21168         of setjmp, longjmp and longjmp_target probes.
21170         * include/stap-probe.h: Add comment about probe argument
21171         format.
21173         * malloc/mtrace.c (attribute_hidden): Remove unused macro
21174         definition.  (tr_where, tr_freehook, tr_mallochook,
21175         tr_reallochook, tr_memalignhook): Use ANSI protoype.
21177 2014-02-11  David S. Miller  <davem@davemloft.net>
21179         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
21180         processing int_tests.
21182 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
21184         * sysdeps/mips: Move directory from ports/sysdeps/mips.
21185         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
21186         * sysdeps/unix/sysv/linux/mips: Move directory from
21187         ports/sysdeps/unix/sysv/linux/mips.
21188         * README: Update listing for mips-*-linux-gnu and
21189         mips64-*-linux-gnu.
21191 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
21193         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
21194         * sysdeps/unix/sysv/linux/m68k: Move directory from
21195         ports/sysdeps/unix/sysv/linux/m68k.
21196         * README: Update listing for m68k-*-linux-gnu.
21198 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
21200         * sysdeps/tile: Move directory from ports/sysdeps/tile.
21201         * sysdeps/unix/sysv/linux/generic: Move directory from
21202         ports/sysdeps/unix/sysv/linux/generic.
21203         * sysdeps/unix/sysv/linux/tile: Move directory from
21204         ports/sysdeps/unix/sysv/linux/tile.
21205         * README: Update listing for tile*-*-linux-gnu.
21207 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
21209         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
21210         __builtin_expect.
21211         * benchtests/bench-memmem.c (simple_memmem): Likewise.
21212         * catgets/open_catalog.c (__open_catalog): Likewise.
21213         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
21214         * debug/confstr_chk.c: Likewise.
21215         * debug/fread_chk.c (__fread_chk): Likewise.
21216         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
21217         * debug/getgroups_chk.c: Likewise.
21218         * debug/mbsnrtowcs_chk.c: Likewise.
21219         * debug/mbsrtowcs_chk.c: Likewise.
21220         * debug/mbstowcs_chk.c: Likewise.
21221         * debug/memcpy_chk.c: Likewise.
21222         * debug/memmove_chk.c: Likewise.
21223         * debug/mempcpy_chk.c: Likewise.
21224         * debug/memset_chk.c: Likewise.
21225         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21226         * debug/strcat_chk.c (__strcat_chk): Likewise.
21227         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
21228         * debug/strncat_chk.c (__strncat_chk): Likewise.
21229         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
21230         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
21231         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
21232         * debug/wcpncpy_chk.c: Likewise.
21233         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21234         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
21235         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
21236         * debug/wcsncpy_chk.c: Likewise.
21237         * debug/wcsnrtombs_chk.c: Likewise.
21238         * debug/wcsrtombs_chk.c: Likewise.
21239         * debug/wcstombs_chk.c: Likewise.
21240         * debug/wmemcpy_chk.c: Likewise.
21241         * debug/wmemmove_chk.c: Likewise.
21242         * debug/wmempcpy_chk.c: Likewise.
21243         * debug/wmemset_chk.c: Likewise.
21244         * dirent/scandirat.c (SCANDIRAT): Likewise.
21245         * dlfcn/dladdr1.c (dladdr1): Likewise.
21246         * dlfcn/dladdr.c (dladdr): Likewise.
21247         * dlfcn/dlclose.c (dlclose_doit): Likewise.
21248         * dlfcn/dlerror.c (__dlerror): Likewise.
21249         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
21250         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
21251         * dlfcn/dlopen.c (dlopen_doit): Likewise.
21252         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21253         * dlfcn/dlsym.c (dlsym_doit): Likewise.
21254         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
21255         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
21256         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
21257         Likewise.
21258         * elf/dl-conflict.c: Likewise.
21259         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
21260         * elf/dl-dst.h: Likewise.
21261         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
21262         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
21263         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
21264         * elf/dl-init.c (call_init, _dl_init): Likewise.
21265         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
21266         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
21267         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
21268         Likewise.
21269         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
21270         Likewise.
21271         * elf/dl-minimal.c (__libc_memalign): Likewise.
21272         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
21273         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21274         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
21275         * elf/dl-sym.c (do_sym): Likewise.
21276         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
21277         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
21278         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
21279         * elf/dl-writev.h (_dl_writev): Likewise.
21280         * elf/ldconfig.c (search_dir): Likewise.
21281         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
21282         (dl_main): Likewise.
21283         * elf/setup-vdso.h (setup_vdso): Likewise.
21284         * grp/compat-initgroups.c (compat_call): Likewise.
21285         * grp/fgetgrent.c (fgetgrent): Likewise.
21286         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
21287         * grp/putgrent.c (putgrent): Likewise.
21288         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21289         Likewise.
21290         * hurd/hurdinit.c: Likewise.
21291         * iconvdata/8bit-gap.c (struct): Likewise.
21292         * iconvdata/ansi_x3.110.c : Likewise.
21293         * iconvdata/big5.c : Likewise.
21294         * iconvdata/big5hkscs.c : Likewise.
21295         * iconvdata/cp1255.c: Likewise.
21296         * iconvdata/cp1258.c : Likewise.
21297         * iconvdata/cp932.c : Likewise.
21298         * iconvdata/euc-cn.c: Likewise.
21299         * iconvdata/euc-jisx0213.c : Likewise.
21300         * iconvdata/euc-jp.c: Likewise.
21301         * iconvdata/euc-jp-ms.c : Likewise.
21302         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
21303         * iconvdata/gb18030.c : Likewise.
21304         * iconvdata/gbbig5.c (const): Likewise.
21305         * iconvdata/gbgbk.c: Likewise.
21306         * iconvdata/gbk.c : Likewise.
21307         * iconvdata/ibm1364.c : Likewise.
21308         * iconvdata/ibm930.c : Likewise.
21309         * iconvdata/ibm932.c: Likewise.
21310         * iconvdata/ibm933.c : Likewise.
21311         * iconvdata/ibm935.c : Likewise.
21312         * iconvdata/ibm937.c : Likewise.
21313         * iconvdata/ibm939.c : Likewise.
21314         * iconvdata/ibm943.c: Likewise.
21315         * iconvdata/iso_11548-1.c: Likewise.
21316         * iconvdata/iso-2022-cn.c : Likewise.
21317         * iconvdata/iso-2022-cn-ext.c : Likewise.
21318         * iconvdata/iso-2022-jp-3.c: Likewise.
21319         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
21320         * iconvdata/iso-2022-kr.c : Likewise.
21321         * iconvdata/iso646.c (gconv_end): Likewise.
21322         * iconvdata/iso_6937-2.c : Likewise.
21323         * iconvdata/iso_6937.c : Likewise.
21324         * iconvdata/iso8859-1.c: Likewise.
21325         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
21326         * iconvdata/shift_jisx0213.c : Likewise.
21327         * iconvdata/sjis.c : Likewise.
21328         * iconvdata/t.61.c : Likewise.
21329         * iconvdata/tcvn5712-1.c : Likewise.
21330         * iconvdata/tscii.c: Likewise.
21331         * iconvdata/uhc.c : Likewise.
21332         * iconvdata/unicode.c (gconv_end): Likewise.
21333         * iconvdata/utf-16.c (gconv_end): Likewise.
21334         * iconvdata/utf-32.c (gconv_end): Likewise.
21335         * iconvdata/utf-7.c (base64): Likewise.
21336         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
21337         * iconv/gconv_close.c (__gconv_close): Likewise.
21338         * iconv/gconv_open.c (__gconv_open): Likewise.
21339         * iconv/gconv_simple.c (internal_ucs4_loop_single)
21340         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
21341         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
21342         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
21343         (ucs4le_internal_loop_single): Likewise.
21344         * iconv/iconv.c (iconv): Likewise.
21345         * iconv/iconv_close.c: Likewise.
21346         * iconv/loop.c (SINGLE): Likewise.
21347         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
21348         * include/atomic.h: Likewise.
21349         * inet/inet6_option.c (option_alloc): Likewise.
21350         * intl/bindtextdom.c (set_binding_values): Likewise.
21351         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
21352         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
21353         * intl/localealias.c (read_alias_file): Likewise.
21354         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21355         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
21356         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
21357         * libio/fmemopen.c (fmemopen): Likewise.
21358         * libio/iofgets.c (_IO_fgets): Likewise.
21359         * libio/iofgets_u.c (fgets_unlocked): Likewise.
21360         * libio/iofgetws.c (fgetws): Likewise.
21361         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21362         * libio/iogetdelim.c (_IO_getdelim): Likewise.
21363         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
21364         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
21365         * locale/findlocale.c (_nl_find_locale): Likewise.
21366         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
21367         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
21368         Likewise.
21369         * locale/setlocale.c (setlocale): Likewise.
21370         * login/programs/pt_chown.c (main): Likewise.
21371         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
21372         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
21373         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
21374         (mmap, mmap64, mremap, munmap): Likewise.
21375         * math/e_exp2l.c: Likewise.
21376         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
21377         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
21378         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
21379         * math/s_catan.c (__catan): Likewise.
21380         * math/s_catanf.c (__catanf): Likewise.
21381         * math/s_catanh.c (__catanh): Likewise.
21382         * math/s_catanhf.c (__catanhf): Likewise.
21383         * math/s_catanhl.c (__catanhl): Likewise.
21384         * math/s_catanl.c (__catanl): Likewise.
21385         * math/s_ccosh.c (__ccosh): Likewise.
21386         * math/s_ccoshf.c (__ccoshf): Likewise.
21387         * math/s_ccoshl.c (__ccoshl): Likewise.
21388         * math/s_cexp.c (__cexp): Likewise.
21389         * math/s_cexpf.c (__cexpf): Likewise.
21390         * math/s_cexpl.c (__cexpl): Likewise.
21391         * math/s_clog10.c (__clog10): Likewise.
21392         * math/s_clog10f.c (__clog10f): Likewise.
21393         * math/s_clog10l.c (__clog10l): Likewise.
21394         * math/s_clog.c (__clog): Likewise.
21395         * math/s_clogf.c (__clogf): Likewise.
21396         * math/s_clogl.c (__clogl): Likewise.
21397         * math/s_csin.c (__csin): Likewise.
21398         * math/s_csinf.c (__csinf): Likewise.
21399         * math/s_csinh.c (__csinh): Likewise.
21400         * math/s_csinhf.c (__csinhf): Likewise.
21401         * math/s_csinhl.c (__csinhl): Likewise.
21402         * math/s_csinl.c (__csinl): Likewise.
21403         * math/s_csqrt.c (__csqrt): Likewise.
21404         * math/s_csqrtf.c (__csqrtf): Likewise.
21405         * math/s_csqrtl.c (__csqrtl): Likewise.
21406         * math/s_ctan.c (__ctan): Likewise.
21407         * math/s_ctanf.c (__ctanf): Likewise.
21408         * math/s_ctanh.c (__ctanh): Likewise.
21409         * math/s_ctanhf.c (__ctanhf): Likewise.
21410         * math/s_ctanhl.c (__ctanhl): Likewise.
21411         * math/s_ctanl.c (__ctanl): Likewise.
21412         * math/w_pow.c: Likewise.
21413         * math/w_powf.c: Likewise.
21414         * math/w_powl.c: Likewise.
21415         * math/w_scalb.c (sysv_scalb): Likewise.
21416         * math/w_scalbf.c (sysv_scalbf): Likewise.
21417         * math/w_scalbl.c (sysv_scalbl): Likewise.
21418         * misc/error.c (error_tail): Likewise.
21419         * misc/pselect.c (__pselect): Likewise.
21420         * nis/nis_callback.c (__nis_create_callback): Likewise.
21421         * nis/nis_call.c (__nisfind_server): Likewise.
21422         * nis/nis_creategroup.c (nis_creategroup): Likewise.
21423         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
21424         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
21425         * nis/nis_getservlist.c (nis_getservlist): Likewise.
21426         * nis/nis_lookup.c (nis_lookup): Likewise.
21427         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
21428         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
21429         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
21430         * nis/nis_xdr.c (xdr_endpoint): Likewise.
21431         * nis/nss_compat/compat-grp.c (getgrent_next_file)
21432         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
21433         * nis/nss_compat/compat-initgroups.c (add_group)
21434         (internal_getgrent_r): Likewise.
21435         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
21436         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
21437         * nis/nss_compat/compat-spwd.c (getspent_next_file)
21438         (internal_getspnam_r): Likewise.
21439         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
21440         (_nss_nis_getaliasbyname_r): Likewise.
21441         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
21442         (_nss_nis_getntohost_r): Likewise.
21443         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
21444         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
21445         (_nss_nis_getgrgid_r): Likewise.
21446         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
21447         (internal_nis_gethostent_r, internal_gethostbyname2_r)
21448         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
21449         (_nss_nis_gethostbyname4_r): Likewise.
21450         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
21451         (initgroups_netid): Likewise.
21452         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
21453         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
21454         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
21455         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
21456         (_nss_nis_getprotobynumber_r): Likewise.
21457         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
21458         (_nss_nis_getsecretkey): Likewise.
21459         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
21460         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
21461         (_nss_nis_getpwuid_r): Likewise.
21462         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
21463         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
21464         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
21465         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
21466         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
21467         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
21468         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
21469         Likewise.
21470         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
21471         (_nss_nisplus_getntohost_r): Likewise.
21472         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
21473         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
21474         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
21475         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
21476         Likewise.
21477         * nis/nss_nisplus/nisplus-initgroups.c
21478         (_nss_nisplus_initgroups_dyn): Likewise.
21479         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
21480         (_nss_nisplus_getnetbyaddr_r): Likewise.
21481         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
21482         (_nss_nisplus_getprotobynumber_r): Likewise.
21483         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
21484         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
21485         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
21486         Likewise.
21487         * nis/nss_nisplus/nisplus-service.c
21488         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
21489         (_nss_nisplus_getservbyport_r): Likewise.
21490         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
21491         (_nss_nisplus_getspnam_r): Likewise.
21492         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
21493         Likewise.
21494         * nscd/aicache.c (addhstaiX): Likewise.
21495         * nscd/cache.c (cache_search, prune_cache): Likewise.
21496         * nscd/connections.c (register_traced_file, send_ro_fd)
21497         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
21498         (main_loop_epoll): Likewise.
21499         * nscd/grpcache.c (addgrbyX): Likewise.
21500         * nscd/hstcache.c (addhstbyX): Likewise.
21501         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21502         * nscd/mem.c (gc, mempool_alloc): Likewise.
21503         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
21504         (addinnetgrX): Likewise.
21505         * nscd/nscd-client.h (__nscd_acquire_maplock)
21506         (__nscd_drop_map_ref): Likewise.
21507         * nscd/nscd_getai.c (__nscd_getai): Likewise.
21508         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21509         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
21510         Likewise.
21511         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
21512         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21513         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
21514         (__nscd_get_map_ref): Likewise.
21515         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
21516         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
21517         Likewise.
21518         * nscd/pwdcache.c (addpwbyX): Likewise.
21519         * nscd/selinux.c (preserve_capabilities): Likewise.
21520         * nscd/servicescache.c (addservbyX): Likewise.
21521         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
21522         * posix/fnmatch.c (fnmatch): Likewise.
21523         * posix/getopt.c (_getopt_internal_r): Likewise.
21524         * posix/glob.c (glob, glob_in_dir): Likewise.
21525         * posix/wordexp.c (exec_comm_child): Likewise.
21526         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
21527         (getanswer_r, gaih_getanswer_slice): Likewise.
21528         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
21529         * resolv/res_init.c: Likewise.
21530         * resolv/res_mkquery.c (res_nmkquery): Likewise.
21531         * resolv/res_query.c (__libc_res_nquery): Likewise.
21532         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
21533         Likewise.
21534         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
21535         * stdio-common/perror.c (perror): Likewise.
21536         * stdio-common/printf_fp.c (___printf_fp): Likewise.
21537         * stdio-common/tmpnam.c (tmpnam): Likewise.
21538         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21539         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
21540         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21541         Likewise.
21542         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21543         * stdlib/putenv.c (putenv): Likewise.
21544         * stdlib/setenv.c (__add_to_environ): Likewise.
21545         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21546         * stdlib/strtol_l.c (INTERNAL): Likewise.
21547         * string/memmem.c (memmem): Likewise.
21548         * string/strerror.c (strerror): Likewise.
21549         * string/strnlen.c (__strnlen): Likewise.
21550         * string/test-memmem.c (simple_memmem): Likewise.
21551         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
21552         * sunrpc/pm_getport.c (__get_socket): Likewise.
21553         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
21554         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
21555         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
21556         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
21557         Likewise.
21558         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
21559         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21560         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
21561         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
21562         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
21563         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
21564         Likewise.
21565         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
21566         Likewise.
21567         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
21568         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
21569         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21570         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
21571         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
21572         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
21573         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21574         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
21575         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
21576         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
21577         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21578         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
21579         Likewise.
21580         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
21581         Likewise.
21582         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
21583         Likewise.
21584         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
21585         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21586         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
21587         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
21588         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
21589         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
21590         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21591         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
21592         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
21593         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
21594         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
21595         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21596         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21597         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21598         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21599         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
21600         Likewise.
21601         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
21602         Likewise.
21603         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
21604         Likewise.
21605         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
21606         Likewise.
21607         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21608         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21609         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
21610         Likewise.
21611         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
21612         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
21613         * sysdeps/posix/opendir.c (__opendirat): Likewise.
21614         * sysdeps/posix/sleep.c: Likewise.
21615         * sysdeps/posix/tempname.c: Likewise.
21616         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
21617         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21618         Likewise.
21619         * sysdeps/powerpc/powerpc32/dl-machine.h
21620         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
21621         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21622         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21623         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
21624         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
21625         Likewise.
21626         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
21627         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
21628         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21629         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
21630         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21631         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
21632         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
21633         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
21634         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21635         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
21636         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
21637         (elf_machine_lazy_rel): Likewise.
21638         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21639         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
21640         (elf_machine_lazy_rel): Likewise.
21641         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
21642         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
21643         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
21644         * sysdeps/unix/grantpt.c (grantpt): Likewise.
21645         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
21646         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
21647         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
21648         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21649         Likewise.
21650         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21651         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21652         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
21653         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
21654         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21655         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21656         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
21657         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
21658         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
21659         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21660         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21661         Likewise.
21662         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
21663         (__posix_fallocate64_l64): Likewise.
21664         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
21665         (posix_fallocate): Likewise.
21666         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21667         Likewise.
21668         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21669         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
21670         (getifaddrs_internal): Likewise.
21671         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
21672         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
21673         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
21674         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21675         * sysdeps/unix/sysv/linux/posix_fallocate64.c
21676         (__posix_fallocate64_l64): Likewise.
21677         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21678         Likewise.
21679         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
21680         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
21681         (__get_clockfreq): Likewise.
21682         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
21683         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21684         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
21685         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21686         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21687         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
21688         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21689         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
21690         Likewise.
21691         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
21692         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
21693         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
21694         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
21695         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21696         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
21697         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
21698         Likewise.
21699         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21700         (posix_fallocate): Likewise.
21701         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21702         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
21703         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
21704         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
21705         (elf_machine_rela, elf_machine_rela_relative)
21706         (elf_machine_lazy_rel): Likewise.
21707         * time/asctime.c (asctime_internal): Likewise.
21708         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
21709         * time/tzset.c (__tzset_parse_tz): Likewise.
21710         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21711         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21712         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
21713         * wcsmbs/wcsmbsload.h: Likewise.
21715         [BZ #15894]
21716         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
21718         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
21719         (arena_get2): Remove THREAD_STATS conditionals.
21720         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
21721         (__malloc_stats, int): Likewise.
21723 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
21725         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
21726         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
21728         * manual/setjmp.texi: Fix typos/grammar errors.
21730         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
21731         Only return early when n is <= 0.  Delete unused return statement.
21733         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
21734         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21735         * debug/tst-longjmp_chk3.c: New file.
21737         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
21738         (test_main): Replace code with set_fortify_handler call.
21739         * debug/test-strcpy_chk.c: Likewise.
21740         * debug/tst-chk1.c: Likewise.
21741         * debug/tst-longjmp_chk.c: Likewise.
21742         * test-skeleton.c: Include fcntl.h & paths.h
21743         (set_fortify_handler): Define.
21745         * debug/tst-longjmp_chk.c: Add header comment and include
21746         ../test-skeleton.c.
21747         (do_test): Mark static.
21748         (TEST_FUNCTION): Define.
21750         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
21751         (IP_PMTUDISC_INTERFACE): Likewise.
21752         (IP_MULTICAST_IF): Likewise.
21753         (IP_MULTICAST_TTL): Likewise.
21754         (IP_MULTICAST_LOOP): Likewise.
21755         (IP_ADD_MEMBERSHIP): Likewise.
21756         (IP_DROP_MEMBERSHIP): Likewise.
21757         (IP_UNBLOCK_SOURCE): Likewise.
21758         (IP_BLOCK_SOURCE): Likewise.
21759         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
21760         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
21761         (IP_MSFILTER): Likewise.
21762         (MCAST_JOIN_GROUP): Likewise.
21763         (MCAST_BLOCK_SOURCE): Likewise.
21764         (MCAST_UNBLOCK_SOURCE): Likewise.
21765         (MCAST_LEAVE_GROUP): Likewise.
21766         (MCAST_JOIN_SOURCE_GROUP): Likewise.
21767         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
21768         (MCAST_MSFILTER): Likewise.
21769         (IP_MULTICAST_ALL): Likewise.
21770         (IP_UNICAST_IF): Likewise.
21772         * timezone/Makefile: Delete $(have-ksh) check.
21773         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
21774         * timezone/tzselect.ksh: Add +x mode bits.
21776         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
21777         (ANON_INODE_FS_MAGIC): Likewise.
21778         (BDEVFS_MAGIC): Likewise.
21779         (BINFMTFS_MAGIC): Likewise.
21780         (BTRFS_TEST_MAGIC): Likewise.
21781         (CRAMFS_MAGIC_WEND): Likewise.
21782         (DEBUGFS_MAGIC): Likewise.
21783         (ECRYPTFS_SUPER_MAGIC): Likewise.
21784         (EXT3_SUPER_MAGIC): Likewise.
21785         (EXT4_SUPER_MAGIC): Likewise.
21786         (FUTEXFS_SUPER_MAGIC): Likewise.
21787         (HOSTFS_SUPER_MAGIC): Likewise.
21788         (HUGETLBFS_MAGIC): Likewise.
21789         (MINIX3_SUPER_MAGIC): Likewise.
21790         (MTD_INODE_FS_MAGIC): Likewise.
21791         (NILFS_SUPER_MAGIC): Likewise.
21792         (OPENPROM_SUPER_MAGIC): Likewise.
21793         (PIPEFS_MAGIC): Likewise.
21794         (PSTOREFS_MAGIC): Likewise.
21795         (QNX6_SUPER_MAGIC): Likewise.
21796         (RAMFS_MAGIC): Likewise.
21797         (REISERFS_SUPER_MAGIC_STRING): Likewise.
21798         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
21799         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
21800         (SECURITYFS_MAGIC): Likewise.
21801         (SELINUX_MAGIC): Likewise.
21802         (SMACK_MAGIC): Likewise.
21803         (SOCKFS_MAGIC): Likewise.
21804         (SQUASHFS_MAGIC): Likewise.
21805         (STACK_END_MAGIC): Likewise.
21806         (TMPFS_MAGIC): Likewise.
21807         (USBDEVICE_SUPER_MAGIC): Likewise.
21808         (V9FS_MAGIC): Likewise.
21809         (XENFS_SUPER_MAGIC): Likewise.
21810         (CRAMFS_MAGIC): Fix typo in comment.
21811         (EXT2_SUPER_MAGIC): Update comment.
21812         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
21814 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
21816         * sysdeps/arm: Move directory from ports/sysdeps/arm.
21817         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
21818         * sysdeps/unix/sysv/linux/arm: Move directory from
21819         ports/sysdeps/unix/sysv/linux/arm.
21820         * README: Update listing for arm-*-linux-gnueabi.
21822         * README: Remove mention of am33.
21824 2014-02-07  Roland McGrath  <roland@hack.frob.com>
21826         * bits/sigset.h (__sigemptyset): Use a statement expression rather
21827         than the comma operator, to avoid "rhs of comma has no effect"
21828         compiler warnings.
21829         (__sigfillset, __sigandset, __sigorset): Likewise.
21830         * include/signal.h (__sigemptyset): Likewise.
21831         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
21833 2014-02-07  Allan McRae  <allan@archlinux.org>
21835         * version.h (RELEASE): Set to "development".
21836         (VERSION): Set to "2.19.90"
21837         * NEWS: Add 2.20 section.
21839 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
21841         [BZ #16529]
21842         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
21844 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21846         * manual/contrib.texi: Update entry for Carlos O'Donell,
21847         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
21849 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
21851         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
21853         * sysdeps/unix/sysv/linux/kernel-features.h
21854         [__LINUX_KERNEL_VERSION >= 0x020621]
21855         (__ASSUME_PROC_PID_TASK_COMM): Define.
21857 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21859         [BZ #16398]
21860         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
21861         conversion when destination buffer does not have enough space.
21862         * libio/tst-ftell-partial-wide.c: New test case.
21863         * libio/Makefile (tests): Add tst-ftell-partial-wide.
21865         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
21866         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
21867         Leonard and Allan McRae.
21869 2014-02-04  David S. Miller  <davem@davemloft.net>
21871         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
21872         32-bit.
21874 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
21877         New file
21878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
21879         New file
21880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
21881         New file.
21882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
21883         New file.
21884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
21885         New file.
21886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
21887         New file.
21888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
21889         New file.
21890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
21891         New file.
21892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
21893         New file.
21894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
21895         New file.
21896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
21897         New file.
21898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
21899         New file.
21900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
21901         New file.
21903 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21905         * nptl/shlib-versions: Change powerpc*le start to 2.17.
21906         * shlib-versions: Likewise.
21908 2014-02-04  Roland McGrath  <roland@hack.frob.com>
21909             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21911         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
21912         (abilist-pattern): New variable, set to %-le.abilist.
21914         * Makerules (abilist-pattern): New variable.
21915         (vpath): Use $(abilist-pattern) in place of %.abilist.
21916         (check-abi-% pattern rule): Likewise.
21917         (check-abi, update-abi): Likewise.
21919 2014-02-04  Eric Wong  <normalperson@yhbt.net>
21921         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21923 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
21925         * manual/startup.texi: Add next, previous, and top entries for
21926         the `Program Arguments' and `Environment Variables' nodes.
21928 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
21930         * manual/macros.texi: Add comments before MTASC-safety macros.
21932         * manual/users.texi: Document MTASC-safety properties.
21934         * manual/threads.texi (pthread_key_create, pthread_key_delete)
21935         (pthread_getspecific, pthread_setspecific): Format with
21936         @deftypefun, and add @safety note.
21937         * manual/signal.texi: Move comments that analyze the above
21938         functions to their home place.
21940 2014-02-03  Allan McRae  <allan@archlinux.org>
21942         * po/sl.po: Update Slovenian translation from translation project.
21944 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
21946         * manual/time.texi (timegm): Add missing blank after @c.
21947         Reported by Joseph Myers <joseph@codesourcery.com>.
21949 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
21951         * manual/check-safety.sh: New.
21952         * manual/Makefile ($(objpfx)stamp-summary): Run it.
21954         * manual/terminal.texi: Document MTASC-safety properties.
21956         * manual/filesys.texi: Document MTASC-safety properties.
21958         * manual/errno.texi: Document MTASC-safety properties.
21960         * manual/intro.texi: Document safety identifiers and
21961         conditionals.
21963         * manual/string.texi (wcstok): Fix prototype.
21964         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
21966         * manual/time.texi: Document MTASC-safety properties.
21968         * manual/string.texi: Document MTASC-safety properties.
21970         * manual/threads.texi: Document MTASC-safety properties.
21972         * manual/stdio.texi: Document MTASC-safety properties.
21974         * manual/syslog.texi: Document MTASC-safety properties.
21976         * manual/sysinfo.texi: Document MTASC-safety properties.
21978         * manual/startup.texi: Document MTASC-safety properties.
21980         * manual/socket.texi: Document MTASC-safety properties.
21982         * manual/signal.texi: Document MTASC-safety properties.
21984 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
21986         * manual/setjmp.texi: Document MTASC-safety properties.
21988         * manual/search.texi: Document MTASC-safety properties.
21990         * manual/resource.texi: Document MTASC-safety properties.
21992         * manual/process.texi: Document MTASC-safety properties.
21994         * manual/platform.texi: Document MTASC-safety properties.
21996         * manual/pipe.texi: Document MTASC-safety properties.
21998         * manual/pattern.texi: Document MTASC-safety properties.
22000         * manual/message.texi: Document MTASC-safety properties.
22002         [BZ #12751]
22003         * manual/memory.texi: Document MTASC-safety properties.
22005         * manual/math.texi: Document MTASC-safety properties.
22007         * manual/locale.texi: Document MTASC-safety properties.
22009         * manual/llio.texi: Document MTASC-safety properties.
22011         * manual/libdl.texi: New.
22013         * manual/lang.texi: Document MTASC-safety properties.
22015         * manual/job.texi: Document MTASC-safety properties.
22017         * manual/getopt.texi: Document MTASC-safety properties.
22019         * manual/ctype.texi: Document MTASC-safety properties.
22021 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
22023         [BZ #16046]
22024         * csu/libc-tls.c (static_map): Remove variable.
22025         (__libc_setup_tls): Use main executable's link map for TLS data.
22026         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
22027         casing for LM_ID_BASE and GL(dl_nns).
22028         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
22029         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
22030         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
22031         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
22032         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
22033         member.
22034         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
22035         l_phnum members.
22037 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
22039         * manual/debug.texi: Document MTASC-safety properties.
22041 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
22043         [BZ #16510]
22044         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
22045         of __x86_64__ when disabling x87 inline functions.
22047 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
22049         * manual/charset.texi: Document MTASC-safety properties.
22051         * manual/crypt.texi: Document MTASC-safety properties.
22053         * manual/conf.texi: Document MTASC-safety properties.
22055         * manual/arith.texi: Document MTASC-safety properties.
22057         * manual/argp.texi: Document MTASC-safety properties.
22059         * manual/macros.texi: Introduce macros to document multi
22060         thread, asynchronous signal and asynchronous cancellation
22061         safety properties.
22062         * manual/intro.texi: Introduce the properties themselves.
22064 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22066         * sysdeps/sh/sh4/Makefile: New file.
22068 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
22070         * math/gen-libm-test.pl ($srcdir): New variable.
22071         ($auto_input): Use it.
22073 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22075         [BZ #16506]
22076         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
22077         access beyond array bounds when parsing netgroups file.
22079         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
22080         the old buffer before realloc.
22082 2014-01-27  Allan McRae  <allan@archlinux.org>
22084         * po/fr.po: Update French translation from translation project.
22086 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22088         * sysdeps/sh/libm-test-ulps: Regenerate.
22090 2014-01-24  David S. Miller  <davem@davemloft.net>
22092         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
22094 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22096         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
22097         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
22099 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22101         [BZ #16474]
22102         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
22103         string pointers after reallocation.
22105 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22107         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
22108         __SH4A__ instead of __SH_FPU_ANY__.
22110 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22112         * sysdeps/sh/fpu_control.h: New file.
22113         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
22114         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
22115         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
22116         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
22117         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
22118         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
22119         * sysdeps/sh/sys/ucontext.h: Remove.
22120         * sysdeps/sh/sys: Remove directory.
22122 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22124         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
22125         s390/sys/ucontext.h.
22126         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
22127         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
22129 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
22131         [BZ #15605]
22132         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
22134 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22136         [BZ#16431]
22137         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22138         Adjust the vDSO correctly for internal calls.
22139         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
22141 2014-01-20  Allan McRae  <allan@archlinux.org>
22143         * po/ca.po: Update Catalan translation from translation project.
22145 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
22147         * sysdeps/s390/sotruss-lib.c: New file.
22149 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22151         [BZ#16430]
22152         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
22153         (__GI___gettimeofday): Alias for a different internal symbol to avoid
22154         local calls issues by not having a PLT stub required for IFUNC calls.
22155         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
22157 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
22159         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
22160         * math/test-fpucw-static.c: Likewise.
22162 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22164         [BZ #16453]
22165         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
22167 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22169         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
22170         implementation for powerpc.
22172 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
22174         [BZ #14782]
22175         * sysdeps/posix/system.c (__libc_system): Do not enable
22176         asynchronous cancellation.
22178 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22180         [BZ #16427]
22181         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
22182         handling only for numbers special also in the IEEE case.
22184 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22186         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22188 2014-01-11  Allan McRae  <allan@archlinux.org>
22190         * po/bg.po: Update Bulgarian translation from translation project.
22192         * po/de.po: Update German translation from translation project.
22194 2014-01-10  Roland McGrath  <roland@hack.frob.com>
22196         * sysdeps/generic/gcc-compat.h: New file.
22198 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22200         * benchtests/asin-inputs: Correct slow inputs.
22201         * benchtests/acos-inputs: Likewise.
22203 2014-01-10  Allan McRae  <allan@archlinux.org>
22205         * po:sv.po: Update Swedish translation from translation project.
22207         * po/vi.po: Update Vietnamese translation from translation project.
22209         * po/eo.po: Update Esperanto translation from translation project.
22211         * po/cs.po: Update Czech translation from translation project.
22213         * po/nl.po: Update Dutch translation from translation project.
22215         * po/pl.po: Update Polish translation from translation project.
22217         * po/ru.po: Update Russian translation from translation project.
22219         * po/uk.po: Update Ukrainian translation from translation project.
22221 2014-01-08  Brooks Moses  <bmoses@google.com>
22223         * elf/dl-load.c: Fix comment typo.
22225 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
22227         * po/header.pot: Rename to...
22228         * po/pot.header: ... this.
22229         * po/Makefile: Use pot.header.
22231 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
22232             Maxim Kuvyrkov  <maxim@kugelworks.com>
22234         [BZ #16394]
22235         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
22236         SRC and DEST against LEN.
22238 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22240         [BZ #16414]
22241         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
22242         implementation.
22243         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
22245 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22247         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22249 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
22251         [BZ #16408]
22252         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
22253         for large positive arguments.
22255 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
22257         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22259         * math/auto-libm-test-in: Mark various tests with
22260         xfail-rounding:ldbl-128ibm.
22261         * math/auto-libm-test-out: Regenerated.
22263         [BZ #16407]
22264         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
22265         Increase overflow threshold.
22267 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
22269         [BZ #14286]
22270         * stdio-common/vfprintf.c: Check for integer overflow.
22272 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22274         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
22275         the first argument and return value of __tls_get_addr_internal.
22277 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22279         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
22280         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
22282 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22284         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
22285         * sysdeps/s390/rtld-global-offsets.sym: New file.
22286         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
22287         GLIBC_2.19 symbol.
22288         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
22289         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
22290         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22291         ... this.
22292         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
22293         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22294         ... this.
22295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22296         Regenerate.
22297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22298         Regenerate.
22299         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
22300         halfs of GPRs for high_gprs contexts.
22301         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
22302         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
22303         field.
22304         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
22305         uc_flags field.
22306         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
22307         64 bit versions:
22308         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
22309         for high GPRs (uc_high_gprs) and for future extensions
22310         (__reserved).
22311         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
22312         for future extensions (__reserved).
22313         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
22314         64 bit versions:
22315         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
22316         SC_HIGHGPRS offset definition.
22317         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
22318         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
22320         * Versions.def: Add GLIBC_2.19 for libpthread.
22321         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
22322         siglongjmp for libpthread with GLIBC_2.19 symver.
22323         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
22324         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
22325         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
22326         * sysdeps/s390/__longjmp.c: New file.
22327         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
22328         * sysdeps/s390/longjmp.c: New file.
22329         * sysdeps/s390/setjmp.S: New file.
22330         * sysdeps/s390/sigjmp.S: New file.
22331         * sysdeps/s390/v1-longjmp.c: New file.
22332         * sysdeps/s390/v1-setjmp.h: New file.
22333         * sysdeps/s390/v1-sigjmp.c: New file.
22334         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
22335         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
22336         GLIBC_2.19 version.
22337         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
22338         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
22339         versioned symbols for ____longjmp_chk.
22340         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22341         Likewise.
22342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22343         Regenerate.
22344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22345         Regenerate.
22346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22347         Regenerate.
22348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22349         Regenerate.
22350         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
22351         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
22352         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
22353         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
22354         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
22355         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
22356         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
22357         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
22358         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
22359         * sysdeps/s390/rtld-__longjmp.c: New file.
22360         * sysdeps/s390/rtld-setjmp.S: New file.
22362 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
22364         [BZ #16400]
22365         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22366         Return -__logl (x) for small positive arguments without evaluating
22367         a polynomial.
22369 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
22371         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
22372         Rename to ...
22373         (__ptrace_peeksiginfo_args): ... this.
22374         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22375         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22376         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22378 2014-01-06  Allan McRae  <allan@archlinux.org>
22380         * inet/netinet/in.h: Fix typo in comment.
22382 2014-01-05  Andreas Jaeger  <aj@suse.de>
22384         * sysdeps/i386/fpu/libm-test-ulps: Update.
22386 2014-01-05  Allan McRae  <allan@archlinux.org>
22388         * po/libc.pot: Regenerated.
22390         * malloc/memusagestat.c: Fix gettext call formatting.
22392 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
22394         * nscd/nscd.c: Improve usage() output.
22396 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
22398         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
22399         * sysdeps/unix/sysv/linux/configure: Regenerated.
22400         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
22401         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
22403 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
22405         [BZ #16390]
22406         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22407         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
22409 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22411         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
22412         extra tokens at end of #undef directive.
22413         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22414         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22415         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22417 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
22419         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22421         * math/auto-libm-test-in: Mark various tests with
22422         xfail-rounding:ldbl-128ibm.
22423         * math/auto-libm-test-out: Regenerated.
22425 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
22427         [BZ #16386]
22428         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
22429         numbers with subnormal high part when calculating exponent.
22431         [BZ #16385]
22432         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
22433         fabs.
22435         [BZ #16384]
22436         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
22437         M_LN2l.
22438         (__ieee754_acoshl): Use __log1pl not __log1p.
22440 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
22442         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
22443         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
22444         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
22445         (grow_heap, heap_trim, _int_new_arena, get_free_list)
22446         (reused_arena, arena_get2): Convert to GNU style.
22447         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
22448         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
22449         (memalign_check, __malloc_set_state): Likewise.
22450         * malloc/mallocbug.c (main): Likewise.
22451         * malloc/malloc.c (__malloc_assert, malloc_init_state)
22452         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
22453         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
22454         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
22455         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
22456         (__posix_memalign, malloc_info): Likewise.
22457         * malloc/malloc.h: Likewise.
22458         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
22459         (mallochook, memalignhook, reallochook, mabort): Likewise.
22460         * malloc/mcheck.h: Likewise.
22461         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
22462         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
22463         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
22464         * malloc/morecore.c (__default_morecore): Likewise.
22465         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
22466         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
22467         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
22468         (print_and_abort): Likewise.
22469         * malloc/obstack.h: Likewise.
22470         * malloc/set-freeres.c (__libc_freeres): Likewise.
22471         * malloc/tst-mallocstate.c (main): Likewise.
22472         * malloc/tst-mtrace.c (main): Likewise.
22473         * malloc/tst-realloc.c (do_test): Likewise.
22475 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22477         [BZ #16366]
22478         * nscd/netgroupcache.c (do_notfound): New function.
22479         (addgetnetgrentX): Use it.
22481         [BZ # 16365]
22482         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
22483         NSS_STATUS_NOTFOUND.
22485 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
22487         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22490 2014-01-01  Allan McRae  <allan@archlinux.org>
22492         * scripts/update-copyrights: Update configure input file suffix.
22494         * NEWS: Update copyright year.
22495         * catgets/gencat.c: Likewise.
22496         * csu/version.c: Likewise.
22497         * debug/catchsegv.sh: Likewise.
22498         * debug/pcprofiledump.c: Likewise.
22499         * debug/xtrace.sh: Likewise.
22500         * elf/ldconfig.c: Likewise.
22501         * elf/ldd.bash.in: Likewise.
22502         * elf/pldd.c: Likewise.
22503         * elf/sotruss.ksh: Likewise.
22504         * elf/sprof.c: Likewise.
22505         * iconv/iconv_prog.c: Likewise.
22506         * iconv/iconvconfig.c: Likewise.
22507         * locale/programs/locale.c: Likewise.
22508         * locale/programs/localedef.c: Likewise.
22509         * login/programs/pt_chown.c: Likewise.
22510         * malloc/memusage.sh: Likewise.
22511         * malloc/memusagestat.c: Likewise.
22512         * malloc/mtrace.pl: Likewise.
22513         * manual/libc.texinfo: Likewise.
22514         * nscd/nscd.c: Likewise.
22515         * nss/getent.c: Likewise.
22516         * nss/makedb.c: Likewise.
22517         * posix/getconf.c: Likewise.
22518         * scripts/test-installation.pl: Likewise.
22520         * All files with FSF copyright notices: Update copyright dates
22521         using scripts/update-copyrights.
22522         * intl/plural.c: Regenerated.
22523         * locale/programs/charmap-kw.h: Likewise.
22524         * locale/programs/locfile-kw.h: Likewise.
22526 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
22528         * sysdeps/unix/sysv/linux/configure: Regenerated.
22529         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
22530         the linux/fanotify.h header.
22531         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
22532         HAVE_LINUX_FANOTIFY_H is defined.
22534 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22536         * benchtests/cos-inputs: New inputs.
22537         * benchtests/sin-inputs: Likewise.
22539         * benchtests/atan-inputs: New inputs. Fix name of multiple
22540         precision fallback inputs.
22542         * benchtests/atanh-inputs: New inputs.
22543         * benchtests/tanh-inputs: Likewise.
22545         * benchtests/acosh-inputs: New inputs.
22546         * benchtests/asinh-inputs: Likewise.
22548         * benchtests/cosh-inputs: New inputs.
22549         * benchtests/sinh-inputs: Likewise.
22551         * benchtests/acos-inputs: Add more inputs.
22552         * benchtests/asin-inputs: Likewise.
22554 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
22556         [BZ #16375]
22557         * manual/arith.texi: Fix spelling.
22558         * manual/charset.texi: Likewise.
22559         * manual/errno.texi: Likewise.
22560         * manual/filesys.texi: Likewise.
22561         * manual/lang.texi: Likewise.
22562         * manual/llio.texi: Likewise.
22563         * manual/locale.texi: Likewise.
22564         * manual/message.texi: Likewise.
22565         * manual/resource.texi: Likewise.
22566         * manual/search.texi: Likewise.
22567         * manual/setjmp.texi: Likewise.
22568         * manual/stdio.texi: Likewise.
22569         * manual/string.texi: Likewise.
22570         * manual/sysinfo.texi: Likewise.
22571         * manual/time.texi: Likewise.
22573 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
22575         * po/sl.po: New file.
22577 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
22579         * .gitignore: Add core/.gdbinit/.gdb_history.
22581 2013-12-27  Allan McRae  <allan@archlinux.org>
22583         [BZ #16369]
22584         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
22585         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
22587 2013-12-24  Brooks Moses  <bmoses@google.com>
22589         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
22590         all compilers that claim C++98 compliance, not just GCC.
22591         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22592         Likewise.
22594 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
22596         * NEWS: Restore accidentally deleted bug-fix entries.
22598 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
22599             Ondřej Bílka  <neleai@seznam.cz>
22601         [BZ #15073]
22602         * malloc/malloc.c (_int_free): Perform sanity check only if we
22603         have_lock.
22605 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
22607         [BZ #12986]
22608         * manual/stdio.texi (String Input Conversions): Clarify that character
22609         classes are not supported.
22611 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22613         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22615 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
22617         [BZ #16337]
22618         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22619         Calculate results for small negative arguments directly rather
22620         than using reflection formula with special underflow handling.
22622         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
22623         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
22624         sysdeps/unix/bsd/bsd4.4/syscalls.list.
22625         (fchflags): Likewise.
22626         (revoke): Likewise.
22627         (setlogin): Likewise.
22628         (sigaltstack): Likewise.
22629         (wait4): Likewise.
22630         (sigblock): Remove.
22631         (sigsetmask): Likewise.
22632         (wait3): Likewise.
22633         (waitpid): Likewise.
22634         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
22635         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
22636         file.
22637         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
22638         * sysdeps/unix/bsd/Makefile: ... here.
22639         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
22640         * sysdeps/unix/bsd/Versions: ... here.
22641         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
22642         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
22643         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
22644         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
22645         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
22646         * sysdeps/unix/bsd/sigblock.c: ... here.
22647         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
22648         * sysdeps/unix/bsd/sigsetmask.c: ... here.
22649         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
22650         * sysdeps/unix/bsd/sigvec.c: ... here.
22651         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
22652         * sysdeps/unix/bsd/tcdrain.c: ... here.
22653         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
22654         * sysdeps/unix/bsd/tcgetattr.c: ... here.
22655         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
22656         * sysdeps/unix/bsd/tcsetattr.c: ... here.
22657         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
22658         * sysdeps/unix/bsd/wait.c: ... here.
22659         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
22660         * sysdeps/unix/bsd/wait3.c: ... here.
22661         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
22662         * sysdeps/unix/bsd/waitpid.c: ... here.
22664 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
22666         [BZ #16356]
22667         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
22668         round-to-nearest for [!USE_AS_EXPM1L].
22669         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
22670         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
22671         more tests of exp and exp10.  Expect some exp10 tests to miss
22672         exceptions or fail in directed rounding modes.
22673         * math/auto-libm-test-out: Regenerated.
22674         * math/libm-test.inc (exp10_tonearest_test_data): New array.
22675         (exp10_test_tonearest): New function.
22676         (exp10_towardzero_test_data): New array.
22677         (exp10_test_towardzero): New function.
22678         (exp10_downward_test_data): New array.
22679         (exp10_test_downward): New function.
22680         (exp10_upward_test_data): New array.
22681         (exp10_test_upward): New function.
22682         (main): Call the new functions.
22683         * sysdeps/i386/fpu/libm-test-ulps: Update.
22684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22686 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
22688         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22689         asinh, atan, atan2, atanh, cbrt, cos and cosh.
22690         * math/auto-libm-test-out: Regenerated.
22691         * math/libm-test.inc (acosh_test_data): Add more tests.
22692         (atanh_test_data): Likewise.
22693         (ceil_test_data): Likewise.
22694         (copysign_test_data): Likewise.
22695         * sysdeps/i386/fpu/libm-test-ulps: Update.
22696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22698         * timezone/checktab.awk: Update from tzcode 2013i.
22699         * timezone/private.h: Likewise.
22700         * timezone/scheck.c: Likewise.
22701         * timezone/tzfile.h: Likewise.
22702         * timezone/tzselect.ksh: Likewise.
22703         * timezone/zdump.c: Likewise.
22704         * timezone/zic.c: Likewise.
22706         * math/auto-libm-test-in: Add tests of cpow.
22707         * math/auto-libm-test-out: Regenerated.
22708         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
22709         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22710         mpc_cc_c.
22711         (func_calc_desc): Add mpc_cc_c union field.
22712         (test_functions): Add cpow.
22713         (special_fill_2pi): New function.
22714         (special_real_inputs): Add 2pi.
22715         (calc_generic_results): Handle mpc_cc_c.
22716         * sysdeps/i386/fpu/libm-test-ulps: Update.
22717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22719         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
22720         csqrt, ctan and ctanh.
22721         * math/auto-libm-test-out: Regenerated.
22722         * math/libm-test.inc (TEST_COND_x86_64): New macro.
22723         (TEST_COND_x86): Likewise.
22724         (ccos_test_data): Use AUTO_TESTS_c_c.
22725         (ccosh_test_data): Likewise.
22726         (cexp_test_data): Likewise.
22727         (clog_test_data): Likewise.
22728         (csqrt_test_data): Likewise.
22729         (ctan_test_data): Likewise.
22730         (ctan_tonearest_test_data): Likewise.
22731         (ctan_towardzero_test_data): Likewise.
22732         (ctan_downward_test_data): Likewise.
22733         (ctan_upward_test_data): Likewise.
22734         (ctanh_test_data): Likewise.
22735         (ctanh_tonearest_test_data): Likewise.
22736         (ctanh_towardzero_test_data): Likewise.
22737         (ctanh_downward_test_data): Likewise.
22738         (ctanh_upward_test_data): Likewise.
22739         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22740         mpc_c_c.
22741         (func_calc_desc): Add mpc_c_c union field.
22742         (FUNC_mpc_c_c): New macro.
22743         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
22744         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
22745         ctanh.
22746         (special_fill_min_subnorm_p120): New function.
22747         (special_real_inputs): Add min_subnorm_p120.
22748         (calc_generic_results): Handle mpc_c_c.
22749         * sysdeps/i386/fpu/libm-test-ulps: Update.
22750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22752 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22754         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
22755         (do_sin_slow): New functions.
22756         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
22757         (cslow2, csloww1, csloww2): Use the new functions.
22759         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
22760         Use M to change sign of result instead of X.  Assume X is
22761         positive.
22762         (csloww1): Likewise.
22763         (__sin): Adjust.
22764         (__cos): Adjust.
22766         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
22767         arguments A and DA.
22768         (__sin): Adjust.
22769         (__cos): Likewise.
22771         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
22772         (__cos): Likewise.
22773         (sloww1): Don't adjust sign of DX.
22774         (csloww1): Likewise.
22775         (sloww2): Use X directly and don't adjust sign of DX.
22776         (csloww2): Likewise.
22778 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
22780         * math/auto-libm-test-in: Add tests of cabs and carg.
22781         * math/auto-libm-test-out: Regenerated.
22782         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
22783         (carg_test_data): Likewise.
22784         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22785         mpc_c_f.
22786         (func_calc_desc): Add mpc_c_f union field.
22787         (test_functions): Add cabs and carg.
22788         (calc_generic_results): Handle mpc_c_f.
22790         * sysdeps/powerpc/powerpc32/libgcc-compat.S
22791         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
22792         as a macro and a compat symbol.
22793         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22794         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22795         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22796         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22797         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
22798         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
22799         not use .hidden.
22800         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
22801         Likewise.
22802         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
22803         Likewise.
22804         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
22805         Likewise.
22806         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
22807         Likewise.
22808         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
22809         Likewise.
22810         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
22811         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
22812         from GLIBC_2.3.2.
22814 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22816         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22818 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
22820         * manual/texinfo.tex: Update to version 2013-11-26.10 with
22821         trailing whitespace removed.
22822         * scripts/config.guess: Update to version 2013-11-29.
22823         * scripts/config.sub: Update to version 2013-10-01.
22825         * math/auto-libm-test-in: Add tests of sincos.
22826         * math/auto-libm-test-out: Regenerated.
22827         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
22828         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22829         mpfr_f_11.
22830         (func_calc_desc): Add mpfr_f_11 union field.
22831         (test_functions): Add sincos.
22832         (calc_generic_results): Handle mpfr_f_11.
22833         * sysdeps/i386/fpu/libm-test-ulps: Update.
22834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22836 2013-12-19  Andreas Schwab  <schwab@suse.de>
22838         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
22839         CALL_MCOUNT.
22840         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22841         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
22842         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
22844 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
22846         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
22847         * sysdeps/i386/fpu/libm-test-ulps: Update.
22848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22850         [BZ #16293]
22851         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
22852         round-to-nearest mode when using frndint.
22853         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
22854         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22855         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22856         Likewise.
22857         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
22858         sinh test to fail.
22859         * math/auto-libm-test-out: Regenerated.
22860         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
22861         (TEST_COND_x86): Likewise.
22862         (expm1_tonearest_test_data): New array.
22863         (expm1_test_tonearest): New function.
22864         (expm1_towardzero_test_data): New array.
22865         (expm1_test_towardzero): New function.
22866         (expm1_downward_test_data): New array.
22867         (expm1_test_downward): New function.
22868         (expm1_upward_test_data): New array.
22869         (expm1_test_upward): New function.
22870         (main): Run the new test functions.
22871         * sysdeps/i386/fpu/libm-test-ulps: Update.
22872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22874         * include/features.h: Update comment documenting feature test
22875         macros.  Mention _DEFAULT_SOURCE in comment.
22876         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
22877         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
22878         _BSD_SOURCE and _SVID_SOURCE.
22879         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
22880         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
22881         !_SVID_SOURCE]: Likewise.
22882         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22883         (__USE_POSIX_IMPLICITLY): Define.
22884         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22885         (_POSIX_SOURCE): Undefine and redefine.
22886         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22887         (_POSIX_C_SOURCE): Likewise.
22888         * manual/creature.texi (_DEFAULT_SOURCE): Document.
22889         (Feature Test Macros): Update documentation of default features.
22891 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22893         * benchtests/Makefile: Add bench-strtok.
22894         * benchtests/bench-strtok.c: New file: strtok benchtest.
22896 2013-12-19  Allan McRae  <allan@archlinux.org>
22898         * manual/install.texi: Suppress menu for plain text output.
22899         * INSTALL: Regenerated.
22901 2013-12-18  Brooks Moses  <bmoses@google.com>
22903         [BZ #15846]
22904         * misc/getauxval.c: Include errno.h.
22905         (__getauxval): Set errno to ENOENT if the requested type is not
22906         found.
22907         * misc/sys/auxv.h (getauxval): Document that it may set errno;
22908         don't declare with __attribute_const__.
22909         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
22910         * manual/startup.texi: Document that getauxval sets errno.
22912 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
22914         * math/auto-libm-test-in: Add tests of jn and yn.
22915         * math/auto-libm-test-out: Regenerated.
22916         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
22917         (yn_test_data): Likewise.
22918         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22919         mpfr_if_f.
22920         (func_calc_desc): Add mpfr_if_f union field.
22921         (FUNC_mpfr_if_f): New macro.
22922         (test_functions): Add jn and yn.
22923         (calc_generic_results): Assert type of second input for
22924         mpfr_ff_f.  Handle mpfr_if_f.
22925         (output_for_one_input_case): Disable all checking for arguments
22926         fitting floating-point types in case of an integer argument.
22927         * sysdeps/i386/fpu/libm-test-ulps: Update.
22928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22931         Don't expect fegetround reference in libm.so.
22933 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22935         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
22936         $(config-cflags-nofma).
22938 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
22940         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
22941         * math/auto-libm-test-out: Regenerated.
22943         [BZ #16338]
22944         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
22945         to determine exponent and adjust argument to have exponent of -1.
22946         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
22947         log2.
22948         * math/auto-libm-test-out: Regenerated.
22949         * sysdeps/i386/fpu/libm-test-ulps: Update.
22950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22952 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
22954         * manual/probes.texi: Remove cases when per-thread arenas are
22955         disabled.
22957 2013-12-18  Andreas Schwab  <schwab@suse.de>
22959         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
22960         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
22961         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
22962         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
22963         * sysdeps/i386/i686/multiarch/Makefile: Update.
22964         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
22966 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
22968         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
22969         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
22971 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
22973         [BZ #15968]
22974         Support TZ transition times < 00:00:00.
22975         This is needed for version-3 tz-format files; it supports time
22976         stamps past 2037 for America/Godthab (the only entry in the tz
22977         database for which this change is relevant).
22978         * manual/time.texi (TZ Variable): Document transition times
22979         from -167:59:59 through -00:00:01.
22980         * time/tzset.c (tz_rule): Time of day is now signed.
22981         (__tzset_parse_tz): Parse negative time of day.
22983         Document TZ transition times >= 25:00:00.
22984         * manual/time.texi (TZ Variable): Document transition times from
22985         25:00:00 through 167:59:59.  These are already supported, and this
22986         support will help with version-3 tz-format files.
22988         * manual/time.texi (TZ Variable): Modernize North America example
22989         to reflect current (i.e., 2007-and-later) daylight saving rules.
22991         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
22993 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
22995         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
22996         * sysdeps/unix/bsd/bits/stat.h: Likewise.
22997         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
22998         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22999         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
23000         * sysdeps/unix/bsd/bsdstat.h: Likewise.
23001         * sysdeps/unix/bsd/clock.c: Likewise.
23002         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
23003         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
23004         * sysdeps/unix/bsd/init-posix.c: Likewise.
23005         * sysdeps/unix/bsd/poll.c: Likewise.
23006         * sysdeps/unix/bsd/ptsname.c: Likewise.
23007         * sysdeps/unix/bsd/seekdir.c: Likewise.
23008         * sysdeps/unix/bsd/setegid.c: Likewise.
23009         * sysdeps/unix/bsd/seteuid.c: Likewise.
23010         * sysdeps/unix/bsd/setgid.c: Likewise.
23011         * sysdeps/unix/bsd/setrgid.c: Likewise.
23012         * sysdeps/unix/bsd/setruid.c: Likewise.
23013         * sysdeps/unix/bsd/setsid.c: Likewise.
23014         * sysdeps/unix/bsd/setuid.c: Likewise.
23015         * sysdeps/unix/bsd/sigaction.c: Likewise.
23016         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
23017         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
23018         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
23019         * sysdeps/unix/bsd/telldir.c: Likewise.
23020         * sysdeps/unix/bsd/times.c: Likewise.
23021         * sysdeps/unix/bsd/usleep.c: Likewise.
23023         * misc/Makefile (install-lib): Remove libbsd-compat.a.
23024         ($(objpfx)libbsd-compat.a): Remove rule.
23026         * include/features.h (__FAVOR_BSD): Do not define.
23027         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
23028         features conflicting with POSIX.
23029         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
23030         (_BSD_SOURCE): Remove description of not being a subset of other
23031         feature test macros.
23032         * manual/job.texi (getpgrp): Do not document BSD version.
23033         (getpgid): Do not document by reference to BSD getpgrp.
23034         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
23035         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
23036         * signal/signal.h [__FAVOR_BSD]: Likewise.
23037         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
23038         instead of making contents conditional on [__FAVOR_BSD].
23039         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
23041 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23045 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
23047         [BZ #16314]
23048         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
23049         values below 2**-450, not 2**-500.
23050         * math/auto-libm-test-in: Don't allow spurious underflow from
23051         hypot.
23052         * math/auto-libm-test-out: Regenerated.
23054         [BZ #16316]
23055         [BZ #16330]
23056         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
23057         values of ha and hb and sort them after adjusting subnormal
23058         arguments.
23059         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23060         Likewise.
23061         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
23062         values of ea and eb and sort them after adjusting subnormal
23063         arguments.
23064         * math/auto-libm-test-in: Do not expect some hypot tests of
23065         subnormals to fail.  Add more hypot tests.
23066         * math/auto-libm-test-out: Regenerated.
23068 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23070         [BZ #13304]
23071         * sysdeps/sh/s_fma.c: New file.
23072         * sysdeps/sh/s_fmaf.c: New file.
23073         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
23074         version.
23075         * sysdeps/sh/Implies: Add sh/soft-fp.
23077 2013-12-16  Roland McGrath  <roland@hack.frob.com>
23079         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
23080         level of indirection to members `objname', `errstring', `malloced'.
23081         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
23082         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
23083         it as the __longjmp argument (just pass 1 instead).
23084         (_dl_catch_error): Initialize C with argument pointers and address of
23085         volatile local ERRCODE rather than copying values out of C at return.
23087 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
23089         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
23090         * math/auto-libm-test-out: Regenerated.
23091         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
23092         (hypot_test_data): Likewise.
23093         (pow_test_data): Likewise.
23094         (pow_tonearest_test_data): Likewise.
23095         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23096         mpfr_ff_f.
23097         (func_calc_desc): Add mpfr_ff_f union field.
23098         (FUNC_mpfr_ff_f): New macro.
23099         (test_functions): Add atan2, hypot and pow.
23100         (special_fill_min): New function.
23101         (special_fill_minus_min): Likewise.
23102         (special_fill_min_subnorm): Likewise.
23103         (special_fill_minus_min_subnorm): Likewise.
23104         (special_real_inputs): Add min, -min, min_subnorm and
23105         -min_subnorm.
23106         (calc_generic_results): Handle mpfr_ff_f.
23107         * sysdeps/i386/fpu/libm-test-ulps: Update.
23108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23110 2013-12-16  Will Newton  <will.newton@linaro.org>
23112         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
23113         (Aligned Memory Blocks): Add documentation for aligned_alloc
23114         and suggest it as an alternative to posix_memalign.
23115         (Hooks for Malloc): Document __memalign_hook is also called
23116         for aligned_alloc.  (Summary of Malloc): Add summary for
23117         aligned alloc.  Document __memalign_hook is also called
23118         for aligned_alloc.
23120 2013-12-16  Will Newton  <will.newton@linaro.org>
23122         * manual/memory.texi (Malloc Examples): Clarify default
23123         alignment documentation.  Suggest posix_memalign rather
23124         than memalign or valloc.
23125         (Aligned Memory Blocks): Remove suggestion to use memalign
23126         or valloc.  Remove obsolete comment about BSD.
23127         Document memalign errno values and mark the function obsolete.
23128         Document posix_memalign returned error codes.  Mark valloc
23129         as obsolete.  (Hooks for Malloc): __memalign_hook is also
23130         called for posix_memalign and valloc.
23131         (Summary of Malloc): Add posix_memalign to function summary.
23132         __memalign_hook is also called for posix_memalign and valloc.
23134 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23136         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
23137         TAYLOR_SIN.
23138         (__sin): Adjust.
23139         (__cos): Likewise.
23140         (sloww): Use mynumber union.  Expand ternary operator into
23141         if-else statements.
23142         (cslow): use mynumber union.
23144 2013-12-16  Allan McRae  <allan@archlinux.org>
23146         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
23147         * configure: Regenerated.
23149         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
23151         [BZ #14120]
23152         * configure.ac: Added --enable-maintainer-mode. Check for
23153         autoconf when enabled.
23154         * configure: Regenerated.
23156         * nscd/nscd.service: New file.
23157         * nscd/nscd.tmpfiles: New file.
23159 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
23161         [BZ #12100]
23162         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
23163         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
23164         * sysdeps/x86_64/multiarch/strstr.c: ... here.
23165         (strstr): Add __strstr_sse2_unaligned ifunc.
23166         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
23167         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
23168         (strcasestr): Remove __strcasestr_sse42 ifunc.
23169         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
23170         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23171         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23173 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23175         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
23176         * sysdeps/sh/bits/fenv.h: ... here.
23177         * sysdeps/sh/sh4/fpu/bits: Remove directory.
23179 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23181         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
23183         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
23184         hypotf multiarch implementations.
23185         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
23186         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
23187         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
23188         multiarch hypot for PPC64.
23189         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
23190         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
23191         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
23192         multiarch hypotf for PPC64.
23194         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
23195         modff multiarch implementations.
23196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
23197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
23198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
23199         multiarch modf for PPC64.
23200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
23201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
23202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
23203         multiarch modff for PPC64.
23205         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
23206         and logl multiarch implementations.
23207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
23208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
23209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
23210         multiarch logb for PPC64.
23211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
23212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
23213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
23214         multiarch logb for PPC64.
23215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
23216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
23217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
23218         multiarch logb for PPC64.
23220         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
23221         isinff multiarch implementation.
23222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
23223         file.
23224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
23225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
23226         multiarch isinf for PPC64.
23227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
23228         file.
23229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
23230         multiarch isinff for PPC64.
23232         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
23233         finitef multiarch implementation.
23234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
23235         file.
23236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
23237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
23238         multiarch finite for PPC64.
23239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
23240         file.
23241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
23242         multiarch finitef for PPC64.
23244         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
23245         lrint multiarch implementation.
23246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
23247         file.
23248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
23249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
23250         multiarch llrint for PPC64.
23251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
23252         multiarch lrint for PPC64.
23254         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
23255         copysignf multiarch implementation.
23256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
23257         file.
23258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
23259         file.
23260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
23261         multiarch copysign for PPC64.
23262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
23263         multiarch copysignf for PPC64.
23265         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
23266         multiarch implementation.
23267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
23268         file.
23269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
23270         file.
23271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
23272         file.
23273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
23274         file.
23275         multiarch llround for PPC64.
23276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
23277         multiarch trunc for PPC64.
23278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
23279         multiarch truncf for PPC64.
23281         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
23282         multiarch implementation.
23283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
23284         file.
23285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
23286         file.
23287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
23288         file.
23289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
23290         file.
23291         multiarch llround for PPC64.
23292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
23293         multiarch round for PPC64.
23294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
23295         multiarch roundf for PPC64.
23297         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
23298         multiarch implementation.
23299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
23300         file.
23301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
23302         file.
23303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
23304         file.
23305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
23306         file.
23307         multiarch llround for PPC64.
23308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
23309         multiarch floor for PPC64.
23310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
23311         multiarch floorf for PPC64.
23313         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
23314         multiarch implementation.
23315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
23316         file.
23317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
23318         file.
23319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
23320         file.
23321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
23322         file.
23323         multiarch llround for PPC64.
23324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
23325         multiarch ceil for PPC64.
23326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
23327         multiarch ceilf for PPC64.
23329         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23330         multiarch implementation.
23331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
23332         file.
23333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
23334         file.
23335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
23336         file.
23337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
23338         multiarch llround for PPC64.
23339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
23340         multiarch lround for PPC64.
23342         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23343         multiarch implementation.
23344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
23345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
23346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
23347         file.
23348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
23349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
23350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
23351         multiarch isnan for PPC64.
23352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
23353         multiarch isnanf for PPC64.
23355         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
23356         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
23357         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
23358         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
23359         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
23360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
23362         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
23363         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23364         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23365         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23367         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
23368         multiarch implementations.
23369         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23370         (__libc_ifunc_impl_list): Likewise.
23371         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
23372         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
23373         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
23374         multiarch stpcpy for PPC64.
23376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
23377         multiarch implementations.
23378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23379         (__libc_ifunc_impl_list): Likewise.
23380         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
23381         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
23382         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
23383         multiarch strcpy for PPC64.
23385         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
23386         redefine function name.
23387         (_wordcopy_fwd_dest_aligned): Likewise.
23388         (_wordcopy_bwd_aligned): Likewise.
23389         (_wordcopy_bwd_dest_aligned): Likewise.
23390         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
23391         multiarch implementations.
23392         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23393         (__libc_ifunc_impl_list): Likewise.
23394         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
23395         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
23396         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
23397         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
23398         multiarch wcscpy for PPC64.
23400         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
23401         multiarch implementations.
23402         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23403         (__libc_ifunc_impl_list): Likewise.
23404         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
23405         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
23406         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
23407         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
23408         multiarch wcscpy for PPC64.
23410         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
23411         multiarch implementations.
23412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23413         (__libc_ifunc_impl_list): Likewise.
23414         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
23415         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
23416         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
23417         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
23418         multiarch wcsrchr for PPC64.
23420         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
23421         multiarch implementations.
23422         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23423         (__libc_ifunc_impl_list): Likewise.
23424         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
23425         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
23426         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
23427         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
23428         multiarch wcschr for PPC64.
23430         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
23431         multiarch implementations.
23432         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23433         (__libc_ifunc_impl_list): Likewise.
23434         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
23435         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
23436         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
23437         multiarch strchrnul for PPC64.
23439         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
23440         implementations.
23441         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23442         (__libc_ifunc_impl_list): Likewise.
23443         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
23444         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
23445         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
23446         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
23447         strchr for PPC64.
23449         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
23450         implementations.
23451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23452         (__libc_ifunc_impl_list): Likewise.
23453         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
23454         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
23455         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
23456         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
23457         strncmp for PPC64.
23459         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
23460         multiarch implementations.
23461         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23462         (__libc_ifunc_impl_list): Likewise.
23463         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
23464         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
23465         strncasecmp for PPC64.
23466         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
23467         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
23468         multiarch strncasecmp_l for PPC64.
23470         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
23471         multiarch implementations.
23472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23473         (__libc_ifunc_impl_list): Likewise.
23474         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
23475         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
23476         multiarch strcasecmp for PPC64.
23477         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
23478         file.
23479         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
23480         multiarch strcasecmp_l for PPC64.
23482         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
23483         implementations.
23484         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23485         (__libc_ifunc_impl_list): Likewise.
23486         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
23487         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
23488         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
23489         strnlen for PPC64.
23491         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
23492         implementations.
23493         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23494         (__libc_ifunc_impl_list): Likewise.
23495         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
23496         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
23497         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
23498         strlen for PPC64.
23500         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
23501         implementations.
23502         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23503         (__libc_ifunc_impl_list): Likewise.
23504         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
23505         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
23506         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
23507         rawmemrchr for PPC64.
23509         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
23510         implementation.
23511         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23512         (__libc_ifunc_impl_list): Likewise.
23513         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
23514         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
23515         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
23516         memrchr for PPC64.
23518         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
23519         implementation.
23520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23521         (__libc_ifunc_impl_list): Likewise.
23522         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
23523         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
23524         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
23525         memchr for PPC64.
23527         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
23528         implementation.
23529         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23530         (__libc_ifunc_impl_list): Likewise.
23531         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
23532         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
23533         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
23534         mempcpy for PPC64.
23536         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
23537         avoid cretion of __bzero symbol.
23538         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
23539         Likewise.
23540         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
23541         Likewise.
23542         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
23543         Likewise.
23544         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
23545         multiarch implementations.
23546         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23547         (__libc_ifunc_impl_list): Likewise.
23548         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
23549         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
23550         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
23551         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
23552         bzero for PPC32.
23553         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
23554         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
23555         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
23556         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
23557         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
23558         memset for PPC64.
23559         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
23561         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
23562         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
23563         implementations.
23564         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23565         (__libc_ifunc_impl_list): Likewise.
23566         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
23567         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
23568         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
23569         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
23570         memcmp for PPC64.
23572         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
23573         multiarch for POWER/PPC64.
23574         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23575         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
23576         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
23577         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
23578         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
23579         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
23580         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
23581         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
23582         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
23583         memcpy for PPC64.
23585         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
23586         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
23587         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
23588         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
23589         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
23590         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
23591         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
23592         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
23593         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
23594         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
23595         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
23596         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
23597         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
23598         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
23599         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
23600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
23601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
23602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
23603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
23604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
23605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
23606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
23608 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23610         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
23612 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23614         * benchtests/Makefile (bench): Add exp2 and log2.
23615         (LDLIBS-bench-exp2): Add -lm.
23616         (LDLIBS-bench-log2): Likewise.
23617         * benchtests/exp2-inputs: New inputs file.
23618         * benchtests/log2-inputs: New inputs file.
23619         * benchtests/log-inputs: Add new inputs.
23620         * benchtests/tan-inputs: Likewise.
23622 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23624         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
23625         definition...
23626         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
23627         (csloww2): ... from here.
23629         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
23630         instead of structures.
23631         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
23632         (POLYNOMIAL): Likewise.
23633         (TAYLOR_SLOW): Likewise.
23634         (__sin): Likewise.
23635         (__cos): Likewise.
23636         (slow1): Likewise.
23637         (slow2): Likewise.
23638         (sloww): Likewise.
23639         (sloww1); Likewise.
23640         (sloww2): Likewise.
23641         (bsloww1): Likewise.
23642         (bsloww2): Likewise.
23643         (cslow2): Likewise.
23644         (csloww): Likewise.
23645         (csloww1): Likewise.
23646         (csloww2): Likewise.
23648 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
23650         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
23651         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
23652         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
23653         * malloc/hooks.c (realloc_check): Likewise.
23655         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
23656         * malloc/arena.c: Remove PER_THREAD conditional.
23657         [!PER_THREAD]: Remove code.
23658         (ptmalloc_unlock_all2): Likewise.
23659         (ptmalloc_init): Likewise.
23660         (_int_new_arena): Likewise.
23661         (arena_get2): Likewise.
23662         * malloc/hooks.c (__malloc_get_state): Likewise.
23663         (__malloc_set_state): Likewise.
23664         * malloc/malloc.c: Likewise.
23665         (struct malloc_state): Likewise.
23666         (struct malloc_par): Likewise.
23667         (__libc_realloc): Likewise.
23668         (__libc_mallopt): Likewise.
23670 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23672         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
23674 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
23676         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
23677         macro to a function.  Check for zero perturb_byte.
23678         (_int_malloc, _int_free): Remove zero perturb_byte checks.
23680         * malloc/malloc.c: (force_reg): Remove.
23681         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
23682         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
23683         force_reg by atomic_forced_read.
23684         * malloc/arena.c (ptmalloc_init): Likewise.
23685         * malloc/hooks.c (top_check): Likewise.
23687 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23689         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23691 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
23693         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23695 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
23697         * math/auto-libm-test-in: Add tests of lgamma.
23698         * math/auto-libm-test-out: Regenerated.
23699         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
23700         (M_LOG_2_SQRT_PIl): Likewise.
23701         (lgamma_test_data): Use AUTO_TESTS_f_f1.
23702         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23703         mpfr_f_f1.
23704         (func_calc_desc): Add mpfr_f_f1 union field.
23705         (ARGS1): New macro.
23706         (ARGS2): Likewise.
23707         (ARGS3): Likewise.
23708         (ARGS4): Likewise.
23709         (RET1): Likewise.
23710         (RET2): Likewise.
23711         (CALC): Likewise.
23712         (FUNC): Likewise.
23713         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
23714         (test_functions): Add lgamma.
23715         (calc_generic_results): Handle mpfr_f_f1.
23716         * sysdeps/i386/fpu/libm-test-ulps: Update.
23717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23719 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23721         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
23722         __mpn_add_n for PowerPC64/POWER7.
23723         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
23724         __mpn_sub_n for PowerPC64/POWER7.
23726         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
23727         __mpn_addmul_1 for PowerPC64.
23728         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
23729         __mpn_submul_1 for PowerPC64.
23730         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
23731         for PowerPC64.
23732         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
23733         for PowerPC64.
23735 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
23737         [BZ #15089]
23738         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
23740 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23742         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
23744         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
23745         add multiarch folders.
23746         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
23747         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
23748         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
23749         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
23750         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
23751         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
23752         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
23753         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
23754         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
23755         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
23756         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
23757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
23758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
23759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
23760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
23761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
23762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
23764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23765         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
23766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
23767         New file.
23768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
23769         New file.
23770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
23771         multiarch __ieee754_hypot for PowerPC32.
23772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
23773         New file.
23774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
23775         New file.
23776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
23777         multiarch __ieee754_hypotf for PowerPC32.
23779         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
23780         long_double_symbol only if __logbl is defined.
23781         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
23782         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
23783         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
23784         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
23785         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
23786         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
23787         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
23788         path for implementation.
23789         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
23790         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
23791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
23792         logb, and logbl multiarch implementations for PowerPC32.
23793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
23794         file.
23795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
23796         file.
23797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
23798         multiarch logb for PowerPC32.
23799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
23800         file.
23801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
23802         file.
23803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
23804         multiarch logbf for PowerPC32.
23805         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
23806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
23807         file.
23808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
23809         multiarch logbl implementation for PowerPC32.
23811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
23812         and modff multiarch implementations.
23813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
23814         New file.
23815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
23816         New file.
23817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
23818         multiarch modf for PowerPC32.
23819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
23820         New file.
23821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
23822         New file.
23823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
23824         multiarch modff for PowerPC32.
23826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
23827         and lrintf multiarch implementations.
23828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
23829         New file.
23830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
23831         New file.
23832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
23833         multiarch lrint for PowerPC32.
23834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
23835         file: multiarch lrintf for PowerPC32.
23837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
23838         and lroundf multiarch implementations.
23839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
23840         New file.
23841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
23842         New file.
23843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
23844         New file.
23845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
23846         multiarch lround for PowerPC32.
23847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
23848         file: multiarch lroundf for PowerPC32.
23850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23851         copysign and copysignf multiarch implementations.
23852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
23853         New file.
23854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
23855         New file.
23856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
23857         file: multiarch copysign for PowerPC32.
23858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
23859         file: multiarch copysignf for PowerPC32.
23861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
23862         and truncf multiarch implementations.
23863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
23864         New file.
23865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
23866         file.
23867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
23868         multiarch trunc for PowerPC32.
23869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
23870         New file.
23871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
23872         New file.
23873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
23874         multiarch truncf for PowerPC32.
23876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
23877         and roundf multiarch implementations.
23878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
23879         New file.
23880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
23881         file.
23882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
23883         multiarch round for PowerPC32.
23884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
23885         New file.
23886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
23887         New file.
23888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
23889         multiarch roundf for PowerPC32.
23891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
23892         and floorf multiarch implementations.
23893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
23894         New file.
23895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
23896         file.
23897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
23898         multiarch floor for PowerPC32.
23899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
23900         New file.
23901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
23902         New file.
23903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
23904         multiarch floorf for PowerPC32.
23906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
23907         and ceilf multiarch implementations.
23908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
23909         New file.
23910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
23911         file.
23912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
23913         multiarch ceil for PowerPC32.
23914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
23915         New file.
23916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
23917         file.
23918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
23919         multiarch ceilf for PowerPC32.
23921         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
23922         is defined.
23923         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
23924         FINITEF is defined.
23925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
23926         and finitef multiarch implementations.
23927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
23928         New file.
23929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
23930         file.
23931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
23932         multiarch finite for PowerPC32.
23933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
23934         New file.
23935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
23936         file: multiarch finitef for PowerPC32.
23938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
23939         and isinff multiarch implementations.
23940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
23941         file.
23942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
23943         file.
23944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
23945         multiarch isinf for PowerPC32.
23946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
23947         New file.
23948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
23949         multiarch isinff for PowerPC32.
23951         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
23952         alias when __isnan is defined.
23953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
23954         and isnanf multiarch implementations.
23955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
23956         file.
23957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
23958         file.
23959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
23960         file.
23961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
23962         file.
23963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
23964         multiarch isnan for PowerPC32.
23965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
23966         New file.
23967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
23968         New file.
23969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
23970         multiarch isnanf for PowerPC32.
23972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
23973         and sqrtf multiarch implementations.
23974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
23975         file.
23976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
23977         file.
23978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
23979         multiarch sqrt for PowerPC32.
23980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
23981         file.
23982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
23983         file.
23984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
23985         multiarch sqrtf for PowerPC32.
23987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
23988         and llroundf multiarch implementations.
23989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
23990         New file.
23991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
23992         New file.
23993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
23994         New file.
23995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
23996         file: multiarch llround for PowerPC32.
23997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
23998         file: multiarch llroundf for PowerPC32.
24000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
24001         multiarch PowerPC32 fpu implementations.
24002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
24003         New file.
24004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
24005         New file.
24006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
24007         multiarch llrint for PowerPC32.
24008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
24009         New file.
24010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
24011         New file.
24012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
24013         file.
24015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
24017         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
24018         file.
24019         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
24020         file.
24021         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
24022         file.
24023         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
24024         multiarch wordcopy for PPC32.
24025         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24026         wordcopy objects.
24027         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24028         (__libc_ifunc_impl_list): Likewise.
24029         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
24030         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
24031         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
24032         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
24033         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
24034         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
24036         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
24037         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
24038         file.
24039         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
24040         file.
24041         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
24042         file.
24043         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
24044         multiarch wcscpy for PPC32.
24045         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24046         multiarch objects.
24047         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24048         (__libc_ifunc_impl_list): Likewise.
24049         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24050         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24051         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
24052         sysdeps/powerpc/power6/wcscpy.c.
24054         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
24055         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
24056         file.
24057         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
24058         file.
24059         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
24060         file.
24061         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
24062         multiarch wcsrchr for PPC32.
24063         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24064         multiarch objects.
24065         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24066         (__libc_ifunc_impl_list): Likewise.
24067         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24068         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24069         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
24070         sysdeps/powerpc/power6/wcsrchr.c.
24072         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
24073         file.
24074         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
24075         file.
24076         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
24077         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
24078         multiarch wcschr for PPc32.
24079         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24080         multiarch objects.
24081         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24082         (__libc_ifunc_impl_list): Likewise.
24083         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
24084         * sysdeps/powerpc/power6/wcschr.c: ... to here.
24085         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
24086         sysdeps/powerpc/power6/wcschr.c.
24088         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
24089         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
24090         file.
24091         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
24092         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
24093         file: multiarch strchr for PPC32.
24094         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
24095         multiarch objects.
24096         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24097         (__libc_ifunc_impl_list): Likewise.
24099         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
24100         name.
24101         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
24102         file.
24103         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
24104         file.
24105         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
24106         multiarch strchrnul for PPC32.
24107         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
24108         multiarch objects.
24109         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24110         (__libc_ifunc_impl_list): Likewise.
24112         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
24113         file.
24114         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
24115         multiarch strncasecmp for PPC32.
24116         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
24117         file.
24118         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
24119         multiarch strncasecmp_l for PPC32.
24120         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
24121         strncasecmp multiarch objects.
24122         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24123         (__libc_ifunc_impl_list): Likewise.
24125         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
24126         file.
24127         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
24128         multiarch strncasecmp for PPC32.
24129         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24130         New file.
24131         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
24132         multiarch strcasecmp_l for PPC32.
24133         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
24134         multiarch objects.
24135         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24136         (__libc_ifunc_impl_list): Likewise.
24138         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
24139         file.
24140         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
24141         file.
24142         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
24143         multiarch strncmp for PPC32.
24144         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
24145         multiarch objects.
24146         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24147         (__libc_ifunc_impl_list): Likewise.
24149         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
24150         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
24151         file.
24152         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
24153         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
24154         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
24155         multiarch objects.
24156         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24157         (__libc_ifunc_impl_list): Likewise.
24159         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
24160         file.
24161         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
24162         file.
24163         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
24164         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
24165         multiarch objects.
24166         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24167         (__libc_ifunc_impl_list): Likewise.
24169         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
24170         file.
24171         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
24172         file.
24173         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
24174         multiarch rawmemchr for PPC32.
24175         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
24176         multiarch objects.
24177         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24178         (__libc_ifunc_impl_list): Likewise.
24180         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
24181         file.
24182         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
24183         file.
24184         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
24185         file: memrchr multiarch for PPC32.
24186         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
24187         multiarch objects.
24188         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24189         (__libc_ifunc_impl_list): Likewise.
24191         * string/memchr.c (__memchr): Using macro to redefine symbol name.
24192         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
24193         file.
24194         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
24195         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
24196         multiarch memchr for PPC32.
24197         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
24198         multiarch objects.
24199         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24200         (__libc_ifunc_impl_list): Likewise.
24202         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
24203         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
24204         file.
24205         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
24206         file.
24207         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
24208         file: multiarch mempcpy for PPC32.
24209         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
24210         multiarch objects.
24211         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24212         (__libc_ifunc_impl_list): Likewise.
24214         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
24215         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
24216         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
24217         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
24218         multiarch bzero for PPC32.
24219         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
24220         file.
24221         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
24222         file.
24223         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
24224         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
24225         file: multiarch memset for PPC32.
24226         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
24227         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
24228         memset multiarch objects.
24229         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24230         (__libc_ifunc_impl_list): Likewise.
24232         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
24233         file.
24234         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
24235         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
24236         memcmp for PPC32.
24237         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
24238         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
24239         multiarch objects.
24240         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24241         (__libc_ifunc_impl_list): Likewise.
24243         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
24244         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
24245         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
24246         file.
24247         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
24248         file.
24249         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
24250         file.
24251         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
24252         multiarch memcpy for PPC32.
24253         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
24254         multiarch objects.
24255         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24256         (__libc_ifunc_impl_list): Likewise.
24258         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
24259         support multiarch for POWER/PPC32.
24260         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
24261         Likewise.
24262         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
24264         Implies file to make multiarch folder appers before the fpu and
24265         default folder for power4 configuration.
24267 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24269         * scripts/bench.pl: Append volatile keyword to type.
24271 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24273         * sysdeps/sh/sotruss-lib.c: New file.
24274         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
24276 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24280 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
24282         [BZ #6810]
24283         * math/w_tgamma.c: Include <errno.h>.
24284         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
24285         * math/w_tgammaf.c: Include <errno.h>.
24286         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
24287         * math/w_tgammal.c: Include <errno.h>.
24288         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
24289         * math/auto-libm-test-in: Do not allow missing errno on tgamma
24290         underflow.  Add more tgamma tests.
24291         * math/auto-libm-test-out: Regenerated.
24292         * sysdeps/i386/fpu/libm-test-ulps: Update.
24293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24295         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
24296         sin, sinh, tan, tanh, tgamma, y0 and y1.
24297         * math/auto-libm-test-out: Regenerated.
24298         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24299         (TEST_COND_x86): Likewise.
24300         (M_E2l): Remove macro.
24301         (M_E3l): Likewise.
24302         (M_2_SQRT_PIl): Likewise.
24303         (M_SQRT_PIl): Likewise.
24304         (M_1_DIV_El): Likewise.
24305         (log_test_data): Use AUTO_TESTS_f_f.
24306         (log10_test_data): Likewise.
24307         (log1p_test_data): Likewise.
24308         (log2_test_data): Likewise.
24309         (sin_test_data): Likewise.
24310         (sin_tonearest_test_data): Likewise.
24311         (sin_towardzero_test_data): Likewise.
24312         (sin_downward_test_data): Likewise.
24313         (sin_upward_test_data): Likewise.
24314         (sinh_test_data): Likewise.
24315         (sinh_tonearest_test_data): Likewise.
24316         (sinh_towardzero_test_data): Likewise.
24317         (sinh_downward_test_data): Likewise.
24318         (sinh_upward_test_data): Likewise.
24319         (tan_test_data): Likewise.
24320         (tan_tonearest_test_data): Likewise.
24321         (tan_towardzero_test_data): Likewise.
24322         (tan_downward_test_data): Likewise.
24323         (tan_upward_test_data): Likewise.
24324         (tanh_test_data): Likewise.
24325         (tgamma_test_data): Likewise.
24326         (y0_test_data): Likewise.
24327         (y1_test_data): Likewise.
24328         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
24329         (special_real_inputs): Add pi/4.
24330         * sysdeps/i386/fpu/libm-test-ulps: Update.
24331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24333 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24335         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
24336         "longjmp_target" static probes.
24337         (__longjmp): Rename to __longjmp_symbol.
24338         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24339         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
24340         on which longjmp to generate.
24341         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24342         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
24343         probe.
24344         (__sigsetjmp): Rename to __sigsetjmp_symbol.
24345         (__sigjmp_save): Rename to __sigjmp_save_symbol.
24346         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24347         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
24348         and __sigjmp_save_symbol based on which sigsetjmp to generated.
24349         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
24350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
24351         __longjmp_symbol based on which __longjmp to generate.
24352         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
24353         probe.
24354         (setjmp): Rename to setjmp_symbol.
24355         (__sigsetjmp): Rename to __sigsetjmp_symbol.
24356         (_setjmp): Rename to _setjmp_symbol.
24357         (__sigsetjmp): Rename to __sigsetjmp_symbol.
24358         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
24359         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
24360         which setjmp to generate.
24361         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
24362         "longjmp_target" static probes.
24364 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24366         * benchtests/README: Add note about output arguments.
24367         * benchtests/bench-sincos.c: Remove file.
24368         * benchtests/sincos-inputs: New file.
24369         * scripts/bench.pl: Identify output arguments and define
24370         static variables for them.
24372         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
24374         [BZ #15941]
24375         * Makefile (INSTALL): Add install-plain.texi as the primary
24376         dependency.
24377         * manual/install-plain.texi: New file.
24378         * manual/install.texi: Include node directive only for
24379         non-plaintext output.
24381 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
24383         * stdlib/longlong.h: Update from GCC.
24385         [BZ #6807]
24386         [BZ #15901]
24387         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
24388         * math/w_j0f.c (y0f): Likewise.
24389         * math/w_j0l.c (__y0l): Likewise.
24390         * math/w_j1.c (y1): Likewise.
24391         * math/w_j1f.c (y1f): Likewise.
24392         * math/w_j1l.c (__y1l): Likewise
24393         * math/w_jn.c (yn): Likewise.
24394         * math/w_jnf.c (ynf): Likewise.
24395         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
24396         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
24397         value for Bessel function domain errors outside _SVID_ mode.
24398         Adjust sign of return value for yn (negative integer, 0).
24399         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
24400         by zero in return for negative x and set sign appropriately for
24401         negative n.
24402         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
24403         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24404         * math/libm-test.inc (y0_test_data): Add more tests and adjust
24405         expectations in error cases.
24406         (y1_test_data): Likewise.
24407         (yn_test_data): Likewise.
24408         * sysdeps/i386/fpu/libm-test-ulps: Update.
24409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24411 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24413         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
24414         "64" to "64-v1".  Add "64-v2".
24415         (abi-64-options): Rename to ...
24416         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
24417         (abi-64-condition): Rename to ...
24418         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
24419         (abi-64-ld-soname): Rename to ...
24420         (abi-64-v1-ld-soname): ... this.
24421         (abi-64-v2-options): Define.
24422         (abi-64-v2-condition): Likewise.
24423         (abi-64-v2-ld-soname): Likewise.
24424         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
24425         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
24426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
24427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
24428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
24430 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24431             Alan Modra  <amodra@gmail.com>
24433         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
24434         New versions for use with the ELFv2 ABI.
24435         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
24436         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
24437         declaration.
24438         (struct La_ppc64v2_retval): Likewise.
24439         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
24440         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
24441         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
24442         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
24443         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
24444         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24445         Do not save or restore CR.
24446         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
24447         (_dl_profile_resolve): Do no save or restore CR.  Support extended
24448         return values for ELFv2 ABI.  Fix location of FPR return registers.
24449         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
24450         updated values for _CALL_ELF == 2.
24451         (La_regs, La_retval, int_retval): Likewise.
24453 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24455         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
24456         (FRAME_MIN_SIZE_PARM): Likewise.
24457         (FRAME_BACKCHAIN): Likewise.
24458         (FRAME_CR_SAVE): Likewise.
24459         (FRAME_LR_SAVE): Likewise.
24460         (FRAME_TOC_SAVE): Likewise.
24461         (FRAME_PARM_SAVE): Likewise.
24462         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
24463         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
24464         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24465         (call_mcount_parm_offset): New macro.
24466         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
24467         (PROF): Use symbolic stack frame offsets.
24468         (TAIL_CALL_SYSCALL_ERROR): Likewise.
24469         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
24470         Redefine in terms of FRAME_MIN_SIZE.
24471         (_dl_runtime_resolve): Use symbolic stack frame offsets.
24472         (_dl_profile_resolve): Likewise.  Update comment.
24473         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
24474         symbols stack frame offsets.
24475         (__sigsetjmp): Likewise.
24476         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
24477         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
24478         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
24479         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
24481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
24482         (FRAME_BACKCHAIN): Remove.
24483         (FRAME_CR_SAVE): Likewise.
24484         (FRAME_LR_SAVE): Likewise.
24485         (FRAME_COMPILER_DW): Likewise.
24486         (FRAME_LINKER_DW): Likewise.
24487         (FRAME_TOC_SAVE): Likewise.
24488         (FRAME_PARM_SAVE): Likewise.
24489         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
24490         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
24491         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
24493         (CHECK_SP): Use symbolic stack frame offsets.
24494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
24495         zone" instead of caller's parameter save area for temp storage.
24496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24497         Likewise.  Also, use symbolic stack frame offsets.
24498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
24499         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
24500         our own stack frame instead of the caller's.
24501         (__socket): Use symbolic stack frame offsets.
24503 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24504             Alan Modra  <amodra@gmail.com>
24506         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
24507         Define.
24508         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
24509         (PPC64_LOCAL_ENTRY_OFFSET): Define.
24510         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
24511         New function.
24512         (elf_machine_fixup_plt): Call it.
24513         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
24514         reloc arguments.
24515         (elf_machine_rela): Update call to elf_machine_plt_conflict.
24516         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24517         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
24518         r2 before calling target.
24520 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24521             Alan Modra  <amodra@gmail.com>
24523         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
24524         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
24525         versions of macros to support ELFv2 ABI.
24526         (LOCALENTRY): New macro.
24527         (ENTRY, EALIGN): Use it.
24528         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
24529         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
24530         fall through into ENTRY entry point.
24531         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
24532         Only define if _CALL_ELF != 2.
24534         (elf_machine_matches_host): Verify ABI version matches.
24535         (RTLD_START): Use LOCALENTRY.
24536         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
24537         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
24538         (PLT_ENTRY_WORDS): New macro.
24539         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
24540         (elf_machine_runtime_setup): Support ELFv2 ABI.
24541         (elf_machine_fixup_plt): Likewise.
24542         (elf_machine_plt_conflict): Likewise.
24543         (resolve_ifunc): Likewise.
24544         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24545         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24546         Likewise.
24547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
24548         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
24549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24550         (makecontext): Support ELFv2 ABI.
24551         * elf/elf.h (EF_PPC64_ABI): Define.
24553 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24555         * sysdeps/powerpc/powerpc64/sysdep.h
24556         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
24557         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
24558         (ENTRY) [ASSEMBLER]: ... but instead here ...
24559         (EALIGN) [ASSEMBLER]: ... and here.
24560         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
24561         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
24562         (ENTRY_2) [!ASSEMBLER]: Use it.
24563         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
24564         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
24565         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24566         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
24567         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
24568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
24569         Use PPC64_LOAD_FUNCPTR.
24571         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
24573 2013-12-04  Alan Modra  <amodra@gmail.com>
24575         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
24576         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
24577         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
24578         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
24580         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
24581         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
24582         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
24583         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
24584         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
24585         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
24587 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24590         (__makecontext): Fix incorrect CFI when backtracing out of
24591         context created via makecontext.
24592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
24593         (__setcontext): Fix incorrect CFI during switch to new context.
24594         (__novec_setcontext): Likewise.
24596 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
24598         [BZ #4772]
24599         * time/strptime_l.c (__strptime_internal): Allow modifiers
24600         in strptime.
24601         * time/tst-strptime.c (day_tests): Add testcase.
24603 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24605         * scripts/bench.pl: Skip over blank lines.
24607 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
24609         [BZ #926]
24610         * manual/time.texi (Calendar Time): Clarify what timezone functions
24611         use.
24613 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24617 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
24619         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
24620         implementation.
24621         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
24622         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
24623         * debug/memset_chk.c (__memset_chk): Likewise.
24624         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
24625         * debug/strncpy_chk.c: Likewise.
24627 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
24629         [BZ #15268]
24630         [BZ #15425]
24631         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
24632         (__ieee754_exp): For possibly underflowing results, check size of
24633         result and force underflow exception if required.
24634         * math/auto-libm-test-in: Add more tests of exp.
24635         * math/auto-libm-test-out: Regenerated.
24636         * sysdeps/i386/fpu/libm-test-ulps: Update.
24637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24639         [BZ #16283]
24640         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
24641         * math/w_exp2f.c (__exp2f): Likewise.
24642         * math/w_exp2l.c (__exp2l): Likewise.
24643         * math/auto-libm-test-in: Do not allow missing errno on exp2
24644         underflow.
24645         * math/auto-libm-test-out: Regenerated.
24647 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
24649         [BZ #16274]
24650         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
24651         handle filename validation.
24652         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
24653         (do_open): Delete.
24655 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
24657         [BZ #6786]
24658         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
24659         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
24660         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
24661         <float.h>.
24662         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
24663         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
24664         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24665         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
24666         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24667         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
24668         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24669         * math/auto-libm-test-in: Don't allow missing errno from erfc.
24670         Add more erfc tests.
24671         * math/auto-libm-test-out: Regenerated.
24672         * sysdeps/i386/fpu/libm-test-ulps: Update.
24673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24675         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
24676         exp2, expm1, j0 and j1.
24677         * math/auto-libm-test-out: Regenerated.
24678         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
24679         (erfc_test_data): Likewise.
24680         (exp_test_data): Likewise.
24681         (exp_tonearest_test_data): Likewise.
24682         (exp_towardzero_test_data): Likewise.
24683         (exp_downward_test_data): Likewise.
24684         (exp_upward_test_data): Likewise.
24685         (exp10_test_data): Likewise.
24686         (exp2_test_data): Likewise.
24687         (expm1_test_data): Likewise.
24688         (j0_test_data): Likewise.
24689         (j1_test_data): Likewise.
24690         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
24691         (input_flag_type): Add flag_xfail_rounding.
24692         (input_flags): Add xfail-rounding.
24693         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
24694         (output_for_one_input_case): Handle flag_xfail_rounding.
24695         * sysdeps/i386/fpu/libm-test-ulps: Update.
24696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24698 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
24700         [BZ #16289]
24701         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
24702         division by 0.
24704 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24706         [BZ #16195]
24707         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
24708         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
24709         (STAP_PROBE0): New macro.
24710         (STAP_PROBE1): Likewise.
24711         (STAP_PROBE2): Likewise.
24712         (STAP_PROBE3): Likewise.
24713         (STAP_PROBE4): Likewise.
24715 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
24717         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
24719 2013-12-02  Steve Ellcey  <sellcey@mips.com>
24721         * benchtests/Makefile (bench): Add sqrt.
24722         (LDLIBS-bench-sqrt): New.
24723         * benchtests/sqrt-input: New.
24725 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
24727         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
24728         (GAIH_EAI): Likewise.
24729         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
24730         (gaih_inet): Likewise.
24731         (getaddrinfo): Don't use GAIH_EAI.
24733         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
24734         (struct gaih): Remove definition.
24736 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24738         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
24739         Use HERRNOP directly.
24741 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24743         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24745 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
24747         * math/gen-auto-libm-tests.c (test_functions): Add more
24748         single-argument functions.
24749         (special_fill_pi_2): New function.
24750         (special_fill_minus_pi_2): Likewise.
24751         (special_fill_pi_6): Likewise.
24752         (special_fill_minus_pi_6): Likewise.
24753         (special_fill_pi_3): Likewise.
24754         (special_fill_2pi_3): Likewise.
24755         (special_fill_e): Likewise.
24756         (special_fill_1_e): Likewise.
24757         (special_fill_e_minus_1): Likewise.
24758         (special_real_inputs): Add more special inputs.
24759         (output_for_one_input_case): Do not require ERANGE on underflow to
24760         zero if round-to-nearest result does not underflow to zero, unless
24761         exact results required.
24762         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
24763         atan, atanh, cbrt, cos and cosh.
24764         * math/auto-libm-test-out: Regenerated.
24765         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
24766         (acos_tonearest_test_data): Likewise.
24767         (acos_towardzero_test_data): Likewise.
24768         (acos_downward_test_data): Likewise.
24769         (acos_upward_test_data): Likewise.
24770         (acosh_test_data): Likewise.
24771         (asin_test_data): Likewise.
24772         (asin_tonearest_test_data): Likewise.
24773         (asin_towardzero_test_data): Likewise.
24774         (asin_upward_test_data): Likewise.
24775         (asinh_test_data): Likewise.
24776         (atan_test_data): Likewise.
24777         (atanh_test_data): Likewise.
24778         (cbrt_test_data): Likewise.
24779         (cos_test_data): Likewise.
24780         (cos_tonearest_test_data): Likewise.
24781         (cos_towardzero_test_data): Likewise.
24782         (cos_downward_test_data): Likewise.
24783         (cos_upward_test_data): Likewise.
24784         (cosh_test_data): Likewise.
24785         (cosh_tonearest_test_data): Likewise.
24786         (cosh_towardzero_test_data): Likewise.
24787         (cosh_downward_test_data): Likewise.
24788         (cosh_upward_test_data): Likewise.
24789         * sysdeps/i386/fpu/libm-test-ulps: Update.
24790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24792 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
24794         [BZ #6787]
24795         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
24796         * math/w_exp10f.c (__exp10f): Likewise.
24797         * math/w_exp10l.c (__exp10l): Likewise.
24798         * math/libm-test.inc (exp10_test_data): Add more tests and expect
24799         errno settings in existing tests.
24801         [BZ #14032]
24802         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
24803         precision control set to double precision.
24804         * sysdeps/i386/fpu/w_sqrt.c: New file.
24805         * math/auto-libm-test-in: Add more tests.
24806         * math/auto-libm-test-out: Update.
24808         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
24809         (sqrt_test_tonearest): New function.
24810         (sqrt_towardzero_test_data): New variable.
24811         (sqrt_test_towardzero): New function.
24812         (sqrt_downward_test_data): New variable.
24813         (sqrt_test_downward): New function.
24814         (sqrt_upward_test_data): New variable.
24815         (sqrt_test_upward): New function.
24816         (main): Call the new functions.
24818         * math/gen-auto-libm-tests.c: New file.
24819         * math/auto-libm-test-in: Likewise.
24820         * math/auto-libm-test-out: New generated file.
24821         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
24822         variables.
24823         (%beautify): Add generated representations of zero.
24824         (top level): Set $auto_input and call parse_auto_input.
24825         (beautify): Remove trailing "f" from hex float constants.
24826         (parse_args): Handle XFAIL_TEST.
24827         (convert_condition): New function.
24828         (or_value): Likewise.
24829         (or_cond_value): Likewise.
24830         (generate_testfile): Handle AUTO_TESTS_* lines.
24831         (parse_auto_input): New function.
24832         * math/libm-test.inc (XFAIL_TEST): New macro.
24833         (ERRNO_UNCHANGED): Update value.
24834         (ERRNO_EDOM): Likewise.
24835         (ERRNO_ERANGE): Likewise.
24836         (IGNORE_RESULT): Likewise.
24837         (TEST_COND_flt_32): New macro.
24838         (TEST_COND_dbl_64): Likewise.
24839         (TEST_COND_ldbl_96_intel): Likewise.
24840         (TEST_COND_ldbl_96_m68k): Likewise.
24841         (TEST_COND_ldbl_128): Likewise.
24842         (TEST_COND_ldbl_128ibm): Likewise.
24843         (TEST_COND_long32): Likewise.
24844         (TEST_COND_long64): Likewise.
24845         (TEST_COND_before_rounding): Likewise.
24846         (TEST_COND_after_rounding): Likewise.
24847         (enable_test): Handle XFAIL_TEST flag.
24848         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
24849         with finite results.
24850         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
24851         auto-libm-test-out.
24853 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24854             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24856         [BZ #16214]
24857         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
24858         __tls_get_addr_internal instead of __tls_get_offset in order to
24859         avoid GOT pointer dependency.  Make rtld export
24860         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
24861         __tls_get_addr since we are a __tls_get_offset platform.
24862         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
24863         GOT pointer being set up before.
24864         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
24866 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
24868         * manual/math.texi (Errors in Math Functions): Document accuracy
24869         goals.
24871         [BZ #15004]
24872         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
24873         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
24874         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24875         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24876         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24877         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24878         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24879         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24880         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24881         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24882         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24883         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24884         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24885         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24886         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24887         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24889         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
24890         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
24891         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
24892         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
24893         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
24894         Likewise.
24895         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
24896         Likewise.
24897         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
24898         Likewise.
24899         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
24900         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
24901         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
24902         atomic-feupdateenv and flt-rounds.
24903         * sysdeps/powerpc/nofpu/Versions (libc): Add
24904         __atomic_feholdexcept, __atomic_feclearexcept,
24905         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
24906         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
24907         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
24908         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
24909         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
24910         here.
24911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24912         Update.
24914         * manual/arith.texi (FP Exceptions): Document that exceptions may
24915         not be raised when matherr is used.
24916         (Math Error Reporting): Document overflow in directed rounding
24917         modes.  Document that errno may not be set when finite values are
24918         returned on overflow.  Document intent to set errno on underflow
24919         only for underflow to zero.
24921         [BZ #16271]
24922         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
24923         round-to-nearest then adjust result for other rounding modes.
24924         * include/fenv.h (fegetround): Use libm_hidden_proto.
24925         * math/fegetround.c (fegetround): Use libm_hidden_def.
24926         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24927         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24928         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24929         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24930         Likewise.
24931         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
24932         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24933         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24934         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
24936 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24938         [BZ #16077]
24939         * nss/Versions (libnss_files): Add
24940         _nss_files_gethostbyname3_r.
24941         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
24942         New function.
24943         (HOST_DB_LOOKUP): Remove macro.
24944         (_nss_files_gethostbyname_r): Implement function without the
24945         HOST_DB_LOOKUP macro.
24946         (_nss_files_gethostbyname2_r): Likewise.
24948 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
24950         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
24952 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
24954         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
24955         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
24956         warning.
24958 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24960         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
24961         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
24962         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
24963         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24964         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
24965         __fe_nomask_env_priv and attribute_hidden.
24966         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
24967         (libc_feupdateenv_test_ppc): Likewise.
24968         (libc_feresetround_ppc): Likewise.
24969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24970         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
24971         compat_symbol macro.
24972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24973         (__fe_nomask_env): Likewise.
24974         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
24976 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
24978         * string/Makefile: Remove ifunc tests.
24979         * string/test-string.h: Define TEST_IFUNC.
24980         * string/test-bcopy-ifunc.c: Remove.
24981         * string/test-bzero-ifunc.c: Likewise.
24982         * string/test-memccpy-ifunc.c: Likewise.
24983         * string/test-memchr-ifunc.c: Likewise.
24984         * string/test-memcmp-ifunc.c: Likewise.
24985         * string/test-memcpy-ifunc.c: Likewise.
24986         * string/test-memmem-ifunc.c: Likewise.
24987         * string/test-memmove-ifunc.c: Likewise.
24988         * string/test-mempcpy-ifunc.c: Likewise.
24989         * string/test-memrchr-ifunc.c: Likewise.
24990         * string/test-memset-ifunc.c: Likewise.
24991         * string/test-rawmemchr-ifunc.c: Likewise.
24992         * string/test-stpcpy-ifunc.c: Likewise.
24993         * string/test-stpncpy-ifunc.c: Likewise.
24994         * string/test-strcasecmp-ifunc.c: Likewise.
24995         * string/test-strcasestr-ifunc.c: Likewise.
24996         * string/test-strcat-ifunc.c: Likewise.
24997         * string/test-strchr-ifunc.c: Likewise.
24998         * string/test-strchrnul-ifunc.c: Likewise.
24999         * string/test-strcmp-ifunc.c: Likewise.
25000         * string/test-strcpy-ifunc.c: Likewise.
25001         * string/test-strcspn-ifunc.c: Likewise.
25002         * string/test-strlen-ifunc.c: Likewise.
25003         * string/test-strncasecmp-ifunc.c: Likewise.
25004         * string/test-strncat-ifunc.c: Likewise.
25005         * string/test-strncmp-ifunc.c: Likewise.
25006         * string/test-strncpy-ifunc.c: Likewise.
25007         * string/test-strnlen-ifunc.c: Likewise.
25008         * string/test-strpbrk-ifunc.c: Likewise.
25009         * string/test-strrchr-ifunc.c: Likewise.
25010         * string/test-strspn-ifunc.c: Likewise.
25011         * string/test-strstr-ifunc.c: Likewise.
25013 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25015         * benchtests/Makefile: Remove ifunc tests.
25016         * benchtests/bench-string.h: Define TEST_IFUNC.
25017         * benchtests/bench-bcopy-ifunc.c: Remove.
25018         * benchtests/bench-bzero-ifunc.c: Likewise.
25019         * benchtests/bench-memccpy-ifunc.c: Likewise.
25020         * benchtests/bench-memchr-ifunc.c: Likewise.
25021         * benchtests/bench-memcmp-ifunc.c: Likewise.
25022         * benchtests/bench-memcpy-ifunc.c: Likewise.
25023         * benchtests/bench-memmem-ifunc.c: Likewise.
25024         * benchtests/bench-memmove-ifunc.c: Likewise.
25025         * benchtests/bench-mempcpy-ifunc.c: Likewise.
25026         * benchtests/bench-memrchr-ifunc.c: Likewise.
25027         * benchtests/bench-memset-ifunc.c: Likewise.
25028         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
25029         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
25030         * benchtests/bench-stpcpy-ifunc.c: Likewise.
25031         * benchtests/bench-stpncpy-ifunc.c: Likewise.
25032         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
25033         * benchtests/bench-strcasestr-ifunc.c: Likewise.
25034         * benchtests/bench-strcat-ifunc.c: Likewise.
25035         * benchtests/bench-strchr-ifunc.c: Likewise.
25036         * benchtests/bench-strchrnul-ifunc.c: Likewise.
25037         * benchtests/bench-strcmp-ifunc.c: Likewise.
25038         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
25039         * benchtests/bench-strcpy-ifunc.c: Likewise.
25040         * benchtests/bench-strcspn-ifunc.c: Likewise.
25041         * benchtests/bench-strlen-ifunc.c: Likewise.
25042         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
25043         * benchtests/bench-strncat-ifunc.c: Likewise.
25044         * benchtests/bench-strncmp-ifunc.c: Likewise.
25045         * benchtests/bench-strncpy-ifunc.c: Likewise.
25046         * benchtests/bench-strnlen-ifunc.c: Likewise.
25047         * benchtests/bench-strpbrk-ifunc.c: Likewise.
25048         * benchtests/bench-strrchr-ifunc.c: Likewise.
25049         * benchtests/bench-strsep-ifunc.c: Likewise.
25050         * benchtests/bench-strspn-ifunc.c: Likewise.
25051         * benchtests/bench-strstr-ifunc.c: Likewise.
25053 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25055         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
25057 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25059         * resolv/netdb.h: Use __glibc_reserved instead __unused.
25060         * rt/aio.h: Likewise.
25061         * sysdeps/gnu/bits/utmp.h: Likewise.
25062         * sysdeps/gnu/bits/utmpx.h: Likewise.
25063         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25064         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
25065         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
25066         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
25067         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
25068         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
25069         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
25070         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
25071         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
25072         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
25073         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
25074         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
25075         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
25076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
25077         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25078         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
25079         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
25080         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
25081         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
25082         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
25083         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
25084         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
25085         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
25086         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25087         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
25088         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25089         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
25090         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
25091         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
25092         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
25093         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
25094         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
25095         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
25096         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25097         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
25098         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
25099         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
25100         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
25101         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
25102         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
25103         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
25104         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25106 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
25108         [BZ #16245]
25109         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
25110         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
25112 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
25114         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
25115         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25116         Likewise.
25118 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25120         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
25121         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
25122         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
25123         (__fesetround): Remove define.
25124         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
25125         rounding and exceptions handling.
25126         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
25127         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
25128         (__fe_nomask_env): Likewise.
25129         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
25130         __fegetround instead of fegetround.
25131         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25132         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
25134 2013-11-21  Roland McGrath  <roland@hack.frob.com>
25136         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
25137         it's there.
25139         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
25141 2013-11-21  Meador Inge  <meadori@codesourcery.com>
25143         [BZ #11157]
25144         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
25145         (encrypt_r): Likewise.
25146         * malloc/obstack.h (obstack_free): Likewise.
25147         * posix/unistd.h (encrypt): Likewise.
25149 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
25151         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
25152         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
25153         DL_CALL_DT_FINI() that call the functions directly.
25154         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
25155         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
25156         * elf/dl-fini.c: Likewise.
25158 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
25160         * malloc/hooks.c (memalign_check): Add alignment rounding.
25161         * malloc/malloc.c (_mid_memalign): New function.
25162         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
25163         Implement by calling _mid_memalign.
25164         * manual/probes.texi (Memory Allocation Probes): Remove
25165         memory_valloc_retry and memory_pvalloc_retry.
25167 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25169         * locale/programs/locarchive.c (open_archive): Add const
25170         qualifier to ARCHIVEFNAME and copy default fname to
25171         DEFAULT_FNAME.
25173         [BZ #15601]
25174         * libio/tst-widetext.input: Rename Oriya to Odia.
25175         * locale/iso-639.def: Likewise.
25177         * manual/probes.texi (Mathematical Function Probes): Add
25178         documentation for sin, cos, asin and acos probes.
25179         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
25180         (__sin32): Add slowasin probe.
25181         (__cos32): Add slowacos probe.
25182         (__mpsin): Add slowsin probe.
25183         (__mpcos): Add slowcos probe.
25185 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
25187         [BZ #15483]
25188         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
25189         thread-local __sim_exceptions_thread and global
25190         __sim_exceptions_global.
25191         (__sim_disabled_exceptions): Change to thread-local
25192         __sim_disabled_exceptions_thread and global
25193         __sim_disabled_exceptions_global.
25194         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25195         and global __sim_round_mode_global.
25196         (__simulate_exceptions): Use thread-local floating-point state and
25197         set global state from it as needed.
25198         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
25199         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
25200         __sim_round_mode_thread.
25201         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
25202         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
25203         and global __sim_exceptions_global.
25204         (__sim_disabled_exceptions): Change to thread-local
25205         __sim_disabled_exceptions_thread and global
25206         __sim_disabled_exceptions_global.
25207         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25208         and global __sim_round_mode_global.
25209         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
25210         (SIM_SET_GLOBAL): Likewise.
25211         * sysdeps/powerpc/soft-fp/sfp-machine.h
25212         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
25213         __sim_round_mode_thread.
25214         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
25215         __sim_disabled_exceptions_thread.
25216         (__sim_exceptions): Change to __sim_exceptions_thread.
25217         (__sim_disabled_exceptions): Change to
25218         __sim_disabled_exceptions_thread.
25219         (__sim_round_mode): Change to __sim_round_mode_thread.
25220         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
25221         thread-local floating-point state and set global state from it as
25222         needed.
25223         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
25224         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
25225         (__sim_disabled_exceptions): Remove extern declaration.
25226         (feenableexcept): Use thread-local floating-point state and set
25227         global state from it as needed.
25228         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
25229         extern declaration.
25230         (__sim_disabled_exceptions): Likewise.
25231         (__sim_round_mode): Likewise.
25232         (__fegetenv): Use thread-local floating-point state.
25233         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
25234         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25235         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
25236         floating-point state and set global state from it as needed.
25237         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
25238         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25239         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
25240         Likewise.
25241         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25242         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
25243         Likewise.
25244         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
25245         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
25246         Use __sim_round_mode_thread.
25247         * math/test-fenv-tls.c: New file.
25248         * math/Makefile (tests): Add test-fenv-tls.
25249         ($(objpfx)test-fenv-tls): Depend on
25250         $(common-objpfx)nptl/libpthread.so.
25252 2013-11-19  Andreas Schwab  <schwab@suse.de>
25254         * locale/programs/locale.c (show_info): Decode wordarray elements.
25255         * locale/categories.def (LC_MONETARY): Add element for
25256         _NL_MONETARY_CRNCYSTR.
25257         * locale/C-monetary.c (conversion_rate): New variable.
25258         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
25259         element.
25261 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
25263         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
25264         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
25266 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
25268         * elf/Makefile (tst-auxv): New test.
25269         * elf/tst-auxv.c: New
25270         * elf/rtld.c (dl_main): Adjust AT_EXECFN
25272 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
25274         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
25275         (hidden_proto): Caller changed.
25276         (hidden_tls_proto): New macro.
25277         (libc_hidden_tls_proto): Likewise.
25278         (rtld_hidden_tls_proto): Likewise.
25279         (libm_hidden_tls_proto): Likewise.
25280         (libresolv_hidden_tls_proto): Likewise.
25281         (librt_hidden_tls_proto): Likewise.
25282         (libdl_hidden_tls_proto): Likewise.
25283         (libnss_files_hidden_tls_proto): Likewise.
25284         (libnsl_hidden_tls_proto): Likewise.
25285         (libnss_nisplus_hidden_tls_proto): Likewise.
25286         (libutil_hidden_tls_proto): Likewise.
25288 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
25290         [BZ #10253]
25291         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
25292         (decompose_rpath): Defer expansion to fillin_rpath.
25293         (_dl_init_paths): Pass linkmap to fillin_rpath.
25295 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25297         * benchtests/Makefile: Add strsep.
25298         * benchtests/bench-strsep.c: New file: strsep benchtest.
25299         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
25301 2013-11-18  Andreas Schwab  <schwab@suse.de>
25303         * locale/programs/locale.c (show_info) [case byte]: Check for
25304         '\377' instead of '\177'.
25305         * locale/C-monetary.c (not_available): Always use "\377".
25306         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
25307         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
25308         detect unavailable sign_posn locale elements.
25309         * locale/localeconv.c (__localeconv): For grouping and
25310         mon_grouping handle "\177" and "\377" like no grouping.
25311         (INT_ELEM): New macro.  Use it to set all numeric members.
25312         * locale/programs/ld-monetary.c (monetary_read)
25313         <tok_mon_grouping>: Normalize single -1 to the empty string.
25314         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
25315         Likewise.
25317 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
25319         [BZ #16055]
25320         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
25321         when we match (nil).
25322         * stdio-common/tst-sscanf.c (struct test): Add testcase.
25324 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
25326         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
25327         (NO_TEST_INLINE): Update value.
25328         (ERRNO_UNCHANGED): Likewise.
25329         (ERRNO_EDOM): Likewise.
25330         (ERRNO_ERANGE): Likewise.
25331         (IGNORE_RESULT): Likewise.
25332         (check_float_internal): Check signs of NaN results if
25333         TEST_NAN_SIGN used.
25334         (check_complex): Pass TEST_NAN_SIGN flag through to second
25335         check_float_internal call.
25336         (copysign_test_data): Add tests with quiet NaNs as second
25337         argument.  Use TEST_NAN_SIGN.
25338         (fabs_test_data): Add test of negative quiet NaN argument.  Use
25339         TEST_NAN_SIGN.
25340         (signbit_test_data): Add tests of quiet NaN argument.
25341         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
25343         * math/gen-libm-test.pl (show_exceptions): Take extra argument
25344         $ignore_result.
25345         (parse_args): Handle function results specified as IGNORE.
25346         * math/libm-test.inc (IGNORE_RESULT): New macro.
25347         (check_float_internal): Do not check numerical result if flag
25348         IGNORE_RESULT set.
25349         (check_complex): Pass through IGNORE_RESULT to second
25350         check_float_internal call.
25351         (check_int): Do not check numerical result if flag IGNORE_RESULT
25352         set.
25353         (check_long): Likewise.
25354         (check_bool): Likewise.
25355         (check_longlong): Likewise.
25356         (lrint_test_data): Add tests of infinite and NaN arguments.
25357         (lrint_tonearest_test_data): Likewise.
25358         (lrint_towardzero_test_data): Likewise.
25359         (lrint_downward_test_data): Likewise.
25360         (lrint_upward_test_data): Likewise.
25361         (llrint_test_data): Likewise.
25362         (llrint_tonearest_test_data): Likewise.
25363         (llrint_towardzero_test_data): Likewise.
25364         (llrint_downward_test_data): Likewise.
25365         (llrint_upward_test_data): Likewise.
25366         (lround_test_data): Likewise.
25367         (llround_test_data): Likewise.
25369         * math/libm-test.inc (NO_TEST_INLINE): New macro.
25370         (ERRNO_UNCHANGED): Update value.
25371         (ERRNO_EDOM): Likewise.
25372         (ERRNO_ERANGE): Likewise.
25373         (NO_TEST_INLINE_FLOAT): New macro.
25374         (NO_TEST_INLINE_DOUBLE): Likewise.
25375         (enable_test): New function.
25376         (RUN_TEST_f_f): Check enable_test before running test.
25377         (RUN_TEST_2_f): Likewise.
25378         (RUN_TEST_fff_f): Likewise.
25379         (RUN_TEST_c_f): Likewise.
25380         (RUN_TEST_f_f1): Likewise.
25381         (RUN_TEST_fF_f1): Likewise.
25382         (RUN_TEST_fI_f1): Likewise.
25383         (RUN_TEST_ffI_f1): Likewise.
25384         (RUN_TEST_c_c): Likewise.
25385         (RUN_TEST_cc_c): Likewise.
25386         (RUN_TEST_f_i): Likewise.
25387         (RUN_TEST_f_i_tg): Likewise.
25388         (RUN_TEST_ff_i_tg): Likewise.
25389         (RUN_TEST_f_b): Likewise.
25390         (RUN_TEST_f_b_tg): Likewise.
25391         (RUN_TEST_f_l): Likewise.
25392         (RUN_TEST_f_L): Likewise.
25393         (RUN_TEST_fFF_11): Likewise.
25394         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
25395         conditionals.
25396         (cosh_test_data): Likewise.
25397         (exp_test_data): Likewise.
25398         (expm1_test_data): Likewise.
25399         (hypot_test_data): Likewise.
25400         (pow_test_data): Likewise.
25401         (sinh_test_data): Likewise.
25402         (tanh_test_data): Likewise.
25403         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
25404         flags argument.
25406         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
25407         tests with quiet NaN input and output.
25408         (acosh_test_data): Likewise.
25409         (asin_test_data): Likewise.
25410         (asinh_test_data): Likewise.
25411         (atan_test_data): Likewise.
25412         (atanh_test_data): Likewise.
25413         (atan2_test_data): Likewise.
25414         (cbrt_test_data): Likewise.
25415         (cos_test_data): Likewise.
25416         (cosh_test_data): Likewise.
25417         (erf_test_data): Likewise.
25418         (erfc_test_data): Likewise.
25419         (exp_test_data): Likewise.
25420         (exp10_test_data): Likewise.
25421         (exp2_test_data): Likewise.
25422         (expm1_test_data): Likewise.
25423         (hypot_test_data): Likewise.
25424         (j0_test_data): Likewise.
25425         (j1_test_data): Likewise.
25426         (jn_test_data): Likewise.
25427         (lgamma_test_data): Likewise.
25428         (log_test_data): Likewise.
25429         (log10_test_data): Likewise.
25430         (log1p_test_data): Likewise.
25431         (log2_test_data): Likewise.
25432         (pow_test_data): Likewise.
25433         (scalb_test_data): Likewise.
25434         (sin_test_data): Likewise.
25435         (sincos_test_data): Likewise.
25436         (sinh_test_data): Likewise.
25437         (tan_test_data): Likewise.
25438         (tanh_test_data): Likewise.
25439         (tgamma_test_data): Likewise.
25440         (y0_test_data): Likewise.
25441         (y1_test_data): Likewise.
25442         (yn_test_data): Likewise.
25444         [BZ #16167]
25445         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
25446         argument being NaN and avoid computations with second argument in
25447         that case.
25448         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25449         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25450         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25452 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
25454         * locale/iso-639.def: Add Chitwani Tharu (the).
25456 2013-11-14  Andreas Schwab  <schwab@suse.de>
25458         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
25459         word instead of empty string.
25461 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25464         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
25465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25466         (__fe_nomask_env): Likewise.
25468 2013-11-13  Steve Ellcey  <sellcey@mips.com>
25470         * benchtests/bench-timing.h: Include time.h.
25472 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
25474         [BZ #15997]
25475         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
25476         to 3.4.0 for x32.
25477         * sysdeps/unix/sysv/linux/configure: Regenerated.
25479 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
25481         [BZ #16151]
25482         * stdlib/strtod_l.c (round_and_return): Do not consider
25483         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
25484         exponent one less than half the least subnormal exponent.
25485         * stdlib/test-strtod-round-data: Add more tests.
25486         * stdlib/tst-strtod-round.c (tests): Regenerated.
25488 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25490         [BZ #14143]
25491         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
25492         (__fe_mask_env): Likewise.
25493         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
25494         libm_hidden_proto and add function prototype.
25495         (__fe_mask_env): Add function prototype.
25496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25497         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
25498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25499         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
25500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25501         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
25503 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25505         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
25506         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
25508 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25510         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
25511         of htab_find_slot().
25513 2013-11-11  David S. Miller  <davem@davemloft.net>
25515         [BZ #16150]
25516         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
25517         symbol in the non-vis3 case in static builds.
25518         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
25519         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
25520         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
25521         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
25523 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
25525         [BZ #387]
25526         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
25527         it is empty.
25529 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25531         * benchtests/Makefile: Add bench-strtod.
25532         * benchtests/bench-strtod.c: New file: strtod benchtest
25534 2013-11-11  Andreas Schwab  <schwab@suse.de>
25536         [BZ #16153]
25537         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
25538         terminating NUL in key length.
25540 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25542         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25543         Add artificial ODP entry for vDSO symbol for PPC64.
25544         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
25545         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25547 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
25549         [BZ #15374]
25550         * nss/getent.c (services_keys): Recognize services starting with digit.
25552 2013-11-06  David S. Miller  <davem@davemloft.net>
25554         [BZ #15985]
25555         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
25556         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
25558 2013-11-06  Will Newton  <will.newton@linaro.org>
25560         * manual/memory.texi (Malloc Examples): Remove register
25561         keyword from examples.
25563 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
25565         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
25567 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
25569         [BZ #6981]
25570         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
25571         depending on [__GCC_IEC_559 > 0].
25572         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
25573         depending on [__GCC_IEC_559_COMPLEX > 0].
25575 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
25577         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
25578         to iso-639.def.
25580 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
25582         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
25584 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
25586         [BZ #16112]
25587         * malloc/malloc (malloc_info): Do not handle first bin as
25588         special case.
25590 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
25592         * locale/iso-639.def: Add Central Nahuatl (nhn).
25594 2013-11-01  Bruno Haible  <bruno@clisp.org>
25596         [BZ #7003]
25597         * manual/math.texi (BSD Random): Specify range upper bound as
25598         in POSIX.
25600 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
25602         * locale/iso-639.def: Add Meadow Mari (mhr).
25604 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
25606         [BZ #14752], [BZ #15763]
25607         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
25608         Validate name.
25609         * rt/tst_shm.c: Add test for escaping directory.
25611 2013-10-31  Andreas Schwab  <schwab@suse.de>
25613         [BZ #15917]
25614         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
25615         followed by 'x' as part of digit sequence.
25616         * stdio-common/tst-sscanf.c (double_tests2): New tests.
25618 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
25620         [BZ #16037]
25621         * configure.ac: allow GNU Make 4.0 and greater.
25622         * configure: Regenerated.
25624 2013-10-30  Will Newton  <will.newton@linaro.org>
25626         [BZ #16038]
25627         * malloc/hooks.c (memalign_check): Limit alignment to the
25628         maximum representable power of two.
25629         * malloc/malloc.c (__libc_memalign): Likewise.
25630         * malloc/tst-memalign.c (do_test): Add test for very
25631         large alignment values.
25632         * malloc/tst-posix_memalign.c (do_test): Likewise.
25634 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
25636         [BZ #11087]
25637         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
25638         (munmap_chunk): Likewise.
25639         (mremap_chunk): Likewise.
25641 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
25643         [BZ #15799]
25644         * stdlib/div.c (div): Remove obsolete code.
25645         * stdlib/ldiv.c (ldiv): Likewise.
25646         * stdlib/lldiv.c (lldiv): Likewise.
25648 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25650         [BZ #16071]
25651         * nss/nss_files/files-XXX.c (get_contents_ret): New
25652         enumerator.
25653         (get_contents): New function.
25654         (internal_getent): Use it.  Expand size of LINEBUFLEN.
25656 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
25658         * configure.in: Moved to ...
25659         * configure.ac: ... here. Change reference to configure.in
25660         to configure.ac.
25661         * sysdeps/arm/preconfigure.ac: ... here.
25662         configure.in to configure.ac.
25663         * sysdeps/gnu/configure.in: Moved to ...
25664         * sysdeps/gnu/configure.ac: ... here.
25665         * sysdeps/i386/configure.in: Moved to ...
25666         * sysdeps/i386/configure.ac: ... here.
25667         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
25668         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
25669         * sysdeps/mach/configure.in: Moved to ...
25670         * sysdeps/mach/configure.ac: ... here.
25671         * sysdeps/mach/hurd/configure.in: Moved to ...
25672         * sysdeps/mach/hurd/configure.ac: ... here.
25673         * sysdeps/powerpc/configure.in: Moved to ...
25674         * sysdeps/powerpc/configure.ac: ... here.
25675         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
25676         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
25677         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
25678         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
25679         * sysdeps/s390/s390-32/configure.in: Moved to ...
25680         * sysdeps/s390/s390-32/configure.ac: ... here.
25681         * sysdeps/s390/s390-64/configure.in: Moved to ...
25682         * sysdeps/s390/s390-64/configure.ac: ... here.
25683         * sysdeps/sh/configure.in: Moved to ...
25684         * sysdeps/sh/configure.ac: ... here.
25685         * sysdeps/sparc/configure.in: Moved to ...
25686         * sysdeps/sparc/configure.ac: ... here.
25687         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
25688         * sysdeps/unix/sysv/linux/configure.ac: ... here.
25689         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
25690         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
25691         * sysdeps/x86_64/configure.in: Moved to ...
25692         * sysdeps/x86_64/configure.ac: ... here.
25693         * sysdeps/x86_64/preconfigure.in: Moved to ...
25694         * sysdeps/x86_64/preconfigure.ac: ... here.
25695         * aclocal.m4: Change reference to configure.in to configure.ac.
25696         * config.h.in: Likewise.
25697         * manual/install.texi: Likewise.
25698         * manual/maint.texi: Likewise.
25699         * Makefile: Likewise.
25700         * malloc/Makefile: Likewise.
25701         * nscd/Makefile: Likewise.
25702         * Makeconfig: Change reference to configure.in and
25703         preconfigure.in to configure.ac and preconfigure.ac
25704         respectively.
25705         * INSTALL: Regenerated.
25706         * configure: Likewise.
25707         * sysdeps/gnu/configure: Likewise.
25708         * sysdeps/i386/configure: Likewise.
25709         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
25710         * sysdeps/mach/configure: Likewise.
25711         * sysdeps/mach/hurd/configure: Likewise.
25712         * sysdeps/powerpc/configure: Likewise.
25713         * sysdeps/powerpc/powerpc32/configure: Likewise.
25714         * sysdeps/powerpc/powerpc64/configure: Likewise.
25715         * sysdeps/s390/s390-32/configure: Likewise.
25716         * sysdeps/s390/s390-64/configure: Likewise.
25717         * sysdeps/sh/configure: Likewise.
25718         * sysdeps/sparc/configure: Likewise.
25719         * sysdeps/unix/sysv/linux/configure: Likewise.
25720         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
25721         * sysdeps/x86_64/configure: Likewise.
25722         * sysdeps/x86_64/preconfigure: Likewise.
25724 2013-10-29  Andreas Schwab  <schwab@suse.de>
25726         * stdio-common/Makefile (tst-swscanf-ENV): Define.
25728 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25730         * benchtests/pow-inputs: Add new inputs.
25732         * benchtests/exp-inputs: Add new inputs.
25734         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
25735         conditional check for return value.
25736         (__cos32): Likewise.
25738 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25740         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
25741         to provide a boost for large inputs with word alignment.
25742         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
25743         implementation based on optimized PPC64 strcpy.
25744         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
25745         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
25746         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
25747         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
25749 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
25751         [BZ #2801]
25752         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
25754 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
25756         [BZ #14876]
25757         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
25758         * time/tst-strptime.c (day_tests): Add testcase.
25760 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
25762         [BZ #14029]
25763         * manual/pattern.texi: Acknowledge that fnmatch can fail.
25765 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
25767         [BZ #16074]
25768         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
25769         MAP_FAILED on error.
25771 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25773         [BZ #16072]
25774         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
25775         heap for large requests.
25777 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
25779         [BZ #9954]
25780         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
25781         result if the result has no associated interface.
25782         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
25783         interface for all 127.X.Y.Z addresses.
25785 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
25787         * locale/iso-639.def: Add Ligurian (lij)
25789 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
25791         [BZ #15825]
25792         * sunrpc/rpc_main.c: Document rpcgen -5.
25794 2013-10-19  Michael Stahl  <mstahl@redhat.com>
25796         * elf/rtld.c (do_preload): Print the reason why preloading failed.
25798 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
25800         [BZ #10278]
25801         * posix/glob.c: Match only directories when trailing slash is present.
25802         * posix/tst-gnuglob.c (my_opendir): Do not open files.
25803         (main): Add testcase.
25805 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
25807         [BZ #15670]
25808         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
25810 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
25812         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
25813         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
25814         AUTH_DES and cindex for FIPS 140-2.
25815         (DES Encryption): Add cindex FIPS 46-3.
25817         * locale/locarchive.h (struct locarhandle): Add fname.
25818         * locale/programs/localedef.c (main): Pass ARGV[remaining]
25819         if an optional argument was specified to --list-archive,
25820         otherwise NULL.
25821         * locale/programs/locarchive.c (show_archive_content): Take new
25822         argument fname and pass it via ah.fname to open_archive.
25823         * locale/programs/localedef.h: Update decl.
25824         (open_archive): If AH->fname is non-null, open that file
25825         rather than the default file name, and don't ignore ENOENT.
25826         (create_archive): Set AH.fname to NULL.
25827         (delete_locales_from_archive): Likewise.
25828         (add_locales_to_archive): Likewise.
25829         * locale/programs/locfile.c (write_all_categories): Likewise.
25831 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
25832             Aldy Hernandez  <aldyh@redhat.com>
25834         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
25835         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
25836         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
25837         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
25838         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
25839         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
25840         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
25841         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
25842         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
25843         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
25844         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
25845         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
25846         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
25847         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
25848         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
25849         Likewise.
25850         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
25851         Likewise.
25852         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
25853         Likewise.
25854         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
25855         Likewise.
25856         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
25857         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
25858         Likewise.
25859         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
25860         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
25861         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
25862         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
25863         Likewise.
25864         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
25865         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
25866         * sysdeps/powerpc/preconfigure: Likewise.
25867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
25868         Likewise.
25869         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
25870         Replace contents of file by #include of <fenv_libc.h>.
25871         * sysdeps/powerpc/soft-fp/sfp-machine.h
25872         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
25873         and <sys/prctl.h>.
25874         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
25875         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
25876         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
25877         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
25878         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
25879         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
25880         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
25881         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
25882         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
25883         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
25884         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
25885         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
25886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25887         Allow copysignl PLT reference to be missing.
25889 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
25890             Joseph Myers  <joseph@codesourcery.com
25892         [BZ #15948]
25893         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
25894         single character.
25895         (add_to_tablewc): Assert sequence of wide characters is nonempty.
25897 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25899         * elf/tst-tls-dlinfo.c: Don't include tls.h.
25900         * elf/tst-tls1.c: Likewise.
25901         * elf/tst-tls10.h: Likewise.
25902         * elf/tst-tls14.c: Likewise.
25903         * elf/tst-tls2.c: Likewise.
25904         * elf/tst-tls3.c: Likewise.
25905         * elf/tst-tls4.c: Likewise.
25906         * elf/tst-tls5.c: Likewise.
25907         * elf/tst-tls6.c: Likewise.
25908         * elf/tst-tls7.c: Likewise.
25909         * elf/tst-tls8.c: Likewise.
25910         * elf/tst-tls9.c: Likewise.
25911         * elf/tst-tlsmod1.c: Likewise.
25912         * elf/tst-tlsmod13.c: Likewise.
25913         * elf/tst-tlsmod13a.c: Likewise.
25914         * elf/tst-tlsmod14a.c: Likewise.
25915         * elf/tst-tlsmod16a.c: Likewise.
25916         * elf/tst-tlsmod16b.c: Likewise.
25917         * elf/tst-tlsmod2.c: Likewise.
25918         * elf/tst-tlsmod3.c: Likewise.
25919         * elf/tst-tlsmod4.c: Likewise.
25920         * elf/tst-tlsmod5.c: Likewise.
25921         * elf/tst-tlsmod6.c: Likewise.
25923 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
25925         [BZ #12486]
25926         * malloc/malloc.c: remove checks for statistics.
25928 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
25930         [BZ #15277]
25931         * inet/inet_net.c (inet_network): Detect additional invalid strings.
25932         * inet/tst-network.c: Add testcase.
25934 2013-10-17  Andreas Schwab  <schwab@suse.de>
25936         [BZ #15218]
25937         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
25938         to determine canonical name.
25940 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
25942         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
25943         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
25944         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25945         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25946         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25947         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25948         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25949         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25950         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25951         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25952         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25953         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25954         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25955         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25956         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25957         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25958         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25959         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25960         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25961         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25962         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25963         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25964         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25965         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
25966         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
25967         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25968         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25969         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
25970         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25971         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
25972         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25973         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25974         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25975         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25976         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25977         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25978         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25979         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25980         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25981         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25982         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25983         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25984         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25985         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25986         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25987         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25988         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25989         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25990         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25991         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25992         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25993         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25994         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25995         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25996         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25997         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25998         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25999         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26001 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
26003         [BZ #16041]
26004         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
26005         make result into a quiet NaN.
26007 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
26009         * soft-fp/adddf3.c: Fix horizontal whitespace.
26010         * soft-fp/addsf3.c: Likewise.
26011         * soft-fp/addtf3.c: Likewise.
26012         * soft-fp/divdf3.c: Likewise.
26013         * soft-fp/divsf3.c: Likewise.
26014         * soft-fp/divtf3.c: Likewise.
26015         * soft-fp/double.h: Likewise.
26016         * soft-fp/eqdf2.c: Likewise.
26017         * soft-fp/eqsf2.c: Likewise.
26018         * soft-fp/eqtf2.c: Likewise.
26019         * soft-fp/extenddftf2.c: Likewise.
26020         * soft-fp/extended.h: Likewise.
26021         * soft-fp/extendsfdf2.c: Likewise.
26022         * soft-fp/extendsftf2.c: Likewise.
26023         * soft-fp/extendxftf2.c: Likewise.
26024         * soft-fp/fixdfdi.c: Likewise.
26025         * soft-fp/fixdfsi.c: Likewise.
26026         * soft-fp/fixdfti.c: Likewise.
26027         * soft-fp/fixsfdi.c: Likewise.
26028         * soft-fp/fixsfsi.c: Likewise.
26029         * soft-fp/fixsfti.c: Likewise.
26030         * soft-fp/fixtfdi.c: Likewise.
26031         * soft-fp/fixtfsi.c: Likewise.
26032         * soft-fp/fixtfti.c: Likewise.
26033         * soft-fp/fixunsdfdi.c: Likewise.
26034         * soft-fp/fixunsdfsi.c: Likewise.
26035         * soft-fp/fixunsdfti.c: Likewise.
26036         * soft-fp/fixunssfdi.c: Likewise.
26037         * soft-fp/fixunssfsi.c: Likewise.
26038         * soft-fp/fixunssfti.c: Likewise.
26039         * soft-fp/fixunstfdi.c: Likewise.
26040         * soft-fp/fixunstfsi.c: Likewise.
26041         * soft-fp/fixunstfti.c: Likewise.
26042         * soft-fp/floatdidf.c: Likewise.
26043         * soft-fp/floatdisf.c: Likewise.
26044         * soft-fp/floatditf.c: Likewise.
26045         * soft-fp/floatsidf.c: Likewise.
26046         * soft-fp/floatsisf.c: Likewise.
26047         * soft-fp/floatsitf.c: Likewise.
26048         * soft-fp/floattidf.c: Likewise.
26049         * soft-fp/floattisf.c: Likewise.
26050         * soft-fp/floattitf.c: Likewise.
26051         * soft-fp/floatundidf.c: Likewise.
26052         * soft-fp/floatundisf.c: Likewise.
26053         * soft-fp/floatunditf.c: Likewise.
26054         * soft-fp/floatunsidf.c: Likewise.
26055         * soft-fp/floatunsisf.c: Likewise.
26056         * soft-fp/floatunsitf.c: Likewise.
26057         * soft-fp/floatuntidf.c: Likewise.
26058         * soft-fp/floatuntisf.c: Likewise.
26059         * soft-fp/floatuntitf.c: Likewise.
26060         * soft-fp/fmadf4.c: Likewise.
26061         * soft-fp/fmasf4.c: Likewise.
26062         * soft-fp/fmatf4.c: Likewise.
26063         * soft-fp/gedf2.c: Likewise.
26064         * soft-fp/gesf2.c: Likewise.
26065         * soft-fp/getf2.c: Likewise.
26066         * soft-fp/ledf2.c: Likewise.
26067         * soft-fp/lesf2.c: Likewise.
26068         * soft-fp/letf2.c: Likewise.
26069         * soft-fp/muldf3.c: Likewise.
26070         * soft-fp/mulsf3.c: Likewise.
26071         * soft-fp/multf3.c: Likewise.
26072         * soft-fp/negdf2.c: Likewise.
26073         * soft-fp/negsf2.c: Likewise.
26074         * soft-fp/negtf2.c: Likewise.
26075         * soft-fp/op-1.h: Likewise.
26076         * soft-fp/op-2.h: Likewise.
26077         * soft-fp/op-4.h: Likewise.
26078         * soft-fp/op-8.h: Likewise.
26079         * soft-fp/op-common.h: Likewise.
26080         * soft-fp/quad.h: Likewise.
26081         * soft-fp/single.h: Likewise.
26082         * soft-fp/soft-fp.h: Likewise.
26083         * soft-fp/sqrtdf2.c: Likewise.
26084         * soft-fp/sqrtsf2.c: Likewise.
26085         * soft-fp/sqrttf2.c: Likewise.
26086         * soft-fp/subdf3.c: Likewise.
26087         * soft-fp/subsf3.c: Likewise.
26088         * soft-fp/subtf3.c: Likewise.
26089         * soft-fp/truncdfsf2.c: Likewise.
26090         * soft-fp/trunctfdf2.c: Likewise.
26091         * soft-fp/trunctfsf2.c: Likewise.
26092         * soft-fp/trunctfxf2.c: Likewise.
26093         * soft-fp/unorddf2.c: Likewise.
26094         * soft-fp/unordsf2.c: Likewise.
26095         * soft-fp/unordtf2.c: Likewise.
26097 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
26099         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
26100         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
26102 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
26104         * elf/dl-libc.c: Clear initfini list after freeing.
26106 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
26108         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
26109         * soft-fp/addsf3.c: Likewise.
26110         * soft-fp/addtf3.c: Likewise.
26111         * soft-fp/divdf3.c: Likewise.
26112         * soft-fp/divsf3.c: Likewise.
26113         * soft-fp/divtf3.c: Likewise.
26114         * soft-fp/double.h: Likewise.
26115         * soft-fp/eqdf2.c: Likewise.
26116         * soft-fp/eqsf2.c: Likewise.
26117         * soft-fp/eqtf2.c: Likewise.
26118         * soft-fp/extenddftf2.c: Likewise.
26119         * soft-fp/extended.h: Likewise.
26120         * soft-fp/extendsfdf2.c: Likewise.
26121         * soft-fp/extendsftf2.c: Likewise.
26122         * soft-fp/extendxftf2.c: Likewise.
26123         * soft-fp/fixdfdi.c: Likewise.
26124         * soft-fp/fixdfsi.c: Likewise.
26125         * soft-fp/fixdfti.c: Likewise.
26126         * soft-fp/fixsfdi.c: Likewise.
26127         * soft-fp/fixsfsi.c: Likewise.
26128         * soft-fp/fixsfti.c: Likewise.
26129         * soft-fp/fixtfdi.c: Likewise.
26130         * soft-fp/fixtfsi.c: Likewise.
26131         * soft-fp/fixtfti.c: Likewise.
26132         * soft-fp/fixunsdfdi.c: Likewise.
26133         * soft-fp/fixunsdfsi.c: Likewise.
26134         * soft-fp/fixunsdfti.c: Likewise.
26135         * soft-fp/fixunssfdi.c: Likewise.
26136         * soft-fp/fixunssfsi.c: Likewise.
26137         * soft-fp/fixunssfti.c: Likewise.
26138         * soft-fp/fixunstfdi.c: Likewise.
26139         * soft-fp/fixunstfsi.c: Likewise.
26140         * soft-fp/fixunstfti.c: Likewise.
26141         * soft-fp/floatdidf.c: Likewise.
26142         * soft-fp/floatdisf.c: Likewise.
26143         * soft-fp/floatditf.c: Likewise.
26144         * soft-fp/floatsidf.c: Likewise.
26145         * soft-fp/floatsisf.c: Likewise.
26146         * soft-fp/floatsitf.c: Likewise.
26147         * soft-fp/floattidf.c: Likewise.
26148         * soft-fp/floattisf.c: Likewise.
26149         * soft-fp/floattitf.c: Likewise.
26150         * soft-fp/floatundidf.c: Likewise.
26151         * soft-fp/floatundisf.c: Likewise.
26152         * soft-fp/floatunsidf.c: Likewise.
26153         * soft-fp/floatunsisf.c: Likewise.
26154         * soft-fp/floatuntidf.c: Likewise.
26155         * soft-fp/floatuntisf.c: Likewise.
26156         * soft-fp/floatuntitf.c: Likewise.
26157         * soft-fp/fmadf4.c: Likewise.
26158         * soft-fp/fmasf4.c: Likewise.
26159         * soft-fp/fmatf4.c: Likewise.
26160         * soft-fp/gedf2.c: Likewise.
26161         * soft-fp/gesf2.c: Likewise.
26162         * soft-fp/getf2.c: Likewise.
26163         * soft-fp/ledf2.c: Likewise.
26164         * soft-fp/lesf2.c: Likewise.
26165         * soft-fp/letf2.c: Likewise.
26166         * soft-fp/muldf3.c: Likewise.
26167         * soft-fp/mulsf3.c: Likewise.
26168         * soft-fp/multf3.c: Likewise.
26169         * soft-fp/negdf2.c: Likewise.
26170         * soft-fp/negsf2.c: Likewise.
26171         * soft-fp/negtf2.c: Likewise.
26172         * soft-fp/op-1.h: Likewise.
26173         * soft-fp/op-2.h: Likewise.
26174         * soft-fp/op-4.h: Likewise.
26175         * soft-fp/op-8.h: Likewise.
26176         * soft-fp/op-common.h: Likewise.
26177         * soft-fp/quad.h: Likewise.
26178         * soft-fp/single.h: Likewise.
26179         * soft-fp/soft-fp.h: Likewise.
26180         * soft-fp/sqrtdf2.c: Likewise.
26181         * soft-fp/sqrtsf2.c: Likewise.
26182         * soft-fp/sqrttf2.c: Likewise.
26183         * soft-fp/subdf3.c: Likewise.
26184         * soft-fp/subsf3.c: Likewise.
26185         * soft-fp/subtf3.c: Likewise.
26186         * soft-fp/truncdfsf2.c: Likewise.
26187         * soft-fp/trunctfdf2.c: Likewise.
26188         * soft-fp/trunctfsf2.c: Likewise.
26189         * soft-fp/trunctfxf2.c: Likewise.
26190         * soft-fp/unorddf2.c: Likewise.
26191         * soft-fp/unordsf2.c: Likewise.
26192         * soft-fp/unordtf2.c: Likewise.
26194 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
26196         [BZ #15672]
26197         * misc/error.c (error_tail): Fix possible buffer overflow.
26199 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
26201         [BZ #13028]
26202         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
26203         address.
26205 2013-10-14  P. J. McDermott  <pj@pehjota.net>
26207         [BZ #832]
26208         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
26209         testing pipefail option.
26211 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
26213         * soft-fp/double.h: Indent preprocessor directives inside #if.
26214         * soft-fp/extended.h: Likewise.
26215         * soft-fp/op-2.h: Likewise.
26216         * soft-fp/op-4.h: Likewise.
26217         * soft-fp/op-common.h: Likewise.
26218         * soft-fp/quad.h: Likewise.
26219         * soft-fp/single.h: Likewise.
26220         * soft-fp/soft-fp.h: Likewise.
26222 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
26224         * iconv/iconv_prog.c: Fix typos.
26225         * stdio-common/psiginfo-data.h: Likewise.
26227 2013-10-12   Reuben Thomas <rrt@sc3d.org>
26229         [BZ #15764]
26230         * locale/setlocale.c: Fix typo.
26232 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
26234         [BZ #16036]
26235         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
26236         signaling NaN arguments.
26237         * soft-fp/unordsf2.c (__unordsf2): Likewise.
26238         * soft-fp/unordtf2.c (__unordtf2): Likewise.
26240         [BZ #14910]
26241         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
26242         unordered operands.
26243         * soft-fp/gesf2.c (__gesf2): Likewise.
26244         * soft-fp/getf2.c (__getf2): Likewise.
26245         * soft-fp/ledf2.c (__ledf2): Likewise.
26246         * soft-fp/lesf2.c (__lesf2): Likewise.
26247         * soft-fp/letf2.c (__letf2): Likewise.
26249         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
26250         * soft-fp/eqsf2.c (__eqsf2): Likewise.
26251         * soft-fp/eqtf2.c (__eqtf2): Likewise.
26252         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
26253         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
26254         * soft-fp/fixdfti.c (__fixdfti): Likewise.
26255         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
26256         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
26257         * soft-fp/fixsfti.c (__fixsfti): Likewise.
26258         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
26259         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
26260         * soft-fp/fixtfti.c (__fixtfti): Likewise.
26261         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
26262         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
26263         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
26264         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
26265         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
26266         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
26267         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
26268         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
26269         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
26270         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
26271         * soft-fp/floatdisf.c (__floatdisf): Likewise.
26272         * soft-fp/floatsisf.c (__floatsisf): Likewise.
26273         * soft-fp/floattidf.c (__floattidf): Likewise.
26274         * soft-fp/floattisf.c (__floattisf): Likewise.
26275         * soft-fp/floattitf.c (__floattitf): Likewise.
26276         * soft-fp/floatundidf.c (__floatundidf): Likewise.
26277         * soft-fp/floatundisf.c (__floatundisf): Likewise.
26278         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
26279         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
26280         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
26281         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
26282         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
26283         * soft-fp/gesf2.c (__gesf2): Likewise.
26284         * soft-fp/getf2.c (__getf2): Likewise.
26285         * soft-fp/ledf2.c (__ledf2): Likewise.
26286         * soft-fp/lesf2.c (__lesf2): Likewise.
26287         * soft-fp/letf2.c (__letf2): Likewise.
26289         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
26290         Undefine and redefine.
26291         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
26292         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
26293         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
26294         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
26295         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26296         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
26297         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26298         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
26299         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26300         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
26301         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26302         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
26303         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26304         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
26305         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26307         [BZ #16032]
26308         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
26309         without decrementing exponent if mantissa >= that for the
26310         denominator, not >.
26311         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
26312         denominator, not >.  Decrement exponent in < case instead of
26313         incrementing in >= case.
26314         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
26315         without decrementing exponent if mantissa >= that for the
26316         denominator, not >.
26318         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
26319         computing saturated result for unsigned overflow.
26321 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26322             Jeff Law  <law@redhat.com>
26324         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
26325         (atan2Mp): Add systemtap probe marker.
26326         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
26327         (__ieee754_log): Add systemtap probe marker.
26328         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
26329         (atanMp): Add systemtap probe marker.
26330         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
26331         (tanMp): Add systemtap probe marker.
26332         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
26333         (__slowexp): Add systemtap probe marker.
26334         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
26335         (__slowpow): Add systemtap probe marker.
26336         * manual/probes.texi: Document probes.
26338 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
26340         [BZ #15362]
26341         * libio/fileops.c (_IO_new_file_write): Return count of bytes
26342         written.
26343         (_IO_new_file_xsputn): Don't return EOF if nothing has been
26344         written.
26345         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
26346         written to buffer but not flushed.
26347         * libio/iofwrite_u.c:  Likewise.
26348         * libio/iopadn.c:  Return bytes returned even if EOF was
26349         encountered.
26350         * libio/iowpadn.c:  Likewise.
26351         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
26352         if _IO_padn does not write the whole buffer.
26353         [!COMPILE_WPRINTF] (PAD): Likewise.
26355 2013-10-10  David S. Miller  <davem@davemloft.net>
26357         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
26358         directory block.
26360 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
26362         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
26363         instead of FSF address.
26364         * soft-fp/fixdfti.c: Likewise.
26365         * soft-fp/fixsfti.c: Likewise.
26366         * soft-fp/fixtfti.c: Likewise.
26367         * soft-fp/fixunsdfti.c: Likewise.
26368         * soft-fp/fixunssfti.c: Likewise.
26369         * soft-fp/fixunstfti.c: Likewise.
26370         * soft-fp/floattidf.c: Likewise.
26371         * soft-fp/floattisf.c: Likewise.
26372         * soft-fp/floattitf.c: Likewise.
26373         * soft-fp/floatuntidf.c: Likewise.
26374         * soft-fp/floatuntisf.c: Likewise.
26375         * soft-fp/floatuntitf.c: Likewise.
26376         * soft-fp/trunctfxf2.c: Likewise.
26378         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
26379         * soft-fp/fixdfti.c: Likewise.
26380         * soft-fp/fixsfti.c: Likewise.
26381         * soft-fp/fixtfti.c: Likewise.
26382         * soft-fp/fixunsdfti.c: Likewise.
26383         * soft-fp/fixunssfti.c: Likewise.
26384         * soft-fp/fixunstfti.c: Likewise.
26385         * soft-fp/floattidf.c: Likewise.
26386         * soft-fp/floattisf.c: Likewise.
26387         * soft-fp/floattitf.c: Likewise.
26388         * soft-fp/floatuntidf.c: Likewise.
26389         * soft-fp/floatuntisf.c: Likewise.
26390         * soft-fp/floatuntitf.c: Likewise.
26391         * soft-fp/trunctfxf2.c: Likewise.
26393 2013-10-10  David S. Miller  <davem@davemloft.net>
26395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26397 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
26399         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26400         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
26401         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
26402         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
26403         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
26404         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
26405         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
26407         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
26408         for NaNs before doing comparisons on argument.
26409         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26410         Likewise.
26412 2013-10-10  Will Newton  <will.newton@linaro.org>
26414         * malloc/hooks.c (memalign_check): Ensure the value of bytes
26415         passed to _int_memalign does not overflow.
26417 2013-10-10  Torvald Riegel  <triegel@redhat.com>
26419         * scripts/bench.pl: Add include-sources directive.
26420         * benchtests/README: Update documentation.
26422 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
26424         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
26425         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
26426         instead of FP_INIT_ROUNDMODE.
26427         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
26428         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
26430         [BZ #16034]
26431         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
26432         copy class of input value.
26433         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
26434         not handle exceptions.
26435         * soft-fp/negsf2.c (__negsf2): Likewise.
26436         * soft-fp/negtf2.c (__negtf2): Likewise.
26437         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
26439 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
26441         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
26442         semicolon.  From Linux kernel.
26444 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
26446         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
26448 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
26450         [BZ #156]
26451         * manual/socket.texi: Added statement about buffer
26452         for gethostbyname2_r.
26454 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
26456         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
26457         Use .p2align directive instead, throughout.
26458         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26459         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26460         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
26461         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26462         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26463         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26464         * sysdeps/x86_64/strchr.S: Likewise.
26465         * sysdeps/x86_64/strrchr.S: Likewise.
26467 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26469         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
26471         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
26473         * sysdeps/generic/math_private.h (__mpsin1): Remove
26474         declaration.
26475         (__mpcos1): Likewise.
26476         (__mpsin): New argument __range_reduce.
26477         (__mpcos): Likewise.
26478         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26479         (slow): Use __mpsin and __mpcos.
26480         (slow1): Likewise.
26481         (slow2): Likewise.
26482         (sloww): Likewise.
26483         (sloww1): Likewise.
26484         (sloww2): Likewise.
26485         (bsloww): Likewise.
26486         (bsloww1): Likewise.
26487         (bsloww2): Likewise.
26488         (cslow2): Likewise.
26489         (csloww): Likewise.
26490         (csloww1): Likewise.
26491         (csloww2): Likewise.
26492         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
26493         range_reduce.  Merge in __mpsin1.
26494         (__mpcos): Likewise.
26495         (__mpsin1): Remove.
26496         (__mpcos1): Likewise.
26498 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
26500         * locale/loadlocale.c (_nl_intern_locale_data): Use
26501         LOCFILE_ALIGNED_P.
26502         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
26503         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
26504         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
26505         obstack data is appropriately aligned.
26506         (obstack_int32_grow_fast): Likewise.
26507         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
26508         * locale/programs/locfile.c (add_locale_uint32): Likewise.
26509         (add_locale_uint32_array): Likewise.
26511 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
26513         * benchtests/Makefile: Remove ARGLIST and RET variables.
26514         ($(objpfx)bench-%.c): Pass only function name to the script.
26515         * benchtests/README: Update documentation.
26516         * benchtests/acos-inputs: Add new directives.
26517         * benchtests/acosh-inputs: Likewise.
26518         * benchtests/asin-inputs: Likewise.
26519         * benchtests/asinh-inputs: Likewise.
26520         * benchtests/atan-inputs: Likewise.
26521         * benchtests/atanh-inputs: Likewise.
26522         * benchtests/cos-inputs: Likewise.
26523         * benchtests/cosh-inputs: Likewise.
26524         * benchtests/exp-inputs: Likewise.
26525         * benchtests/log-inputs: Likewise.
26526         * benchtests/pow-inputs: Likewise.
26527         * benchtests/rint-inputs: Likewise.
26528         * benchtests/sin-inputs: Likewise.
26529         * benchtests/sinh-inputs: Likewise.
26530         * benchtests/tan-inputs: Likewise.
26531         * benchtests/tanh-inputs: Likewise.
26532         * scripts/bench.pl: Add support for new directives.
26534 2013-10-07  Alan Modra  <amodra@gmail.com>
26536         * README: Fix careless merge.
26538 2013-10-05  Alan Modra  <amodra@gmail.com>
26540         * NEWS: Mention powerpc64le support and bugs fixed.
26541         * README: Both big-endian and little-endian powerpc64 supported.
26543 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26545         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
26546         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
26547         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
26548         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
26550 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
26552         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
26553         match prototype.
26555 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
26557         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
26558         Move -mhard-float appending from
26559         ports/sysdeps/powerpc/powerpc32/Makefile.
26560         [$(with-fp) = yes] (ASFLAGS): Likewise.
26561         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
26562         * sysdeps/powerpc/nofpu: Move directory from
26563         ports/sysdeps/powerpc/nofpu.
26564         * sysdeps/powerpc/soft-fp: Move directory from
26565         ports/sysdeps/powerpc/soft-fp.
26566         * sysdeps/powerpc/powerpc32/405: Move directory from
26567         ports/sysdeps/powerpc/powerpc32/405.
26568         * sysdeps/powerpc/powerpc32/440: Move directory from
26569         ports/sysdeps/powerpc/powerpc32/440.
26570         * sysdeps/powerpc/powerpc32/464: Move directory from
26571         ports/sysdeps/powerpc/powerpc32/464.
26572         * sysdeps/powerpc/powerpc32/476: Move directory from
26573         ports/sysdeps/powerpc/powerpc32/476.
26574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
26575         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
26576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
26577         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
26578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
26579         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
26580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
26581         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
26582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
26583         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
26584         * README: Update for powerpc-*-linux-gnu software floating point
26585         support in libc.
26587         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
26588         case to powerpc/powerpc32*.
26589         * sysdeps/unix/sysv/linux/configure: Regenerated.
26591         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
26592         (_FPU_MASK_OM): Define as 0x04.
26593         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
26594         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
26595         0x00c10080.
26596         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
26597         0x0000003c.
26598         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
26600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
26601         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26602         getcontext_e500.
26603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
26604         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26605         setcontext_e500.
26606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
26607         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
26608         and setcontext_e500.
26610 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
26612         * locale/iso-3166.def: Update iso-1366.def and related occurrences
26614 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26616         * manual/threads.texi (Default Thread Attributes): Fix typo.
26618 2013-10-04  Will Newton  <will.newton@linaro.org>
26620         * malloc/Makefile: Add tst-memalign.
26621         * malloc/tst-memalign.c: New file.
26623         * malloc/tst-posix_memalign.c: Add comments.
26624         (do_test): Add comments and call free on all potentially
26625         allocated pointers. Add space after cast.
26627         * malloc/tst-pvalloc.c: Add comments.
26628         (do_test): Add comments and call free on all potentially
26629         allocated pointers. Remove duplicate check for NULL pointer.
26630         Add space after cast.
26632         * malloc/tst-valloc.c: Add comments.
26633         (do_test): Add comments and call free on all potentially
26634         allocated pointers. Remove duplicate check for NULL pointer.
26635         Add space after cast.
26637 2013-10-04  Alan Modra  <amodra@gmail.com>
26639         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26640         Use stdint types in rather than __attribute__((mode())).
26641         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26643 2013-10-04  Alan Modra  <amodra@gmail.com>
26645         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26646         Correct handling of unaligned relocs for little-endian.
26647         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26649 2013-10-04  Alan Modra  <amodra@gmail.com>
26651         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
26652         * configure: Regenerate.
26653         * nptl/shlib-versions: Powerpc*le starts at 2.18.
26654         * shlib-versions: Likewise.
26656 2013-10-04  Alan Modra  <amodra@gmail.com>
26658         * string/tester.c (test_memrchr): Increment reported test cycle.
26660 2013-10-04  Alan Modra  <amodra@gmail.com>
26662         * string/test-memcpy.c (do_one_test): When reporting errors, print
26663         string address and don't overrun end of string.
26665 2013-10-04  Alan Modra  <amodra@gmail.com>
26667         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
26668         insrdi.  Make better use of reg selection to speed exit slightly.
26669         Schedule entry path a little better.  Remove useless "are we done"
26670         checks on entry to main loop.  Handle wrapping around zero address.
26671         Correct main loop count.  Handle single left-over word from main
26672         loop inline rather than by using loop_small.  Remove extra word
26673         case in loop_small caused by wrong loop count.  Add little-endian
26674         support.
26675         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26676         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
26677         cache hint.
26678         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26679         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
26680         support.  Avoid rlwimi.
26681         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
26683 2013-10-04  Alan Modra  <amodra@gmail.com>
26685         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
26686         insrdi.  Formatting.
26687         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
26688         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26689         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
26690         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26691         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26692         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
26694 2013-10-04  Alan Modra  <amodra@gmail.com>
26696         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
26697         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26698         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26699         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
26700         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26701         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26702         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26703         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26704         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
26705         use of regs.  Use power7 mtocrf.  Tidy function tails.
26707 2013-10-04  Alan Modra  <amodra@gmail.com>
26709         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
26710         Formatting.  Consistently use rXXX register defines or rN defines.
26711         Use early exit labels that avoid restoring unused non-volatile regs.
26712         Make cr field use more consistent with rWORDn compares.  Rename
26713         regs used as shift registers for unaligned loop, using rN defines
26714         for short lifetime/multiple use regs.
26715         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26716         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
26717         addi 1,1,64 to pop stack frame.  Simplify return value code.
26718         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26720 2013-10-04  Alan Modra  <amodra@gmail.com>
26722         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
26723         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
26724         rather than rlwimi.
26725         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
26726         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
26727         little-endian support.  Correct typos.
26728         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
26729         rather than rlwimi.
26730         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
26731         in loop and entry code to keep "and." results.
26732         (strchr): Add little-endian support.  Comment.  Move cntlzd
26733         earlier in tail.
26734         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
26736 2013-10-04  Alan Modra  <amodra@gmail.com>
26738         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
26739         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
26740         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
26741         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
26743 2013-10-04  Alan Modra  <amodra@gmail.com>
26745         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
26746         (rTMP): Define as r11.
26747         (strcmp): Add little-endian support.  Optimise tail.
26748         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
26749         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26750         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26751         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26752         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26753         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26754         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26756 2013-10-04  Alan Modra  <amodra@gmail.com>
26758         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
26759         little-endian support.  Remove unnecessary "are we done" tests.
26760         Handle "s" wrapping around zero and extremely large "size".
26761         Correct main loop count.  Handle single left-over word from main
26762         loop inline rather than by using small_loop.  Correct comments.
26763         Delete "zero" tail, use "end_max" instead.
26764         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
26766 2013-10-04  Alan Modra  <amodra@gmail.com>
26768         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
26769         support.  Don't branch over align.
26770         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
26771         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
26772         support.  Rearrange tmp reg use to suit.  Comment.
26773         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
26775 2013-10-04  Alan Modra  <amodra@gmail.com>
26777         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
26779 2013-10-04  Alan Modra  <amodra@gmail.com>
26781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
26782         conditional form of branch and link when obtaining pc.
26783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
26785 2013-10-04  Alan Modra  <amodra@gmail.com>
26787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
26788         HIWORD/LOWORD.
26789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
26790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
26792 2013-10-04  Alan Modra  <amodra@gmail.com>
26794         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
26795         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
26796         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26797         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
26798         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26799         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26800         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
26801         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26802         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26803         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
26805 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
26806             Alistair Popple <alistair@ozlabs.au.ibm.com>
26807             Alan Modra <amodra@gmail.com>
26809         [BZ #15723]
26810         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
26811         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
26812         _dl_hwcap access for little-endian.
26813         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
26814         destroy vmx regs when saving unaligned.
26815         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
26816         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
26817         destroy vmx regs when saving unaligned.
26819 2013-10-04  Alan Modra  <amodra@gmail.com>
26821         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
26822         Don't use a union to pack hi/low value.
26824 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
26826         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
26827         for little-endian.
26828         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26829         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
26830         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26831         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26832         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26834 2013-10-04  Alan Modra  <amodra@gmail.com>
26836         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
26837         constants to usual value for .cst8 section, and remove redundant
26838         high address load.
26839         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
26840         constant for 0x1p52.  Load little-endian words of double from
26841         correct stack offsets.
26843 2013-10-04  Alan Modra  <amodra@gmail.com>
26845         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
26846         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
26847         words of double from correct stack offsets.
26848         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26849         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
26850         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26851         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26852         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26853         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26854         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26855         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26856         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26857         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26858         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26859         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26860         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26861         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26862         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26863         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
26864         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26866 2013-10-04  Alan Modra  <amodra@gmail.com>
26868         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
26869         64-bit int/double union.
26870         (_FPU_SETCW): Likewise.
26871         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
26872         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
26874 2013-10-04  Alan Modra  <amodra@gmail.com>
26876         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
26877         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
26879 2013-10-04  Alan Modra  <amodra@gmail.com>
26881         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
26882         use vector int constants.
26883         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
26885 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
26887         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
26888         array with long long.
26889         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
26890         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
26891         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
26892         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
26893         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
26894         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
26895         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
26896         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
26897         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
26898         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
26899         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
26900         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
26901         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
26903 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
26905         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
26906         (__signbit): Likewise.  Correct for little-endian.
26907         (__signbitl): Call __signbit.
26908         (lrint): Correct for little-endian.
26909         (lrintf): Call lrint.
26911 2013-10-04  Alan Modra  <amodra@gmail.com>
26913         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
26914         union 32-bit int array member with 64-bit int array.
26915         (t515, tm256): Double rather than long double.
26916         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
26918 2013-10-04  Alan Modra  <amodra@gmail.com>
26920         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
26921         Delete.
26922         (IEEE854_LONG_DOUBLE_BIAS): Delete.
26923         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
26924         version of math_ldbl.h.
26926 2013-10-04  Alan Modra  <amodra@gmail.com>
26928         [BZ #15734], [BZ #15735]
26929         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
26930         all uses of ieee875 long double macros and unions.  Simplify test
26931         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
26932         ldbl_extract_mantissa value for ix,iy exponents.  Properly
26933         normalize after ldbl_extract_mantissa, and don't add hidden bit
26934         already handled.  Don't treat low word of ieee854 mantissa like
26935         low word of IBM long double and mask off bit when testing for
26936         zero.
26937         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
26938         all uses of ieee875 long double macros and unions.  Simplify tests
26939         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
26940         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
26941         two1022, instead use their values.  Recognise that tests for large
26942         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
26943         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
26944         Rewrite all uses of ieee875 long double macros and unions.  Simplify
26945         test for 0.0L and nan.  Correct negation.
26946         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
26947         ieee875 long double macros and unions.  Correct output for large
26948         magnitude x.  Correct absolute value calculation.
26949         (__erfcl): Likewise.
26950         * math/libm-test.inc: Add tests for errors discovered in IBM long
26951         double versions of fmodl, remainderl, erfl and erfcl.
26953 2013-10-04  Alan Modra  <amodra@gmail.com>
26955         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
26956         all uses of ieee854 long double macros and unions.  Simplify tests
26957         for long doubles that are fully specified by the high double.
26958         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26959         Likewise.
26960         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
26961         Remove dead code too.
26962         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26963         (__ieee754_ynl): Likewise.
26964         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26965         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
26966         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
26967         Remove dead code too.
26968         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
26969         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
26970         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
26971         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
26972         Simplify.
26973         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
26974         Simplify.
26975         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
26976         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
26977         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
26978         Comment on variable precision.
26979         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
26980         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26981         Likewise.
26982         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26983         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26984         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26985         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
26986         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
26988 2013-10-04  Alan Modra  <amodra@gmail.com>
26990         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
26991         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
26992         all uses of ieee854 long double macros and unions.
26993         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
26994         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26995         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
26996         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
26997         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26998         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26999         Likewise.
27000         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
27001         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27002         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
27003         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27004         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
27005         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
27006         Simplify sign and nan test too.
27007         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
27008         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
27009         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
27010         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
27011         Likewise.
27012         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27013         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
27014         Likewise.
27015         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27016         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
27017         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
27018         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
27019         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
27020         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
27022 2013-10-04  Alan Modra  <amodra@gmail.com>
27024         * stdio-common/printf_size.c (__printf_size): Don't use
27025         union ieee854_long_double in fpnum union.
27026         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
27027         signbit macro to retrieve sign from long double.
27028         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
27029         retrieve sign from long double.
27030         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
27031         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
27032         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
27033         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27034         * math/test-misc.c (main): Don't use union ieee854_long_double.
27036 2013-10-04  Alan Modra  <amodra@gmail.com>
27038         [BZ #15680]
27039         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
27040         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
27041         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
27042         calculation.  Remove unnecessary test for denormal exponent.
27043         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
27044         Correct handling of denormals.  Avoid undefined shift behaviour.
27045         Correct normalisation of low mantissa when low double is denormal.
27046         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
27047         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
27048         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
27049         Correct normalisation of low mantissa.  Test for overflow of high
27050         mantissa and normalise.
27051         (ldbl_nearbyint): Use more readable constant for two52.
27052         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
27053         (__mpn_construct_long_double): Fix test for overflow of high
27054         mantissa and correct normalisation.  Avoid undefined shift.
27056 2013-10-04  Alan Modra  <amodra@gmail.com>
27058         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27059         (union ibm_extended_long_double): Define as an array of ieee754_double.
27060         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
27061         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
27062         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
27063         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27064         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27065         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
27066         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27067         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27068         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27069         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
27070         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27072 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
27074         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
27075         page size instead of calling getpagesize.
27077         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
27078         (LOCFILE_ALIGN_MASK): Likewise.
27079         (LOCFILE_ALIGN_UP): Likewise.
27080         (LOCFILE_ALIGNED_P): Likewise.
27081         * locale/programs/ld-collate.c (collate_output): Use the new
27082         macros instead of __alignof__ (int32_t).
27083         * locale/weight.h (findidx): Likewise.
27085 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
27087         [BZ #431]
27088         * manual/string.texi: Fix strncat and wcsncat.
27090 2013-10-03  Brooks Moses  <bmoses@google.com>
27092         [BZ #15915]
27093         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
27094         * Makerules: ...here, and adjust associated comments.
27096 2013-10-02  Will Newton  <will.newton@linaro.org>
27098         * malloc/Makefile: Add tst-pvalloc.
27099         * malloc/tst-pvalloc.c: New file.
27101 2013-10-02  Will Newton  <will.newton@linaro.org>
27103         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
27104         improve test coverage.
27106 2013-10-02  Will Newton  <will.newton@linaro.org>
27108         * malloc/Makefile: Add tst-posix_memalign.
27109         * malloc/tst-posix_memalign.c: New file.
27111 2013-10-01  Eric Blake  <eblake@redhat.com>
27113         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
27114         Use __THROWNL rather than __THROW on static functions.
27116 2013-09-30  Petr Machata  <pmachata@redhat.com>
27118         * elf/elf.h (R_AARCH64_ABS16): New macro.
27119         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
27120         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
27121         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
27122         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
27123         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
27124         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
27125         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
27126         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
27127         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
27128         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
27129         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
27130         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
27131         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
27132         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
27133         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
27134         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
27135         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
27136         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
27137         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
27138         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
27139         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
27140         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
27141         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
27142         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
27143         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
27144         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
27145         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
27146         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
27147         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
27148         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
27149         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
27150         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
27151         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
27152         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
27153         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
27154         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
27155         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
27156         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
27157         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
27158         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
27159         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
27160         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
27161         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
27162         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
27163         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
27164         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
27165         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
27166         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
27167         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
27168         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
27169         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
27170         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
27171         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
27172         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
27173         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
27174         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
27175         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
27176         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
27177         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
27178         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
27179         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
27180         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
27181         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
27182         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
27183         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
27184         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
27185         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
27186         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
27187         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
27188         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
27189         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
27190         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
27191         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
27192         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
27193         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
27194         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
27195         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
27196         (R_AARCH64_TLSDESC_LDR): Likewise.
27197         (R_AARCH64_TLSDESC_ADD): Likewise.
27198         (R_AARCH64_TLSDESC_CALL): Likewise.
27200 2013-09-30  Andreas Schwab  <schwab@suse.de>
27202         [BZ #15048]
27203         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
27204         the nss database lookup.
27205         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27206         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27208 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
27210         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
27212 2013-09-28  P. J. McDermott  <pj@pehjota.net>
27214         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
27215         ${Bash-specific parameter/pattern/string} parameter expansion.
27216         * sysdeps/unix/make-syscalls.sh: Likewise.
27218 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27220         * sysdeps/sh/stackguard-macros.h: New file.
27222 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
27224         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27225         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
27226         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
27227         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
27228         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27229         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
27231 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27233         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
27234         Fix thread ID register.
27236 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
27238         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
27239         [POSIX || UNIX98]: Require rather than permitting all symbols from
27240         <time.h>.
27241         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
27242         element of struct sched_param.
27243         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
27244         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
27245         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
27246         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
27247         constant.
27249 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
27251         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
27252         argument calculation.
27254 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
27256         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
27257         Expect macro.
27258         [POSIX] (pthread_attr_t): Do not require type.
27259         [POSIX] (pthread_cond_t): Likewise.
27260         [POSIX] (pthread_condattr_t): Likewise.
27261         [POSIX] (pthread_key_t): Likewise.
27262         [POSIX] (pthread_mutex_t): Likewise.
27263         [POSIX] (pthread_mutexattr_t): Likewise.
27264         [POSIX] (pthread_once_t): Likewise.
27265         [POSIX] (pthread_t): Likewise.
27266         [POSIX-based standards] (pthread_atfork): Expect function.
27268 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
27269             Richard Sandiford  <richard@codesourcery.com>
27271         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
27272         (swap_endianness_p): New extern variable.
27273         (set_big_endian): New inline function.
27274         (maybe_swap_uint32): Likewise.
27275         (maybe_swap_uint32_array): Likewise.
27276         (maybe_swap_uint32_obstack): Likewise.
27277         * locale/programs/locfile.c: Include <stdbool.h>.
27278         (swap_endianness_p): New variable.
27279         (add_locale_uint32): Call maybe_swap_uint32.
27280         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
27281         (write_locale_data): Call maybe_swap_uint32_array.
27282         * locale/programs/ld-collate.c (obstack_int32_grow): Call
27283         maybe_swap_uint32.
27284         (obstack_int32_grow_fast): Likewise.
27285         (output_weightwc): Call maybe_swap_uint32_obstack.
27286         (collate_output): Likewise.
27287         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
27288         (OPT_LITTLE_ENDIAN): Likewise.
27289         (options): Add --little-endian and --big-endian options.
27290         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
27291         * locale/programs/locarchive.c: Include "locfile.h".
27292         (GET): New macro.
27293         (SET): Likewise.
27294         (INC): Likewise.
27295         (create_archive): Use the new macros to access fields of
27296         structures directly mapped from or written to locale archives.
27297         (oldlocrecentcmp): Likewise.
27298         (enlarge_archive): Likewise.
27299         (insert_name): Likewise.
27300         (add_alias): Likewise.
27301         (add_locale): Likewise.
27302         (delete_locales_from_archive): Likewise.
27303         (show_archive_content): Likewise.
27304         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
27305         locale data.
27307 2013-09-24  Roland McGrath  <roland@hack.frob.com>
27309         * manual/freemanuals.texi: Updated from (newly) canonical copy at
27310         http://www.gnu.org/doc/freemanuals.texi.
27311         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
27313 2013-09-24  Will Newton  <will.newton@linaro.org>
27315         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
27316         macro.
27318 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
27320         * locale/hashval.h (compute_hashval): Interpret bytes of key as
27321         unsigned char.
27323 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
27325         * manual/threads.texi (POSIX Threads): Fix a typo.
27327 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27329         [BZ #14547]
27330         * string/tst-strcoll-overflow.c: New test case.
27331         * string/Makefile (xtests): Add tst-strcoll-overflow.
27332         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
27333         cache if string sizes may cause integer overflow.
27335         [BZ #14547]
27336         * string/strcoll_l.c (coll_seq): New members rule, idx,
27337         save_idx and back_us.
27338         (get_next_seq_nocache): New function.
27339         (do_compare_nocache): New function.
27340         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
27341         when malloc fails.
27343 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
27345         [BZ #15754]
27346         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
27347         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
27348         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
27350         [BZ #15754]
27351         * elf/Makefile (tests): Add tst-ptrguard1.
27352         (tests-static): Add tst-ptrguard1-static.
27353         (tst-ptrguard1-ARGS): Define.
27354         (tst-ptrguard1-static-ARGS): Define.
27355         * elf/tst-ptrguard1.c: New file.
27356         * elf/tst-ptrguard1-static.c: New file.
27357         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
27358         * sysdeps/i386/stackguard-macros.h: Likewise.
27359         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27360         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27361         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27362         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27363         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27364         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27366 2013-09-23  Hector Marco  <hecmargi@upv.es>
27367             Ismael Ripoll  <iripoll@disca.upv.es>
27368             Carlos O'Donell  <carlos@redhat.com>
27370         [BZ #15754]
27371         * sysdeps/generic/stackguard-macros.h: Define
27372         __pointer_chk_guard_local and POINTER_CHK_GUARD.
27373         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
27374         Define __pointer_chk_guard_local.
27375         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
27376         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
27378 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
27380         [BZ #15859]
27381         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
27383 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
27385         * include/string.h (__ffs): Declare as hidden.
27386         * string/ffs.c (__ffs): Define as hidden.
27387         * sysdeps/i386/ffs.c (__ffs): Likewise.
27388         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27389         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
27390         * sysdeps/s390/ffs.c (__ffs): Likewise.
27391         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
27393 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
27395         * NEWS: Mention malloc probes.
27397         * malloc/arena.c (new_heap): New memory_heap_new probe.
27398         (grow_heap): New memory_heap_more probe.
27399         (shrink_heap): New memory_heap_less probe.
27400         (heap_trim): New memory_heap_free probe.
27401         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
27402         (systrim): New memory_sbrk_less probe.
27403         * manual/probes.texi: Document them.
27405         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
27406         * manual/probes.texi: Document it.
27408         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
27409         (__libc_realloc): Add memory_realloc_retry probe.
27410         (__libc_memalign): Add memory_memalign_retry probe.
27411         (__libc_valloc): Add memory_valloc_retry probe.
27412         (__libc_pvalloc): Add memory_pvalloc_retry probe.
27413         (__libc_calloc): Add memory_calloc_retry probe.
27414         * manual/probes.texi: Document them.
27416         * malloc/arena.c (get_free_list): Add probe
27417         memory_arena_reuse_free_list.
27418         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
27419         and memory_arena_reuse.
27420         (arena_get2) [!PER_THREAD]: Likewise.
27421         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
27422         memory_arena_reuse_realloc.
27423         * manual/probes.texi: Document them.
27425         * malloc/malloc.c (__libc_free): Add
27426         memory_mallopt_free_dyn_thresholds probe.
27427         (__libc_mallopt): Add multiple memory_mallopt probes.
27428         * manual/probes.texi: Document them.
27430         * malloc/malloc.c: Include stap-probe.h.
27431         (__libc_mallopt): Add memory_mallopt probe.
27432         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
27433         * manual/probes.texi: New.
27434         * manual/Makefile (chapters): Add probes.
27435         * manual/threads.texi: Set next node.
27437 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
27439         [BZ #15963, #13985]
27440         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
27441         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
27442         Add `Chinese' to `nan' entry name.
27444 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27446         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
27447         (POLYNOMIAL): Likewise.
27448         (TAYLOR_SINCOS): Likewise.
27449         (TAYLOR_SLOW): Likewise.
27450         (__sin): Use TAYLOR_SINCOS.
27451         (__cos): Likewise.
27452         (slow): Use TAYLOR_SLOW.
27453         (sloww): Likewise.
27454         (bsloww): Likewise.
27455         (csloww): Likewise.
27457 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27459         * stdlib/strtod_l.c: Fix buffer overrun.
27461 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27463         * benchtests/Makefile (bench): Add sincos.
27464         * benchtests/bench-sincos.c: New file.
27466         * math/libm-test.inc (cos_test_data): New test inputs.
27467         (sin_test_data): Likewise.
27469         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
27470         macro.
27471         (__sin): Use it.
27472         (__cos): Likewise.
27473         (slow1): Likewise.
27474         (slow2): Likewise.
27475         (sloww1): Likewise.
27476         (sloww2): Likewise.
27477         (bsloww1): Likewise.
27478         (bsloww2): Likewise.
27479         (cslow2): Likewise.
27480         (csloww1): Likewise.
27481         (csloww2): Likewise.
27483         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
27484         function.
27485         (__sin): Use it.
27486         (__cos): Likewise.
27488         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
27489         gotos.
27490         (__cos): Likewise.
27492 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
27494         * config.h.in (HAVE_MIPS_NAN2008): New macro.
27495         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
27496         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
27497         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
27498         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
27499         * elf/cache.c (print_entry): Handle the new cache flags.
27501 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
27502             Aldy Hernandez  <aldyh@redhat.com>
27504         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
27505         Change condition to [_SOFT_FLOAT].
27506         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
27507         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
27508         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
27509         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
27510         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
27511         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
27512         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
27513         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
27514         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
27515         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
27516         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
27517         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
27518         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
27519         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
27520         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
27521         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
27522         declaration.
27524 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
27526         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
27527         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27528         (__longjmp): Use LOAD_GP to load saved GPRs.
27529         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
27530         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27531         (__sigsetjmp): Use SAVE_GP to save GPRs.
27533         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
27534         Do not append -msoft-float.
27535         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
27537 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27539         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
27541 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
27543         [BZ #15966]
27544         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
27545         (_FPU_GETCW): Use initial "__" on variable and field names but not
27546         on macro parameter name.
27547         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
27548         parentheses around reference to macro parameter.
27550 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
27552         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
27553         prototype.
27554         (ctype_startup): Use uint32_t in cast and sizeof for
27555         ctype->charnames.
27557 2013-09-11  Jia Liu  <proljc@gmail.com>
27559         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
27560         __daddr_t_defined.
27561         [__FreeBSD__]: Likewise.
27563 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
27565         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27566         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
27567         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
27568         (strchr): Remove __strchr_sse42 ifunc selection.
27569         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
27570         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
27572 2013-09-11  Will Newton  <will.newton@linaro.org>
27574         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
27575         parameter to RES. Remove hardcoded 1000 value.
27576         * benchtests/bench-skeleton.c (main): Pass RES parameter
27577         to TIMING_INIT and multiply result by 1000.
27579 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27581         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27583 2013-09-11  Andreas Schwab  <schwab@suse.de>
27585         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
27586         if not defined.
27587         (O_TMPFILE) [__USE_GNU]: Define.
27588         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
27589         Define.
27591 2013-09-11  Will Newton  <will.newton@linaro.org>
27593         [BZ #15857]
27594         * malloc/malloc.c (__libc_memalign): Check the value of bytes
27595         does not overflow.
27597 2013-09-11  Will Newton  <will.newton@linaro.org>
27599         [BZ #15856]
27600         * malloc/malloc.c (__libc_valloc): Check the value of bytes
27601         does not overflow.
27603 2013-09-11  Will Newton  <will.newton@linaro.org>
27605         [BZ #15855]
27606         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
27607         does not overflow.
27609 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
27611         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
27612         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27613         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27614         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27615         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27617 2013-09-10  Allan McRae  <allan@archlinux.org>
27619         [BZ #15748]
27620         * manual/arith.texi (Parsing of Floats): Clarify
27621         cross-reference.
27623         [BZ #15849]
27624         * manual/install.texi (Running make install): Mention
27625         --enable-pt-chown.
27626         * INSTALL: Regenerated.
27628 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
27630         * csu/init-first.c (_init): Remove the !SHARED condition around
27631         FPU control word initialization.
27632         * elf/dl-support.c (_dl_fpu_control): New variable.
27633         (_dl_aux_init) <AT_FPUCW>: Initialize it.
27634         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
27635         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
27636         * math/test-fpucw-static.c: New file.
27637         * math/test-fpucw-ieee.c: New file.
27638         * math/test-fpucw-ieee-static.c: New file.
27639         * math/Makefile (tests): Add `test-fpucw-ieee' and
27640         `$(tests-static)'.
27641         (tests-static): New variable.
27642         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
27643         dependency to...
27644         [($(build-shared),yes)]
27645         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27646         ... this.
27647         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
27648         New dependency.
27650 2013-09-09  Allan McRae  <allan@archlinux.org>
27652         [BZ #15939]
27653         * manual/string.texi (Collation Functions): Fix typo in
27654         strcoll example.
27655         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
27657         [BZ #15893]
27658         * stdlib/isomac.c (get_null_defines): Fix memory leak.
27660         [BZ #15892]
27661         * libio/memstream.c (open_memstream): Fix memory leak.
27662         * libio/wmemstream.c (open_wmemstream): Likewise.
27664         [BZ #15895]
27665         * nscd/netgroupcache.c: Fix nesting of ifdefs.
27667 2013-09-09  Will Newton  <will.newton@linaro.org>
27669         * malloc/Makefile: Add tst-realloc to tests.
27670         * malloc/tst-realloc.c: New file.
27672 2013-09-09  Allan McRae  <allan@archlinux.org>
27674         [BZ #15844]
27675         * COPYING: Update from GNU website to fix FSF address.
27676         * COPYING.LIB: Likewise.
27678 2013-09-06  David S. Miller  <davem@davemloft.net>
27680         * po/zh_TW.po: Update Chinese (traditional) translation from
27681         translation project.
27683 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
27684             Joseph Myers  <joseph@codesourcery.com>
27686         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
27687         "localeinfo.h".
27688         (obstack_chunk_alloc): New macro.
27689         (obstack_chunk_free): Likewise.
27690         (record_offset): New function.
27691         (init_locale_data): Likewise.
27692         (align_locale_data): Likewise.
27693         (add_locale_empty): Likewise.
27694         (add_locale_raw_data): Likewise.
27695         (add_locale_raw_obstack): Likewise.
27696         (add_locale_string): Likewise.
27697         (add_locale_wstring): Likewise.
27698         (add_locale_uint32): Likewise.
27699         (add_locale_uint32_array): Likewise.
27700         (add_locale_char): Likewise.
27701         (start_locale_structure): Likewise.
27702         (end_locale_structure): Likewise.
27703         (start_locale_prelude): Likewise.
27704         (end_locale_prelude): Likewise.
27705         (write_locale_data): Take locale_file structure rather than an
27706         iovec.
27707         * locale/programs/locfile.h: Include "obstack.h".
27708         (struct locale_file): Change to store locale file contents instead
27709         of header.
27710         (init_locale_data): New prototype.
27711         (align_locale_data): Likewise.
27712         (add_locale_empty): Likewise.
27713         (add_locale_raw_data): Likewise.
27714         (add_locale_raw_obstack): Likewise.
27715         (add_locale_string): Likewise.
27716         (add_locale_wstring): Likewise.
27717         (add_locale_uint32): Likewise.
27718         (add_locale_uint32_array): Likewise.
27719         (add_locale_char): Likewise.
27720         (start_locale_structure): Likewise.
27721         (end_locale_structure): Likewise.
27722         (start_locale_prelude): Likewise.
27723         (end_locale_prelude): Likewise.
27724         (write_locale_data): Update prototype.
27725         * locale/programs/3level.h (struct TABLE): Remove result field.
27726         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
27727         Use new locale_file interface.
27728         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
27729         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
27730         * locale/programs/ld-address.c (address_output): Use new
27731         locale_file interface.
27732         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
27733         NO_ADD_LOCALE.
27734         (collate_finish): Don't call collseq_table_finalize.
27735         (collate_output): Use new locale_file interface.
27736         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
27737         in file.
27738         (NO_FINALIZE): Change to NO_ADD_LOCALE.
27739         (TABLE): Move defines earlier in file.
27740         (ELEMENT): Likewise.
27741         (DEFAULT): Likewise.
27742         (wctrans_table_add): Move macro and inline function earlier in
27743         file.
27744         (struct wctype_table): Move type earlier in file.
27745         (add_locale_wctype_table): New static prototype.
27746         (struct locale_ctype_t): Use logical types instead of struct iovec
27747         pointers for members.
27748         (ctype_output): Use new locale_file interface.
27749         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
27750         new locale_file interface.
27751         (allocate_arrays): Update for use of new locale_file interface.
27752         * locale/programs/ld-identification.c (identification_output): Use
27753         new locale_file interface.
27754         * locale/programs/ld-measurement.c (measurement_output): Likewise.
27755         * locale/programs/ld-messages.c (messages_output): Likewise.
27756         * locale/programs/ld-monetary.c (monetary_output): Likewise.
27757         * locale/programs/ld-name.c (name_output): Likewise.
27758         * locale/programs/ld-numeric.c (numeric_output): Likewise.
27759         * locale/programs/ld-paper.c (paper_output): Likewise.
27760         * locale/programs/ld-telephone.c (telephone_output): Likewise.
27761         * locale/programs/ld-time.c (time_output): Likewise.
27763 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27765         * benchtests/Makefile: Add memrchr benchmark.
27766         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
27767         benchmark as memrchr.
27768         * benchtests/bench-memrchr-ifunc.c: New file.
27769         * benchtests/bench-memrchr.c: New file.
27771 2013-09-06   Will Newton  <will.newton@linaro.org>
27773         * benchtests/Makefile (string-bench): Add memcpy.
27775 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
27776             Cong Wang  <amwang@redhat.com>
27778         [BZ #15850]
27779         * sysdeps/unix/sysv/linux/bits/in.h
27780         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
27781         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
27782         before __USE_KERNEL_IPV6_DEFS uses.
27783         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
27784         IPPROTO_BEETPH.
27785         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
27786         sockaddr_in6, or ipv6_mreq.
27788 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27790         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
27791         memory access for final bytes in some large inputs.
27792         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
27794 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27796         * string/test-memrchr.c: New file.
27797         * string/test-memrchr-ifunc.c: New file.
27798         * string/Makefile: Add new memrchr testcase.
27800 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
27802         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
27803         fanotify_init returns EPERM.
27805 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
27807         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
27808         errors.
27809         (top level): Treat second token from macro or constant entries for
27810         allowed headers as allowed.
27811         * include/complex.h: Condition internal declarations on
27812         [!_ISOMAC].
27813         * include/fenv.h: Condition include of <stdbool.h> and internal
27814         declarations on [!_ISOMAC].
27816 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
27818         [BZ #15923]
27819         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
27821 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
27823         * configure.in (--enable-versioning): Remove configure option.
27824         (libc_cv_asm_symver_directive): Remove configure test.
27825         (libc_cv_ld_version_script_option): Likewise.
27826         (VERSIONING): Remove variable and AC_SUBST.
27827         (DO_VERSIONING): Remove AC_DEFINE.
27828         * configure: Regenerated.
27829         * config.h.in (DO_VERSIONING): Remove macro.
27830         * Makerules [$(versioning) = yes]: Change conditionals to
27831         [$(build-shared) = yes].
27832         * config.make.in (versioning): Remove variable.
27833         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
27834         [$(build-shared) = yes].
27835         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
27836         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
27837         * elf/Makefile [$(versioning) = yes]: Change conditionals to
27838         [$(build-shared) = yes].
27839         * extra-lib.mk [$(versioning) = yes]: Likewise.
27840         * hurd/Makefile [$(versioning) = yes]: Likewise.
27841         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
27842         [SHARED].
27843         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
27844         [SHARED].
27845         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27846         [SHARED && !NO_HIDDEN].
27847         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
27848         [SHARED].
27849         [SHARED && DO_VERSIONING]: Likewise..
27850         * libio/Makefile [$(versioning) = yes]: Change conditionals to
27851         [$(build-shared) = yes].
27852         * manual/install.texi (--disable-versioning): Remove
27853         documentation.
27854         * INSTALL: Regenerated.
27855         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
27856         to [SHARED].
27857         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
27858         [$(build-shared) = yes].
27859         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
27860         * sysdeps/i386/i686/multiarch/strstr-c.c
27861         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27862         [SHARED && !NO_HIDDEN].
27863         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
27864         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
27865         * sysdeps/powerpc/powerpc32/dl-machine.c
27866         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
27867         * sysdeps/powerpc/powerpc32/sysdep.h
27868         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
27869         to [SHARED && PIC && !NO_HIDDEN].
27870         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
27871         conditional to [SHARED].
27873 2013-09-04   Will Newton  <will.newton@linaro.org>
27875         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
27876         * benchtests/bench-string.h: Include bench-timing.h instead
27877         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
27878         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
27879         call to HP_TIMING_DIFF_INIT.
27880         * benchtests/bench-memccpy.c: Use bench-timing.h macros
27881         instead of hp-timing.h macros.
27882         * benchtests/bench-memchr.c: Likewise.
27883         * benchtests/bench-memcmp.c: Likewise.
27884         * benchtests/bench-memcpy.c: Likewise.
27885         * benchtests/bench-memmem.c: Likewise.
27886         * benchtests/bench-memmove.c: Likewise.
27887         * benchtests/bench-memset.c: Likewise.
27888         * benchtests/bench-rawmemchr.c: Likewise.
27889         * benchtests/bench-strcasecmp.c: Likewise.
27890         * benchtests/bench-strcasestr.c: Likewise.
27891         * benchtests/bench-strcat.c: Likewise.
27892         * benchtests/bench-strchr.c: Likewise.
27893         * benchtests/bench-strcmp.c: Likewise.
27894         * benchtests/bench-strcpy.c: Likewise.
27895         * benchtests/bench-strcpy_chk.c: Likewise.
27896         * benchtests/bench-strlen.c: Likewise.
27897         * benchtests/bench-strncasecmp.c: Likewise.
27898         * benchtests/bench-strncat.c: Likewise.
27899         * benchtests/bench-strncmp.c: Likewise.
27900         * benchtests/bench-strncpy.c: Likewise.
27901         * benchtests/bench-strnlen.c: Likewise.
27902         * benchtests/bench-strpbrk.c: Likewise.
27903         * benchtests/bench-strrchr.c: Likewise.
27904         * benchtests/bench-strspn.c: Likewise.
27905         * benchtests/bench-strstr.c: Likewise.
27907 2013-09-04  Will Newton  <will.newton@linaro.org>
27909         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
27911 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
27913         [BZ #15427]
27914         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27915         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
27916         * math/libm-test.inc (lgamma_test_data): Add more tests.
27917         * sysdeps/i386/fpu/libm-test-ulps: Update.
27918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27920 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
27922         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
27923         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27924         Add ifunc.
27925         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27926         Add strcmp-sse2-unaligned
27927         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
27929 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
27931         * Versions.def (libc): Add GLIBC_2.19.
27933 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
27935         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
27936         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
27938 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
27940         [BZ #14155]
27941         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
27942         intermediate calculations in recurrence.
27943         (__ieee754_ynf): Likewise.
27944         * math/libm-test.inc (jn_test_data): Do not allow spurious
27945         underflow exception.  Add more tests.
27946         (yn_test_data): Add more tests.
27947         * sysdeps/i386/fpu/libm-test-ulps: Update.
27948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27950 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
27952         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
27954 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
27956         * csu/init-first.c: Fix then/than typos.
27957         * locale/programs/ld-collate.c: Likewise.
27958         * locale/programs/linereader.h: Likewise.
27959         * manual/charset.texi: Likewise.
27960         * manual/filesys.texi: Likewise.
27961         * manual/stdio.texi: Likewise.
27962         * manual/string.texi: Likewise.
27963         * stdlib/fmtmsg.c: Likewise.
27964         * sysdeps/i386/stpncpy.S: Likewise.
27965         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27966         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27967         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27968         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27970 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
27972         * elf/dl-open.c: Fix typos.
27973         * iconvdata/gbbig5.c: Likewise.
27974         * iconvdata/iso-2022-jp.c: Likewise.
27975         * iconv/gconv_int.h: Likewise.
27976         * iconv/loop.c: Likewise.
27977         * nis/rpcsvc/nis.h: Likewise.
27978         * resolv/ns_name.c: Likewise.
27979         * stdio-common/vfscanf.c: Likewise.
27980         * streams/stropts.h: Likewise.
27981         * sunrpc/rpc_thread.c: Likewise.
27982         * sysdeps/i386/strpbrk.S: Likewise.
27983         * sysdeps/ieee754/k_standard.c: Likewise.
27984         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27985         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27986         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
27987         * sysdeps/mach/hurd/profil.c: Likewise.
27988         * sysdeps/s390/dl-procinfo.h: Likewise.
27989         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
27990         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27991         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
27992         * sysdeps/x86_64/dl-trampoline.S: Likewise.
27993         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27995 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
27997         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
27998         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
28000 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
28002         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
28003         aix specific files.
28004         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
28005         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
28006         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
28007         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
28008         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
28009         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
28010         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
28011         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
28013 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
28014             Roland McGrath  <roland@hack.frob.com>
28016         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
28017         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
28019 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28021         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
28022         __executable_start symbol instead of _start.
28024 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
28026         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
28027         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
28028         Move macros to...
28029         * sysdeps/gnu/ldsodefs.h: ... this new file.
28031         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
28032         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
28033         instead of ELFOSABI_LINUX.
28035         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
28036         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
28037         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
28038         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
28039         Likewise.
28040         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
28041         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
28042         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
28043         Likewise.
28044         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28045         (ibm_extended_long_double): Add ieee_nan member.
28046         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
28047         (do_test): New function.
28049         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
28050         TEST_TRUNC.
28051         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
28052         functions, renamed from truncdfsf_test, trunctfsf_test,
28053         trunctfdf_test.
28054         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
28055         functions.
28056         (do_test): Run all these.
28058 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
28060         * argp/argp-help.c: Fix typos.
28061         * argp/argp-parse.c: Likewise.
28062         * debug/backtracesyms.c: Likewise.
28063         * elf/elf.h: Likewise.
28064         * malloc/malloc.c: Likewise.
28065         * nis/nis_print.c: Likewise.
28066         * resolv/res_comp.c: Likewise.
28067         * stdlib/stdlib.h: Likewise.
28068         * sunrpc/clnt_tcp.c: Likewise.
28069         * sunrpc/clnt_udp.c: Likewise.
28070         * sunrpc/clnt_unix.c: Likewise.
28071         * sysdeps/unix/bsd/ptsname.c: Likewise.
28072         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28073         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
28074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
28075         Likewise.
28076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
28077         Likewise.
28078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28079         Likewise.
28080         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28082 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28084         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
28085         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28087 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
28089         [BZ #15897]
28090         * dlfcn/Makefile (tests): Add bug-dl-leaf.
28091         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
28092         ($(objpfx)bug-dl-leaf): New rule.
28093         ($(objpfx)bug-dl-leaf.so): Likewise.
28094         ($(objpfx)bug-dl-leaf.out): Likewise.
28095         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
28096         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
28097         * dlfcn/bug-dl-leaf.c: New test.
28098         * dlfcn/bug-dl-leaf-lib.c: Likewise.
28099         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
28100         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
28101         (dlclose): Likewise.
28102         (dlmopen): Likewise.
28104 2013-08-27  Roland McGrath  <roland@hack.frob.com>
28106         * include/netdb.h [!_ISOMAC]:
28107         Don't include <tls.h>.
28108         (h_errno, __libc_h_errno): Move declaration and macros out of
28109         [_LIBC_REENTRANT].
28111         * include/resolv.h [_RESOLV_H_]:
28112         Don't include <tls.h>.
28113         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
28114         * resolv/res_libc.c: Don't include <tls.h>.
28115         (_res): Use __attribute__ ((nocommon)) in place of
28116         __attribute__ ((section (".bss"))).
28118         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
28119         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
28121         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
28123         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
28124         only under [SIOCGIFCONF && SIOCGIFNETMASK].
28126         * resolv/res_mkquery.c: Include <sys/time.h>.
28128         * inet/ifreq.c: Moved to ...
28129         * sysdeps/unix/ifreq.c: ... here.
28130         * inet/ifreq.c: New file, true stub version.
28132         * socket/sa_len.c: New file.
28133         * socket/Makefile (aux): Add it.
28134         * sysdeps/unix/sysv/linux/Makefile
28135         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
28136         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
28137         and #include <socket/sa_len.c>.
28138         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
28139         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
28141         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
28142         * bits/socket.h: ... here.
28144         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
28145         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
28146         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
28148 2013-08-27  Andreas Schwab  <schwab@suse.de>
28150         [BZ #15736]
28151         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
28152         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
28153         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
28154         * string/test-strcasecmp.c (test_main): Run tests in several
28155         locales.
28156         * string/test-strncasecmp.c (test_main): Likewise.
28158         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
28159         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
28160         to __strcasecmp_nonascii and __strncasecmp_nonascii.
28161         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
28162         (__strncasecmp_ssse3) [PIC]: Likewise.
28164 2013-08-26  Roland McGrath  <roland@hack.frob.com>
28166         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
28168         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
28169         instead of explicitly declaring xdecrypt.
28170         * nis/nss_nis/nis-publickey.c: Likewise.
28172 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28174         [BZ #15890]
28175         * nscd/aicache.c: Include res_hconf.h.
28176         (addhstaiX): Initialize res_hconf.
28178 2013-08-26  Andreas Schwab  <schwab@suse.de>
28180         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
28181         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
28183 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28185         * nscd/aicache.c (addhstaiX): Fix indentation.
28187 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
28189         * configure.ac: Quote $build_pt_chown test.
28190         * configure: Regenerated.
28192 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
28194         [BZ #15532]
28195         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
28196         * math/s_cexpf.c (__cexpf): Likewise.
28197         * math/s_cexpl.c (__cexpl): Likewise.
28198         * math/libm-test.inc (cexp_test_data): Correct expected return
28199         value for NaN + i0.  Add another test.
28201 2013-08-22  David S. Miller  <davem@davemloft.net>
28203         * po/ca.po: Update Catalan translation from translation project.
28204         * po/uk.po: Add Ukrainian translations from translation project.
28206 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
28208         [BZ #15797]
28209         * math/s_fdim.c (__fdim): Check for infinite arguments if result
28210         is infinite, not alongside NaN test.
28211         * math/s_fdimf.c (__fdimf): Likewise.
28212         * math/s_fdiml.c (__fdiml): Likewise.
28213         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
28214         errno is unchanged.
28216 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
28218         * argp/argp-help.c: Fix typos.
28219         * crypt/speeds.c: Likewise.
28220         * csu/check_fds.c: Likewise.
28221         * elf/dl-load.c: Likewise.
28222         * elf/dl-open.c: Likewise.
28223         * elf/reldep3.c: Likewise.
28224         * elf/reldep.c: Likewise.
28225         * elf/sprof.c: Likewise.
28226         * iconv/iconv_charmap.c: Likewise.
28227         * iconv/skeleton.c: Likewise.
28228         * iconv/strtab.c: Likewise.
28229         * io/lockf64.c: Likewise.
28230         * libio/libioP.h: Likewise.
28231         * resolv/gai_notify.c: Likewise.
28232         * resolv/ns_name.c: Likewise.
28233         * resolv/ns_samedomain.c: Likewise.
28234         * resolv/res_send.c: Likewise.
28235         * stdlib/random.c: Likewise.
28236         * sunrpc/rpc/xdr.h: Likewise.
28237         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
28238         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28239         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28240         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28241         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28242         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28243         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28244         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28245         * sysdeps/mach/hurd/check_fds.c: Likewise.
28246         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28247         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28248         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28249         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28250         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28251         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28252         * sysdeps/pthread/aio_notify.c: Likewise.
28253         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
28254         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
28255         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
28256         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28257         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28259 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28261         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
28262         version if bit_Slow_SSE4_2 is set.
28263         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28264         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28266 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28268         [BZ #15867]
28269         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
28270         trampoline stack frame information.
28271         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
28272         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
28273         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
28274         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
28275         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
28276         * sysdeps/unix/sysv/linux/powerpc/init-first.c
28277         (_libc_vdso_platform_setup): Initialize the signal trampolines.
28278         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
28279         sa_flags value.
28280         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
28281         interrupting a syscall and set with option SA_SIGINFO.
28283 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
28285         [BZ #15531]
28286         * math/s_cproj.c (__cproj): Only return an infinity if one part of
28287         argument is infinite.
28288         * math/s_cprojf.c (__cprojf): Likewise.
28289         * math/s_cprojl.c (__cprojl): Likewise.
28290         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
28291         * math/libm-test.inc (cproj_test_data): Add more tests.
28293         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
28295         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
28296         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
28297         size.  Use __ffs to determine corresponding shift.
28299 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
28300             Roland McGrath  <roland@hack.frob.com>
28302         * Makefile (INSTALL): Remove trailing blank lines from output of
28303         makeinfo.
28305 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28307         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
28308         Align 32 bit compat elf_greg to 8 bytes.
28310 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
28312         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
28314 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28316         * string/strcoll_l.c (coll_seq): New structure.
28317         (get_next_seq_cached): New function.
28318         (get_next_seq): New function.
28319         (do_compare): New function.
28320         (STRCOLL): Use GNU style definition.  Simplify implementation
28321         by using get_next_seq, get_next_seq_cached and do_compare.
28323 2013-08-16  Florian Weimer  <fweimer@redhat.com>
28325         [BZ #14699]
28326         CVE-2013-4237
28327         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
28328         member.
28329         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
28330         member.
28331         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
28332         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
28333         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
28334         conditional.
28335         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
28336         GETDENTS_64BIT_ALIGNED.
28337         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28338         * manual/filesys.texi (Reading/Closing Directory): Document
28339         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
28340         strongly.
28341         * manual/conf.texi (Limits for Files): Add portability note to
28342         NAME_MAX, PATH_MAX.
28343         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
28345 2013-08-13  Andreas Schwab  <schwab@suse.de>
28347         [BZ #15749]
28348         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
28349         of fabs.
28350         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
28351         LDBL_MAX_EXP >= 16384]: Add tests for it.
28353 2013-08-12  David S. Miller  <davem@davemloft.net>
28355         * version.h (RELEASE): Set to "development".
28356         (VERSION): Set to "2.18.90".
28357         * NEWS: Add 2.19 section.
28359 2013-08-03  David S. Miller  <davem@davemloft.net>
28361         * po/ko.po: Update Korean translation from translation project.
28363 2013-08-01  David S. Miller  <davem@davemloft.net>
28365         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
28366         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
28367         Bilka.
28369 2013-07-30  David S. Miller  <davem@davemloft.net>
28371         * po/fr.po: Update French translation from translation project.
28373 2013-07-28  David S. Miller  <davem@davemloft.net>
28375         * po/cs.po: Update Czech translation from translation project.
28377         * po/sv.po: Update Swedish translation from translation project.
28379 2013-07-27  David S. Miller  <davem@davemloft.net>
28381         * po/eo.po: Update Esperanto translation from translation project.
28383         * po/vi.po: Update Vietnamese translation from translation project.
28385         * po/de.po: Update German translation from translation project.
28387 2013-07-26  David S. Miller  <davem@davemloft.net>
28389         * po/bg.po: Update Bulgarian translation from translation project.
28391         * po/nl.po: Update Dutch translation from translation project.
28392         * po/pl.po: Update Polish translation from translation project.
28393         * po/ru.po: Update Russian translation from translation project.
28395 2013-07-24  David S. Miller  <davem@davemloft.net>
28397         * po/libc.pot: Update.
28399 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28401         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
28402         variable page size.
28403         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
28404         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
28405         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
28407 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28409         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
28411 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28412             Andreas Schwab  <schwab@suse.de>
28413             Roland McGrath  <roland@hack.frob.com>
28414             Joseph Myers  <joseph@codesourcery.com>
28415             Carlos O'Donell  <carlos@redhat.com>
28417         [BZ #15755]
28418         * config.h.in: Define HAVE_PT_CHOWN.
28419         * config.make.in (build-pt-chown): New variable.
28420         * configure.in (--enable-pt_chown): New configure option.
28421         * configure: Regenerate.
28422         * login/Makefile: Include Makeconfig.  Build pt_chown only if
28423         build-pt-chown is enabled.
28424         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
28425         pt_chown to fix pty ownership.
28426         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
28427         CLOSE_ALL_FDS.
28428         * manual/install.texi (Configuring and compiling): Mention
28429         --enable-pt_chown. Add @findex for grantpt.
28430         * INSTALL: Regenerate.
28432 2013-07-20  David S. Miller  <davem@davemloft.net>
28434         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
28435         difference between 32-bit and 64-bit.
28437 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
28439         [BZ #15711]
28440         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
28441         Avoid system header dependency with -ffreestanding.
28442         ($(objpfx)bits/syscall%d): Likewise.
28444 2013-07-13  David S. Miller  <davem@davemloft.net>
28446         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
28447         underflows from atanl/atan2l due to bug 15319.
28448         (casinh_test_data): Likewise.
28450 2013-07-07  David S. Miller  <davem@davemloft.net>
28452         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
28454 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
28456         * sysdeps/i386/fpu/libm-test-ulps: Update.
28457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28459 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28461         * configure.in (--enable-lock-elision): Fix message text.
28462         * INSTALL: Regenerate.
28463         * configure: Regenerate.
28465 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28467         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28469 2013-07-03  Andreas Jaeger  <aj@suse.de>
28471         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
28472         define.
28473         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
28474         (ptrace_peeksiginfo_args): Add.
28475         (__ptrace_peeksiginfo_flags): Add.
28476         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28477         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28478         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28480 2013-07-03  Allan McRae  <allan@archlinux.org>
28482         * sysdeps/i386/fpu/libm-test-ulps: Update.
28484 2013-07-02  David S. Miller  <davem@davemloft.net>
28486         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28488 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
28490         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28492 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
28494         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28497 2013-07-02  Andi Kleen <ak@linux.intel.com>
28499         * config.h.in (ENABLE_LOCK_ELISION): Add.
28500         * configure.in (--enable-lock-elision): Add option.
28501         * manual/install.texi: Document --enable lock elision.
28502         * configure: Regenerate
28503         * INSTALL: Regenerate.
28505 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
28507         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
28508         SSE4.2 strcasecmp for libc.a.
28509         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28511 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
28513         [BZ #13304]
28514         * soft-fp/op-common.h (_FP_FMA): New macro.
28515         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
28516         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
28517         (_FP_MUL_MEAT_1_imm): ... here.
28518         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
28519         (_FP_MUL_MEAT_1_wide): ... here.
28520         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
28521         (_FP_MUL_MEAT_1_hard): ... here.
28522         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
28523         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
28524         (_FP_MUL_MEAT_2_wide): ... here.
28525         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
28526         (_FP_MUL_MEAT_2_wide_3mul): ... here.
28527         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
28528         (_FP_MUL_MEAT_2_gmp): ... here.
28529         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
28530         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
28531         (_FP_MUL_MEAT_4_wide): ... here.
28532         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
28533         (_FP_MUL_MEAT_4_gmp): ... here.
28534         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
28535         (_FP_WFRACBITS_DW_S): Likewise.
28536         (_FP_WFRACXBITS_DW_S): Likewise.
28537         (_FP_HIGHBIT_DW_S): Likewise.
28538         (FP_FMA_S): Likewise.
28539         (_FP_FRAC_HIGH_DW_S): Likewise.
28540         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
28541         (_FP_WFRACBITS_DW_D): Likewise.
28542         (_FP_WFRACXBITS_DW_D): Likewise.
28543         (_FP_HIGHBIT_DW_D): Likewise.
28544         (FP_FMA_D): Likewise.
28545         (_FP_FRAC_HIGH_DW_D): Likewise.
28546         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
28547         (_FP_WFRACBITS_DW_E): Likewise.
28548         (_FP_WFRACXBITS_DW_E): Likewise.
28549         (_FP_HIGHBIT_DW_E): Likewise.
28550         (FP_FMA_E): Likewise.
28551         (_FP_FRAC_HIGH_DW_E): Likewise.
28552         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
28553         (_FP_WFRACBITS_DW_Q): Likewise.
28554         (_FP_WFRACXBITS_DW_Q): Likewise.
28555         (_FP_HIGHBIT_DW_Q): Likewise.
28556         (FP_FMA_Q): Likewise.
28557         (_FP_FRAC_HIGH_DW_Q): Likewise.
28558         * soft-fp/fmasf4.c: New file.
28559         * soft-fp/fmadf4.c: Likewise.
28560         * soft-fp/fmatf4.c: Likewise.
28562 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28564         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28565         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
28566         Silvermont.
28567         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
28568         macro.
28569         (index_Slow_SSE4_2): Likewise.
28570         (index_Prefer_PMINUB_for_stringop): Likewise.
28571         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
28572         bit_Slow_SSE4_2 is set.
28573         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28574         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28576 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28578         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
28579         rtld_global._dl_hwcap2.
28580         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
28581         POWER8.
28582         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
28583         POWER8 feature descriptions defined in _dl_hwcap2.
28584         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
28585         string handling for POWER8 feature bits.
28586         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
28587         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
28588         _dl_powerpc_cap_flags.
28589         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
28590         * sysdeps/powerpc/rtld-global-offsets.sym
28591         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
28592         _dl_hwcap2 in the rtld_global_ro structure.
28594 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28596         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
28597         hardware capabilities in support of AT_HWCAP2.
28598         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
28599         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
28600         GLRO(dl_hwcap2).
28601         (_dl_show_auxv): Add support for calling _dl_procinfo to display
28602         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
28603         explicitly the unknown a_type display mechanism is used.
28604         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
28605         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
28606         struct member.
28607         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
28608         to macro prototype for AT_HWCAP2 support.
28609         * sysdeps/i386/dl-procinfo.h: Likewise.
28610         * sysdeps/s390/dl-procinfo.h: Likewise.
28611         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
28612         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
28613         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
28614         return -1 for unknown a_type display fallback.
28615         * sysdeps/sparc/dl-procinfo.h: Likewise.
28616         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
28617         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
28619 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
28621         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
28622         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
28624 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
28626         [BZ #12492]
28627         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
28628         mprotect making __stack_prot writable.
28630 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
28631             Joseph Myers  <joseph@codesourcery.com>
28633         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
28634         as being properly aligned.
28636 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
28638         * dlfcn/modstatic5.c: New file.
28639         * dlfcn/tststatic5.c: New file.
28640         * dlfcn/Makefile (tests): Add tststatic5.
28641         (tests-static): Likewise.
28642         (modules-names): Add modstatic5.
28643         (tststatic5-ENV): New variable.
28644         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
28646         [BZ #15022]
28647         * elf/dl-support.c (_dl_main_map): New variable.
28648         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
28649         (_dl_nns, _dl_load_adds): Set to 1.
28650         (_dl_initial_searchlist): Refer to _dl_main_map.
28651         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
28652         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
28653         call to _dl_get_origin.
28654         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
28655         around call_map.
28656         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
28657         * dlfcn/modstatic3.c: New file.
28658         * dlfcn/tststatic3.c: New file.
28659         * dlfcn/tststatic4.c: New file.
28660         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
28661         (tests-static): Likewise.
28662         (modules-names): Add modstatic3.
28663         (tststatic3-ENV, tststatic4-ENV): New variables.
28664         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
28665         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
28667 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
28669         * configure.in (CC): Require GCC version 4.4 or later.
28670         * configure: Regenerated.
28671         * manual/install.texi (Tools for Compilation): Update GCC version
28672         requirement.
28673         * INSTALL: Regenerated.
28675 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28677         [BZ #15674]
28678         * string/test-memcmp.c (check2): New.
28679         (main): Call check2.
28681         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
28683 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
28685         [BZ #15022]
28686         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
28687         over to...
28688         (dl_open_worker) [!SHARED]: ... here.
28690 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28692         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
28694 2013-06-25  Richard Henderson  <rth@redhat.com>
28696         * locale/programs/locarchive.c: Include <libc-internal.h>
28698 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
28700         * manual/texinfo.tex: Update to version 2013-06-21.17, with
28701         trailing whitespace removed.
28703 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
28705         [BZ #10283]
28706         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
28707         * locale/programs/locarchive.c: Include libc-mmap.h.
28708         (prepare_address_space): Take two new outputs (the mmap base and len).
28709         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
28710         values.
28711         (create_archive): Declare new mmap base and len values for
28712         prepare_address_space, and store the result in ah.
28713         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
28714         (enlarge_archive): If ah->mmap_base is not NULL, use that and
28715         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28716         Declare new mmap base and len values for
28717         prepare_address_space, and store the result in new_ah.
28718         (open_archive): Declare new mmap base and len values for
28719         prepare_address_space, and store the result in ah.
28720         (close_archive): If ah->mmap_base is not NULL, use that and
28721         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28722         * sysdeps/generic/libc-mmap.h: New file.
28724 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
28726         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
28727         (ALIGN_UP): Likewise.
28728         (PTR_ALIGN_DOWN): Likewise.
28729         (PTR_ALIGN_UP): Likewise.
28731 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28733         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
28734         entry mapped to PPC_PLATFORM_POWER8.
28735         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
28736         POWER8.
28737         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
28738         (_dl_string_platform): Add case for exporting platform position for
28739         POWER8.
28740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
28741         search path to sysdeps/powerpc/powerpc32/power8 directory.
28742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
28743         search path to sysdeps/powerpc/powerpc64/power8 directory.
28744         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
28745         power7 directories.
28746         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
28747         power7 directories.
28749 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28751         * INSTALL: Regenerate.
28753         * nscd/connections.c (nscd_init): Fix comment.
28755 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
28757         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
28759         [BZ #15667]
28760         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
28761         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
28763 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
28765         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
28766         DL_DST_REQ_STATIC.
28767         (DL_DST_REQ_STATIC): Remove macro.
28769 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
28771         [BZ #7006]
28772         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
28773         with a shift of 0 bits.
28775 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
28777         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
28778         $(tststatic-ENV).
28780 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28782         [BZ #15655]
28783         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
28785 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28787         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
28788         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
28789         accepts -fno-tree-loop-distribute-patterns.
28790         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
28791         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
28792         recursive call.
28793         * string/memset.c (memset): Likewise.
28794         * string/test-memmove.c (simple_memmove): Disable loop transformation
28795         to library calls.
28796         * string/test-memset.c (simple_memset): Likewise.
28797         * benchtests/bench-memmove.c (simple_memmove): Likewise.
28798         * benchtests/bench-memset.c (simple_memset): Likewise.
28799         * configure: Regenerated.
28801 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
28803         * math/test-misc.c (main): Ignore fesetround failure when failures
28804         of subsequent rounding tests would be ignored.
28806         [BZ #15654]
28807         * math/fedisblxcpt.c (fedisableexcept): Return 0.
28808         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
28809         * math/fegetenv.c (__fegetenv): Return 0.
28810         * math/fegetexcept.c (fegetexcept): Return 0.
28811         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
28812         FE_TONEAREST.
28813         * math/feholdexcpt.c (feholdexcept): Return 0.
28814         * math/fesetenv.c (__fesetenv): Return 0.
28815         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
28816         argument FE_TONEAREST.
28817         * math/feupdateenv.c (__feupdateenv): Return 0.
28818         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
28820 2013-06-18  Roland McGrath  <roland@hack.frob.com>
28822         * elf/rtld-Rules (rtld-compile-command.S): New variable.
28823         (rtld-compile-command.s, rtld-compile-command.c): New variables.
28824         ($(objpfx)rtld-%.os rules): Use them.
28826 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28828         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
28829         fields.
28831 2013-06-17  Roland McGrath  <roland@hack.frob.com>
28833         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
28834         length of target pattern, then descending length of dependency pattern.
28835         * configure.in (AWK): Require gawk 3.1.2 or newer.
28836         * manual/install.texi (Tools for Compilation): Say that we do.
28837         * configure: Regenerated.
28839         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
28840         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
28841         * scripts/sysd-rules.awk: ... this new script.
28842         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
28843         than a glob-style pattern.
28845 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
28847         * math/test-misc.c (main): Do not treat incorrectly rounded
28848         conversions as failure unless ROUNDING_TESTS passes.
28850 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
28852         [BZ #15631]
28853         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
28854         restore exception state around main square root computation, then
28855         check for inexactness explicitly.
28857         * math/libm-test.inc (fma_test_data): Add another test.
28859 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28861         * manual/threads.texi (Non-POSIX Extensions): New document
28862         node.  Document pthread_getattr_default_np and
28863         pthread_setattr_default_np.
28865         * Versions.def (libpthread): Add GLIBC_2.18.
28866         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
28867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28868         Likewise.
28869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28870         Likewise.
28871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28872         Likewise.
28873         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28874         Likewise.
28875         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
28876         Likewise.
28877         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28878         Likewise.
28879         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28880         Likewise.
28881         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28882         Likewise.
28883         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28884         Likewise.
28886 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28888         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28889         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
28891 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28892             H.J. Lu  <hjl.tools@gmail.com>
28894         [BZ #15627]
28895         * sysdeps/x86_64/rtld-memset.c: Remove file.
28896         * sysdeps/x86_64/rtld-memset.S: New file.
28898 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
28900         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
28901         (test_in_one_mode): Take arguments for whether the rounding mode
28902         is supported for each floating-point type.
28903         (do_test): Pass new arguments to test_in_one_mode using
28904         ROUNDING_TESTS.
28906 2013-06-13  Roland McGrath  <roland@hack.frob.com>
28908         * posix/tst-waitid.c (do_test): Distinguish different instances of
28909         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
28910         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
28911         before entering the kernel for waitpid.
28913 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28915         * NEWS: Fix note on clock function precision.  Text by Roland
28916         McGrath.
28918 2013-06-13  Roland McGrath  <roland@hack.frob.com>
28920         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
28921         it into place only when and if the sanity check passes.
28923 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
28925         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
28926         output for whether conversion result is exact.  Take argument
28927         indicating whether type is IBM long double.
28928         (round_for_all): Change need_exact field to ibm_ld.
28929         * stdlib/tst-strtod-round.c (struct exactness): New type.
28930         (struct test): Change bool ld_ok field to struct exactness exact.
28931         (TEST): Update all definitions for change to field.
28932         (tests): Regenerate array contents.
28933         (test_in_one_mode): Take pointer to new field instead of old ld_ok
28934         field value.  Check for IBM long double here.
28935         (do_test): Update calls to test_in_one_mode.
28937 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28939         [BZ #12515]
28940         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
28941         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
28943 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28945         [BZ #15605]
28946         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
28947         generated by the compiler on loop optimizations.
28948         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
28949         general definitions.
28951 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
28953         * math/bug-nextafter.c: Include <math-tests.h>.
28954         (main): Only test for exceptions if EXCEPTION_TESTS is true for
28955         the relevant type.
28956         * math/bug-nexttoward.c: Include <math-tests.h>.
28957         (main): Only test for exceptions if EXCEPTION_TESTS is true for
28958         the relevant type.
28959         * math/test-misc.c: Include <math-tests.h>.
28960         (main): Only test for exceptions if EXCEPTION_TESTS is true for
28961         the relevant type.
28963 2013-06-12  Andreas Jaeger  <aj@suse.de>
28965         * po/ia.po: Update Interlingua translation from translation
28966         project.
28968 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28970         * include/fenv.h: Include stdbool.h.
28971         (struct rm_ctx): New structure.
28972         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
28973         Define macro.
28974         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
28975         (SET_RESTORE_ROUNDF): Likewise.
28976         (SET_RESTORE_ROUNDL): Likewise.
28977         (SET_RESTORE_ROUND_NOEX): Likewise.
28978         (SET_RESTORE_ROUND_NOEXF): Likewise.
28979         (SET_RESTORE_ROUND_NOEXL): Likewise.
28980         (SET_RESTORE_ROUND_53BIT): Likewise.
28981         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
28982         (libc_feresetround_noexf_ctx): Likewise.
28983         (libc_feresetround_noexl_ctx): Likewise.
28984         (libc_feholdsetround_53bit_ctx): Likewise.
28985         (libc_feresetround_53bit_ctx): Likewise.
28986         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
28987         (libc_feholdexcept_setround_sse_ctx): New function.
28988         (libc_fesetenv_sse_ctx): Likewise.
28989         (libc_feupdateenv_sse_ctx): Likewise.
28990         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
28991         (libc_feholdexcept_setround_387_ctx): Likewise.
28992         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
28993         (libc_feholdsetround_387_prec_ctx): Likewise.
28994         (libc_feholdsetround_387_ctx): Likewise.
28995         (libc_feholdsetround_387_53bit_ctx): Likewise.
28996         (libc_feholdsetround_sse_ctx): Likewise.
28997         (libc_feresetround_sse_ctx): Likewise.
28998         (libc_feresetround_387_ctx): Likewise.
28999         (libc_feupdateenv_387_ctx): Likewise.
29000         (libc_feholdexcept_setroundf_ctx): Define macro.
29001         (libc_fesetenvf_ctx): Likewise.
29002         (libc_feupdateenvf_ctx): Likewise.
29003         (libc_feholdsetroundf_ctx): Likewise.
29004         (libc_feresetroundf_ctx): Likewise.
29005         (libc_feholdexcept_setround_ctx): Likewise.
29006         (libc_fesetenv_ctx): Likewise.
29007         (libc_feupdateenv_ctx): Likewise.
29008         (libc_feholdsetround_ctx): Likewise.
29009         (libc_feresetround_ctx): Likewise.
29010         (libc_feholdexcept_setroundl_ctx): Likewise.
29011         (libc_feupdateenvl_ctx): Likewise.
29012         (libc_feholdsetroundl_ctx): Likewise.
29013         (libc_feresetroundl_ctx): Likewise.
29014         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
29015         (libc_feresetround_53bit_ctx): Likewise.
29017 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29019         * locale/iso-639.def: Convert to UTF-8.
29021 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
29023         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
29024         (EXCEPTION_TESTS_double): Likewise.
29025         (EXCEPTION_TESTS_long_double): Likewise.
29026         (EXCEPTION_TESTS): Likewise.
29027         * math/libm-test.inc (test_exceptions): Only test exceptions if
29028         EXCEPTION_TESTS (FLOAT).
29030 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29032         * benchtests/Makefile (string-bench): Add strcpy_chk and
29033         stpcpy_chk.
29034         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
29035         * benchtests/bench-stpcpy_chk.c: New file.
29036         * benchtests/bench-strcpy_chk-ifunc.c: New file.
29037         * benchtests/bench-strcpy_chk.c: New file.
29038         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
29039         code.
29040         (do_test): Likewise.
29042 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29044         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
29045         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
29046         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
29047         with tabs where appropriate.
29048         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
29049         dl-procinfo.h.
29050         [PPC_PLATFORM_PPC440]: Likewise.
29051         [PPC_PLATFORM_PPC464]: Likewise.
29052         [PPC_PLATFORM_PPC476]: Likewise.
29053         (_dl_string_platform): Add support for detecting ppc405, ppc440,
29054         ppc464, and ppc476 platform strings merging from ports/
29055         dl-procinfo.h.
29057 2013-06-11  Andreas Schwab  <schwab@suse.de>
29059         [BZ #14991]
29060         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
29061         (from_ucs4_idx): Regenerate.
29062         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
29063         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
29064         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
29065         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
29066         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
29067         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
29068         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
29069         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
29070         from FROM_LOOP and TO_LOOP specific macros.
29071         (BODY): Handle combining characters.
29072         * iconvdata/BIG5HKSCS.irreversible: Update.
29073         * iconvdata/BIG5HKSCS.precomposed: New file.
29074         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
29075         characters.
29076         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
29078 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29080         * include/sys/time.h: Fix indentation and add copyright header.
29082         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
29083         (do_test): Likewise.
29084         * string/test-memchr.c (do_one_test): Likewise.
29085         (do_test): Likewise.
29086         * string/test-memcmp.c (do_one_test): Likewise.
29087         (do_test): Likewise.
29088         * string/test-memcpy.c (do_one_test): Likewise.
29089         (do_test): Likewise.
29090         * string/test-memmem.c (do_one_test): Likewise.
29091         (do_test): Likewise.
29092         (do_random_tests): Likewise.
29093         * string/test-memmove.c (do_one_test): Likewise.
29094         (do_test): Likewise.
29095         * string/test-memset.c (do_one_test): Likewise.
29096         (do_test): Likewise.
29097         * string/test-rawmemchr.c (do_one_test): Likewise.
29098         (do_test): Likewise.
29099         * string/test-strcasecmp.c (do_one_test): Likewise.
29100         (do_test): Likewise.
29101         * string/test-strcasestr.c (do_one_test): Likewise.
29102         (do_test): Likewise.
29103         * string/test-strcat.c (do_one_test): Likewise.
29104         (do_test): Likewise.
29105         * string/test-strchr.c (do_one_test): Likewise.
29106         (do_test): Likewise.
29107         * string/test-strcmp.c (do_one_test): Likewise.
29108         (do_test): Likewise.
29109         * string/test-strcpy.c (do_one_test): Likewise.
29110         (do_test): Likewise.
29111         * string/test-string.h: Likewise.
29112         (test_init): Likewise.
29113         * string/test-strlen.c (do_one_test): Likewise.
29114         (do_test): Likewise.
29115         * string/test-strncasecmp.c (do_one_test): Likewise.
29116         (do_test): Likewise.
29117         * string/test-strncat.c (do_one_test): Likewise.
29118         (do_test): Likewise.
29119         * string/test-strncmp.c (do_one_test): Likewise.
29120         (do_test_limit): Likewise.
29121         (do_test): Likewise.
29122         * string/test-strncpy.c (do_one_test): Likewise.
29123         (do_test): Likewise.
29124         * string/test-strnlen.c (do_one_test): Likewise.
29125         (do_test): Likewise.
29126         * string/test-strpbrk.c (do_one_test): Likewise.
29127         (do_test): Likewise.
29128         * string/test-strrchr.c (do_one_test): Likewise.
29129         (do_test): Likewise.
29130         * string/test-strspn.c (do_one_test): Likewise.
29131         (do_test): Likewise.
29132         * string/test-strstr.c (do_one_test): Likewise.
29133         (do_test): Likewise.
29135         * benchtests/Makefile (string-bench): Add string benchmarks.
29136         * benchtests/bench-bcopy-ifunc.c: New file.
29137         * benchtests/bench-bcopy.c: New file.
29138         * benchtests/bench-bzero-ifunc.c: New file.
29139         * benchtests/bench-bzero.c: New file.
29140         * benchtests/bench-memccpy-ifunc.c: New file.
29141         * benchtests/bench-memccpy.c: New file.
29142         * benchtests/bench-memchr-ifunc.c: New file.
29143         * benchtests/bench-memchr.c: New file.
29144         * benchtests/bench-memcmp-ifunc.c: New file.
29145         * benchtests/bench-memcmp.c: New file.
29146         * benchtests/bench-memmem-ifunc.c: New file.
29147         * benchtests/bench-memmem.c: New file.
29148         * benchtests/bench-memmove-ifunc.c: New file.
29149         * benchtests/bench-memmove.c: New file.
29150         * benchtests/bench-mempcpy-ifunc.c: New file.
29151         * benchtests/bench-mempcpy.c: New file.
29152         * benchtests/bench-memset-ifunc.c: New file.
29153         * benchtests/bench-memset.c: New file.
29154         * benchtests/bench-rawmemchr-ifunc.c: New file.
29155         * benchtests/bench-rawmemchr.c: New file.
29156         * benchtests/bench-stpcpy-ifunc.c: New file.
29157         * benchtests/bench-stpcpy.c: New file.
29158         * benchtests/bench-stpncpy-ifunc.c: New file.
29159         * benchtests/bench-stpncpy.c: New file.
29160         * benchtests/bench-strcasecmp-ifunc.c: New file.
29161         * benchtests/bench-strcasecmp.c: New file.
29162         * benchtests/bench-strcasestr-ifunc.c: New file.
29163         * benchtests/bench-strcasestr.c: New file.
29164         * benchtests/bench-strcat-ifunc.c: New file.
29165         * benchtests/bench-strcat.c: New file.
29166         * benchtests/bench-strchr-ifunc.c: New file.
29167         * benchtests/bench-strchr.c: New file.
29168         * benchtests/bench-strchrnul-ifunc.c: New file.
29169         * benchtests/bench-strchrnul.c: New file.
29170         * benchtests/bench-strcmp-ifunc.c: New file.
29171         * benchtests/bench-strcmp.c: New file.
29172         * benchtests/bench-strcpy-ifunc.c: New file.
29173         * benchtests/bench-strcpy.c: New file.
29174         * benchtests/bench-strcspn-ifunc.c: New file.
29175         * benchtests/bench-strcspn.c: New file.
29176         * benchtests/bench-strlen-ifunc.c: New file.
29177         * benchtests/bench-strlen.c: New file.
29178         * benchtests/bench-strncasecmp-ifunc.c: New file.
29179         * benchtests/bench-strncasecmp.c: New file.
29180         * benchtests/bench-strncat-ifunc.c: New file.
29181         * benchtests/bench-strncat.c: New file.
29182         * benchtests/bench-strncmp-ifunc.c: New file.
29183         * benchtests/bench-strncmp.c: New file.
29184         * benchtests/bench-strncpy-ifunc.c: New file.
29185         * benchtests/bench-strncpy.c: New file.
29186         * benchtests/bench-strnlen-ifunc.c: New file.
29187         * benchtests/bench-strnlen.c: New file.
29188         * benchtests/bench-strpbrk-ifunc.c: New file.
29189         * benchtests/bench-strpbrk.c: New file.
29190         * benchtests/bench-strrchr-ifunc.c: New file.
29191         * benchtests/bench-strrchr.c: New file.
29192         * benchtests/bench-strspn-ifunc.c: New file.
29193         * benchtests/bench-strspn.c: New file.
29194         * benchtests/bench-strstr-ifunc.c: New file.
29195         * benchtests/bench-strstr.c: New file.
29197         * benchtests/Makefile: Disable parallel execution of targets.
29198         (string-bench): Add memcpy.
29199         (benchset): New variable to store a list of benchmark sets.
29200         (bench-func): Renamed from bench.
29201         (bench-set): New target.
29202         (bench): Depend on bench-func and bench-set.
29203         * benchtests/README: Add section on benchmark sets.
29204         * benchtests/bench-memcpy-ifunc.c: New file.
29205         * benchtests/bench-memcpy.c: New file.
29206         * benchtests/bench-string.h: New file.
29208 2013-06-11  Andreas Schwab  <schwab@suse.de>
29210         [BZ #15577]
29211         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
29212         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
29213         values in the triple.
29214         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
29215         terminator in the group key.
29217 2013-06-11  Andreas Jaeger  <aj@suse.de>
29219         * po/zh_TW.po: Update Chinese (traditional) translation from
29220         translation project.
29222 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29224         * include/time.h (__clock_gettime): Add libc_hidden_proto.
29225         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
29226         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
29227         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29228         (clock_getcpuclockid): Likewise.
29229         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
29230         Add weak_alias and libc_hidden_def.
29231         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
29232         * rt/clock_gettime.c (clock_gettime): Rename to
29233         __clock_gettime.  Add weak_alias and libc_hidden_def.
29234         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
29235         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
29236         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
29237         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
29238         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
29239         Likewise.
29240         * rt/clock_settime.c (clock_settime): Rename to
29241         __clock_settime.  Add weak_alias and libc_hidden_def.
29242         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
29244 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
29246         * mach/err_boot.sub: Remove trailing whitespace.
29247         * mach/err_ipc.sub: Likewise.
29248         * mach/err_mach.sub: Likewise.
29250         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
29251         (ROUNDING_TESTS_double): Likewise.
29252         (ROUNDING_TESTS_long_double): Likewise.
29253         (ROUNDING_TESTS): Likewise.
29254         * math/libm-test.inc: Include <math-tests.h>.
29255         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
29256         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29257         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29258         (IF_ROUND_INIT_FE_UPWARD): Likewise.
29260 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29262         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
29263         of assigning.
29265 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
29267         * sysdeps/gnu/errlist.awk: Do not generate space at end of
29268         otherwise empty TRANS lines.
29269         * sysdeps/gnu/errlist.c: Regenerated.
29271         * catgets/gencat.c (error_print): Use (void) in function
29272         definition.
29273         * crypt/crypt_util.c (__init_des): Likewise.
29274         * crypt/speeds.c (Stop): Likewise.
29275         (main): Likewise.
29276         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
29277         * inet/ruserpass.c (token): Likewise.
29278         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
29279         * intl/localealias.c (extend_alias_table): Likewise.
29280         * intl/plural-exp.c (init_germanic_plural): Likewise.
29281         * libio/fcloseall.c (__fcloseall): Likewise.
29282         * libio/genops.c (_IO_flush_all): Likewise.
29283         (_IO_flush_all_linebuffered): Likewise.
29284         (_IO_cleanup): Likewise.
29285         (_IO_iter_begin): Likewise.
29286         (_IO_iter_end): Likewise.
29287         (_IO_list_lock): Likewise.
29288         (_IO_list_unlock): Likewise.
29289         (_IO_list_resetlock): Likewise.
29290         * libio/getchar.c (getchar): Likewise.
29291         * libio/getchar_u.c (getchar_unlocked): Likewise.
29292         * libio/getwchar.c (getwchar): Likewise.
29293         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
29294         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
29295         * login/getpt.c (__getpt): Likewise.
29296         * login/tst-utmp.c (main): Likewise.
29297         * malloc/hooks.c (__malloc_check_init): Likewise.
29298         * malloc/malloc.c (__malloc_stats): Likewise.
29299         * malloc/mtrace.c (tr_break): Likewise.
29300         (mtrace): Likewise.
29301         (muntrace): Likewise.
29302         * misc/fstab.c (endfsent): Likewise.
29303         * misc/getclktck.c (__getclktck): Likewise.
29304         * misc/getdtsz.c (__getdtablesize): Likewise.
29305         * misc/gethostid.c (gethostid): Likewise.
29306         * misc/getpagesize.c (__getpagesize): Likewise.
29307         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
29308         (__get_nprocs): Likewise.
29309         (__get_phys_pages): Likewise.
29310         (__get_avphys_pages): Likewise.
29311         * misc/getttyent.c (getttyent): Likewise.
29312         (setttyent): Likewise.
29313         (endttyent): Likewise.
29314         * misc/getusershell.c (getusershell): Likewise.
29315         (endusershell): Likewise.
29316         (setusershell): Likewise.
29317         (initshells): Likewise.
29318         * misc/hsearch.c (__hdestroy): Likewise.
29319         * misc/sync.c (sync): Likewise.
29320         * misc/syslog.c (closelog_internal): Likewise.
29321         (closelog): Likewise.
29322         * misc/ttyslot.c (ttyslot): Likewise.
29323         * misc/vhangup.c (vhangup): Likewise.
29324         * posix/fork.c (__fork): Likewise.
29325         * posix/getegid.c (__getegid): Likewise.
29326         * posix/geteuid.c (__geteuid): Likewise.
29327         * posix/getgid.c (__getgid): Likewise.
29328         * posix/getpid.c (__getpid): Likewise.
29329         * posix/getppid.c (__getppid): Likewise.
29330         * posix/getuid.c (__getuid): Likewise.
29331         * posix/pause.c (pause): Likewise.
29332         * posix/setpgrp.c (setpgrp): Likewise.
29333         * posix/setsid.c (__setsid): Likewise.
29334         * posix/test-vfork.c (noop): Likewise.
29335         * resolv/gethnamaddr.c (_endhtent): Likewise.
29336         (_gethtent): Likewise.
29337         (ht_endhostent): Likewise.
29338         (gethostent): Likewise.
29339         (dns_service): Likewise.
29340         * stdlib/drand48.c (drand48): Likewise.
29341         * stdlib/lrand48.c (lrand48): Likewise.
29342         * stdlib/mrand48.c (mrand48): Likewise.
29343         * stdlib/rand.c (rand): Likewise.
29344         * stdlib/random.c (__random): Likewise.
29345         * stdlib/setenv.c (clearenv): Likewise.
29346         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
29347         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
29348         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
29349         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
29350         (__get_nprocs): Likewise.
29351         (__get_phys_pages): Likewise.
29352         (__get_avphys_pages): Likewise.
29353         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
29354         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
29355         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
29356         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
29357         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
29358         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
29359         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
29360         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
29361         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
29362         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
29363         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
29364         * sysdeps/mach/hurd/sync.c (sync): Likewise.
29365         * sysdeps/posix/clock.c (clock): Likewise.
29366         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
29367         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
29368         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
29369         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
29370         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
29371         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29372         (__get_nprocs_conf): Likewise.
29373         (__get_phys_pages): Likewise.
29374         (__get_avphys_pages): Likewise.
29375         * time/clock.c (clock): Likewise.
29376         * time/tzset.c (__tzname_max): Likewise.
29378 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
29380         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
29381         (__bswap_32): Do not use "register".
29382         * crypt/crypt.c (_ufc_doit_r): Likewise.
29383         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
29384         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
29385         * gmon/gmon.c (__monstartup): Likewise.
29386         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
29387         * hurd/hurdmalloc.c (more_memory): Likewise.
29388         (malloc): Likewise.
29389         (free): Likewise.
29390         (realloc): Likewise.
29391         (malloc_fork_prepare): Likewise.
29392         (malloc_fork_parent): Likewise.
29393         (malloc_fork_child): Likewise.
29394         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
29395         (_svcauth_des): Likewise.
29396         * inet/inet_lnaof.c (inet_lnaof): Likewise.
29397         * inet/inet_net.c (inet_network): Likewise.
29398         * inet/inet_netof.c (inet_netof): Likewise.
29399         * inet/rcmd.c (__validuser2_sa): Likewise.
29400         * io/fts.c (fts_open): Likewise.
29401         (fts_load): Likewise.
29402         (fts_close): Likewise.
29403         (fts_read): Likewise.
29404         (fts_children): Likewise.
29405         (fts_build): Likewise.
29406         (fts_stat): Likewise.
29407         (fts_sort): Likewise.
29408         (fts_alloc): Likewise.
29409         (fts_lfree): Likewise.
29410         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
29411         (_IO_file_xsgetn): Likewise.
29412         (_IO_file_xsgetn_mmap): Likewise.
29413         * libio/iofopncook.c (_IO_cookie_read): Likewise.
29414         (_IO_cookie_write): Likewise.
29415         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
29416         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
29417         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
29418         * malloc/obstack.c (_obstack_begin): Likewise.
29419         (_obstack_begin_1): Likewise.
29420         (_obstack_newchunk): Likewise.
29421         (_obstack_allocated_p): Likewise.
29422         (obstack_free): Likewise.
29423         (_obstack_memory_used): Likewise.
29424         * misc/getttyent.c (getttynam): Likewise.
29425         (getttyent): Likewise.
29426         (skip): Likewise.
29427         (value): Likewise.
29428         * misc/getusershell.c (initshells): Likewise.
29429         * misc/syslog.c (__vsyslog_chk): Likewise.
29430         * misc/ttyslot.c (ttyslot): Likewise.
29431         * nis/nis_hash.c (__nis_hash): Likewise.
29432         * posix/fnmatch_loop.c (FCT): Likewise.
29433         * posix/getconf.c (print_all): Likewise.
29434         (main): Likewise.
29435         * posix/getopt.c (exchange): Likewise.
29436         * posix/glob.c (globfree): Likewise.
29437         (prefix_array): Likewise.
29438         (__glob_pattern_type): Likewise.
29439         * resolv/arpa/nameser.h (NS_GET16): Likewise.
29440         (NS_GET32): Likewise.
29441         (NS_PUT16): Likewise.
29442         (NS_PUT32): Likewise.
29443         * resolv/gethnamaddr.c (getanswer): Likewise.
29444         (gethostbyname2): Likewise.
29445         (gethostbyaddr): Likewise.
29446         (_gethtent): Likewise.
29447         (_gethtbyname2): Likewise.
29448         (_gethtbyaddr): Likewise.
29449         * resolv/ns_print.c (dst_s_get_int16): Likewise.
29450         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
29451         * resolv/res_init.c (__res_vinit): Likewise.
29452         (net_mask): Likewise.
29453         * resolv/res_mkquery.c (outchar): Likewise.
29454         (PRINT): Likewise.
29455         * stdio-common/printf_fp.c (outchar): Likewise.
29456         (PRINT): Likewise.
29457         * stdio-common/printf_fphex.c (outchar): Likewise.
29458         (PRINT): Likewise.
29459         * stdio-common/printf_size.c (outchar): Likewise.
29460         (PRINT): Likewise.
29461         * stdio-common/test_rdwr.c (main): Likewise.
29462         * stdio-common/tfformat.c (matches): Likewise.
29463         * stdio-common/vfprintf.c (outchar): Likewise.
29464         (printf_unknown): Likewise.
29465         (buffered_vfprintf): Likewise.
29466         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
29467         * stdio-common/xbug.c (AppendToBuffer): Likewise.
29468         (ReadFile): Likewise.
29469         * stdlib/qsort.c (SWAP): Likewise.
29470         (_quicksort): Likewise.
29471         * stdlib/setenv.c (__add_to_environ): Likewise.
29472         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
29473         * stdlib/strtol_l.c (__strtol_l): Likewise.
29474         * stdlib/tst-strtod.c (main): Likewise.
29475         * stdlib/tst-strtol.c (main): Likewise.
29476         * stdlib/tst-strtoll.c (main): Likewise.
29477         * string/bits/string2.h (__strcmp_cc): Likewise.
29478         (__strcmp_cg): Likewise.
29479         (__strcspn_c1): Likewise.
29480         (__strcspn_c2): Likewise.
29481         (__strcspn_c3): Likewise.
29482         (__strspn_c1): Likewise.
29483         (__strspn_c2): Likewise.
29484         (__strspn_c3): Likewise.
29485         (__strsep_1c): Likewise.
29486         (__strsep_2c): Likewise.
29487         (__strsep_3c): Likewise.
29488         * string/memccpy.c (__memccpy): Likewise.
29489         * string/stpcpy.c (__stpcpy): Likewise.
29490         * string/strcmp.c (strcmp): Likewise.
29491         * string/strrchr.c (strrchr): Likewise.
29492         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
29493         Likewise.
29494         * sysdeps/mach/hurd/getcwd.c
29495         (_hurd_canonicalize_directory_name_internal): Likewise.
29496         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
29497         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
29498         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
29499         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
29500         Likewise, in both definitions.
29501         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
29502         definitions.
29503         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
29504         64] (__bswap_64): Likewise.
29505         * time/test_time.c (main): Likewise.
29506         * time/tzfile.c (__tzfile_read): Likewise.
29507         (__tzfile_compute): Likewise.
29508         * time/tzset.c (__tzset_parse_tz): Likewise.
29509         (tzset_internal): Likewise.
29510         (compute_change): Likewise.
29511         * wcsmbs/wcscat.c (__wcscat): Likewise.
29512         * wcsmbs/wcschr.c (wcschr): Likewise.
29513         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29514         * wcsmbs/wcscspn.c (wcscspn): Likewise.
29515         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29516         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
29517         * wcsmbs/wcsspn.c (wcsspn): Likewise.
29518         * wcsmbs/wcsstr.c (wcsstr): Likewise.
29519         * wcsmbs/wmemchr.c (wmemchr): Likewise.
29520         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29521         * wcsmbs/wmemset.c (wmemset): Likewise.
29523 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
29525         * scripts/config.guess: Update to version 2013-05-16.
29526         * scripts/config.sub: Update to version 2013-04-24.
29527         * scripts/install-sh: Update to version 2011-11-20.07.
29528         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
29529         * scripts/move-if-change: Update to version 2012-01-06 07:23.
29531 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
29533         * debug/fgetws_u_chk.c: Fix leading whitespaces.
29534         * elf/sln.c: Likewise.
29535         * hurd/hurd/ioctl.h: Likewise.
29536         * hurd/hurdmalloc.c: Likewise.
29537         * hurd/xattr.c: Likewise.
29538         * include/shlib-compat.h: Likewise.
29539         * inet/ruserpass.c: Likewise.
29540         * libio/iofgets_u.c: Likewise.
29541         * libio/iofgetws_u.c: Likewise.
29542         * locale/programs/ld-identification.c: Likewise.
29543         * locale/programs/ld-time.c: Likewise.
29544         * mach/msg-destroy.c: Likewise.
29545         * nss/nss_files/files-netgrp.c: Likewise.
29546         * resolv/res_data.c: Likewise.
29547         * soft-fp/op-1.h: Likewise.
29548         * soft-fp/op-2.h: Likewise.
29549         * soft-fp/op-4.h: Likewise.
29550         * soft-fp/op-common.h: Likewise.
29551         * stdio-common/printf_fphex.c: Likewise.
29552         * stdlib/strtod_l.c: Likewise.
29553         * sunrpc/rpc/clnt.h: Likewise.
29554         * sysdeps/generic/framestate.c: Likewise.
29555         * sysdeps/i386/bsd-_setjmp.S: Likewise.
29556         * sysdeps/i386/bsd-setjmp.S: Likewise.
29557         * sysdeps/i386/__longjmp.S: Likewise.
29558         * sysdeps/i386/setjmp.S: Likewise.
29559         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29560         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29561         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29562         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29563         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29564         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29565         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29566         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29567         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29568         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29569         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29570         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29571         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29572         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29573         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29574         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29575         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29576         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
29577         * sysdeps/ieee754/support.c: Likewise.
29578         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29579         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
29580         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
29581         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
29582         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
29583         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
29584         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
29585         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
29586         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
29587         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
29588         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
29589         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
29590         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
29591         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
29592         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
29593         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
29594         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29597 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
29599         * posix/transbug.c: Remove executable mode.
29601 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
29603         * crypt/speeds.c: Remove trailing whitespace.
29604         * dlfcn/default.c: Likewise.
29605         * elf/ifuncdep2.c: Likewise.
29606         * elf/ifuncmain1.c: Likewise.
29607         * elf/ifuncmain1vis.c: Likewise.
29608         * elf/testobj.h: Likewise.
29609         * elf/tst-stackguard1.c: Likewise.
29610         * gmon/sys/gmon.h: Likewise.
29611         * hurd/hurdmsg.c: Likewise.
29612         * hurd/new-fd.c: Likewise.
29613         * hurd/ports-get.c: Likewise.
29614         * iconvdata/ibm1008_420.c: Likewise.
29615         * inet/tst-getni1.c: Likewise.
29616         * inet/tst-getni2.c: Likewise.
29617         * libio/ioungetc.c: Likewise.
29618         * libio/wfiledoalloc.c: Likewise.
29619         * manual/libm-err-tab.pl: Likewise.
29620         * math/w_dremf.c: Likewise.
29621         * misc/ftruncate.c: Likewise.
29622         * posix/bug-glob2.c: Likewise.
29623         * posix/tst-pcre.c: Likewise.
29624         * posix/wait4.c: Likewise.
29625         * resolv/README: Likewise.
29626         * resolv/res_debug.h: Likewise.
29627         * resolv/tst-inet_ntop.c: Likewise.
29628         * setjmp/bug269-setjmp.c: Likewise.
29629         * soft-fp/extended.h: Likewise.
29630         * soft-fp/op-1.h: Likewise.
29631         * soft-fp/op-2.h: Likewise.
29632         * soft-fp/op-4.h: Likewise.
29633         * soft-fp/op-8.h: Likewise.
29634         * soft-fp/testit.c: Likewise.
29635         * stdio-common/bug16.c: Likewise.
29636         * stdlib/random.c: Likewise.
29637         * sunrpc/rpcsvc/rquota.x: Likewise.
29638         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
29639         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29640         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29641         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29642         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29643         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29644         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29645         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29646         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29647         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29648         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29649         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29650         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29651         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29652         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29653         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29654         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29655         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29656         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29657         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29658         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29659         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29660         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
29661         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29662         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29663         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29664         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29665         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29666         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29667         * sysdeps/ieee754/s_lib_version.c: Likewise.
29668         * sysdeps/mach/hurd/check_fds.c: Likewise.
29669         * sysdeps/mach/hurd/getsockname.c: Likewise.
29670         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
29671         * sysdeps/mach/hurd/recvfrom.c: Likewise.
29672         * sysdeps/powerpc/bits/link.h: Likewise.
29673         * sysdeps/powerpc/dl-procinfo.c: Likewise.
29674         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
29675         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
29676         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
29677         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29678         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29679         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
29680         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29681         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
29682         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29683         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
29684         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29685         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
29686         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29687         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29688         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29689         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29690         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29691         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29692         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29693         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29694         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
29695         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29696         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29697         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
29698         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29699         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29700         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29701         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29702         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29703         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29704         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29705         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29706         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29707         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
29708         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29709         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
29710         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29711         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
29712         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
29713         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
29714         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
29715         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
29716         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
29717         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29718         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
29719         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
29720         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29721         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
29722         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
29723         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29724         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29725         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29726         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29727         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
29728         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
29729         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
29730         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29731         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
29732         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
29733         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
29734         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
29735         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
29736         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29737         * sysdeps/powerpc/sysdep.h: Likewise.
29738         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29739         * sysdeps/s390/s390-64/sub_n.S: Likewise.
29740         * sysdeps/sh/dl-trampoline.S: Likewise.
29741         * sysdeps/sh/memset.S: Likewise.
29742         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
29743         * sysdeps/sh/strlen.S: Likewise.
29744         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
29745         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
29746         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
29747         * sysdeps/sparc/sparc32/rem.S: Likewise.
29748         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
29749         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
29750         * sysdeps/sparc/sparc32/strchr.S: Likewise.
29751         * sysdeps/sparc/sparc32/udiv.S: Likewise.
29752         * sysdeps/sparc/sparc32/urem.S: Likewise.
29753         * sysdeps/sparc/sparc64/add_n.S: Likewise.
29754         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29755         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
29756         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
29757         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
29758         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
29759         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
29760         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
29761         * sysdeps/unix/bsd/times.c: Likewise.
29762         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
29763         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
29764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
29767         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
29768         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29769         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
29770         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
29771         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
29772         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
29773         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29774         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
29775         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29776         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29777         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
29778         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29779         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
29780         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
29781         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
29782         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
29783         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
29784         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29785         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
29786         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
29787         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
29788         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
29789         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29790         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
29791         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
29792         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
29793         * sysdeps/x86_64/strcspn.S: Likewise.
29795 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29797         * locale/C-translit.h: Revert #include <stdint.h> because this is a
29798         generated file.  Regenerate properly from gen-translit.pl.
29799         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
29800         locale/C-translit.h.
29802 2013-06-05  Andreas Schwab  <schwab@suse.de>
29804         [BZ #15100]
29805         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
29806         week as 6 instead of -1.
29807         * time/tst-strptime.c (day_tests): Add test case.
29809 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29811         * sysdeps/generic/math_private.h
29812         (libc_feholdexcept_setround_53bit): Replace with
29813         libc_feholdsetround_53bit.
29814         (libc_feupdateenv_53bit): Replace with
29815         libc_feresetround_53bit.
29816         (SET_RESTORE_ROUND_53BIT): Adjust.
29818 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
29820         * string/test-strchrnul.c: Add copyright header.
29822         * posix/tst-getaddrinfo4.c: Increase test timeout.
29824 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
29826         [BZ #15536]
29827         * math/libm-test.inc (MAX_EXP): Remove
29828         (MIN_EXP): Define.
29829         (ulp): Use MIN_EXP - MANT_DIG.
29830         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
29832 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
29834         * po/be.po: Revert last change.
29835         * po/zh_CN.po: Likewise.
29836         * po/header.pot: Likewise.
29838 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
29840         * Makefile ($(common-objpfx)linkobj/libc.so): Define
29841         link-libc-deps to empty as target-specific variable.
29842         * Makerules (link-libc-args): New variable.
29843         (libc-for-link): Likewise.
29844         (link-libc-deps): Likewise.
29845         (lib%.so): Depend on $(link-libc-deps).  Link with
29846         $(link-libc-args).
29847         (build-module): Link with $(link-libc-args).
29848         (build-module-asneeded): Likewise.
29849         (build-module-helper-objlist): Filter out $(link-libc-deps) from
29850         list of objects.
29851         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
29852         target-specific variable.
29853         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
29854         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
29855         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
29856         libc.
29857         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
29858         libc and ld.so.
29859         ($(objpfx)libpcprofile.so): Likewise.
29860         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
29861         libc_nonshared.a.
29862         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
29863         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
29864         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
29865         $(link-libc-deps).
29866         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
29867         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
29868         * login/Makefile ($(objpfx)libutil.so): Likewise.
29869         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
29870         * math/Makefile ($(objpfx)libm.so): Likewise.
29871         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
29872         $(objpfx)libnsl.so): Define libc-for-link as target-specific
29873         variable instead of depending directly on libc.
29874         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
29875         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
29876         $(link-libc-deps).
29877         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
29878         libc.
29879         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
29880         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
29881         ($(objpfx)libanl.so): Likewise.
29882         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
29883         ld.so.
29884         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
29885         $(link-libc-deps).
29886         * sysdeps/i386/fpu/Makefile: Remove file.
29887         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
29888         ($(objpfx)libm.so): Remove dependency on ld.so.
29890 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
29892         [BZ # 15553]
29893         * nis/yp_xdr.c (XDRMAXNAME): Define.
29894         (XDRMAXRECORD): Define.
29895         (xdr_domainname): Use XDRMAXNAME.
29896         (xdr_mapname): Likewise.
29897         (xdr_peername): Likewise.
29898         (xdr_keydat): Use XDRMAXRECORD.
29899         (xdr_valdat): Likewise.
29901 2013-05-30  Jeff Law  <law@redhat.com>
29903         [BZ #14256]
29904         * manual/errno.texi (ESTALE): Update to account for more than
29905         just NFS file systems.
29906         * sysdeps/gnu/errlist.c: Regenerated.
29908 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29910         [BZ #15465]
29911         * elf/Makefile (tests): Add tst-null-argv.
29912         (modules-names):  Add tst-null-argv-lib.
29913         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
29914         (tst-null-argv-ENV): Set environment for tst-null-argv.
29915         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
29916         (RTLD_PROGNAME): New macro.
29917         * elf/tst-null-argv.c: New test case.
29918         * elf/tst-null-argv-lib.c: Library for test case.
29919         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
29920         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
29921         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
29922         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
29923         * elf/dl-init.c (call_init): Likewise.
29924         (_dl_init): Likewise.
29925         * elf/dl-load.c (print_search_path): Likewise.
29926         (_dl_map_object): Likewise.
29927         * elf/dl-lookup.c (do_lookup_x): Likewise.
29928         (add_dependency): Likewise.
29929         (_dl_lookup_symbol_x): Likewise.
29930         (_dl_debug_bindings): Likewise.
29931         * elf/dl-open.c (_dl_show_scope): Likewise.
29932         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29933         * elf/dl-version.c (match_symbol): Likewise.
29934         (_dl_check_map_versions): Likewise.
29935         * elf/rtld.c (dl_main): Likewise.
29936         (print_unresolved): Use RTLD_PROGNAME.
29937         (print_missing_version): Likewise.
29938         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
29939         (elf_machine_rela): Likewise.
29940         * sysdeps/powerpc/powerpc32/dl-machine.c
29941         (__process_machine_rela): Likewise.
29942         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29943         Likewise.
29944         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29945         Likewise.
29946         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29947         Likewise.
29948         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29949         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
29950         Likewise.
29951         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
29952         Likewise.
29953         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29955 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
29957         * po/be.po: Add descriptive title.
29958         * po/zh_CN.po: Likewise.
29959         * po/header.pot: Likewise.
29961 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
29963         * locale/programs/locarchive.c (create_archive): Inlucde fname in
29964         error message.
29965         (enlarge_archive): Likewise.
29967 2013-05-28  Ben North  <ben@redfrontdoor.org>
29969         * manual/arith.texi (frexp): It is the magnitude of the return
29970         value which lies in [0.5, 1), not the return value itself.
29972 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29976 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
29978         * stdio-common/bug26.c (main): Correct fscanf template.
29980         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
29981         declare _dl_skip_args.
29983         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
29984         Don't declare.
29986         * manual/platform.texi: Add missing @end deftypefun.
29988 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
29990         [BZ #15529]
29991         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
29992         bit of mantissa of 2^16382.
29993         * math/libm-test.inc (hypot_test_data): Add more tests.
29995         * math/libm-test.inc: Add drem and pow10 to list of tested
29996         functions.
29997         (pow10_test): New function.
29998         (drem_test): Likewise.
29999         (drem_test_tonearest): Likewise.
30000         (drem_test_towardzero): Likewise.
30001         (drem_test_downward): Likewise.
30002         (drem_test_upward): Likewise.
30003         (main): Call the new functions.
30005         * math/libm-test.inc (finite_test_data): Remove.
30006         (finite_test): Run tests from isfinite_test_data.
30007         (gamma_test_data): Remove.
30008         (gamma_test): Run tests from lgamma_test_data.
30009         * sysdeps/i386/fpu/libm-test-ulps: Update.
30010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30012 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30014         * manual/platform.texi: Add PowerPC PPR function set documentation.
30015         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
30016         implementation.
30018 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
30020         * math/libm-test.inc (MAX_EXP): Define.
30021         (ULPDIFF): Define.
30022         (ulp): New function.
30023         (check_float_internal): Use ULPDIFF.
30024         (cpow_test): Disable failing test.
30025         (check_ulp): Test ulp() implemetnation.
30026         (main): Call check_ulp before starting tests.
30028 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
30030         * math/gen-libm-test.pl (generate_testfile): Do not handle
30031         START_DATA and END_DATA.
30032         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
30033         END_DATA.
30034         (acos_tonearest_test_data): Likewise.
30035         (acos_towardzero_test_data): Likewise.
30036         (acos_downward_test_data): Likewise.
30037         (acos_upward_test_data): Likewise.
30038         (acosh_test_data): Likewise.
30039         (asin_test_data): Likewise.
30040         (asin_tonearest_test_data): Likewise.
30041         (asin_towardzero_test_data): Likewise.
30042         (asin_downward_test_data): Likewise.
30043         (asin_upward_test_data): Likewise.
30044         (asinh_test_data): Likewise.
30045         (atan_test_data): Likewise.
30046         (atanh_test_data): Likewise.
30047         (atan2_test_data): Likewise.
30048         (cabs_test_data): Likewise.
30049         (cacos_test_data): Likewise.
30050         (cacosh_test_data): Likewise.
30051         (carg_test_data): Likewise.
30052         (casin_test_data): Likewise.
30053         (casinh_test_data): Likewise.
30054         (catan_test_data): Likewise.
30055         (catanh_test_data): Likewise.
30056         (cbrt_test_data): Likewise.
30057         (ccos_test_data): Likewise.
30058         (ccosh_test_data): Likewise.
30059         (ceil_test_data): Likewise.
30060         (cexp_test_data): Likewise.
30061         (cimag_test_data): Likewise.
30062         (clog_test_data): Likewise.
30063         (clog10_test_data): Likewise.
30064         (conj_test_data): Likewise.
30065         (copysign_test_data): Likewise.
30066         (cos_test_data): Likewise.
30067         (cos_tonearest_test_data): Likewise.
30068         (cos_towardzero_test_data): Likewise.
30069         (cos_downward_test_data): Likewise.
30070         (cos_upward_test_data): Likewise.
30071         (cosh_test_data): Likewise.
30072         (cosh_tonearest_test_data): Likewise.
30073         (cosh_towardzero_test_data): Likewise.
30074         (cosh_downward_test_data): Likewise.
30075         (cosh_upward_test_data): Likewise.
30076         (cpow_test_data): Likewise.
30077         (cproj_test_data): Likewise.
30078         (creal_test_data): Likewise.
30079         (csin_test_data): Likewise.
30080         (csinh_test_data): Likewise.
30081         (csqrt_test_data): Likewise.
30082         (ctan_test_data): Likewise.
30083         (ctan_tonearest_test_data): Likewise.
30084         (ctan_towardzero_test_data): Likewise.
30085         (ctan_downward_test_data): Likewise.
30086         (ctan_upward_test_data): Likewise.
30087         (ctanh_test_data): Likewise.
30088         (ctanh_tonearest_test_data): Likewise.
30089         (ctanh_towardzero_test_data): Likewise.
30090         (ctanh_downward_test_data): Likewise.
30091         (ctanh_upward_test_data): Likewise.
30092         (erf_test_data): Likewise.
30093         (erfc_test_data): Likewise.
30094         (exp_test_data): Likewise.
30095         (exp_tonearest_test_data): Likewise.
30096         (exp_towardzero_test_data): Likewise.
30097         (exp_downward_test_data): Likewise.
30098         (exp_upward_test_data): Likewise.
30099         (exp10_test_data): Likewise.
30100         (exp2_test_data): Likewise.
30101         (expm1_test_data): Likewise.
30102         (fabs_test_data): Likewise.
30103         (fdim_test_data): Likewise.
30104         (finite_test_data): Likewise.
30105         (floor_test_data): Likewise.
30106         (fma_test_data): Likewise.
30107         (fma_towardzero_test_data): Likewise.
30108         (fma_downward_test_data): Likewise.
30109         (fma_upward_test_data): Likewise.
30110         (fmax_test_data): Likewise.
30111         (fmin_test_data): Likewise.
30112         (fmod_test_data): Likewise.
30113         (fpclassify_test_data): Likewise.
30114         (frexp_test_data): Likewise.
30115         (gamma_test_data): Likewise.
30116         (hypot_test_data): Likewise.
30117         (ilogb_test_data): Likewise.
30118         (isfinite_test_data): Likewise.
30119         (isgreater_test_data): Likewise.
30120         (isgreaterequal_test_data): Likewise.
30121         (isinf_test_data): Likewise.
30122         (isless_test_data): Likewise.
30123         (islessequal_test_data): Likewise.
30124         (islessgreater_test_data): Likewise.
30125         (isnan_test_data): Likewise.
30126         (isnormal_test_data): Likewise.
30127         (issignaling_test_data): Likewise.
30128         (isunordered_test_data): Likewise.
30129         (j0_test_data): Likewise.
30130         (j1_test_data): Likewise.
30131         (jn_test_data): Likewise.
30132         (ldexp_test_data): Likewise.
30133         (lgamma_test_data): Likewise.
30134         (lrint_test_data): Likewise.
30135         (lrint_tonearest_test_data): Likewise.
30136         (lrint_towardzero_test_data): Likewise.
30137         (lrint_downward_test_data): Likewise.
30138         (lrint_upward_test_data): Likewise.
30139         (llrint_test_data): Likewise.
30140         (llrint_tonearest_test_data): Likewise.
30141         (llrint_towardzero_test_data): Likewise.
30142         (llrint_downward_test_data): Likewise.
30143         (llrint_upward_test_data): Likewise.
30144         (log_test_data): Likewise.
30145         (log10_test_data): Likewise.
30146         (log1p_test_data): Likewise.
30147         (log2_test_data): Likewise.
30148         (logb_test_data): Likewise.
30149         (logb_downward_test_data): Likewise.
30150         (lround_test_data): Likewise.
30151         (llround_test_data): Likewise.
30152         (modf_test_data): Likewise.
30153         (nearbyint_test_data): Likewise.
30154         (nextafter_test_data): Likewise.
30155         (nexttoward_test_data): Likewise.
30156         (pow_test_data): Likewise.
30157         (pow_tonearest_test_data): Likewise.
30158         (pow_towardzero_test_data): Likewise.
30159         (pow_downward_test_data): Likewise.
30160         (pow_upward_test_data): Likewise.
30161         (remainder_test_data): Likewise.
30162         (remainder_tonearest_test_data): Likewise.
30163         (remainder_towardzero_test_data): Likewise.
30164         (remainder_downward_test_data): Likewise.
30165         (remainder_upward_test_data): Likewise.
30166         (remquo_test_data): Likewise.
30167         (rint_test_data): Likewise.
30168         (rint_tonearest_test_data): Likewise.
30169         (rint_towardzero_test_data): Likewise.
30170         (rint_downward_test_data): Likewise.
30171         (rint_upward_test_data): Likewise.
30172         (round_test_data): Likewise.
30173         (scalb_test_data): Likewise.
30174         (scalbn_test_data): Likewise.
30175         (scalbln_test_data): Likewise.
30176         (signbit_test_data): Likewise.
30177         (sin_test_data): Likewise.
30178         (sin_tonearest_test_data): Likewise.
30179         (sin_towardzero_test_data): Likewise.
30180         (sin_downward_test_data): Likewise.
30181         (sin_upward_test_data): Likewise.
30182         (sincos_test_data): Likewise.
30183         (sinh_test_data): Likewise.
30184         (sinh_tonearest_test_data): Likewise.
30185         (sinh_towardzero_test_data): Likewise.
30186         (sinh_downward_test_data): Likewise.
30187         (sinh_upward_test_data): Likewise.
30188         (sqrt_test_data): Likewise.
30189         (tan_test_data): Likewise.
30190         (tan_tonearest_test_data): Likewise.
30191         (tan_towardzero_test_data): Likewise.
30192         (tan_downward_test_data): Likewise.
30193         (tan_upward_test_data): Likewise.
30194         (tanh_test_data): Likewise.
30195         (tgamma_test_data): Likewise.
30196         (trunc_test_data): Likewise.
30197         (y0_test_data): Likewise.
30198         (y1_test_data): Likewise.
30199         (yn_test_data): Likewise.
30200         (significand_test_data): Likewise.
30202         * math/gen-libm-test.pl (@functions): Remove variable.
30203         (generate_testfile): Don't handle START and END lines.
30204         * math/libm-test.inc (START): New macro.
30205         (END): Likewise.
30206         (END_COMPLEX): Likewise.
30207         (acos_test): Use END macro without arguments.
30208         (acos_test_tonearest): Likewise.
30209         (acos_test_towardzero): Likewise.
30210         (acos_test_downward): Likewise.
30211         (acos_test_upward): Likewise.
30212         (acosh_test): Likewise.
30213         (asin_test): Likewise.
30214         (asin_test_tonearest): Likewise.
30215         (asin_test_towardzero): Likewise.
30216         (asin_test_downward): Likewise.
30217         (asin_test_upward): Likewise.
30218         (asinh_test): Likewise.
30219         (atan_test): Likewise.
30220         (atanh_test): Likewise.
30221         (atan2_test): Likewise.
30222         (cabs_test): Likewise.
30223         (cacos_test): Use END_COMPLEX macro without arguments.
30224         (cacosh_test): Likewise.
30225         (carg_test): Use END macro without arguments.
30226         (casin_test): Use END_COMPLEX macro without arguments.
30227         (casinh_test): Likewise.
30228         (catan_test): Likewise.
30229         (catanh_test): Likewise.
30230         (cbrt_test): Use END macro without arguments.
30231         (ccos_test): Use END_COMPLEX macro without arguments.
30232         (ccosh_test): Likewise.
30233         (ceil_test): Use END macro without arguments.
30234         (cexp_test): Use END_COMPLEX macro without arguments.
30235         (cimag_test): Use END macro without arguments.
30236         (clog_test): Use END_COMPLEX macro without arguments.
30237         (clog10_test): Likewise.
30238         (conj_test): Likewise.
30239         (copysign_test): Use END macro without arguments.
30240         (cos_test): Likewise.
30241         (cos_test_tonearest): Likewise.
30242         (cos_test_towardzero): Likewise.
30243         (cos_test_downward): Likewise.
30244         (cos_test_upward): Likewise.
30245         (cosh_test): Likewise.
30246         (cosh_test_tonearest): Likewise.
30247         (cosh_test_towardzero): Likewise.
30248         (cosh_test_downward): Likewise.
30249         (cosh_test_upward): Likewise.
30250         (cpow_test): Use END_COMPLEX macro without arguments.
30251         (cproj_test): Likewise.
30252         (creal_test): Use END macro without arguments.
30253         (csin_test): Use END_COMPLEX macro without arguments.
30254         (csinh_test): Likewise.
30255         (csqrt_test): Likewise.
30256         (ctan_test): Likewise.
30257         (ctan_test_tonearest): Likewise.
30258         (ctan_test_towardzero): Likewise.
30259         (ctan_test_downward): Likewise.
30260         (ctan_test_upward): Likewise.
30261         (ctanh_test): Likewise.
30262         (ctanh_test_tonearest): Likewise.
30263         (ctanh_test_towardzero): Likewise.
30264         (ctanh_test_downward): Likewise.
30265         (ctanh_test_upward): Likewise.
30266         (erf_test): Use END macro without arguments.
30267         (erfc_test): Likewise.
30268         (exp_test): Likewise.
30269         (exp_test_tonearest): Likewise.
30270         (exp_test_towardzero): Likewise.
30271         (exp_test_downward): Likewise.
30272         (exp_test_upward): Likewise.
30273         (exp10_test): Likewise.
30274         (exp2_test): Likewise.
30275         (expm1_test): Likewise.
30276         (fabs_test): Likewise.
30277         (fdim_test): Likewise.
30278         (finite_test): Likewise.
30279         (floor_test): Likewise.
30280         (fma_test): Likewise.
30281         (fma_test_towardzero): Likewise.
30282         (fma_test_downward): Likewise.
30283         (fma_test_upward): Likewise.
30284         (fmax_test): Likewise.
30285         (fmin_test): Likewise.
30286         (fmod_test): Likewise.
30287         (fpclassify_test): Likewise.
30288         (frexp_test): Likewise.
30289         (gamma_test): Likewise.
30290         (hypot_test): Likewise.
30291         (ilogb_test): Likewise.
30292         (isfinite_test): Likewise.
30293         (isgreater_test): Likewise.
30294         (isgreaterequal_test): Likewise.
30295         (isinf_test): Likewise.
30296         (isless_test): Likewise.
30297         (islessequal_test): Likewise.
30298         (islessgreater_test): Likewise.
30299         (isnan_test): Likewise.
30300         (isnormal_test): Likewise.
30301         (issignaling_test): Likewise.
30302         (isunordered_test): Likewise.
30303         (j0_test): Likewise.
30304         (j1_test): Likewise.
30305         (jn_test): Likewise.
30306         (ldexp_test): Likewise.
30307         (lgamma_test): Likewise.
30308         (lrint_test): Likewise.
30309         (lrint_test_tonearest): Likewise.
30310         (lrint_test_towardzero): Likewise.
30311         (lrint_test_downward): Likewise.
30312         (lrint_test_upward): Likewise.
30313         (llrint_test): Likewise.
30314         (llrint_test_tonearest): Likewise.
30315         (llrint_test_towardzero): Likewise.
30316         (llrint_test_downward): Likewise.
30317         (llrint_test_upward): Likewise.
30318         (log_test): Likewise.
30319         (log10_test): Likewise.
30320         (log1p_test): Likewise.
30321         (log2_test): Likewise.
30322         (logb_test): Likewise.
30323         (logb_test_downward): Likewise.
30324         (lround_test): Likewise.
30325         (llround_test): Likewise.
30326         (modf_test): Likewise.
30327         (nearbyint_test): Likewise.
30328         (nextafter_test): Likewise.
30329         (nexttoward_test): Likewise.
30330         (pow_test): Likewise.
30331         (pow_test_tonearest): Likewise.
30332         (pow_test_towardzero): Likewise.
30333         (pow_test_downward): Likewise.
30334         (pow_test_upward): Likewise.
30335         (remainder_test): Likewise.
30336         (remainder_test_tonearest): Likewise.
30337         (remainder_test_towardzero): Likewise.
30338         (remainder_test_downward): Likewise.
30339         (remainder_test_upward): Likewise.
30340         (remquo_test): Likewise.
30341         (rint_test): Likewise.
30342         (rint_test_tonearest): Likewise.
30343         (rint_test_towardzero): Likewise.
30344         (rint_test_downward): Likewise.
30345         (rint_test_upward): Likewise.
30346         (round_test): Likewise.
30347         (scalb_test): Likewise.
30348         (scalbn_test): Likewise.
30349         (scalbln_test): Likewise.
30350         (signbit_test): Likewise.
30351         (sin_test): Likewise.
30352         (sin_test_tonearest): Likewise.
30353         (sin_test_towardzero): Likewise.
30354         (sin_test_downward): Likewise.
30355         (sin_test_upward): Likewise.
30356         (sincos_test): Likewise.
30357         (sinh_test): Likewise.
30358         (sinh_test_tonearest): Likewise.
30359         (sinh_test_towardzero): Likewise.
30360         (sinh_test_downward): Likewise.
30361         (sinh_test_upward): Likewise.
30362         (sqrt_test): Likewise.
30363         (tan_test): Likewise.
30364         (tan_test_tonearest): Likewise.
30365         (tan_test_towardzero): Likewise.
30366         (tan_test_downward): Likewise.
30367         (tan_test_upward): Likewise.
30368         (tanh_test): Likewise.
30369         (tgamma_test): Likewise.
30370         (trunc_test): Likewise.
30371         (y0_test): Likewise.
30372         (y1_test): Likewise.
30373         (yn_test): Likewise.
30374         (significand_test): Likewise.
30376 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
30378         [BZ #15381]
30379         * libio/genops.c (_IO_no_init): Initialize wide struct info.
30381 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
30383         [BZ #14894]
30384         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
30385         __ppc_mdoio and __ppc_mdoom.
30386         * manual/platform.texi: Document new functions __ppc_yield,
30387         __ppc_mdoio and __ppc_mdoom.
30389 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
30391         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
30392         (main): Mention "tls" pseudo-hwcap is legacy.
30393         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
30395 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
30397         * math/gen-libm-test.pl (parse_args): Output only string of
30398         arguments as text for test name, not full call or descriptions of
30399         tests for extra outputs.
30400         (generate_testfile): Do not pass function name to parse_args.
30401         Generate this_func variable from START.
30402         * math/libm-test.inc (struct test_f_f_data): Rename test_name
30403         field to arg_str.
30404         (struct test_ff_f_data): Likewise.
30405         (test_ff_f_data_nexttoward): Likewise.
30406         (struct test_fi_f_data): Likewise.
30407         (struct test_fl_f_data): Likewise.
30408         (struct test_if_f_data): Likewise.
30409         (struct test_fff_f_data): Likewise.
30410         (struct test_c_f_data): Likewise.
30411         (struct test_f_f1_data): Likewise.  Remove field extra_name.
30412         (struct test_fF_f1_data): Likewise.
30413         (struct test_ffI_f1_data): Likewise.
30414         (struct test_c_c_data): Rename test_name field to arg_str.
30415         (struct test_cc_c_data): Likewise.
30416         (struct test_f_i_data): Likewise.
30417         (struct test_ff_i_data): Likewise.
30418         (struct test_f_l_data): Likewise.
30419         (struct test_f_L_data): Likewise.
30420         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
30421         and extra2_name.
30422         (COMMON_TEST_SETUP): New macro.
30423         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
30424         (COMMON_TEST_CLEANUP): Likewise.
30425         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
30426         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
30427         macros.
30428         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
30429         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
30430         macros.
30431         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
30432         (RUN_TEST_fff_f): Take argument string.  Call new setup and
30433         cleanup macros.
30434         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
30435         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
30436         macros.
30437         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
30438         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
30439         macros.
30440         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30441         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
30442         cleanup macros.
30443         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30444         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
30445         cleanup macros.
30446         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30447         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
30448         cleanup macros.
30449         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30450         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
30451         macros.
30452         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
30453         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
30454         macros.
30455         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
30456         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
30457         macros.
30458         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
30459         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
30460         cleanup macros.
30461         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
30462         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
30463         cleanup macros.
30464         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
30465         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
30466         macros.
30467         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
30468         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
30469         cleanup macros.
30470         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
30471         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
30472         macros.
30473         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
30474         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
30475         macros.
30476         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
30477         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
30478         cleanup macros.
30479         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
30481 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
30483         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
30484         to _sifields.sigfault.
30485         (si_addr_lsb): Define new macro.
30486         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30487         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30488         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
30490 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
30492         [BZ #15441]
30493         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
30494         returns -1.
30495         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
30496         null return -1.
30497         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
30498         loading the domain.
30500 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
30502         * math/gen-libm-test.pl (parse_args): Do not include expected
30503         result in test name.
30504         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
30505         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30506         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30507         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30508         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30511 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30513         * benchtests/Makefile: Sort function entries.
30515         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
30516         tanh, asinh, acosh, atanh.
30517         * benchtests/acos-inputs: New file.
30518         * benchtests/acosh-inputs: New file.
30519         * benchtests/asin-inputs: New file.
30520         * benchtests/asinh-inputs: New file.
30521         * benchtests/atanh-inputs: New file.
30522         * benchtests/cosh-inputs: New file.
30523         * benchtests/log-inputs: New file.
30524         * benchtests/sinh-inputs: New file.
30525         * benchtests/tanh-inputs: New file.
30527 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
30529         [BZ #15339]
30530         * posix/tst-getaddrinfo4.c: New test.
30531         * posix/Makefile (tests): Add it.
30533 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30535         [BZ #15339]
30536         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
30537         when no services were used.
30538         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
30539         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
30541 2013-05-21  Andreas Schwab  <schwab@suse.de>
30543         [BZ #15014]
30544         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
30545         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
30546         successful.
30547         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
30548         redundant variable declarations and reallocation of buffer when
30549         parsing as IPv6 address.  Always set NSS status when called from
30550         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
30551         buffer too small.  Correct computation of needed size.
30552         * nss/Makefile (tests): Add test-digits-dots.
30553         * nss/test-digits-dots.c: New test.
30555 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30557         * benchtests/Makefile: Remove instructions for adding
30558         benchmark tests.
30559         * benchtests/README: New file to explain how to execute and
30560         enhance the benchmark tests.
30562 2013-05-21  Andreas Schwab  <schwab@suse.de>
30564         [BZ #15493]
30565         * setjmp/Makefile (tests): Add tst-sigsetjmp.
30566         * setjmp/tst-sigsetjmp.c: New test.
30568 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
30570         * sysdeps/x86_64/memset.S (memset): New implementation.
30571         (__bzero): Likewise.
30572         (__memset_tail): New function.
30574 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
30576         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
30577         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
30578         __memcpy_sse2_unaligned ifunc selection.
30579         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30580         Add memcpy-sse2-unaligned.S.
30581         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30582         Add: __memcpy_sse2_unaligned.
30584 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
30586         [BZ #15490]
30587         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30588         math_force_eval before restoring floating-point envrionment.
30589         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
30590         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30591         Likewise.
30592         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
30593         <math_private.h>.
30594         (__nearbyintl): Use math_force_eval before restoring
30595         floating-point environment.
30596         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
30598         * math/gen-libm-test.pl (special_functions): Remove.
30599         (parse_args): Don't handle TEST_extra.  Handle functions with no
30600         return value.
30601         * math/libm-test.inc (struct test_sincos_data): Replace with
30602         struct test_fFF_11_data.
30603         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
30604         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
30605         (sincos_test_data): Change element type to struct
30606         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
30607         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
30608         RUN_TEST_LOOP_sincos.
30609         * math/README.libm-test: Don't mention special handling of
30610         individual functions.
30611         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
30612         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30613         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30614         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30615         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30618         * math/gen-libm-test.pl (get_variable): Remove function.
30619         (parse_args): Don't show pointer parameters to call in test
30620         names.  Use "extra output N" in test names for extra outputs
30621         rather than naming variables.
30623 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
30625         [BZ #15488]
30626         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
30627         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
30628         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
30629         double tests.
30630         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
30631         disable.
30632         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
30633         check_long_double.
30635         * math/gen-libm-test.pl (@tests): Remove variable.
30636         ($count): Likewise.
30637         (new_test): Remove function.
30638         (show_exceptions): New function.
30639         (special_functions): Use show_exceptions instead of new_test.
30640         (parse_args): Likewise.
30641         (generate_testfile): Pass only function name in generated call to
30642         print_max_error or print_complex_max_error.
30643         (get_ulps): Do not handle complex tests specially.
30644         (output_test): Rename to ...
30645         (get_all_ulps_for_test): ... this.  Return a string rather than
30646         printing to a file.  Require ulps to be present.
30647         (output_ulps): Generate arrays rather than #defines.
30648         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
30649         (struct ulp_data): New type.
30650         (BUILD_COMPLEX_ULP): Remove macro.
30651         (compare_ulp_data): New function.
30652         (find_ulps): Likewise.
30653         (find_test_ulps): Likewise.
30654         (find_function_ulps): Likewise.
30655         (find_complex_function_ulps): Likewise.
30656         (print_max_error): Determine allowed ulps using
30657         find_function_ulps.
30658         (print_complex_max_error): Determine allowed ulps using
30659         find_complex_function_ulps.
30660         (check_float_internal): Determine max ulps using find_test_ulps.
30661         (check_float): Do not take max_ulp parameter.  Update call to
30662         check_float_internal.
30663         (check_complex): Likewise.
30664         (check_int): Do not take max_ulp parameter.
30665         (check_long): Likewise.
30666         (check_bool): Likewise.
30667         (check_longlong): Likewise.
30668         (struct test_f_f_data): Remove max_ulp field.
30669         (struct test_ff_f_data): Likewise.
30670         (struct test_ff_f_data_nexttoward): Likewise.
30671         (struct test_fi_f_data): Likewise.
30672         (struct test_fl_f_data): Likewise.
30673         (struct test_if_f_data): Likewise.
30674         (struct test_fff_f_data): Likewise.
30675         (struct test_c_f_data): Likewise.
30676         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
30677         (struct test_fF_f1_data): Likewise.
30678         (struct test_ffI_f1_data): Likewise.
30679         (struct test_c_c_data): Remove max_ulp field.
30680         (struct test_cc_c_data): Likewise.
30681         (struct test_f_i_data): Likewise.
30682         (struct test_ff_i_data): Likewise.
30683         (struct test_f_l_data): Likewise.
30684         (struct test_f_L_data): Likewise.
30685         (struct test_sincos_data): Likewise.
30686         (RUN_TEST_f_f): Do not handle ulps.
30687         (RUN_TEST_LOOP_f_f): Likewise.
30688         (RUN_TEST_2_f): Likewise.
30689         (RUN_TEST_LOOP_2_f): Likewise.
30690         (RUN_TEST_fff_f): Likewise.
30691         (RUN_TEST_LOOP_fff_f): Likewise.
30692         (RUN_TEST_c_f): Likewise.
30693         (RUN_TEST_LOOP_c_f): Likewise.
30694         (RUN_TEST_f_f1): Likewise.
30695         (RUN_TEST_LOOP_f_f1): Likewise.
30696         (RUN_TEST_fF_f1): Likewise.
30697         (RUN_TEST_LOOP_fF_f1): Likewise.
30698         (RUN_TEST_fI_f1): Likewise.
30699         (RUN_TEST_LOOP_fI_f1): Likewise.
30700         (RUN_TEST_ffI_f1): Likewise.
30701         (RUN_TEST_LOOP_ffI_f1): Likewise.
30702         (RUN_TEST_c_c): Likewise.
30703         (RUN_TEST_LOOP_c_c): Likewise.
30704         (RUN_TEST_cc_c): Likewise.
30705         (RUN_TEST_LOOP_cc_c): Likewise.
30706         (RUN_TEST_f_i): Likewise.
30707         (RUN_TEST_LOOP_f_i): Likewise.
30708         (RUN_TEST_f_i_tg): Likewise.
30709         (RUN_TEST_LOOP_f_i_tg): Likewise.
30710         (RUN_TEST_ff_i_tg): Likewise.
30711         (RUN_TEST_LOOP_ff_i_tg): Likewise.
30712         (RUN_TEST_f_b): Likewise.
30713         (RUN_TEST_LOOP_f_b): Likewise.
30714         (RUN_TEST_f_b_tg): Likewise.
30715         (RUN_TEST_LOOP_f_b_tg): Likewise.
30716         (RUN_TEST_f_l): Likewise.
30717         (RUN_TEST_LOOP_f_l): Likewise.
30718         (RUN_TEST_f_L): Likewise.
30719         (RUN_TEST_LOOP_f_L): Likewise.
30720         (RUN_TEST_sincos): Likewise.
30721         (RUN_TEST_LOOP_sincos): Likewise.
30723 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
30725         [BZ #15480]
30726         [BZ #15485]
30727         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
30728         main case of finite arguments, set rounding mode to FE_TONEAREST
30729         and discard exceptions.
30730         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
30731         exceptions.
30732         (remainder_tonearest_test_data): New variable.
30733         (remainder_test_tonearest): New function.
30734         (remainder_towardzero_test_data): New variable.
30735         (remainder_test_towardzero): New function.
30736         (remainder_downward_test_data): New variable.
30737         (remainder_test_downward): New function.
30738         (remainder_upward_test_data): New variable.
30739         (remainder_test_upward): New function.
30740         (main): Call the new test functions.
30742         * math/libm-test.inc (struct test_f_f1_data): Remove field
30743         extra_init.
30744         (struct test_fF_f1_data): Likewise.
30745         (struct test_ffI_f1_data): Likewise.
30746         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
30747         based on value of EXTRA_EXPECTED.
30748         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30749         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
30750         EXTRA_VAR based on value of EXTRA_EXPECTED.
30751         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30752         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
30753         EXTRA_VAR based on value of EXTRA_EXPECTED.
30754         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30755         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
30756         EXTRA_VAR based on value of EXTRA_EXPECTED.
30757         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30758         * math/gen-libm-test.pl (parse_args): Don't output initializers
30759         for extra output values.
30761         * math/libm-test.inc (check_int): Expect result to be exactly
30762         equal to expected value and do not handle ulps.
30763         (check_long): Likewise.
30764         (check_longlong): Likewise.
30766         * math/libm-test.inc (ceil_test_data): Test for "inexact"
30767         exceptions.
30768         (cimag_test_data): Likewise.
30769         (conj_test_data): Likewise.
30770         (copysign_test_data): Likewise.
30771         (cproj_test_data): Likewise.
30772         (creal_test_data): Likewise.
30773         (fabs_test_data): Likewise.
30774         (fdim_test_data): Likewise.
30775         (finite_test_data): Likewise.
30776         (floor_test_data): Likewise.
30777         (fmax_test_data): Likewise.
30778         (fmin_test_data): Likewise.
30779         (fmod_test_data): Likewise.
30780         (fpclassify_test_data): Likewise.
30781         (frexp_test_data): Likewise.
30782         (ilogb_test_data): Likewise.
30783         (isfinite_test_data): Likewise.
30784         (isgreater_test_data): Likewise.
30785         (isgreaterequal_test_data): Likewise.
30786         (isinf_test_data): Likewise.
30787         (isless_test_data): Likewise.
30788         (islessequal_test_data): Likewise.
30789         (islessgreater_test_data): Likewise.
30790         (isnan_test_data): Likewise.
30791         (isnormal_test_data): Likewise.
30792         (issignaling_test_data): Likewise.
30793         (isunordered_test_data): Likewise.
30794         (ldexp_test_data): Likewise.
30795         (lrint_test_data): Likewise.
30796         (lrint_test_data) [TEST_FLOAT]: Disable one test.
30797         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
30798         (lrint_tonearest_test_data): Test for "inexact" exceptions.
30799         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30800         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
30801         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30802         test input.
30803         (lrint_towardzero_test_data): Test for "inexact" exceptions.
30804         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30805         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
30806         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
30807         that test input.
30808         (lrint_downward_test_data): Test for "inexact" exceptions.
30809         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30810         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
30811         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30812         test input.
30813         (lrint_upward_test_data): Test for "inexact" exceptions.
30814         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
30815         test input.
30816         (llrint_test_data): Test for "inexact" exceptions.
30817         (llrint_test_data) [TEST_FLOAT]: Disable one test.
30818         (llrint_tonearest_test_data): Test for "inexact" exceptions.
30819         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30820         (llrint_towardzero_test_data): Test for "inexact" exceptions.
30821         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30822         (llrint_downward_test_data): Test for "inexact" exceptions.
30823         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30824         (llrint_upward_test_data): Test for "inexact" exceptions.
30825         (logb_test_data): Likewise.
30826         (logb_downward_test_data): Likewise.
30827         (nextafter_test_data): Likewise.
30828         (nexttoward_test_data): Likewise.
30829         (remainder_test_data): Likewise.
30830         (remquo_test_data): Likewise.
30831         (scalbn_test_data): Likewise.
30832         (scalbln_test_data): Likewise.
30833         (signbit_test_data): Likewise.
30834         (sqrt_test_data): Likewise.
30835         (significand_test_data): Likewise.
30837 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30839         [BZ #15424]
30840         * benchtests/bench-modf.c (struct args): Mark arg0 as
30841         volatile.
30842         * scripts/bench.pl: Mark members of struct args as volatile.
30844 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30846         [BZ # 15497]
30847         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
30848         negative infinity on POWER6 or lower.
30849         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
30851 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
30853         [BZ #15442]
30854         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
30855         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
30856         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
30857         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
30858         (_FP_SETQNAN): New macro.
30859         (_FP_SETQNAN_SEMIRAW): Likewise.
30860         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
30861         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
30862         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
30863         (FP_EXTEND): Use _FP_FRAC_SNANP.
30864         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
30865         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
30866         into account.
30867         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30868         New macro.
30869         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30870         Likewise.
30872 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
30874         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
30875         with DIVIDE_BY_ZERO_EXCEPTION.
30876         (gamma_test_data): Likewise.
30877         (lgamma_test_data): Likewise.
30878         (log_test_data): Likewise.
30879         (log10_test_data): Likewise.
30880         (log2_test_data): Likewise.
30881         (tgamma_test_data): Likewise.
30883         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
30884         (acos_test_tonearest): Likewise.
30885         (acos_test_towardzero): Likewise.
30886         (acos_test_downward): Likewise.
30887         (acos_test_upward): Likewise.
30888         (acosh_test): Likewise.
30889         (asin_test): Likewise.
30890         (asin_test_tonearest): Likewise.
30891         (asin_test_towardzero): Likewise.
30892         (asin_test_downward): Likewise.
30893         (asin_test_upward): Likewise.
30894         (asinh_test): Likewise.
30895         (atan_test): Likewise.
30896         (atanh_test): Likewise.
30897         (atan2_test): Likewise.
30898         (cabs_test): Likewise.
30899         (cacos_test): Likewise.
30900         (cacosh_test): Likewise.
30901         (casin_test): Likewise.
30902         (casinh_test): Likewise.
30903         (catan_test): Likewise.
30904         (catanh_test): Likewise.
30905         (cbrt_test): Likewise.
30906         (ccos_test): Likewise.
30907         (ccosh_test): Likewise.
30908         (cexp_test): Likewise.
30909         (clog_test): Likewise.
30910         (clog10_test): Likewise.
30911         (cos_test): Likewise.
30912         (cos_test_tonearest): Likewise.
30913         (cos_test_towardzero): Likewise.
30914         (cos_test_downward): Likewise.
30915         (cos_test_upward): Likewise.
30916         (cosh_test): Likewise.
30917         (cosh_test_tonearest): Likewise.
30918         (cosh_test_towardzero): Likewise.
30919         (cosh_test_downward): Likewise.
30920         (cosh_test_upward): Likewise.
30921         (cpow_test): Likewise.
30922         (csin_test): Likewise.
30923         (csinh_test): Likewise.
30924         (csqrt_test): Likewise.
30925         (ctan_test): Likewise.
30926         (ctan_test_tonearest): Likewise.
30927         (ctan_test_towardzero): Likewise.
30928         (ctan_test_downward): Likewise.
30929         (ctan_test_upward): Likewise.
30930         (ctanh_test): Likewise.
30931         (ctanh_test_tonearest): Likewise.
30932         (ctanh_test_towardzero): Likewise.
30933         (ctanh_test_downward): Likewise.
30934         (ctanh_test_upward): Likewise.
30935         (erf_test): Likewise.
30936         (erfc_test): Likewise.
30937         (exp_test): Likewise.
30938         (exp_test_tonearest): Likewise.
30939         (exp_test_towardzero): Likewise.
30940         (exp_test_downward): Likewise.
30941         (exp_test_upward): Likewise.
30942         (exp10_test): Likewise.
30943         (exp2_test): Likewise.
30944         (expm1_test): Likewise.
30945         (fmod_test): Likewise.
30946         (gamma_test): Likewise.
30947         (hypot_test): Likewise.
30948         (j0_test): Likewise.
30949         (j1_test): Likewise.
30950         (jn_test): Likewise.
30951         (lgamma_test): Likewise.
30952         (log_test): Likewise.
30953         (log10_test): Likewise.
30954         (log1p_test): Likewise.
30955         (log2_test): Likewise.
30956         (logb_test_downward): Likewise.
30957         (pow_test): Likewise.
30958         (pow_test_tonearest): Likewise.
30959         (pow_test_towardzero): Likewise.
30960         (pow_test_downward): Likewise.
30961         (pow_test_upward): Likewise.
30962         (remainder_test): Likewise.
30963         (remquo_test): Likewise.
30964         (sin_test): Likewise.
30965         (sin_test_tonearest): Likewise.
30966         (sin_test_towardzero): Likewise.
30967         (sin_test_downward): Likewise.
30968         (sin_test_upward): Likewise.
30969         (sincos_test): Likewise.
30970         (sinh_test): Likewise.
30971         (sinh_test_tonearest): Likewise.
30972         (sinh_test_towardzero): Likewise.
30973         (sinh_test_downward): Likewise.
30974         (sinh_test_upward): Likewise.
30975         (sqrt_test): Likewise.
30976         (tan_test): Likewise.
30977         (tan_test_tonearest): Likewise.
30978         (tan_test_towardzero): Likewise.
30979         (tan_test_downward): Likewise.
30980         (tan_test_upward): Likewise.
30981         (tanh_test): Likewise.
30982         (tgamma_test): Likewise.
30983         (y0_test): Likewise.
30984         (y1_test): Likewise.
30985         (yn_test): Likewise.
30987         * math/gen-libm-test.pl (adjust_arg): Remove function.
30988         (special_function): Remove argument $in_func.  Only handle
30989         generating output for tables of tests, not inside functions.
30990         (parse_args): Likewise.
30991         (generate_testfile): Remove variable $in_func.  Update call to
30992         parse_args.
30993         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
30994         (MINUS_ZERO_INIT): Rename macro to minus_zero.
30995         (PLUS_INFTY_INIT): Rename macro to plus_infty.
30996         (MINUS_INFTY_INIT): Rename macro to minus_infty.
30997         (QNAN_VALUE_INIT): Rename macro to qnan_value.
30998         (MAX_VALUE_INIT): Rename macro to max_value.
30999         (MIN_VALUE_INIT): Rename macro to min_value.
31000         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
31001         (plus_zero): Remove variable.
31002         (minus_zero): Likewise.
31003         (plus_infty): Likewise.
31004         (minus_infty): Likewise.
31005         (qnan_value): Likewise.
31006         (max_value): Likewise.
31007         (min_value): Likewise.
31008         (min_subnorm_value): Likewise.
31010 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31012         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
31013         uint64_t or uint32_t usage.
31014         * crypt/sha256-block.c: Likewise.
31015         * crypt/sha256-crypt.c: Likewise.
31016         * crypt/sha256.c: Likewise.
31017         * crypt/sha512-block.c: Likewise.
31018         * crypt/sha512-crypt.c: Likewise.
31019         * crypt/sha512.c: Likewise.
31020         * debug/backtrace-tst.c: Likewise.
31021         * debug/pcprofiledump.c: Likewise.
31022         * elf/cache.c: Likewise.
31023         * elf/dl-cache.c: Likewise.
31024         * elf/dl-misc.c: Likewise.
31025         * elf/dl-profile.c: Likewise.
31026         * elf/dl-support.c: Likewise.
31027         * elf/ldconfig.c: Likewise.
31028         * elf/sprof.c: Likewise.
31029         * iconv/dummy-repertoire.c: Likewise.
31030         * iconv/iconv_charmap.c: Likewise.
31031         * iconv/skeleton.c: Likewise.
31032         * iconvdata/8bit-generic.c: Likewise.
31033         * iconvdata/cp737.h: Likewise.
31034         * iconvdata/cp775.h: Likewise.
31035         * iconvdata/ibm1008.h: Likewise.
31036         * iconvdata/ibm1025.h: Likewise.
31037         * iconvdata/ibm1046.h: Likewise.
31038         * iconvdata/ibm1097.h: Likewise.
31039         * iconvdata/ibm1112.h: Likewise.
31040         * iconvdata/ibm1122.h: Likewise.
31041         * iconvdata/ibm1123.h: Likewise.
31042         * iconvdata/ibm1124.h: Likewise.
31043         * iconvdata/ibm1129.h: Likewise.
31044         * iconvdata/ibm1130.h: Likewise.
31045         * iconvdata/ibm1132.h: Likewise.
31046         * iconvdata/ibm1133.h: Likewise.
31047         * iconvdata/ibm1137.h: Likewise.
31048         * iconvdata/ibm1140.h: Likewise.
31049         * iconvdata/ibm1141.h: Likewise.
31050         * iconvdata/ibm1142.h: Likewise.
31051         * iconvdata/ibm1143.h: Likewise.
31052         * iconvdata/ibm1144.h: Likewise.
31053         * iconvdata/ibm1145.h: Likewise.
31054         * iconvdata/ibm1146.h: Likewise.
31055         * iconvdata/ibm1147.h: Likewise.
31056         * iconvdata/ibm1148.h: Likewise.
31057         * iconvdata/ibm1149.h: Likewise.
31058         * iconvdata/ibm1153.h: Likewise.
31059         * iconvdata/ibm1154.h: Likewise.
31060         * iconvdata/ibm1155.h: Likewise.
31061         * iconvdata/ibm1156.h: Likewise.
31062         * iconvdata/ibm1157.h: Likewise.
31063         * iconvdata/ibm1158.h: Likewise.
31064         * iconvdata/ibm1160.h: Likewise.
31065         * iconvdata/ibm1161.h: Likewise.
31066         * iconvdata/ibm1162.h: Likewise.
31067         * iconvdata/ibm1163.h: Likewise.
31068         * iconvdata/ibm1164.h: Likewise.
31069         * iconvdata/ibm1166.h: Likewise.
31070         * iconvdata/ibm1167.h: Likewise.
31071         * iconvdata/ibm12712.h: Likewise.
31072         * iconvdata/ibm1390.h: Likewise.
31073         * iconvdata/ibm1399.h: Likewise.
31074         * iconvdata/ibm16804.h: Likewise.
31075         * iconvdata/ibm4517.h: Likewise.
31076         * iconvdata/ibm4899.h: Likewise.
31077         * iconvdata/ibm4909.h: Likewise.
31078         * iconvdata/ibm4971.h: Likewise.
31079         * iconvdata/ibm5347.h: Likewise.
31080         * iconvdata/ibm803.h: Likewise.
31081         * iconvdata/ibm856.h: Likewise.
31082         * iconvdata/ibm901.h: Likewise.
31083         * iconvdata/ibm902.h: Likewise.
31084         * iconvdata/ibm9030.h: Likewise.
31085         * iconvdata/ibm9066.h: Likewise.
31086         * iconvdata/ibm921.h: Likewise.
31087         * iconvdata/ibm922.h: Likewise.
31088         * iconvdata/ibm9448.h: Likewise.
31089         * iconvdata/isiri-3342.h: Likewise.
31090         * iconvdata/jis0201.h: Likewise.
31091         * include/link.h: Likewise.
31092         * include/netdb.h: Likewise.
31093         * inet/check_native.c: Likewise.
31094         * inet/check_pf.c: Likewise.
31095         * inet/getipv4sourcefilter.c: Likewise.
31096         * inet/getnameinfo.c: Likewise.
31097         * inet/getsourcefilter.c: Likewise.
31098         * inet/htonl.c: Likewise.
31099         * inet/setipv4sourcefilter.c: Likewise.
31100         * inet/setsourcefilter.c: Likewise.
31101         * inet/test-inet6_opt.c: Likewise.
31102         * inet/tst-network.c: Likewise.
31103         * locale/C-collate.c: Likewise.
31104         * locale/C-ctype.c: Likewise.
31105         * locale/C-time.c: Likewise.
31106         * locale/C-translit.h: Likewise.
31107         * locale/loadarchive.c: Likewise.
31108         * locale/programs/3level.h: Likewise.
31109         * locale/programs/charmap.c: Likewise.
31110         * locale/programs/charmap.h: Likewise.
31111         * locale/programs/ld-address.c: Likewise.
31112         * locale/programs/ld-collate.c: Likewise.
31113         * locale/programs/ld-ctype.c: Likewise.
31114         * locale/programs/ld-identification.c: Likewise.
31115         * locale/programs/ld-measurement.c: Likewise.
31116         * locale/programs/ld-messages.c: Likewise.
31117         * locale/programs/ld-monetary.c: Likewise.
31118         * locale/programs/ld-name.c: Likewise.
31119         * locale/programs/ld-numeric.c: Likewise.
31120         * locale/programs/ld-paper.c: Likewise.
31121         * locale/programs/ld-telephone.c: Likewise.
31122         * locale/programs/ld-time.c: Likewise.
31123         * locale/programs/linereader.c: Likewise.
31124         * locale/programs/locale.c: Likewise.
31125         * locale/programs/locarchive.c: Likewise.
31126         * locale/programs/locfile.h: Likewise.
31127         * locale/programs/repertoire.c: Likewise.
31128         * locale/programs/simple-hash.c: Likewise.
31129         * locale/programs/simple-hash.h: Likewise.
31130         * malloc/memusage.c: Likewise.
31131         * malloc/memusagestat.c: Likewise.
31132         * nis/nis_defaults.c: Likewise.
31133         * nis/nis_hash.c: Likewise.
31134         * nis/nis_print.c: Likewise.
31135         * nis/nis_xdr.c: Likewise.
31136         * nscd/connections.c: Likewise.
31137         * nscd/hstcache.c: Likewise.
31138         * nscd/nscd_gethst_r.c: Likewise.
31139         * nscd/nscd_getserv_r.c: Likewise.
31140         * nscd/nscd_helper.c: Likewise.
31141         * nscd/servicescache.c: Likewise.
31142         * nss/makedb.c: Likewise.
31143         * nss/nss_db/db-XXX.c: Likewise.
31144         * nss/nss_db/db-initgroups.c: Likewise.
31145         * nss/nss_db/db-netgrp.c: Likewise.
31146         * nss/nss_files/files-network.c: Likewise.
31147         * nss/nss_files/files-parse.c: Likewise.
31148         * posix/bug-regex5.c: Likewise.
31149         * posix/fnmatch_loop.c: Likewise.
31150         * posix/regcomp.c: Likewise.
31151         * posix/regexec.c: Likewise.
31152         * posix/tst-rfc3484-2.c: Likewise.
31153         * posix/tst-rfc3484-3.c: Likewise.
31154         * posix/tst-rfc3484.c: Likewise.
31155         * resolv/nss_dns/dns-canon.c: Likewise.
31156         * resolv/nss_dns/dns-network.c: Likewise.
31157         * resolv/res_init.c: Likewise.
31158         * resolv/res_mkquery.c: Likewise.
31159         * resolv/tst-aton.c: Likewise.
31160         * stdlib/cxa_atexit.c: Likewise.
31161         * stdlib/cxa_finalize.c: Likewise.
31162         * stdlib/gen-fpioconst.c: Likewise.
31163         * stdlib/strtol_l.c: Likewise.
31164         * string/tst-endian.c: Likewise.
31165         * sunrpc/auth_des.c: Likewise.
31166         * sunrpc/clnt_udp.c: Likewise.
31167         * sunrpc/rtime.c: Likewise.
31168         * sunrpc/svcauth_des.c: Likewise.
31169         * sunrpc/xdr.c: Likewise.
31170         * sunrpc/xdr_intXX_t.c: Likewise.
31171         * sunrpc/xdr_rec.c: Likewise.
31172         * sysdeps/generic/ldconfig.h: Likewise.
31173         * sysdeps/generic/ldsodefs.h: Likewise.
31174         * sysdeps/generic/memusage.h: Likewise.
31175         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
31176         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
31177         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
31178         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
31179         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31180         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31181         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
31182         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
31183         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31184         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31185         * sysdeps/posix/getaddrinfo.c: Likewise.
31186         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31187         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31188         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31189         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31190         * sysdeps/powerpc/test-gettimebase.c: Likewise.
31191         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31192         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
31193         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
31194         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31195         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
31196         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31197         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31198         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
31199         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
31200         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
31201         * sysdeps/x86_64/dl-tls.h: Likewise.
31202         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
31203         * time/alt_digit.c: Likewise.
31204         * time/era.c: Likewise.
31205         * wcsmbs/tst-c16c32-1.c: Likewise.
31207 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
31209         * math/libm-test.inc (struct test_sincos_data): New type.
31210         (RUN_TEST_LOOP_sincos): New macro.
31211         (sincos_test_data): New variable.
31212         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
31214 2013-05-16  Richard Henderson  <rth@redhat.com>
31216         * math/atest-exp2.c (LIMB64): New macro.
31217         (CONSTSZ): New macro.
31218         (mp_exp1, mp_exp_m1, mp_log2): New variables.
31219         (hexdig): Move ...
31220         (print_mpn_fp): ... to function scope.
31221         (read_mpn_hex): Remove.
31222         (get_log2): Remove.
31223         (exp2_mpn): Use mp_log2.
31224         (main): Use mp_exp1.
31226 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
31228         * math/libm-test.inc: Remove comment about not testing "inexact"
31229         exceptions.
31230         (INEXACT_EXCEPTION): New macro.
31231         (NO_INEXACT_EXCEPTION): Likewise.
31232         (INVALID_EXCEPTION_OK): Update value.
31233         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31234         (OVERFLOW_EXCEPTION_OK): Likewise.
31235         (UNDERFLOW_EXCEPTION_OK): Likewise.
31236         (IGNORE_ZERO_INF_SIGN): Likewise.
31237         (ERRNO_UNCHANGED): Likewise.
31238         (ERRNO_EDOM): Likewise.
31239         (ERRNO_ERANGE): Likewise.
31240         (test_exceptions): Handle testing "inexact" exceptions.
31241         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
31242         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
31243         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
31244         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
31245         INEXACT_EXCEPTION.
31246         (rint_towardzero_test_data): Likewise.
31247         (rint_downward_test_data): Likewise.
31248         (rint_upward_test_data): Likewise.
31250         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
31251         with OVERFLOW_EXCEPTION.
31252         (exp10_test_data): Likewise.
31253         (exp2_test_data): Likewise.
31254         (expm1_test_data): Likewise.
31255         (lgamma_test_data): Likewise.
31256         (pow_test_data): Likewise.
31257         (tgamma_test_data): Likewise.
31258         (yn_test_data): Remove duplicate test of overflow.
31260         * math/libm-test.inc (struct test_cc_c_data): New type.
31261         (RUN_TEST_LOOP_cc_c): New macro.
31262         (cpow_test_data): New variable.
31263         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
31265         * math/libm-test.inc (struct test_f_L_data): New type.
31266         (RUN_TEST_LOOP_f_L): New macro.
31267         (llrint_test_data): New variable.
31268         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
31269         (llrint_tonearest_test_data): New variable.
31270         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
31271         (llrint_towardzero_test_data): New variable.
31272         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
31273         (llrint_downward_test_data): New variable.
31274         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
31275         (llrint_upward_test_data): New variable.
31276         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
31277         (llround_test_data): New variable.
31278         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
31280 2013-05-13  Peter Collingbourne  <pcc@google.com>
31282         * math/atest-exp2.c (get_log2): Remove const attribute.
31284 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
31286         * math/libm-test.inc (struct test_f_l_data): New type.
31287         (RUN_TEST_LOOP_f_l): New macro.
31288         (lrint_test_data): New variable.
31289         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
31290         (lrint_tonearest_test_data): New variable.
31291         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
31292         (lrint_towardzero_test_data): New variable.
31293         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
31294         (lrint_downward_test_data): New variable.
31295         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
31296         (lrint_upward_test_data): New variable.
31297         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
31298         (lround_test_data): New variable.
31299         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
31301 2013-05-15  Peter Collingbourne  <pcc@google.com>
31303         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
31304         (EXTRACT_WORDS64) Use where appropriate.
31305         (INSERT_WORDS64) Likewise.
31307         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
31308         constraints with x constraints.
31309         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
31311         * malloc/obstack.c (_obstack_compat): Add initializer.
31313 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
31315         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
31316         si_trapno and add si_addr_lsb to _sifields.sigfault.
31317         (si_trapno): Remove macro.
31318         (si_addr_lsb): Define new macro.
31319         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31321 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
31323         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
31324         instead of TEST_f_l.
31325         (llrint_test_tonearest): Likewise.
31326         (llrint_test_towardzero): Likewise.
31327         (llrint_test_downward): Likewise.
31328         (llrint_test_upward): Likewise.
31329         (llround_test): Likewise.
31331         * math/libm-test.inc (struct test_f_i_data): Add comment.
31332         (RUN_TEST_LOOP_f_b): New macro.
31333         (RUN_TEST_LOOP_f_b_tg): Likewise.
31334         (finite_test_data): New variable.
31335         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
31336         (isfinite_test_data): New variable.
31337         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31338         (isinf_test_data): New variable.
31339         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31340         (isnan_test_data): New variable.
31341         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31342         (isnormal_test_data): New variable.
31343         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31344         (issignaling_test_data): New variable.
31345         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31346         (signbit_test_data): New variable.
31347         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31349         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
31350         with INVALID_EXCEPTION.
31351         (acosh_test_data): Likewise.
31352         (asin_test_data): Likewise.
31353         (atanh_test_data): Likewise.
31354         (fmod_test_data): Likewise.
31355         (log_test_data): Likewise.
31356         (log10_test_data): Likewise.
31357         (log2_test_data): Likewise.
31358         (pow_test_data): Likewise.
31359         (sqrt_test_data): Likewise.
31360         (y0_test_data): Likewise.
31361         (y1_test_data): Likewise.
31362         (yn_test_data): Likewise.
31364         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
31365         function contents.
31367         * math/libm-test.inc (struct test_ff_i_data): New type.
31368         (RUN_TEST_LOOP_ff_i_tg): New macro.
31369         (isgreater_test_data): New variable.
31370         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31371         (isgreaterequal_test_data): New variable.
31372         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31373         (isless_test_data): New variable.
31374         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31375         (islessequal_test_data): New variable.
31376         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31377         (islessgreater_test_data): New variable.
31378         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31379         (isunordered_test_data): New variable.
31380         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31382 2013-05-14  David S. Miller  <davem@davemloft.net>
31384         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31386 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
31388         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
31390         * math/libm-test.inc (struct test_fF_f1_data): Change type of
31391         extra_test to int.
31392         (struct test_f_i_data): Change type of max_ulp to int.
31394         * math/libm-test.inc (test_ffI_f1_data): New type.
31395         (RUN_TEST_LOOP_ffI_f1): New macro.
31396         (remquo_test_data): New variable.
31397         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
31399         * setjmp/tst-setjmp-fp.c: New file.
31400         * setjmp/Makefile (tests): Add tst-setjmp-fp.
31401         (link-libm): New variable.
31402         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
31404         * math/libm-test.inc (struct test_f_i_data): New type.
31405         (RUN_TEST_LOOP_f_i): New macro.
31406         (RUN_TEST_LOOP_f_i_tg): Likewise.
31407         (fpclassify_test_data): New variable.
31408         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
31409         (ilogb_test_data): New variable.
31410         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
31412         * math/libm-test.inc (scalbln_test): Correct function name in END
31413         call.
31415         * math/libm-test.inc (struct test_f_f1_data): Add comment.
31416         (RUN_TEST_LOOP_fI_f1): New macro.
31417         (frexp_test_data): New variable.
31418         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
31420         * math/libm-test.inc (struct test_fF_f1_data): New type.
31421         (RUN_TEST_LOOP_fF_f1): New macro.
31422         (modf_test_data): New variable.
31423         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
31425         * math/libm-test.inc (struct test_f_f1_data): New type.
31426         (RUN_TEST_LOOP_f_f1): New macro.
31427         (gamma_test_data): New variable.
31428         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31429         (lgamma_test_data): New variable.
31430         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31432 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
31434         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
31435         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
31436         (main): Comment "tls" pseudo-hwcap.
31438 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
31440         * math/libm-test.inc (struct test_fl_f_data): New type.
31441         (RUN_TEST_LOOP_fl_f): New variable.
31442         (scalbln_test_data): New variable.
31443         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
31445         * math/libm-test.inc (struct test_fi_f_data): New type.
31446         (RUN_TEST_LOOP_fi_f): New macro.
31447         (ldexp_test_data): New variable.
31448         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
31449         (scalbn_test_data): New variable.
31450         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
31452         * math/libm-test.inc (struct test_c_f_data): New type.
31453         (RUN_TEST_LOOP_c_f): New macro.
31454         (cabs_test_data): New variable.
31455         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
31456         (carg_test_data): New variable.
31457         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
31458         (cimag_test_data): New variable.
31459         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
31460         (creal_test_data): New variable.
31461         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
31463         * math/libm-test.inc (struct test_if_f_data): New type.
31464         (RUN_TEST_LOOP_if_f): New macro.
31465         (jn_test_data): New variable.
31466         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
31467         (yn_test_data): New variable.
31468         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
31470         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
31472 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31474         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
31475         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
31477 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31479         * benchtests/Makefile (CPPFLAGS-nonlib): Add
31480         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
31481         (bench-deps): Add bench-timing.h.
31482         * benchtests-bench-skeleton.c: Include bench-timing.h.
31483         (main): Use TIMING_* macros instead of clock_gettime.
31484         * benchtests/bench-timing.h: New file.
31486         [BZ #14582]
31487         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
31488         Renamed from _LIB_VERSION.
31489         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
31491 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
31493         * math/libm-test.inc (struct test_fff_f_data): New type.
31494         (RUN_TEST_LOOP_fff_f): New macro.
31495         (fma_test_data): New variable.
31496         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
31497         (fma_towardzero_test_data): New variable.
31498         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
31499         (fma_downward_test_data): New variable.
31500         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
31501         (fma_upward_test_data): New variable.
31502         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
31504         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
31505         (struct test_c_c_data): New type.
31506         (RUN_TEST_LOOP_c_c): New macro.
31507         (cacos_test_data): New variable.
31508         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
31509         (cacosh_test_data): New variable.
31510         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
31511         (casin_test_data): New variable.
31512         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
31513         (casinh_test_data): New variable.
31514         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
31515         (catan_test_data): New variable.
31516         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
31517         (catanh_test_data): New variable.
31518         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
31519         (ccos_test_data): New variable.
31520         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
31521         (ccosh_test_data): New variable.
31522         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
31523         (cexp_test_data): New variable.
31524         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
31525         (clog_test_data): New variable.
31526         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
31527         (clog10_test_data): New variable.
31528         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
31529         (conj_test_data): New variable.
31530         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
31531         (cproj_test_data): New variable.
31532         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
31533         (csin_test_data): New variable.
31534         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
31535         (csinh_test_data): New variable.
31536         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
31537         (csqrt_test_data): New variable.
31538         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
31539         (ctan_test_data): New variable.
31540         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
31541         (ctan_tonearest_test_data): New variable.
31542         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31543         (ctan_towardzero_test_data): New variable.
31544         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31545         (ctan_downward_test_data): New variable.
31546         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31547         (ctan_upward_test_data): New variable.
31548         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31549         (ctanh_test_data): New variable.
31550         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
31551         (ctanh_tonearest_test_data): New variable.
31552         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31553         (ctanh_towardzero_test_data): New variable.
31554         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31555         (ctanh_downward_test_data): New variable.
31556         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31557         (ctanh_upward_test_data): New variable.
31558         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31559         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
31560         of BUILD_COMPLEX.
31562         * math/libm-test.inc (struct test_ff_f_data): New type.
31563         (struct test_ff_f_data_nexttoward): Likewise.
31564         (RUN_TEST_LOOP_2_f): New macro.
31565         (RUN_TEST_LOOP_ff_f): Likewise.
31566         (atan2_test_data): New variable.
31567         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
31568         (copysign_test_data): New variable.
31569         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
31570         (fdim_test_data): New variable.
31571         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
31572         (fmax_test_data): New variable.
31573         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
31574         (fmin_test_data): New variable.
31575         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
31576         (fmod_test_data): New variable.
31577         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
31578         (hypot_test_data): New variable.
31579         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
31580         (nextafter_test_data): New variable.
31581         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
31582         (nexttoward_test_data): New variable.
31583         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
31584         (pow_test_data): New variable.
31585         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
31586         (pow_tonearest_test_data): New variable.
31587         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
31588         (pow_towardzero_test_data): New variable.
31589         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
31590         (pow_downward_test_data): New variable.
31591         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
31592         (pow_upward_test_data): New variable.
31593         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
31594         (remainder_test_data): New variable.
31595         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
31596         (scalb_test_data): New variable.
31597         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
31598         * sysdeps/i386/fpu/libm-test-ulps: Update.
31600 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
31602         * math/libm-test.inc (fma_test): Use max_value instead of local
31603         variable fltmax.
31604         (nextafter_test): Likewise.
31606         * math/libm-test.inc (acos_towardzero_test_data): New variable.
31607         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31608         (acos_downward_test_data): New variable.
31609         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31610         (acos_upward_test_data): New variable.
31611         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31612         (acosh_test_data): New variable.
31613         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
31614         (asin_test_data): New variable.
31615         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
31616         (asin_tonearest_test_data): New variable.
31617         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31618         (asin_towardzero_test_data): New variable.
31619         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31620         (asin_downward_test_data): New variable.
31621         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31622         (asin_upward_test_data): New variable.
31623         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31624         (asinh_test_data): New variable.
31625         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
31626         (atan_test_data): New variable.
31627         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
31628         (atanh_test_data): New variable.
31629         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
31630         (cbrt_test_data): New variable.
31631         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
31632         (ceil_test_data): New variable.
31633         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
31634         (cos_test_data): New variable.
31635         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
31636         (cos_tonearest_test_data): New variable.
31637         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31638         (cos_towardzero_test_data): New variable.
31639         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31640         (cos_downward_test_data): New variable.
31641         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31642         (cos_upward_test_data): New variable.
31643         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31644         (cosh_test_data): New variable.
31645         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
31646         (cosh_tonearest_test_data): New variable.
31647         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31648         (cosh_towardzero_test_data): New variable.
31649         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31650         (cosh_downward_test_data): New variable.
31651         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31652         (cosh_upward_test_data): New variable.
31653         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31654         (erf_test_data): New variable.
31655         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
31656         (erfc_test_data): New variable.
31657         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
31658         (exp_test_data): New variable.
31659         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
31660         (exp_tonearest_test_data): New variable.
31661         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31662         (exp_towardzero_test_data): New variable.
31663         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31664         (exp_downward_test_data): New variable.
31665         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31666         (exp_upward_test_data): New variable.
31667         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31668         (exp10_test_data): New variable.
31669         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
31670         (exp2_test_data): New variable.
31671         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
31672         (expm1_test_data): New variable.
31673         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
31674         (fabs_test_data): New variable.
31675         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
31676         (floor_test_data): New variable.
31677         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
31678         (j0_test_data): New variable.
31679         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
31680         (j1_test_data): New variable.
31681         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
31682         (log_test_data): New variable.
31683         (log_test): Run tests with RUN_TEST_LOOP_f_f.
31684         (log10_test_data): New variable.
31685         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
31686         (log1p_test_data): New variable.
31687         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
31688         (log2_test_data): New variable.
31689         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
31690         (logb_test_data): New variable.
31691         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
31692         (logb_downward_test_data): New variable.
31693         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31694         (nearbyint_test_data): New variable.
31695         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
31696         (rint_test_data): New variable.
31697         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
31698         (rint_tonearest_test_data): New variable.
31699         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31700         (rint_towardzero_test_data): New variable.
31701         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31702         (rint_downward_test_data): New variable.
31703         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31704         (rint_upward_test_data): New variable.
31705         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31706         (round_test_data): New variable.
31707         (round_test): Run tests with RUN_TEST_LOOP_f_f.
31708         (sin_test_data): New variable.
31709         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
31710         (sin_tonearest_test_data): New variable.
31711         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31712         (sin_towardzero_test_data): New variable.
31713         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31714         (sin_downward_test_data): New variable.
31715         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31716         (sin_upward_test_data): New variable.
31717         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31718         (sinh_test_data): New variable.
31719         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
31720         (sinh_tonearest_test_data): New variable.
31721         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31722         (sinh_towardzero_test_data): New variable.
31723         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31724         (sinh_downward_test_data): New variable.
31725         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31726         (sinh_upward_test_data): New variable.
31727         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31728         (sqrt_test_data): New variable.
31729         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
31730         (tan_test_data): New variable.
31731         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
31732         (tan_tonearest_test_data): New variable.
31733         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31734         (tan_towardzero_test_data): New variable.
31735         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31736         (tan_downward_test_data): New variable.
31737         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31738         (tan_upward_test_data): New variable.
31739         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31740         (tanh_test_data): New variable.
31741         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
31742         (tgamma_test_data): New variable.
31743         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
31744         (trunc_test_data): New variable.
31745         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
31746         (y0_test_data): New variable.
31747         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
31748         (y1_test_data): New variable.
31749         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
31750         (significand_test_data): New variable.
31751         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
31753 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
31755         [BZ #12387]
31756         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
31758 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31760         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
31762 2013-05-10  Andreas Jaeger  <aj@suse.de>
31764         [BZ #15448]
31765         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
31766         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
31768 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
31770         * math/gen-libm-test.pl (adjust_arg): New function.
31771         (special_functions): Handle generating output in both functions
31772         and arrays.
31773         (parse_args): Likewise.
31774         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
31775         $in_func argument to parse_args.
31776         * math/libm-test.inc (struct test_f_f_data): New type.
31777         (IF_ROUND_INIT_): New macro.
31778         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
31779         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31780         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31781         (IF_ROUND_INIT_FE_UPWARD): Likewise.
31782         (ROUND_RESTORE_): Likewise.
31783         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
31784         (ROUND_RESTORE_FE_TONEAREST): Likewise.
31785         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
31786         (ROUND_RESTORE_FE_UPWARD): Likewise.
31787         (RUN_TEST_LOOP_f_f): New macro.
31788         (acos_test_data): New variable.
31789         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
31790         (acos_tonearest_test_data): New variable.
31791         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31793 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31795         * benchtests/bench-skeleton.c (startup): Fix coding style.
31797 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
31799         [BZ #6809]
31800         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
31801         negative infinity argument.
31802         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
31803         negative infinity argument.
31804         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
31805         negative infinity argument.
31806         * math/libm-test.inc (tgamma_test): Expect errno to be set for
31807         domain errors.
31809 2013-05-10  Florian Weimer  <fweimer@redhat.com>
31811         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
31812         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
31813         * iconv/iconv_prog.c (main): Likewise.
31814         * locale/programs/charmap-dir.c (charmap_readdir)
31815         (fopen_uncompressed): Likewise.
31816         * locale/programs/locfile.c (siblings_uncached)
31817         (write_locale_data): Use lstat64 instead of lstat.
31818         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
31819         stat.
31821 2013-05-10  Andreas Jaeger  <aj@suse.de>
31823         [BZ #15395]
31824         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
31825         localization.
31826         Include <locale.h>.
31828 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
31830         * elf/dl-close.c (_dl_close_worker): Add comments.
31832 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
31834         [BZ #15359]
31835         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
31836         high part of pi/2.
31837         (__ieee754_rem_pio2l): Update comments.
31839         [BZ #15429]
31840         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
31841         high part of pi/2.
31842         (__ieee754_rem_pio2l): Update comments.
31844         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
31845         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
31847         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
31848         M_PI_4l.
31850         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
31851         (M_PI_34_LOG10El): Likewise.
31852         (M_PI2_LOG10El): Likewise.
31853         (M_PI4_LOG10El): Likewise.
31854         (M_PI_LOG10El): Likewise.
31856 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31858         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31860 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
31862         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
31863         (MINUS_ZERO_INIT): Likewise.
31864         (PLUS_INFTY_INIT): Likewise.
31865         (MINUS_INFTY_INIT): Likewise.
31866         (QNAN_VALUE_INIT): Likewise.
31867         (MAX_VALUE_INIT): Likewise.
31868         (MIN_VALUE_INIT): Likewise.
31869         (MIN_SUBNORM_VALUE_INIT): Likewise.
31870         (plus_zero): Initialize with PLUS_ZERO_INIT.
31871         (minus_zero): Initialize with MINUS_ZERO_INIT.
31872         (plus_infty): Initialize with PLUS_INFTY_INIT.
31873         (minus_infty): Initialize with MINUS_INFTY_INIT.
31874         (qnan_value): Initialize with QNAN_VALUE_INIT.
31875         (max_value): Initialize with MAX_VALUE_INIT.
31876         (min_value): Initialize with MIN_VALUE_INIT.
31877         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
31879         * math/libm-test.inc (RUN_TEST_if_f): New macro.
31880         (jn_test): Use TEST_if_f instead of TEST_ff_f.
31881         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
31882         (yn_test): Use TEST_if_f instead of TEST_ff_f.
31884         * math/libm-test.inc (RUN_TEST_f_f): New macro.
31885         (RUN_TEST_2_f): Likewise.
31886         (RUN_TEST_ff_f): Likewise.
31887         (RUN_TEST_fi_f): Likewise.
31888         (RUN_TEST_fl_f): Likewise.
31889         (RUN_TEST_fff_f): Likewise.
31890         (RUN_TEST_c_f): Likewise.
31891         (RUN_TEST_f_f1): Likewise.
31892         (RUN_TEST_fF_f1): Likewise.
31893         (RUN_TEST_fI_f1): Likewise.
31894         (RUN_TEST_ffI_f1): Likewise.
31895         (RUN_TEST_c_c): Likewise.
31896         (RUN_TEST_cc_c): Likewise.
31897         (RUN_TEST_f_i): Likewise.
31898         (RUN_TEST_f_i_tg): Likewise.
31899         (RUN_TEST_ff_i_tg): Likewise.
31900         (RUN_TEST_f_b): Likewise.
31901         (RUN_TEST_f_b_tg): Likewise.
31902         (RUN_TEST_f_l): Likewise.
31903         (RUN_TEST_f_L): Likewise.
31904         (RUN_TEST_sincos): Likewise.
31905         * math/gen-libm-test.pl (new_test): Take new argument to indicate
31906         whether to show exceptions.  Do not include ");\n" in return
31907         value.
31908         (special_functions): Output call to RUN_TEST_sincos instead of
31909         check_float calls.  Update calls to new_test.
31910         (parse_args): Output call to single RUN_TEST_* macro instead of
31911         check_* calls and other assignments.  Update calls to new_test.
31913         [BZ #2546]
31914         [BZ #2560]
31915         [BZ #5159]
31916         [BZ #15426]
31917         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
31918         input to result for tgamma overflow.
31919         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
31920         (gamma_coeff): New variable.
31921         (NCOEFF): New macro.
31922         (gamma_positive): New function.
31923         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
31924         underflow here.  Use gamma_positive instead of exp (lgamma) for
31925         other arguments.
31926         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
31927         (gamma_coeff): New variable.
31928         (NCOEFF): New macro.
31929         (gammaf_positive): New function.
31930         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
31931         underflow here.  Use gamma_positive instead of exp (lgamma) for
31932         other arguments.
31933         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
31934         (gamma_coeff): New variable.
31935         (NCOEFF): New macro.
31936         (gammal_positive): New function.
31937         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
31938         underflow here.  Use gamma_positive instead of exp (lgamma) for
31939         other arguments.
31940         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
31941         (gamma_coeff): New variable.
31942         (NCOEFF): New macro.
31943         (gammal_positive): New function.
31944         (__ieee754_gammal_r): Handle positive infinity, overflow and
31945         underflow here.  Handle NaN the same as positive infinity.  Remove
31946         check x < 0xffffffff for negative integers.  Use gamma_positive
31947         instead of exp (lgamma) for other arguments.
31948         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
31949         (gamma_coeff): New variable.
31950         (NCOEFF): New macro.
31951         (gammal_positive): New function.
31952         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
31953         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
31954         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
31955         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
31956         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
31957         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
31958         * sysdeps/generic/math_private.h (__gamma_productf): New
31959         prototype.
31960         (__gamma_product): Likewise.
31961         (__gamma_productl): Likewise.
31962         * math/Makefile (libm-calls): Add gamma_product.
31963         * math/libm-test.inc (tgamma_test): Add more tests.
31964         * sysdeps/i386/fpu/libm-test-ulps: Update.
31965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31967 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
31969         * benchtests/bench-skeleton.c (main): Preheat CPU.
31971 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
31973         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
31975 2013-05-07  Roland McGrath  <roland@hack.frob.com>
31977         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
31978         and _dl_skip_args_internal.
31980 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
31982         * manual/message.texi (Message Translation): Talk about users.
31983         Message to key mapping impacts design.
31985 2013-05-06  Roland McGrath  <roland@hack.frob.com>
31987         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
31989         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
31991         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
31992         * sysdeps/wordsize-64/glob64.c: ... here.
31994         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
31995         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
31996         New macros.
31998         * debug/getlogin_r_chk.c: Moved to ...
31999         * login/getlogin_r_chk.c: ... here.
32000         * debug/Makefile (routines): Move getlogin_r_chk to ...
32001         * login/Makefile (routines): ... here.
32002         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
32003         * login/Versions (libc: GLIBC_2.4): ... here.
32005         * io/poll.c (__poll): Renamed from poll.
32006         Add libc_hidden_def.
32007         (poll): Define as weak alias.
32009         * debug/ptsname_r_chk.c: Moved to ...
32010         * login/ptsname_r_chk.c: ... here.
32011         * debug/Makefile (routines): Move ptsname_r_chk to ...
32012         * login/Makefile (routines): ... here.
32013         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
32014         * login/Versions (libc: GLIBC_2.4): ... here.
32016         * posix/getlogin.c: Moved to ...
32017         * login/getlogin.c: ... here.
32018         * posix/getlogin_r.c: Moved to ...
32019         * login/getlogin_r.c: ... here.
32020         * posix/getlogin_r.c: Moved to ...
32021         * login/getlogin_r.c: ... here.
32022         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
32023         * login/Makefile (routines): ... here.
32024         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
32025         * login/Versions (libc: GLIBC_2.0): ... here.
32027         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
32028         (setrlimit): Define as weak alias.
32030         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
32031         Call __ names for open, ftruncate, and close.
32032         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
32033         (truncate): Define as weak alias.
32035 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
32037         * math/gen-libm-test.pl (parse_args): Initialize x before each
32038         test of frexp, modf and remquo.
32040         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
32041         test signgam value.
32043 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32045         [BZ #15418]
32046         [BZ #15419]
32047         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
32048         internal tests.
32049         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32051 2013-05-06  Roland McGrath  <roland@hack.frob.com>
32053         * elf/dl-writev.h: New file.
32054         * elf/dl-misc.c: Include it.
32055         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
32056         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
32058 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
32060         * math/libm-test.inc (noXFails): Remove variable.
32061         (noXPasses): Likewise.
32062         (BUILD_COMPLEX_INT): Remove macro.
32063         (print_screen): Remove xfail argument.
32064         (print_screen_max_error): Likewise.
32065         (update_stats): Likewise.
32066         (print_max_error): Likewise.  Update calls to other affected
32067         functions.
32068         (print_complex_max_error): Likewise.
32069         (test_single_exception): Update calls to print_screen.
32070         (test_single_errno): Likewise.
32071         (check_float_internal): Remove xfail argument.  Update calls to
32072         other affected functions.
32073         (check_float): Likewise.
32074         (check_complex): Likewise.
32075         (check_int): Likewise.
32076         (check_long): Likewise.
32077         (check_bool): Likewise.
32078         (check_longlong): Likewise.
32079         (main): Don't print noXFails and noXPasses.
32080         * math/gen-libm-test.pl (top level): Don't mention expected
32081         failure handling in comment.
32082         (new_test): Don't handle expected failures.
32083         (parse_args): Don't mention expected failure handling in comment.
32084         (generate_testfile): Don't handle expected failures.
32085         (parse_ulps): Likewise.
32086         (print_ulps_file): Likewise.
32087         (get_failure): Remove function.
32088         (output_test): Don't handle expected failures.
32089         * make/README.libm-test: Don't mention expected failure handling.
32091         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
32092         (minus_zero): Likewise.
32093         (plus_infty): Likewise.
32094         (minus_infty): Likewise.
32095         (qnan_value): Likewise.
32096         (max_value): Likewise.
32097         (min_value): Likewise.
32098         (min_subnorm_value): Likewise.
32099         (initialize): Do not initialize those variables dynamically.
32101 2013-05-03  Roland McGrath  <roland@hack.frob.com>
32103         * io/open.c (__open_2): Moved to ...
32104         * io/open_2.c: ... this new file.
32105         * io/open64.c (__open64_2): Moved to ...
32106         * io/open64_2.c: ... this new file.
32107         * io/openat.c (__openat_2): Moved to ...
32108         * io/openat_2.c: ... this new file.
32109         * io/openat64.c (__openat64_2): Moved to ...
32110         * io/openat64_2.c: ... this new file.
32111         * io/Makefile (routines): Add them.
32112         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
32113         * sysdeps/unix/sysv/linux/open_2.c: File removed.
32114         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
32115         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
32116         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
32117         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
32118         (__openat64): Add hidden_ver.
32119         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
32120         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
32122         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
32123         Separately conditionalize setting of GLRO(dl_sysinfo) so
32124         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
32125         as well, but the actual setting is only under [NEED_DL_SYSINFO].
32127 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32129         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
32130         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
32131         definition.
32132         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
32133         * sysdeps/unix/sysv/linux/powerpc/init-first.c
32134         (_libc_vdso_platform_setup): Add __vdso_time initialization.
32135         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
32136         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
32138 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
32140         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
32141         test signgam value.
32143         * math/libm-test.inc (hypot_test): Do not use
32144         IGNORE_ZERO_INF_SIGN.
32146 2013-05-03  Andreas Jaeger  <aj@suse.de>
32148         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
32149         Linux 3.9.
32150         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
32151         (PF_MAX): Adjust for VSOCK change.
32153 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32157 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
32159         [BZ #15264]
32160         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
32161         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
32162         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
32164 2013-05-02  David S. Miller  <davem@davemloft.net>
32166         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32168 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
32170         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
32172 2013-05-01  Roland McGrath  <roland@hack.frob.com>
32174         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
32176 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
32178         [BZ #14952]
32179         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
32180         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32181         Use __attribute__ ((__gnu_inline__)).
32182         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32183         Don't use __attribute__ ((__gnu_inline__)).
32185 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
32187         [BZ #15423]
32188         * math/s_catan.c (__catan): Handle small real or imaginary part of
32189         input specially to avoid spurious underflow.
32190         * math/s_catanf.c (__catanf): Likewise.
32191         * math/s_catanh.c (__catanh): Likewise.
32192         * math/s_catanhf.c (__catanhf): Likewise.
32193         * math/s_catanhl.c (__catanhl): Likewise.
32194         * math/s_catanl.c (__catanl): Likewise.
32195         * math/libm-test.inc (catan_test): Add more tests.
32196         (catanh_test): Likewise.
32197         * sysdeps/i386/fpu/libm-test-ulps: Update.
32198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32200 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32204 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
32206         [BZ #15416]
32207         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
32208         accurately for denominator in atan2.
32209         * math/s_catanf.c (__catanf): Likewise.
32210         * math/s_catanh.c (__catanh): Likewise.
32211         * math/s_catanhf.c (__catanhf): Likewise.
32212         * math/s_catanhl.c (__catanhl): Likewise.
32213         * math/s_catanl.c (__catanl): Likewise.
32214         * math/libm-test.inc (catan_test): Add more tests.
32215         (catanh_test): Likewise.
32216         * sysdeps/i386/fpu/libm-test-ulps: Update.
32217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32219 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32221         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
32223         * benchtests/Makefile (bench): Remove slow benchmarks.
32224         * benchtests/atan-inputs: Add slow benchmark inputs.
32225         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
32226         (BENCH_FUNC): Accept variant offset.
32227         (VARIANT): Define.
32228         * benchtests/bench-skeleton.c (main): Run benchmark for each
32229         variant.
32230         * benchtests/cos-inputs: Add slow benchmark inputs.
32231         * benchtests/exp-inputs: Likewise.
32232         * benchtests/pow-inputs: Likewise.
32233         * benchtests/sin-inputs: Likewise.
32234         * benchtests/slowatan-inputs: Remove.
32235         * benchtests/slowatan.c: Remove.
32236         * benchtests/slowcos-inputs: Remove.
32237         * benchtests/slowcos.c: Remove.
32238         * benchtests/slowexp-inputs: Remove.
32239         * benchtests/slowexp.c: Remove.
32240         * benchtests/slowpow-inputs: Remove.
32241         * benchtests/slowpow.c: Remove.
32242         * benchtests/slowsin-inputs: Remove.
32243         * benchtests/slowsin.c: Remove.
32244         * benchtests/slowtan-inputs: Remove.
32245         * benchtests/slowtan.c: Remove.
32246         * benchtests/tan-inputs: Add slow benchmark inputs.
32247         * scripts/bench.pl: Parse comments and directives.
32249         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
32250         in CPPFLAGS.
32251         ($(objpfx)bench-%.c): Remove *-ITER.
32252         * benchtests/bench-modf.c: Remove definition of ITER.
32253         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
32254         (main): Loop for DURATION seconds instead of fixed number of
32255         iterations.
32256         * scripts/bench.pl: Don't expect iterations in parameters.
32258 2013-04-29  Roland McGrath  <roland@hack.frob.com>
32260         * io/fchdir.c (__fchdir): Renamed from fchdir.
32261         (fchdir): Define as weak alias.
32263 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
32265         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
32266         (ERRNO_EDOM): Likewise.
32267         (ERRNO_ERANGE): Likewise.
32268         (noErrnoTests): New variable.
32269         (init_max_error): Set errno to 0.
32270         (test_single_errno): New function.
32271         (test_errno): Likewise.
32272         (check_float_internal): Call test_errno.  Set errno to 0.
32273         (check_complex): Refer to errno tests in comment.
32274         (check_int): Call test_errno.  Set errno to 0.
32275         (check_long): Likewise.
32276         (check_bool): Likewise.
32277         (check_longlong): Likewise.
32278         (cos_test): Use ERRNO_* flags for errno tests instead of
32279         check_int.
32280         (expm1_test): Likewise.
32281         (fmod_test): Likewise.
32282         (ilogb_test): Likewise.
32283         (lgamma_test): Likewise.
32284         (pow_test): Likewise.
32285         (remainder_test): Likewise.
32286         (sin_test): Likewise.
32287         (tan_test): Likewise.
32288         (yn_test): Likewise.
32289         (initialize): Set errno to 0.
32290         (main): Print number of errno tests.
32291         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
32293 2013-04-29  Andreas Jaeger  <aj@suse.de>
32295         [BZ #15084]
32296         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
32297         and RES_USEVC.
32299         [BZ #15085]
32300         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
32301         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
32302         unimplemented.
32304         [BZ #15380]
32305         * stdlib/random.c (__initstate): Return NULL if
32306         __initstate fails.
32308         [BZ #15086]
32309         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
32310         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
32311         RES_SNGLKUPREOP.
32313 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32315         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32317 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
32319         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
32320         of individual tests.
32321         (casin_test): Likewise.
32322         (casinh_test): Likewise.
32324 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
32326         [BZ #15409]
32327         * math/s_catan.c (__catan): Handle arguments with large real or
32328         imaginary part separately without squaring.
32329         * math/s_catanf.c (__catanf): Likewise.
32330         * math/s_catanh.c (__catanh): Likewise.
32331         * math/s_catanhf.c (__catanhf): Likewise.
32332         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32333         and redefine.
32334         (__catanhl): Handle arguments with large real or imaginary part
32335         separately without squaring.
32336         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32337         and redefine.
32338         (__catanl): Handle arguments with large real or imaginary part
32339         separately without squaring.
32340         * math/libm-test.inc (catan_test): Add more tests.
32341         (catanh_test): Likewise.
32342         * sysdeps/i386/fpu/libm-test-ulps: Update.
32343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32345 2013-04-27  Andreas Jaeger  <aj@suse.de>
32347         [BZ #15007]
32348         * stdlib/stdlib.h: Update guards for qecvt.
32349         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
32350         <stdlib.h>.
32352 2013-04-27  Allan McRae  <allan@archlinux.org>
32354         * sysdeps/i386/fpu/libm-test-ulps: Update.
32356 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
32358         [BZ #15406]
32359         * math/s_catan.c: Include <float.h>.
32360         (__catan): Ensure underflow exception occurs for underflowed
32361         result.
32362         * math/s_catanf.c: Include <float.h>.
32363         (__catanf): Ensure underflow exception occurs for underflowed
32364         result.
32365         * math/s_catanh.c: Include <float.h>.
32366         (__catanh): Ensure underflow exception occurs for underflowed
32367         result.
32368         * math/s_catanhf.c: Include <float.h>.
32369         (__catanhf): Ensure underflow exception occurs for underflowed
32370         result.
32371         * math/s_catanhl.c: Include <float.h>.
32372         (__catanhl): Ensure underflow exception occurs for underflowed
32373         result.
32374         * math/s_catanl.c: Include <float.h>.
32375         (__catanl): Ensure underflow exception occurs for underflowed
32376         result.
32377         * math/libm-test.inc (catan_test): Add more tests.
32378         (catanh_test): Likewise.
32380         [BZ #15405]
32381         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
32382         underflowed result.
32383         * math/s_ccoshf.c (__ccoshf): Likewise.
32384         * math/s_ccoshl.c (__ccoshl): Likewise.
32385         * math/s_csin.c (__csin): Likewise.
32386         * math/s_csinf.c (__csinf): Likewise.
32387         * math/s_csinh.c (__csinh): Likewise.
32388         * math/s_csinhf.c (__csinhf): Likewise.
32389         * math/s_csinhl.c (__csinhl): Likewise.
32390         * math/s_csinl.c (__csinl): Likewise.
32391         * math/libm-test.inc (ccos_test): Add more tests.
32392         (ccosh_test): Likewise.
32393         (csin_test): Likewise.
32394         (csinh_test): Likewise.
32396 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32398         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
32399         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
32400         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
32401         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
32402         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
32403         powerpc/power5+/fpu folders.
32404         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
32407 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
32409         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32411 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
32413         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
32414         additions to variable.
32415         [$(config-machine) = x86_64] (modules-names): Likewise.
32416         ($(objpfx)tst-audit3): Remove dependency.
32417         ($(objpfx)tst-audit3.out): Likewise.
32418         ($(objpfx)tst-audit4): Likewise.
32419         ($(objpfx)tst-audit4.out): Likewise.
32420         ($(objpfx)tst-audit5): Likewise.
32421         ($(objpfx)tst-audit5.out): Likewise.
32422         ($(objpfx)tst-audit6): Likewise.
32423         ($(objpfx)tst-audit6.out): Likewise.
32424         ($(objpfx)tst-audit7): Likewise.
32425         ($(objpfx)tst-audit7.out): Likewise.
32426         (tst-audit3-ENV): Remove variable.
32427         (tst-audit4-ENV): Likewise.
32428         (tst-audit5-ENV): Likewise.
32429         (tst-audit6-ENV): Likewise.
32430         (tst-audit7-ENV): Likewise.
32431         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
32432         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
32433         addition to variable.
32434         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
32435         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
32436         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
32437         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
32438         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
32439         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
32440         tst-audit3, tst-audit4 and tst-audit5.
32441         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
32442         tst-audit6 and tst-audit7.
32443         [$(subdir) = elf] (modules-names): Add audit modules for those
32444         tests.
32445         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
32446         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
32447         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
32448         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
32449         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
32450         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
32451         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
32452         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
32453         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
32454         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
32455         [$(subdir) = elf] (tst-audit3-ENV): New variable.
32456         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
32457         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
32458         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
32459         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
32460         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
32461         Likewise.
32462         [$(subdir) = elf && $(config-cflags-avx) = yes]
32463         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
32464         [$(subdir) = elf && $(config-cflags-avx) = yes]
32465         (CFLAGS-tst-auditmod4a.c): Likewise.
32466         [$(subdir) = elf && $(config-cflags-avx) = yes]
32467         (CFLAGS-tst-auditmod4b.c): Likewise.
32468         [$(subdir) = elf && $(config-cflags-avx) = yes]
32469         (CFLAGS-tst-auditmod6b.c): Likewise.
32470         [$(subdir) = elf && $(config-cflags-avx) = yes]
32471         (CFLAGS-tst-auditmod6c.c): Likewise.
32472         [$(subdir) = elf && $(config-cflags-avx) = yes]
32473         (CFLAGS-tst-auditmod7b.c): Likewise.
32474         * elf/tst-audit3.c: Move to ...
32475         * sysdeps/x86_64/tst-audit3.c: ... here.
32476         * elf/tst-audit4.c: Move to ...
32477         * sysdeps/x86_64/tst-audit4.c: ... here.
32478         * elf/tst-audit5.c: Move to ...
32479         * sysdeps/x86_64/tst-audit5.c: ... here.
32480         * elf/tst-audit6.c: Move to ...
32481         * sysdeps/x86_64/tst-audit6.c: ... here.
32482         * elf/tst-audit7.c: Move to ...
32483         * sysdeps/x86_64/tst-audit7.c: ... here.
32484         * elf/tst-auditmod3a.c: Move to ...
32485         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
32486         * elf/tst-auditmod3b.c: Move to ...
32487         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
32488         * elf/tst-auditmod4a.c: Move to ...
32489         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
32490         * elf/tst-auditmod4b.c: Move to ...
32491         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
32492         * elf/tst-auditmod5a.c: Move to ...
32493         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
32494         * elf/tst-auditmod5b.c: Move to ...
32495         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
32496         * elf/tst-auditmod6a.c: Move to ...
32497         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
32498         * elf/tst-auditmod6b.c: Move to ...
32499         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
32500         * elf/tst-auditmod6c.c: Move to ...
32501         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
32502         * elf/tst-auditmod7a.c: Move to ...
32503         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
32504         * elf/tst-auditmod7b.c: Move to ...
32505         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
32507 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
32509         [BZ #15366]
32510         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
32511         define unconditionally.
32512         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
32513         define unconditionally.
32514         (INT8_C, INT16_C, etc.): Likewise.
32516 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
32518         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
32519         __ehdr_start with hidden visibility.
32521         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
32523 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
32525         * math/libm-test.inc (cos_test): Use accurate hex constants.
32526         (sincost_test): Likewise.
32528 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
32530         * math/libm-test.inc (catan_test): Add more tests.
32531         (catanh_test): Likewise.
32533         * math/s_catanf.c (__catanf): Use suffixed floating-point
32534         constants.
32535         * math/s_catanhf.c (__catanhf): Likewise.
32536         * math/s_catanhl.c (__catanhl): Likewise.
32537         * math/s_catanl.c (__catanl): Likewise.
32539         [BZ #15394]
32540         * math/s_catan.c (__catan): Calculate imaginary part of result
32541         with log1p not log unless computing log of number close to 0.
32542         * math/s_catanf.c (__catanf): Likewise.
32543         * math/s_catanl.c (__catanl): Likewise.
32544         * math/s_catanh.c (__catanh): Calculate real part of result with
32545         log1p not log unless computing log of number close to 0.
32546         * math/s_catanhf.c (__catanhf): Likewise.
32547         * math/s_catanhl.c (__catanhl): Likewise.
32548         * math/libm-test.inc (catan_test): Add more tests.
32549         (catanh_test): Likewise.
32550         * sysdeps/i386/fpu/libm-test-ulps: Update.
32551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32553 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32555         * benchtests/Makefile: Mention files in which fast and slow
32556         paths of math functions are implemented.
32558 2013-04-23  Roland McGrath  <roland@hack.frob.com>
32560         * sysdeps/posix/timespec_get.c: New file.
32562 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32564         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
32565         POWER.
32566         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
32567         for POWER.
32568         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
32569         powerpc/power5/fpu folders.
32570         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
32571         * benchtests/Makefile: Add modf testcase.
32572         * benchtests/bench-modf.c: New file: Benchmark test for mo
32574 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
32576         [BZ #14888]
32577         * time/Makefile (tests): Add tst-strptime-whitespace.
32578         * time/strptime_l.c (get_number): Use ISSPACE.
32579         (__strptime_internal): Likewise.
32580         * time/tst-strptime-whitespace.c: New test case.
32582 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
32584         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
32585         member.
32586         (_nss_files_init): Set it here.
32588 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
32590         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
32591         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
32592         unsigned.
32594 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
32596         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
32598 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32600         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
32601         size just once.
32603 2013-04-21  David S. Miller  <davem@davemloft.net>
32605         * po/ru.po: Update Russion translation from translation project.
32607 2013-04-17  Adam Conrad  <adconrad@0c3.net>
32609         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
32610         and setfsgid.
32612 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
32614         * configure.in: Remove i386 configure warning. Remove i386 case.
32615         * configure: Regenerate.
32616         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
32617         Add example to error message.
32618         * sysdeps/i386/configure: Regenerate.
32620 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32622         * benchtests/Makefile (bench): Add cos, tan, slowcos and
32623         slowtan.
32624         * benchtests/cos-inputs: New file.
32625         * benchtests/slowcos-inputs: New file.
32626         * benchtests/slowcos.c: New file.
32627         * benchtests/slowtan-inputs: New file.
32628         * benchtests/slowtan.c: New file.
32629         * benchtests/tan-inputs: New file.
32631 2013-04-16  Roland McGrath  <roland@hack.frob.com>
32633         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
32634         considered kosher.
32636 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32638         * benchtests/Makefile: Include cppflags-iterator.mk to add
32639         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
32641         * Makefile.in (bench-clean): New target.
32642         * benchtests/Makefile (bench-clean): Likewise.
32644 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
32646         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
32648 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
32650         * stdio-common/tstdiomisc.c: Fix coding-style violation.
32652 2013-04-15  Andreas Schwab  <schwab@suse.de>
32654         * nscd/grpcache.c (cache_addgr): Properly check for short write.
32655         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32656         * nscd/pwdcache.c (cache_addpw): Likewise.
32657         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
32658         more than recsize.
32660 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32662         * benchtests/Makefile (bench): Write all output to
32663         bench-out.tmp together.
32665 2013-04-15  Andreas Schwab  <schwab@suse.de>
32667         * nscd/nscd.c (main): Don't fork again after closing files.
32669 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32671         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
32673         * benchtests/Rules (bench-deps): Collect dependencies into a
32674         single variable.  Add Makefile to dependencies.
32675         ($(objpfx)bench-%.c): Depend on bench-deps.
32677 2013-04-12  Roland McGrath  <roland@hack.frob.com>
32678             Xavier Roche  <roche+kml2@exalead.com>
32680         [BZ #15361]
32681         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
32682         just that it's a file descriptor.
32683         * manual/llio.texi (Synchronizing AIO Operations): Update description
32684         for EBADF error from aio_fsync.
32686 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32688         * Rules (bench): Move target definition...
32689         * benchtests/Makefile: ... here.
32691 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
32693         * math/libm-test.inc (cos_test): Fix PI/2 test.
32694         (sincos_test): Likewise.
32695         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32696         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
32698 2013-04-11  Andreas Schwab  <schwab@suse.de>
32700         [BZ #13988]
32701         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
32702         accept exponent character only when digits were seen.
32703         * stdio-common/Makefile (tests): Add bug26.
32704         * stdio-common/bug26.c: New file.
32706         [BZ #14293]
32707         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
32708         non-freeable.
32710 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32712         * Makeconfig (rtld-prefix): Define built linker prefix.
32713         * Rules (run-bench): Use it.
32714         * math/Makefile (run-regen-ulps): Likewise.
32716         * Rules (bench): Remove eval.
32718 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32719             Roland McGrath  <roland@hack.frob.com>
32720             Ondrej Bilka  <neleai@seznam.cz>
32722         [BZ #15346]
32723         * time/getdate.c: Include ctype.h and alloca.h.
32724         (__getdate_r): Trim leading and trailing spaces of input.
32725         * time/tst-getdate.c (tests): Add tests with leading and
32726         trailing spaces.
32728 2013-04-08  Roland McGrath  <roland@hack.frob.com>
32730         [BZ #14280]
32731         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
32732         when computing value.
32734 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
32736         * math/README.libm-test (How can I generate "libm-test-ulps"?):
32737         Use testrun.sh to run libm tests.
32739         [BZ #15309]
32740         * elf/dl-open.c (dl_open_worker): memset all of seen array.
32742 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
32744         [BZ #15264]
32745         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
32747 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
32749         * Makefile.in (regen-ulps): New target.
32750         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
32751         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
32752         [ifneq (no,$(PERL)] (regen-ulps): New target.
32753         [ifeq (no,$(PERL)] (regen-ulps): New target.
32754         * math/libm-test.inc (ulps_file_name): Define.
32755         (output_dir): New variable.
32756         (options): Add "output-dir" option.
32757         (parse_opt): Handle 'o' case.
32758         (main): If output_dir is non-NULL use it as a prefix
32759         otherwise use "".
32760         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
32762 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
32764         [BZ #10060, #10062]
32765         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
32766         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
32767         fail configure if __sync_val_compare_and_swap is not inlined.
32768         * sysdeps/i386/configure: Regenerate.
32769         * configure.in: Build for i686 when configured for i386.
32770         * configure: Regenerate.
32771         * README: Remove i386 reference.
32773 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
32775         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
32776         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32778 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
32780         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
32781         (lmsnanval): New variables.
32782         (F): Add conversion tests.
32783         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
32784         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
32786         * stdio-common/tstdiomisc.c (F): Properly collect individual
32787         tests' results.
32789         [BZ #14686, #15336]
32790         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
32791         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
32792         Instead, use input NaN values or generate a qNaN by arithmetic
32793         operation.  Also fix bugs to comply with the standard.
32794         * math/libm-test.inc (remainder_test): Add more tests.
32796         [BZ #15335, #15342]
32797         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
32798         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
32799         input NaN values or generate a qNaN by arithmetic operation.
32801         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
32802         unreachable code.
32804         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
32805         definitions.
32807 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
32809         [BZ #14478]
32810         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
32811         underflowed result.
32812         * math/s_cexpf.c (__cexpf): Likewise.
32813         * math/s_cexpl.c (__cexpl): Likewise.
32814         * math/libm-test.inc (cexp_test): Add more tests.
32816 2013-04-03  Andreas Schwab  <schwab@suse.de>
32818         [BZ #15330]
32819         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
32820         order arrays from heap if bigger than alloca cutoff.
32822 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
32824         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
32825         (SNAN_TESTS_double): Refer to GCC PR56831.
32826         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
32827         GCC PR56828.
32829 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32831         * Rules (bench): Move bench.out after the run is complete.
32833         * Rules (bench): Echo currently running benchmark.
32835         * benchtests/Makefile (bench): Add atan and slowatan.
32836         * benchtests/atan-inputs: New file.
32837         * benchtests/slowatan-inputs: New file.
32838         * benchtests/slowatan.c: New file.
32840         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
32841         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
32842         its value.
32844         [BZ #15305]
32845         * sysdeps/unix/sysv/linux/kernel-features.h
32846         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
32847         __ASSUME_XFS_RESTRICTED_CHOWN.
32848         * sysdeps/unix/sysv/linux/pathconf.c
32849         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32850         Save and restore errno.
32852 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
32854         [BZ #15327]
32855         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
32856         arguments using __kernel_casinh.
32857         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
32858         arguments using __kernel_casinhf.
32859         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
32860         arguments using __kernel_casinhl.
32861         * math/libm-test.inc (cacosh_test): Add more tests.
32862         * sysdeps/i386/fpu/libm-test-ulps: Update.
32863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32865 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32867         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
32868         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
32870         * bench/Makefile (bench): Add sin and slowsin.
32871         * benchtests/sin-inputs: New file.
32872         * benchtests/slowsin-inputs: New file.
32873         * benchtests/slowsin.c: New file.
32875         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
32876         (bench): Add slowexp and slowpow.
32877         (exp-ITER): Increase iterations.
32878         (pow-ITER): Likewise.
32879         * benchtests/exp-inputs: Change input.
32880         * benchtests/pow-inputs: Likewise.
32881         * benchtests/slowexp-inputs: New file.
32882         * benchtests/slowexp.c: New file.
32883         * benchtests/slowpow-inputs: New file.
32884         * benchtests/slowpow.c: New file.
32886 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32888         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
32889         instructions.
32890         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32891         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
32892         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32893         * benchtests/Makefile: Add rint benchtest.
32894         * benchtests/rint-inputs: Input for rint benchtest.
32896 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
32898         * Versions.def (libm): Add GLIBC_2.18.
32899         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
32900         hidden libm prototypes.
32901         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
32902         * math/Makefile (libm-calls): Add s_issignaling.
32903         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
32904         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
32905         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
32906         declaration.
32907         * math/math.h [__USE_GNU] (issignaling): New macro.
32908         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
32909         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
32910         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
32911         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
32912         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
32913         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
32914         * manual/arith.texi (issignaling): New section.
32915         * manual/libm-err-tab.pl (@all_functions): Update comment.
32916         * math/gen-libm-test.pl (parse_args): Apply special handling for
32917         issignaling.
32918         * math/libm-test.inc (print_float, issignaling_test): New
32919         functions.
32920         (check_float_internal): Add issignaling checks.
32921         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
32922         default definition.
32923         * sysdeps/powerpc/math-tests.h: New file.
32924         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
32925         tests.
32926         * math/test-snan.c (TEST_FUNC): Likewise.
32928 2013-03-30  David S. Miller  <davem@davemloft.net>
32930         * po/de.po: Update from translation team.
32932 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
32934         [BZ #10357]
32935         * math/k_casinh.c (__kernel_casinh): Handle arguments with
32936         imaginary part less than 1.0 and real part less than 0.5
32937         specially.
32938         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32939         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32940         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
32941         (cacos_test): Add more tests.
32942         (casin_test): Likewise.
32943         (casinh_test): Likewise.
32944         * sysdeps/i386/fpu/libm-test-ulps: Update.
32945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32947 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32949         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
32950         ONE with its value.
32952         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
32953         (__pow_mp): Replace ONE and MONE with their values.
32954         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32955         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
32956         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32957         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
32958         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32959         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32961         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
32963         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
32964         (__pow_mp): Replace ZERO and MZERO with their values.
32965         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32966         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32967         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32968         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32969         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32970         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
32971         (__sqr): Likewise.
32973         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
32975         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
32977 2013-03-28  Roland McGrath  <roland@hack.frob.com>
32979         * include/stdlib.h [!SHARED] (__call_tls_dtors):
32980         Declare with __attribute__ ((weak)).
32981         * stdlib/exit.c (__libc_atexit) [!SHARED]:
32982         Call __call_tls_dtors only if it's not NULL.
32984 2013-03-28  Roland McGrath  <roland@hack.frob.com>
32986         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
32987         didn't do it already, then set _dl_phdr and _dl_phnum based on the
32988         magic __ehdr_start linker symbol if it's defined.
32989         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
32990         them up here if it was already done.
32992         * elf/dl-support.c (_dl_phdr): Make pointer to const.
32993         (_dl_aux_init): Use const in cast when setting it.
32994         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
32995         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
32996         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
32998         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
32999         Declare them here.
33000         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
33001         * csu/libc-tls.c: Nor here.
33002         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
33004         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
33005         (__libc_message): Never call vsyslog.
33007 2013-03-28  Alan Modra  <amodra@gmail.com>
33009         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
33010         Define as empty.
33011         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
33012         Likewise.
33014 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33016         [BZ #15214]
33017         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
33018         underflow.
33019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33021 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33023         [BZ #15304]
33024         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33025         Don't add gid passed as argument.
33027         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
33029 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
33031         [BZ #15307]
33032         * math/k_casinh.c (__kernel_casinh): Handle arguments with
33033         imaginary part between 1.0 and 1.5 and real part less than 0.5
33034         specially.
33035         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33036         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33037         * math/libm-test.inc (cacos_test): Add more tests.
33038         (casin_test): Likewise.
33039         (casinh_test): Likewise.
33040         * sysdeps/i386/fpu/libm-test-ulps: Update.
33041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33043 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33045         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
33046         constants.
33047         (norm): Likewise.
33048         (denorm): Likewise.
33049         (__dbl_mp): Likewise.
33050         (add_magnitudes): Likewise.
33051         (sub_magnitudes): Likewise.
33052         (__add): Likewise.
33053         (__sub): Likewise.
33054         (__mul): Likewise.
33055         (__sqr): Likewise.
33056         (__inv): Likewise.
33057         (__dvd): Likewise.
33059         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
33060         commented code.
33061         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
33062         (__dubcos): Likewise.
33063         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
33064         (__ieee754_acos): Likewise.
33065         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33066         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
33067         (__exp1): Likewise.
33068         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33069         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33070         (log1): Likewise.
33071         (my_log2): Likewise.
33072         (checkint): Likewise.
33073         * sysdeps/ieee754/dbl-64/e_remainder.c
33074         (__ieee754_remainder): Likewise.
33075         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33076         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
33077         (bsloww): Likewise.
33078         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33080         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33081         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
33082         MANTISSA_STORE_T to store computations on mantissa.  Use
33083         macros for rounding and division.
33084         (denorm): Likewise.
33085         (__dbl_mp): Likewise.
33086         (add_magnitudes): Likewise.
33087         (sub_magnitudes): Likewise.
33088         (__mul): Likewise.
33089         (__sqr): Likewise.
33090         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
33091         powers of two in terms of TWOPOW macro.
33092         (mp_no): Make type of mantissa as MANTISSA_T.
33093         [!RADIXI]: Define RADIXI.
33094         [!TWO52]: Define TWO52.
33095         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33097 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33099         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
33100         llroundl symbol when building for PPC32.
33102 2013-03-24  Mark H Weaver  <mhw@netris.org>
33104         * manual/arith.texi (Normalization Functions): Fix prototypes for
33105         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
33107 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33109         [BZ #13889]
33110         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
33111         high value to check if expl overflow.
33112         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
33113         to check for underflow and overflow.
33114         * math/libm-test.inc: Add exp test.
33116 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
33118         [BZ #11120]
33119         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
33120         with NOT_IN_libc.
33122 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33124         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
33125         symbol.
33127 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
33129         * math/gen-libm-test.pl (parse_args, special_functions): Properly
33130         wrap blocks consisting of several statements.
33132         * sysdeps/generic/math-tests.h: New file.
33133         * sysdeps/i386/fpu/math-tests.h: Likewise.
33134         * math/test-snan.c: Include it.
33135         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
33137 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
33139         [BZ #15285]
33140         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
33141         (__ieee754_j0l): Do not improve calculations using cos of twice
33142         input for inputs above LDBL_MAX / 2.0L.
33143         (__ieee754_y0l): Likewise.
33144         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
33145         (__ieee754_j1l): Do not improve calculations using cos of twice
33146         input for inputs above LDBL_MAX / 2.0L.
33147         (__ieee754_y1l): Likewise.
33148         * math/libm-test.inc (j0_test): Add another test.
33149         (j1_test): Likewise.
33150         (y0_test): Likewise.
33151         (y1_test): Likewise.
33152         * sysdeps/i386/fpu/libm-test-ulps: Update.
33154 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33156         * Rules ($(objpfx)bench-%.c): Include code from a C source
33157         file.
33159 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
33161         [BZ #15287]
33162         * math/k_casinh.c (__kernel_casinh): Handle arguments with
33163         imaginary part 1.0 and real part less than 0.5 specially.
33164         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33165         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33166         * math/libm-test.inc (cacos_test): Add more tests.
33167         (casin_test): Likewise.
33168         (casinh_test): Likewise.
33169         * sysdeps/i386/fpu/libm-test-ulps: Update.
33170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33172 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33174         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
33175         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
33177 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
33179         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
33180         * config.make.in (config-cflags-sse4): Remove variable.
33181         (config-cflags-avx): Likewise.
33182         (config-cflags-sse2avx): Likewise.
33183         (config-cflags-novzeroupper): Likewise.
33184         (config-asflags-i686): Likewise.
33185         (have-mfma4): Likewise.
33186         (have-as-vis3): Likewise.
33187         (MIG): Likewise.
33188         * configure.in (MIG): Do not AC_SUBST.
33189         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
33190         (libc_cv_cc_sse4): Do not AC_SUBST.
33191         (libc_cv_cc_avx): Likewise.
33192         (libc_cv_cc_sse2avx): Likewise.
33193         (libc_cv_cc_novzeroupper): Likewise.
33194         (libc_cv_cc_fma4): Likewise.
33195         (libc_cv_as_i686): Likewise.
33196         (libc_cv_sparc_as_vis3): Likewise.
33197         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
33198         LIBC_CONFIG_VAR.
33199         (config-asflags-i686): Likewise.
33200         (config-cflags-avx): Likewise.
33201         (config-cflags-sse2avx): Likewise.
33202         (have-mfma4): Likewise.
33203         (config-cflags-novzeroupper): Likewise.
33204         * sysdeps/mach/configure.in (MIG): Likewise.
33205         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
33206         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
33207         LIBC_CONFIG_VAR.
33208         (config-cflags-avx): Likewise.
33209         (config-cflags-sse2avx): Likewise.
33210         (have-mfma4): Likewise.
33211         (config-cflags-novzeroupper): Likewise.
33212         * configure: Regenerated.
33213         * sysdeps/i386/configure: Likewise.
33214         * sysdeps/mach/configure: Likewise.
33215         * sysdeps/sparc/configure: Likewise.
33216         * sysdeps/x86_64/configure: Likewise.
33218 2013-03-20  Roland McGrath  <roland@hack.frob.com>
33220         [BZ #14812]
33221         * locale/programs/localedef.c (options): Put N_ translation marker
33222         on argument names, not just descriptions.
33224 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33226         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
33228 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
33230         [BZ #14176]
33231         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
33233 2013-03-19  Roland McGrath  <roland@hack.frob.com>
33235         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
33236         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
33237         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
33238         [!BEFORE_ABORT] (before_abort): New function.
33239         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
33240         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
33241         (writev_for_fatal): New function.
33242         (WRITEV_FOR_FATAL): New macro; call that.
33243         (backtrace_and_maps): New function.
33244         (BEFORE_ABORT): New macro; call that.
33245         (struct str_list): Type removed.
33246         (__libc_message, __libc_fatal): Functions removed.
33247         Include <sysdeps/posix/libc_fatal.c> instead.
33249 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
33251         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
33252         constants.
33253         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
33254         double constants.
33256 2013-03-19  Andreas Schwab  <schwab@suse.de>
33258         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
33259         * sysdeps/gnu/configure: Regenerate.
33261         * configure.in: Substitute libc_cv_rtlddir.
33262         * configure: Regenerate.
33263         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
33264         * Makeconfig (rtlddir, inst_rtlddir): New variables.
33265         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
33266         * elf/Makefile (install-others, CFLAGS-interp.c)
33267         (ldso_install, common-ldd-rewrite): Likewise.
33268         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
33269         $(inst_slibdir)/$(rtld-installed-name).
33270         * scripts/rellns-sh: Add -p option.
33271         * Makerules (make-shlib-link): Use rellns-sh to get relative name
33272         for source.
33274 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33276         * manual/nptl.texi: Renamed to ...
33277         * manual/threads.texi: ... this.
33278         * manual/Makefile (chapters): Update.
33280 2013-03-18  Roland McGrath  <roland@hack.frob.com>
33282         [BZ #14812]
33283         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
33284         on argument names, not just descriptions.
33285         * malloc/memusagestat.c (options): Likewise.
33286         * nss/getent.c (options): Likewise.
33288 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
33290         [BZ #14812]
33291         * iconv/iconv_prog.c (options): Put N_ translation marker
33292         on argument names, not just descriptions.
33293         * iconv/iconvconfig.c (options): Likewise.
33295 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
33297         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
33298         implementation which is faster on all x86_64 architectures.
33299         Tested on AMD, Intel Nehalem, SNB, IVB.
33300         * sysdeps/x86_64/strnlen.S: Likewise.
33302         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33303         Remove all multiarch strlen and strnlen versions.
33304         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33305         Remove strlen and strnlen related parts.
33307         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
33308         Inline strlen part.
33309         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33311         * sysdeps/x86_64/multiarch/strlen.S: Remove.
33312         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
33313         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
33314         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
33315         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33316         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
33318 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
33320         * manual/memory.texi (Malloc Tunable Parameters):
33321         Sort parameters alphabetically. Add comments for missing entries.
33323 2013-03-17  David S. Miller  <davem@davemloft.net>
33325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33327 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
33329         [BZ #15283]
33330         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
33331         for arguments at most half maximum finite value.
33332         * math/libm-test.inc (j0_test): Add more tests.
33333         (j1_test): Likewise.
33334         (y0_test): Likewise.
33335         (y1_test): Likewise.
33336         * sysdeps/i386/fpu/libm-test-ulps: Update.
33337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33339         [BZ #14155]
33340         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
33341         1 / x and functions P and Q for arguments above 0x1p256L.
33342         (__ieee754_y0l): Likewise.
33343         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
33344         (__ieee754_y1l): Likewise.
33345         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
33346         (j1_test): Likewise.
33347         (y0_test): Likewise.
33348         (y1_test): Likewise.
33350 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
33352         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
33353         variable.
33355 2013-03-15  Roland McGrath  <roland@hack.frob.com>
33357         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
33358         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
33359         zero since it's initialized to EXEC_PAGESIZE.
33361         * sysdeps/unix/sysv/linux/ldsodefs.h
33362         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
33363         * sysdeps/generic/ldsodefs.h: ... here.
33365 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
33367         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
33369         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
33370         math/test-snan.c.
33371         * math/test-snan.c: Renamed from
33372         sysdeps/powerpc/fpu/test-powerpc-snan.c.
33373         * math/Makefile (tests): Add test-snan.
33374         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
33375         test-powerpc-snan.
33377         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
33378         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
33379         functions.
33380         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
33381         __builtin_nan family of functions.
33382         * math/libm-test.inc (initialize): Initialize qnan_value with
33383         __builtin_nan family of functions.
33384         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
33385         Remove variables.
33386         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
33387         Remove functions.
33388         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
33389         storage class.  Initialize qNaN_var and sNaN_var with
33390         __builtin_nan and __builtin_nans families of functions,
33391         respectively.
33393         * math/libm-test.inc (acosh_test): Also test with qNaN input.
33394         (sqrt_test): Remove duplicate test with qNaN input.
33395         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
33396         (round_test, signbit_test, significand_test): Note missing +/-Inf
33397         as well as qNaN tests.
33399         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
33400         qNaN_var.  Fix a few strings, too.
33401         * math/libm-test.inc (nan_value): Rename to qnan_value.
33402         * math/gen-libm-test.pl (%beautify): Adjust to that.
33403         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
33404         * math/test-misc.c (main): Likewise.
33405         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
33406         to __qnan_bytes, and __qnan_union, respectively.
33407         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
33408         Likewise.
33409         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
33410         and lqnanval, respectively.
33411         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
33412         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
33413         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
33414         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
33416         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
33417         * math/test-misc.c (main) [__x86_64__]: Enable test for long
33418         doubles.
33420         * math/test-misc.c (main): Fix copy'n'pastos.
33421         * misc/tst-efgcvt.c (special): Likewise.
33423         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
33424         Remove declarations.
33426 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33428         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
33429         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
33430         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
33431         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
33433 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33435         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
33436         macro to return vdso values correctly in IFUNC implementations.
33437         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33438         Optimization by using IFUNC.
33440 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33441             Richard Henderson  <rth@redhat.com>
33442             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33444         * Makefile.in (bench): New target.
33445         * NEWS: Mention the benchmark framework.
33446         * Rules (bench): Likewise.
33447         (binaries-bench): Generate binaries for functions to
33448         benchmark.
33449         * benchtests/Makefile: New makefile for benchmark tests.
33450         * benchtests/bench-skeleton.c: New skeleton file for benchmark
33451         programs.
33452         * benchtests/exp-inputs: New input file for EXP function.
33453         * benchtests/pow-inputs: New input file for POW function.
33454         * scripts/bench.pl: New script to generate source files for
33455         benchmark programs.
33457 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33459         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33460         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
33461         computations on mantissa.  Use macros for rounding and
33462         division.
33463         (denorm): Likewise.
33464         (__dbl_mp): Likewise.
33465         (add_magnitudes): Likewise.
33466         (sub_magnitudes): Likewise.
33467         (__mul): Likewise.
33468         (__sqr): Likewise.
33469         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
33470         powers of two in terms of TWOPOW macro.
33471         (mp_no): Make type of mantissa as MANTISSA_T.
33472         [!RADIXI]: Define RADIXI.
33473         [!TWO52]: Define TWO52.
33474         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33476         * manual/nptl.texi (cindex): Modify threads to pthreads.
33478 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
33480         * sysdeps/x86_64/preconfigure: Regenerated.
33482 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
33484         [BZ #14155]
33485         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
33486         0x1p28 and above.
33487         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
33488         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
33489         0x1p28 and above.
33490         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
33491         * math/libm-test.inc (j0_test): Do not allow one spurious
33492         underflow exception.
33493         (y1_test): Likewise.
33495 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33497         * manual/Makefile (chapters): Add nptl.
33498         * manual/debug.texi (Debugging Support): Add link to Threads
33499         chapter.
33500         * manual/nptl.texi: New file.
33502         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
33504 2013-03-14  Petr Baudis  <pasky@ucw.cz>
33506         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
33507         for non-NULL pointer before the memory validity test. Pointed
33508         out by Holger Brunck <holger.brunck@keymile.com>.
33510 2013-03-13  Andreas Schwab  <schwab@suse.de>
33512         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
33513         instead of .os.
33515 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
33517         * timezone/zic.c: Update from tzcode 2013b.
33519 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
33521         * manual/install.texi (Configuring and compiling):
33522         Mention i686 and i586.
33523         * INSTALL: Regenerate.
33525 2013-03-12  Roland McGrath  <roland@hack.frob.com>
33527         * sysdeps/init_array/elf-init.c: New file.
33528         * csu/elf-init.c
33529         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
33530         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
33532         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
33533         __gmon_start__ as global, but as static with a .preinit_array pointer.
33534         * sysdeps/init_array/gmon-start.c: New file.  Use that.
33535         * sysdeps/init_array/crti.S: New file, empty except for comments.
33536         * sysdeps/init_array/crtn.S: Likewise.
33538 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
33540         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
33541         definining bcopy.
33542         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33543         Remove Prefer_SSE_for_memop.
33544         * sysdeps/x86_64/multiarch/init-arch.h: Remove
33545         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
33546         HAS_PREFER_SSE_FOR_MEMOP.
33547         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
33548         memset-x86-64.
33549         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33550         Remove bzero, memset ifunc support.
33551         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
33552         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
33553         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33554         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33556 2013-03-11  Andreas Schwab  <schwab@suse.de>
33558         [BZ #15234]
33559         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
33560         by SHLIB_COMPAT.
33561         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
33562         (GLIBC_2.16): Remove pthread_atfork.
33564 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33566         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
33567         (ptestcases.h): Likewise.
33569 2013-03-08  Roland McGrath  <roland@hack.frob.com>
33571         * Makeconfig ($(common-objpfx)config.status): Depend on
33572         sysdeps/*/preconfigure{,.in} too.
33574 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
33576         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
33577         (__free_hook): Use void * instead of __malloc_ptr_t.
33578         (__malloc_hook): Likewise.
33579         (__realloc_hook): Likewise.
33580         (__memalign_hook): Likewise.
33581         (__after_morecore_hook): Likewise.
33582         * malloc/arena.c (save_malloc_hook): Likewise.
33583         (save_free_hook): Likewise.
33584         * malloc/hooks.c (malloc_hook_ini): Likewise.
33585         (realloc_hook_ini): Likewise.
33586         (memalign_hook_ini): Likewise.
33587         * malloc/malloc.c (malloc_hook_ini): Likewise.
33588         (realloc_hook_ini): Likewise.
33589         (memalign_hook_ini): Likewise.
33590         (__free_hook): Likewise.
33591         (__malloc_hook): Likewise.
33592         (__realloc_hook): Likewise.
33593         (__memalign_hook): Likewise.
33594         (__libc_malloc): Likewise.
33595         (__libc_free): Likewise.
33596         (__libc_realloc): Likewise.
33597         (__libc_memalign): Likewise.
33598         (__libc_valloc): Likewise.
33599         (__libc_pvalloc): Likewise.
33600         (__libc_calloc): Likewise.
33601         (__posix_memalign): Likewise.
33602         * malloc/morecore.c (__sbrk): Likewise.
33603         (__default_morecore): Likewise.
33605         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
33607         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
33608         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
33609         __malloc_ptrdiff_t.
33611         * malloc/malloc.h (__malloc_size_t): Remove macro.
33612         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
33613         __malloc_size_t.
33614         (old_memalign_hook): Likewise.
33615         (old_realloc_hook): Likewise.
33616         (struct hdr): Likewise.
33617         (flood): Likewise.
33618         (mallochook): Likewise.
33619         (memalignhook): Likewise.
33620         (reallochook): Likewise.
33621         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
33622         (tr_old_realloc_hook): Likewise.
33623         (tr_old_memalign_hook): Likewise.
33624         (tr_mallochook): Likewise.
33625         (tr_reallochook): Likewise.
33626         (tr_memalignhook): Likewise.
33628 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33630         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
33631         default_ldbl_pack and using as default implementation.
33632         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
33633         implementation.
33634         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
33635         redundant definition.
33636         (ldbl_insert_mantissa): Likewise.
33637         (ldbl_canonicalize): Likewise.
33638         (ldbl_nearbyint): Likewise.
33639         (ldbl_pack): Rename to ldbl_pack_ppc.
33640         (ldbl_unpack): Rename to ldbl_unpack_ppc.
33641         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
33642         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
33644 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33646         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
33647         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
33648         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
33649         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
33650         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
33651         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
33652         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
33653         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
33655 2013-03-07  Andreas Jaeger  <aj@suse.de>
33657         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33658         bits/mman-linux.h.
33660 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
33662         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
33663         Include mpa.h and declare __MPEXP.
33664         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
33665         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33666         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33667         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
33668         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33669         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33670         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
33672         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
33673         (__slowpow): Use long double EXPL and LOGL functions to
33674         compute POW.
33675         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33676         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33677         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
33678         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33679         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33680         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
33682         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
33683         intermediate variable to calculate exponent.
33684         (__sqr): Likewise.
33685         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
33686         Likewise.
33687         (__sqr): Likewise.
33689         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
33690         [!NO__SQR]: Define __sqr.
33691         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
33692         and NO__SQR.  Remove all code except __mul and __sqr.  Include
33693         sysdeps/ieee754/dbl-64/mpa.c.
33694         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33696         [BZ #12723]
33697         * posix/Makefile (tests): Add tst-pathconf.
33698         * posix/tst-pathconf.c: New test case.
33699         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
33700         _PC_PIPE_BUF.
33701         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
33703 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
33705         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
33707 2013-03-06  Andreas Jaeger  <aj@suse.de>
33709         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
33710         definition via __MAP_ANONYMOUS.
33712         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
33713         it's not part of Linux headers.
33715         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
33716         (MAP_HUGE_MASK): Define.
33718         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33719         Define.
33720         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33721         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33722         Define.
33723         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33724         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33725         Define.
33726         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33727         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
33728         Define.
33729         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33731         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
33732         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
33733         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
33734         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
33735         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
33736         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
33738         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33739         Handle f2fs.
33741         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33742         Handle f2fs and efivarfs.
33744         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
33745         f2fs.
33747         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
33748         (EFIVARFS_MAGIC): Add.
33749         (F2FS_LINK_MAX): Add.
33751 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33753         * stdio-common/vfprintf.c: Replace __builtin_expect with
33754         __glibc_unlikely.
33756 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
33758         [BZ #13550]
33759         * sysdeps/generic/bp-sym.h: Remove file.
33760         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
33761         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
33762         <bp-sym.h> and <bp-asm.h>.
33763         (__longjmp): Don't use BP_SYM.
33764         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
33765         and <bp-asm.h>.
33766         (memcpy): Don't use BP_SYM.
33767         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
33768         <bp-sym.h> and <bp-asm.h>.
33769         (memcpy): Don't use BP_SYM.
33770         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
33771         <bp-asm.h>.
33772         (memcpy): Don't use BP_SYM.
33773         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
33774         <bp-asm.h>.
33775         (memset): Don't use BP_SYM.
33776         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33777         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33778         (__bzero): Don't use BP_SYM.
33779         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33780         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33781         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
33782         <bp-sym.h> and <bp-asm.h>.
33783         (memcmp): Don't use BP_SYM.  Remove comment about bounded
33784         pointers.
33785         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
33786         <bp-sym.h> and <bp-asm.h>.
33787         (memcpy): Don't use BP_SYM.
33788         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
33789         <bp-sym.h> and <bp-asm.h>.
33790         (memset): Don't use BP_SYM.
33791         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33792         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33793         (__bzero): Don't use BP_SYM.
33794         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33795         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33796         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
33797         <bp-sym.h> and <bp-asm.h>.
33798         (strncmp): Don't use BP_SYM.  Remove comment about bounded
33799         pointers.
33800         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
33801         <bp-sym.h> and <bp-asm.h>.
33802         (memcpy): Don't use BP_SYM.
33803         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
33804         <bp-sym.h> and <bp-asm.h>.
33805         (memset): Don't use BP_SYM.
33806         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33807         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33808         (__bzero): Don't use BP_SYM.
33809         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33810         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33811         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
33812         <bp-sym.h> and <bp-asm.h>.
33813         (__memchr): Don't use BP_SYM.
33814         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
33815         <bp-sym.h> and <bp-asm.h>.
33816         (memcmp): Don't use BP_SYM.  Remove comment about bounded
33817         pointers.
33818         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
33819         <bp-sym.h> and <bp-asm.h>.
33820         (memcpy): Don't use BP_SYM.
33821         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
33822         <bp-sym.h> and <bp-asm.h>.
33823         (__mempcpy): Don't use BP_SYM.
33824         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
33825         <bp-sym.h> and <bp-asm.h>.
33826         (__memrchr): Don't use BP_SYM.
33827         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
33828         <bp-sym.h> and <bp-asm.h>.
33829         (memset): Don't use BP_SYM.
33830         (__bzero): Likewise.
33831         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
33832         <bp-sym.h> and <bp-asm.h>.
33833         (__rawmemchr): Don't use BP_SYM.
33834         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
33835         <bp-sym.h> and <bp-asm.h>.
33836         (__STRCMP): Don't use BP_SYM.
33837         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
33838         <bp-sym.h> and <bp-asm.h>.
33839         (strchr): Don't use BP_SYM.
33840         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
33841         <bp-sym.h> and <bp-asm.h>.
33842         (__strchrnul): Don't use BP_SYM.
33843         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
33844         <bp-sym.h> and <bp-asm.h>.
33845         (strlen): Don't use BP_SYM.
33846         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
33847         <bp-sym.h> and <bp-asm.h>.
33848         (strncmp): Don't use BP_SYM.  Remove comment about bounded
33849         pointers.
33850         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
33851         <bp-sym.h> and <bp-asm.h>.
33852         (__strnlen): Don't use BP_SYM.
33853         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
33854         <bp-sym.h> and <bp-asm.h>.
33855         (__GI__setjmp): Don't use BP_SYM.
33856         (_setjmp): Likewise.
33857         (__sigsetjmp): Likewise.
33858         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
33859         (L(start_addresses)): Don't use BP_SYM.
33860         (_start): Likewise.
33861         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
33862         <bp-asm.h>.
33863         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
33864         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
33865         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33866         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33867         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
33868         <bp-asm.h>.
33869         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
33870         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
33871         about bounded pointers.
33872         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33873         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33874         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
33875         <bp-asm.h>.
33876         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
33877         about bounded pointers.  Remove GKM FIXME comments.
33878         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33879         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
33880         <bp-asm.h>.
33881         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
33882         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
33883         Remove GKM FIXME comments.
33884         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33885         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33886         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
33887         <bp-asm.h>.
33888         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
33889         about bounded pointers.  Remove GKM FIXME comment.
33890         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
33891         and <bp-asm.h>.
33892         (strncmp): Don't use BP_SYM.  Remove comment about bounded
33893         pointers.
33894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
33895         <bp-sym.h> and <bp-asm.h>.
33896         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
33898         <bp-sym.h> and <bp-asm.h>.
33899         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
33900         comment.
33902 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33904         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
33905         call free(NULL).
33907 2013-03-05  David S. Miller  <davem@davemloft.net>
33909         * po/es.po: Update from translation team.
33911 2013-03-05  Andreas Jaeger  <aj@suse.de>
33913         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
33914         <bits/mman-linux.h>.
33915         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33916         is fine.
33917         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
33918         <bits/mman-linux.h> to end of file.
33919         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33920         is fine.
33921         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
33922         <bits/mman-linux.h> to end of file.
33923         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33924         is fine.
33925         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
33926         <bits/mman-linux.h> to end of file.
33928         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
33929         (MCL_CURRENT, MCL_FUTURE): Define here.
33931 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33933         [BZ #15232]
33934         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
33935         attribute_hidden.
33936         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33938 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33940         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
33941         fourth parameter needed for rt_sigprocmask syscall.
33942         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33943         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33944         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
33945         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33946         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33947         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
33949 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
33951         [BZ #13550]
33952         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
33953         comment about bounded pointers.
33954         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
33955         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
33957 2013-03-04  Andreas Jaeger  <aj@suse.de>
33959         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
33960         common definitions.
33962         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
33963         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
33964         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
33965         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33966         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33967         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33969 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33971         [BZ #15055]
33972         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33973         __ieee754_sqrl instead of __sqrl.
33975 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
33977         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
33978         * sysdeps/powerpc/fpu_control.h: ... here.
33979         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
33980         * sysdeps/powerpc/bits/fenvinline.h: ... here.
33981         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
33982         * sysdeps/powerpc/bits/mathinline.h: ... here.
33984 2013-03-01  Roland McGrath  <roland@hack.frob.com>
33986         * elf/dl-hwcaps.c (_dl_important_hwcaps):
33987         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
33988         to just [NEED_DL_SYSINFO_DSO].
33989         * elf/dl-support.c: Likewise.
33990         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33991         * elf/rtld.c (dl_main): Likewise.
33992         * elf/setup-vdso.h (setup_vdso): Likewise.
33993         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
33994         * sysdeps/unix/sysv/linux/dl-sysdep.c
33995         (_dl_discover_osversion): Likewise.
33997 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
33999         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
34000         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34002 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34004         * NEWS: Mention libm performance improvements and non-x86 PI
34005         futex support.
34007         * csu/libc-start.c (__pthread_initialize_minimal): Change
34008         function arguments.
34009         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34011 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
34013         [BZ #13550]
34014         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
34015         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
34016         <bp-sym.h> and <bp-asm.h>.
34017         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34018         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
34019         and <bp-asm.h>.
34020         (memcpy): Don't use BP_SYM.
34021         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
34022         <bp-asm.h>.
34023         (__mpn_add_n): Don't use BP_SYM.
34024         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
34025         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
34026         and <bp-asm.h>.
34027         (__mpn_addmul_1): Don't use BP_SYM.
34028         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34029         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
34030         <bp-sym.h>.
34031         (_setjmp): Don't use BP_SYM.
34032         (__novmx_setjmp): Likewise.
34033         (__GI__setjmp): Likewise.
34034         (__vmx_setjmp): Likewise.
34035         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
34036         <bp-sym.h>.
34037         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
34038         (__bzero): Don't use BP_SYM.
34039         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34040         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34041         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
34042         <bp-sym.h> and <bp-asm.h>.
34043         (memcpy): Don't use BP_SYM.
34044         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
34045         <bp-sym.h> and <bp-asm.h>.
34046         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34047         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
34048         <bp-sym.h> and <bp-asm.h>.
34049         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34050         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
34051         <bp-asm.h>.
34052         (__mpn_lshift): Don't use BP_SYM.
34053         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34054         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
34055         <bp-asm.h>.
34056         (memset): Don't use BP_SYM.
34057         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34058         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34059         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
34060         <bp-asm.h>.
34061         (__mpn_mul_1): Don't use BP_SYM.
34062         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34063         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
34064         <bp-sym.h> and <bp-asm.h>.
34065         (memcmp): Don't use BP_SYM.
34066         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
34067         <bp-sym.h> and <bp-asm.h>.
34068         (memcpy): Don't use BP_SYM.
34069         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
34070         <bp-sym.h> and <bp-asm.h>.
34071         (memset): Don't use BP_SYM.
34072         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
34073         <bp-sym.h> and <bp-asm.h>.
34074         (strncmp): Don't use BP_SYM.
34075         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
34076         <bp-sym.h> and <bp-asm.h>.
34077         (memcpy): Don't use BP_SYM.
34078         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
34079         <bp-sym.h> and <bp-asm.h>.
34080         (memset): Don't use BP_SYM.
34081         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
34082         <bp-sym.h> and <bp-asm.h>.
34083         (__memchr): Don't use BP_SYM.
34084         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
34085         <bp-sym.h> and <bp-asm.h>.
34086         (memcmp): Don't use BP_SYM.
34087         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
34088         <bp-sym.h> and <bp-asm.h>.
34089         (memcpy): Don't use BP_SYM.
34090         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
34091         <bp-sym.h> and <bp-asm.h>.
34092         (__mempcpy): Don't use BP_SYM.
34093         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
34094         <bp-sym.h> and <bp-asm.h>.
34095         (__memrchr): Don't use BP_SYM.
34096         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
34097         <bp-sym.h> and <bp-asm.h>.
34098         (memset): Don't use BP_SYM.
34099         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
34100         <bp-sym.h> and <bp-asm.h>.
34101         (__rawmemchr): Don't use BP_SYM.
34102         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
34103         <bp-sym.h> and <bp-asm.h>.
34104         (__STRCMP): Don't use BP_SYM.
34105         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
34106         <bp-sym.h> and <bp-asm.h>.
34107         (strchr): Don't use BP_SYM.
34108         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
34109         <bp-sym.h> and <bp-asm.h>.
34110         (__strchrnul): Don't use BP_SYM.
34111         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
34112         <bp-sym.h> and <bp-asm.h>.
34113         (strlen): Don't use BP_SYM.
34114         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
34115         <bp-sym.h> and <bp-asm.h>.
34116         (strncmp): Don't use BP_SYM.
34117         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
34118         <bp-sym.h> and <bp-asm.h>.
34119         (__strnlen): Don't use BP_SYM.
34120         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
34121         <bp-asm.h>.
34122         (__mpn_rshift): Don't use BP_SYM.
34123         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34124         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
34125         <bp-sym.h> and <bp-asm.h>.
34126         (__sigsetjmp): Don't use BP_SYM.
34127         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
34128         (L(start_addresses)): Don't use BP_SYM.
34129         (_start): Likewise.
34130         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
34131         <bp-asm.h>.
34132         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
34133         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34134         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34135         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
34136         <bp-asm.h>.
34137         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
34138         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34139         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34140         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
34141         <bp-asm.h>.
34142         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
34143         comments.
34144         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34145         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
34146         <bp-asm.h>.
34147         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
34148         FIXME comments.
34149         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34150         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34151         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
34152         <bp-asm.h>.
34153         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
34154         comment.
34155         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
34156         and <bp-asm.h>.
34157         (strncmp): Don't use BP_SYM,
34158         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
34159         <bp-asm.h>.
34160         (__mpn_sub_n): Don't use BP_SYM.
34161         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34162         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
34163         and <bp-asm.h>.
34164         (__mpn_submul_1): Don't use BP_SYM.
34165         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
34167         <bp-sym.h> and <bp-asm.h>.
34168         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
34170         <bp-sym.h> and <bp-asm.h>.
34171         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
34172         comment.
34174 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34176         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
34177         Use ZK to minimize writes to Z.
34178         (sub_magnitudes): Simplify code a bit.
34179         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
34180         Use ZK to minimize writes to Z.
34181         (sub_magnitudes): Simplify code a bit.
34183 2013-02-27  Roland McGrath  <roland@hack.frob.com>
34185         * csu/gmon-start.c: Add special exception to license text.
34187 2013-02-27  Richard Henderson  <rth@redhat.com>
34189         * scripts/config.guess: Update from config.git.
34190         * scripts/config.sub: Likewise.
34192 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34194         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
34196         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
34198         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
34200         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
34202         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
34204 2013-02-26  Roland McGrath  <roland@hack.frob.com>
34206         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
34207         [$(build-shared = yes].
34209 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34211         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
34212         (__mul): Reduce iterations for calculating mantissa.
34214         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
34215         MPTWO.
34216         (__mpranred): Likewise.
34218         [BZ #15160]
34219         * malloc/memusagestat.c (main): Draw graphs for heap and stack
34220         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
34222 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
34224         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
34225         Define __attribute__.
34227 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34229         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
34230         unused.
34231         * posix/regex_internal.h (__attribute): Remove.
34232         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
34233         (re_string_context_at): Likewise.
34234         (bitset_not): Use __attribute__ and mark function as possibly
34235         unused.
34236         (bitset_merge): Likewise.
34237         (bitset_mask): Likewise.
34238         (re_string_char_size_at): Likewise.
34239         (re_string_wchar_at): Likewise.
34240         (re_string_elem_size_at): Likewise.
34242 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34244         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
34245         code.
34246         (cc32): Likewise.
34248         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
34249         (__acr): Likewise.
34250         (__cpy): Likewise.
34251         (norm): Likewise.
34252         (denorm): Likewise.
34253         (__dbl_mp): Likewise.
34254         (add_magnitudes): Likewise.
34255         (sub_magnitudes): Likewise.
34256         (__mul): Likewise.
34257         (__inv): Likewise.
34259         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
34260         style.
34262         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
34263         style.
34265         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
34266         code.
34268         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
34269         up changes with default code.
34270         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
34271         Likewise.
34273 2013-02-24  Allan McRae  <allan@archlinux.org>
34275         * manual/socket.texi (The Internet Namespace): Order menu items
34276         to match that in the file.
34278         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
34279         node listing of the info page menu.
34281 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
34283         [BZ #13550]
34284         * sysdeps/i386/bp-asm.h: Remove file.
34285         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34286         (PARMS): Do not use macros from bp-asm.h.
34287         (S1): Likewise.
34288         (S2): Likewise.
34289         (SIZE): Likewise.
34290         (__mpn_add_n): Do not use BP_SYM
34291         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
34292         "bp-asm.h".
34293         (PARMS): Do not use macros from bp-asm.h.
34294         (S1): Likewise.
34295         (SIZE): Likewise.
34296         (__mpn_addmul_1): Do not use BP_SYM
34297         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
34298         "bp-asm.h".
34299         (PARMS): Do not use macros from bp-asm.h.
34300         (SIGMSK): Likewise.
34301         (_setjmp): Likewise.  Do not use BP_SYM.
34302         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
34303         "bp-asm.h".
34304         (PARMS): Do not use macros from bp-asm.h.
34305         (SIGMSK): Likewise.
34306         (setjmp): Likewise.  Do not use BP_SYM.
34307         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
34308         "bp-asm.h".
34309         (PARMS): Do not use macros from bp-asm.h.
34310         (__frexp): Do not use BP_SYM.
34311         (frexp): Likewise.
34312         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
34313         "bp-asm.h".
34314         (PARMS): Do not use macros from bp-asm.h.
34315         (__frexpf): Do not use BP_SYM.
34316         (frexpf): Likewise.
34317         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
34318         "bp-asm.h".
34319         (PARMS): Do not use macros from bp-asm.h.
34320         (__frexpl): Do not use BP_SYM.
34321         (frexpl): Likewise.
34322         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
34323         "bp-asm.h".
34324         (PARMS): Do not use macros from bp-asm.h.
34325         (__remquo): Do not use BP_SYM.
34326         (remquo): Likewise.
34327         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
34328         "bp-asm.h".
34329         (PARMS): Do not use macros from bp-asm.h.
34330         (__remquof): Do not use BP_SYM.
34331         (remquof): Likewise.
34332         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
34333         "bp-asm.h".
34334         (PARMS): Do not use macros from bp-asm.h.
34335         (__remquol): Do not use BP_SYM.
34336         (remquol): Likewise.
34337         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
34338         "bp-asm.h".
34339         (PARMS): Do not use macros from bp-asm.h.
34340         (DEST): Likewise.
34341         (SRC): Likewise.
34342         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
34343         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
34344         "bp-asm.h".
34345         (PARMS): Do not use macros from bp-asm.h.
34346         (strlen): Do not use BP_SYM.
34347         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
34348         "bp-asm.h".
34349         (PARMS): Do not use macros from bp-asm.h.
34350         (S1): Likewise.
34351         (S2): Likewise.
34352         (SIZE): Likewise.
34353         (__mpn_add_n): Do not use BP_SYM.
34354         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
34355         "bp-asm.h".
34356         (PARMS): Do not use macros from bp-asm.h.
34357         (S1): Likewise.
34358         (SIZE): Likewise.
34359         (__mpn_addmul_1): Do not use BP_SYM.
34360         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
34361         weak_alias.
34362         (bzero): Likewise.
34363         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
34364         "bp-asm.h".
34365         (PARMS): Do not use macros from bp-asm.h.
34366         (S): Likewise.
34367         (SIZE): Likewise.
34368         (__mpn_lshift): Do not use BP_SYM.
34369         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
34370         "bp-asm.h".
34371         (PARMS): Do not use macros from bp-asm.h.
34372         (DEST): Likewise.
34373         (SRC): Likewise.
34374         (LEN): Likewise.
34375         (memcpy): Likewise.  Do not use BP_SYM.
34376         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
34377         libc_hidden_def and weak_alias.
34378         (mempcpy): Do not use BP_SYM in weak_alias.
34379         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
34380         "bp-asm.h".
34381         (PARMS): Do not use macros from bp-asm.h.
34382         (DEST): Likewise.
34383         (LEN): Likewise.
34384         [!BZERO_P] (CHR): Likewise.
34385         (memset): Likewise.  Do not use BP_SYM.
34386         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
34387         "bp-asm.h".
34388         (PARMS): Do not use macros from bp-asm.h.
34389         (S1): Likewise.
34390         (SIZE): Likewise.
34391         (__mpn_mul_1): Do not use BP_SYM.
34392         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
34393         "bp-asm.h".
34394         (PARMS): Do not use macros from bp-asm.h.
34395         (S): Likewise.
34396         (SIZE): Likewise.
34397         (__mpn_rshift): Do not use BP_SYM.
34398         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
34399         "bp-asm.h".
34400         (PARMS): Do not use macros from bp-asm.h.
34401         (STR): Likewise.
34402         (CHR): Likewise.
34403         (strchr): Likewise.  Do not use BP_SYM.
34404         (index): Do not use BP_SYM in weak_alias.
34405         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
34406         "bp-asm.h".
34407         (PARMS): Do not use macros from bp-asm.h.
34408         (DEST): Likewise.
34409         (SRC): Likewise.
34410         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
34411         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
34412         "bp-asm.h".
34413         (PARMS): Do not use macros from bp-asm.h.
34414         (strlen): Do not use BP_SYM.
34415         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
34416         "bp-asm.h".
34417         (PARMS): Do not use macros from bp-asm.h.
34418         (S1): Likewise.
34419         (S2): Likewise.
34420         (SIZE): Likewise.
34421         (__mpn_sub_n): Do not use BP_SYM.
34422         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
34423         "bp-asm.h".
34424         (PARMS): Do not use macros from bp-asm.h.
34425         (S1): Likewise.
34426         (SIZE): Likewise.
34427         (__mpn_submul_1): Do not use BP_SYM.
34428         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
34429         "bp-asm.h".
34430         (PARMS): Do not use macros from bp-asm.h.
34431         (S1): Likewise.
34432         (S2): Likewise.
34433         (SIZE): Likewise.
34434         (__mpn_add_n): Do not use BP_SYM.
34435         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
34436         weak_alias.
34437         (bzero): Likewise.
34438         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
34439         "bp-asm.h".
34440         (PARMS): Do not use macros from bp-asm.h.
34441         (BLK2): Likewise.
34442         (LEN): Likewise.
34443         (memcmp): Do not use BP_SYM.
34444         (bcmp): Do not use BP_SYM in weak_alias.
34445         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
34446         "bp-asm.h".
34447         (PARMS): Do not use macros from bp-asm.h.
34448         (DEST): Likewise.
34449         (SRC): Likewise.
34450         (LEN): Likewise.
34451         (memcpy): Likewise.  Do not use BP_SYM.
34452         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
34453         "bp-asm.h".
34454         (PARMS): Do not use macros from bp-asm.h.
34455         (DEST): Likewise.
34456         (SRC): Likewise.
34457         (LEN): Likewise.
34458         (memmove): Likewise.  Do not use BP_SYM.
34459         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
34460         "bp-asm.h".
34461         (PARMS): Do not use macros from bp-asm.h.
34462         (DEST): Likewise.
34463         (SRC): Likewise.
34464         (LEN): Likewise.
34465         (__mempcpy): Likewise.  Do not use BP_SYM.
34466         (mempcpy): Do not use BP_SYM in weak_alias.
34467         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
34468         "bp-asm.h".
34469         (PARMS): Do not use macros from bp-asm.h.
34470         (DEST): Likewise.
34471         (LEN): Likewise.
34472         [!BZERO_P] (CHR): Likewise.
34473         (memset): Likewise.  Do not use BP_SYM.
34474         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
34475         "bp-asm.h".
34476         (PARMS): Do not use macros from bp-asm.h.
34477         (STR2): Likewise.
34478         (strcmp): Do not use BP_SYM.
34479         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
34480         "bp-asm.h".
34481         (PARMS): Do not use macros from bp-asm.h.
34482         (STR): Likewise.
34483         (DELIM): Likewise.
34484         [USE_AS_STRTOK_R] (SAVE): Likewise.
34485         (FUNCTION): Likewise.  Do not use BP_SYM.
34486         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
34487         aliases.
34488         (strtok_r): Likewise.
34489         (__GI___strtok_r): Likewise.
34490         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34491         (PARMS): Do not use macros from bp-asm.h.
34492         (S): Likewise.
34493         (SIZE): Likewise.
34494         (__mpn_lshift): Do not use BP_SYM.
34495         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34496         (PARMS): Do not use macros from bp-asm.h.
34497         (STR): Likewise.
34498         (CHR): Likewise.
34499         (__memchr): Do not use BP_SYM.
34500         (memchr): Do not use BP_SYM in weak_alias.
34501         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34502         (PARMS): Do not use macros from bp-asm.h.
34503         (BLK2): Likewise.
34504         (LEN): Likewise.
34505         (memcmp): Do not use BP_SYM.
34506         (bcmp): Do not use BP_SYM in weak_alias.
34507         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
34508         (PARMS): Do not use macros from bp-asm.h.
34509         (S1): Likewise.
34510         (SIZE): Likewise.
34511         (__mpn_mul_1): Do not use BP_SYM.
34512         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
34513         "bp-asm.h".
34514         (PARMS): Do not use macros from bp-asm.h.
34515         (STR): Likewise.
34516         (CHR): Likewise.
34517         (__rawmemchr): Do not use BP_SYM.
34518         (rawmemchr): Do not use BP_SYM in weak_alias.
34519         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34520         (PARMS): Do not use macros from bp-asm.h.
34521         (S): Likewise.
34522         (SIZE): Likewise.
34523         (__mpn_rshift): Do not use BP_SYM.
34524         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34525         (PARMS): Do not use macros from bp-asm.h.
34526         (SIGMSK): Likewise.
34527         (__sigsetjmp): Likewise.  Do not use BP_SYM.
34528         * sysdeps/i386/start.S: Do not include "bp-sym.h".
34529         (_start): Do not use BP_SYM.
34530         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
34531         (PARMS): Do not use macros from bp-asm.h.
34532         (DEST): Likewise.
34533         (SRC): Likewise.
34534         (__stpcpy): Likewise.  Do not use BP_SYM.
34535         (stpcpy): Do not use BP_SYM in weak_alias.
34536         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
34537         "bp-asm.h".
34538         (PARMS): Do not use macros from bp-asm.h.
34539         (DEST): Likewise.
34540         (SRC): Likewise.
34541         (LEN): Likewise.
34542         (__stpncpy): Likewise.  Do not use BP_SYM.
34543         (stpncpy): Do not use BP_SYM in weak_alias.
34544         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34545         (PARMS): Do not use macros from bp-asm.h.
34546         (STR): Likewise.
34547         (CHR): Likewise.
34548         (strchr): Likewise.  Do not use BP_SYM.
34549         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
34550         "bp-asm.h".
34551         (PARMS): Do not use macros from bp-asm.h.
34552         (STR): Likewise.
34553         (CHR): Likewise.
34554         (__strchrnul): Likewise.  Do not use BP_SYM.
34555         (strchrnul): Do not use BP_SYM in weak_alias.
34556         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
34557         "bp-asm.h".
34558         (PARMS): Do not use macros from bp-asm.h.
34559         (STOP): Likewise.
34560         (strcspn): Do not use BP_SYM.
34561         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
34562         "bp-asm.h".
34563         (PARMS): Do not use macros from bp-asm.h.
34564         (STR): Likewise.
34565         (STOP): Likewise.
34566         (strpbrk): Likewise.  Do not use BP_SYM.
34567         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
34568         "bp-asm.h".
34569         (PARMS): Do not use macros from bp-asm.h.
34570         (STR): Likewise.
34571         (CHR): Likewise.
34572         (strrchr): Likewise.  Do not use BP_SYM.
34573         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
34574         (PARMS): Do not use macros from bp-asm.h.
34575         (SKIP): Likewise.
34576         (strspn): Do not use BP_SYM.
34577         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
34578         (PARMS): Do not use macros from bp-asm.h.
34579         (STR): Likewise.
34580         (DELIM): Likewise.
34581         (SAVE): Likewise.
34582         (FUNCTION): Likewise.  Do not use BP_SYM.
34583         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
34584         aliases.
34585         (strtok_r): Likewise.
34586         (__GI___strtok_r): Likewise.
34587         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34588         (PARMS): Do not use macros from bp-asm.h.
34589         (S1): Likewise.
34590         (S2): Likewise.
34591         (SIZE): Likewise.
34592         (__mpn_sub_n): Do not use BP_SYM.
34593         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
34594         "bp-asm.h".
34595         (PARMS): Do not use macros from bp-asm.h.
34596         (S1): Likewise.
34597         (SIZE): Likewise.
34598         (__mpn_submul_1): Do not use BP_SYM.
34599         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
34600         <bp-sym.h>.
34601         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
34602         and <bp-asm.h>.
34603         (PARMS): Do not use macros from bp-asm.h.
34604         (FLAGS): Likewise.
34605         (PTID): Likewise.
34606         (TLS): Likewise.
34607         (CTID): Likewise.
34608         (__clone): Do not use BP_SYM.
34609         (clone): Do not use BP_SYM in weak_alias.
34610         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
34611         and <bp-asm.h>.
34612         (PARMS): Do not use macros from bp-asm.h.
34613         (LEN): Likewise.
34614         (__mmap64): Do not use BP_SYM.
34615         (mmap64): Do not use BP_SYM in weak_alias.
34616         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34617         <bp-sym.h> and <bp-asm.h>.
34618         (PARMS): Do not use macros from bp-asm.h.
34619         (__posix_fadvise64_l64): Do not use BP_SYM.
34620         * sysdeps/unix/sysv/linux/i386/semtimedop.S
34621         (PARMS): Do not use macros from bp-asm.h.
34622         (NSOPS): Likewise.
34623         (semtimedop): Do not use BP_SYM.
34624         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
34625         and <bp-asm.h>.
34627 2013-02-21  Allan McRae  <allan@archlinux.org>
34629         * manual/message.texi (Charset conversion in gettext):
34630         Move @end statement to beginning of line.
34632 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34634         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
34635         static.
34636         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34637         Likewise.
34639         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
34640         (denorm): Likewise.
34641         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
34642         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
34644 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34646         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
34647         tail-call to the resolved function if pltexit isn't needed.
34649 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34651         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
34652         or Y being zero as being unlikely.
34653         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34654         Likewise.
34656 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
34658         * manual/nss.texi (System Databases and Name Service Switch):
34659         Remove frobnicate @pxref.
34661 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
34663         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34664         __attribute__ ((unused)) to __attribute__ ((__unused__)).
34666 2013-02-20  Petr Machata  <pmachata@redhat.com>
34668         * elf/elf.h (R_ARM_TARGET1): New macro.
34669         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
34670         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
34671         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
34672         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
34673         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
34674         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
34675         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
34676         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
34677         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
34678         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
34679         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
34680         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
34681         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
34682         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
34683         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
34684         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
34685         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
34686         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
34687         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
34688         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
34689         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
34690         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
34691         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
34692         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
34693         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
34694         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
34695         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
34696         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
34697         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
34698         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
34699         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
34700         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
34701         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
34702         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
34703         (R_ARM_THM_GOT_BREL12): Likewise.
34704         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
34705         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
34706         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
34707         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
34708         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
34709         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
34710         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
34711         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
34712         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
34714 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
34716         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34717         __attribute_used__ to __attribute__ ((unused)).
34719 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34721         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
34722         powerpc mpa.c.
34723         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
34724         comment formatting.
34725         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
34727 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
34729         [BZ #13550]
34730         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
34731         Remove macro.
34732         (ENTER): Remove both macro definitions.
34733         (LEAVE): Likewise.
34734         (CHECK_BOUNDS_LOW): Likewise.
34735         (CHECK_BOUNDS_HIGH): Likewise.
34736         (CHECK_BOUNDS_BOTH): Likewise.
34737         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
34738         (RETURN_BOUNDED_POINTER): Likewise.
34739         (RETURN_NULL_BOUNDED_POINTER): Likewise.
34740         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
34741         (POP_ERRNO_LOCATION_RETURN): Likewise.
34742         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
34743         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34744         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
34745         macros.
34746         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34747         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
34748         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
34749         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
34750         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
34751         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
34752         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
34753         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
34754         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
34755         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
34756         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
34757         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
34758         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34759         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
34760         removed macros.
34761         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34762         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
34763         macros.
34764         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34765         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
34766         * sysdeps/i386/i586/memset.S (memset): Likewise.
34767         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
34768         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34769         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
34770         macros.
34771         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34772         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
34773         Change uses of L(2) to L(out).
34774         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
34775         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
34776         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
34777         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34778         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
34779         removed macros.
34780         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34781         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
34782         macros.
34783         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34784         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
34785         (RETURN): Do not use macro LEAVE.
34786         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
34787         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
34788         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
34789         * sysdeps/i386/i686/memset.S (memset): Likewise.
34790         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
34791         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
34792         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34793         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
34794         Likewise.
34795         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34796         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
34797         L(1_2) and L(1_3) into L(1).
34798         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34799         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
34800         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34801         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
34802         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34803         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
34804         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
34805         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34806         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
34807         macros.
34808         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
34809         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34810         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
34811         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
34812         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
34813         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34814         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
34815         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
34816         * sysdeps/i386/strcspn.S (strcspn): Likewise.
34817         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
34818         * sysdeps/i386/strrchr.S (strrchr): Likewise.
34819         * sysdeps/i386/strspn.S (strspn): Likewise.
34820         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
34821         conditional code.
34822         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34823         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
34824         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34825         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
34826         L(1_3) into L(1_1).
34827         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
34828         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34829         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
34830         macros.
34831         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34833 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
34835         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
34836         macro.
34838 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34840         * math/atest-exp.c (exp_mpn): Remove ROUND.
34841         * math/atest-exp2.c (exp_mpn): Likewise.
34842         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
34844         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
34845         * stdlib/tst-tls-atexit-lib.c: Likewise.
34846         * stdlib/tst-tls-atexit.c: Likewise.
34848 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
34850         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
34851         and __attribute_alloc_size__.
34853 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
34855         * include/programs/xmalloc.h: Change __attribute_alloc_size to
34856         __attribute_alloc_size__.
34857         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
34858         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
34860 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
34862         * include/programs/xmalloc.h: New file.
34863         * catgets/gencat.c: Include it.
34864         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
34865         * elf/pldd.c: Likewise.
34866         * iconv/iconv_charmap.c: Likewise.
34867         * iconv/iconvconfig.c: Likewise.
34868         * iconv/strtab.c: Likewise.
34869         * locale/programs/locale.c: Likewise.
34870         * locale/programs/localedef.h: Likewise.
34871         * locale/programs/simple-hash.c: Likewise.
34872         * nscd/nscd.h: Likewise.
34873         * nss/makedb.c: Likewise.
34874         * sysdeps/generic/ldconfig.h: Likewise.
34876 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34878         * Versions.def: Add GLIBC_2.18.
34879         * include/link.h (struct link_map): New member l_tls_dtor_count.
34880         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
34881         (__call_tls_dtors): Likewise.
34882         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
34883         __cxa_thread_atexit_impl.
34884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34885         Likewise.
34886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34887         Likewise.
34888         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34889         Likewise.
34890         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34891         Likewise.
34892         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34893         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
34894         Likewise.
34895         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
34896         Likewise.
34897         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34898         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34899         Likewise.
34900         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
34901         (tests): Add test case tst-tls-atexit.
34902         (modules-names): Add shared library for tst-tls-atexit.
34903         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
34904         (GLIBC_PRIVATE): Add __call_tls_dtors.
34905         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
34906         for libstdc++.
34907         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
34908         * stdlib/tst-tls-atexit.c: New test case.
34909         * stdlib/tst-tls-atexit-lib.c: New test case.
34911         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
34913         * elf/Versions (ld): Add _dl_find_dso_for_object.
34914         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
34915         * elf/dl-open.c (_dl_find_dso_for_object): New function.
34916         (dl_open_worker): Use _dl_find_dso_for_object.
34917         * elf/dl-sym.c (do_sym): Likewise.
34918         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
34920 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34922         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
34923         Syntactic changes only.
34924         (_dl_runtime_profile): Do a tail-call to the resolved function.
34926 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
34928         [BZ #13550]
34929         * sysdeps/x86_64/bp-asm.h: Remove file.
34930         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
34931         <bp-sym.h> and <bp-asm.h>.
34932         (__clone): Do not use BP_SYM.
34933         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
34934         <bp-sym.h> and <bp-asm.h>.
34935         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34936         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
34937         "bp-asm.h".
34938         (_setjmp): Do not use BP_SYM.
34939         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
34940         "bp-asm.h".
34941         (setjmp): Do not use BP_SYM.
34942         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
34943         libc_hidden_def.
34944         (mempcpy): Do not use BP_SYM in weak_alias.
34945         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
34946         "bp-asm.h".
34947         (strchr): Do not use BP_SYM.
34948         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
34949         "bp-asm.h".
34950         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
34951         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
34952         (_start): Do not use BP_SYM.
34953         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
34954         "bp-asm.h".
34955         (strcat): Do not use BP_SYM.
34956         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
34957         "bp-asm.h".
34958         (STRCMP): Do not use BP_SYM.
34959         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
34960         "bp-asm.h".
34961         (STRCPY): Do not use BP_SYM.
34962         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
34963         "bp-asm.h".
34964         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
34965         "bp-asm.h".
34966         (FUNCTION): Do not use BP_SYM.
34967         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
34968         weak_alias.
34969         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
34971 2013-02-17  Andreas Jaeger  <aj@suse.de>
34973         * time/Versions: Sort entries.
34974         * string/Versions: Likewise.
34975         * resolv/Versions: Likewise.
34976         * posix/Versions: Likewise.
34977         * iconv/Versions: Likewise.
34978         * elf/Versions: Likewise.
34979         * wcsmbs/Versions: Likewise.
34981 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34983         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
34984         loop termination condition.
34986         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
34987         variable to calculate EZ.
34988         (__sqr): Likewise.
34990         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
34991         the lower precision input.
34993 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
34995         [BZ #13550]
34996         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
34997         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
34998         (run-via-rtld-prefix): Do not handle %-bp tests.
34999         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
35000         (all-object-suffixes): Remove .ob.
35001         (bppfx): Remove variable.
35002         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
35003         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
35004         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
35005         [$(build-bounded) = yes] (libtype.ob): Likewise.
35006         * Makerules (elide-routines.ob): Remove variable.
35007         (do-tests-clean): Do not handle *-bp.out.
35008         (common-mostlyclean): Do not handle *-bp and *-bp.out.
35009         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
35010         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
35011         (tests): Do not include $(tests-bp.out).
35012         (xtests): Do not include $(xtests-bp.out).
35013         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
35014         [$(build-bounded) = yes] ($(addprefix
35015         $(objpfx),$(binaries-bounded))): Remove rule.
35016         ($(objpfx)%-bp.out): Remove rule.
35017         * config.make.in (build-bounded): Remove variable.
35018         * crypt/Makefile [$(build-bounded) = yes]
35019         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
35020         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
35021         append to variable.
35022         [$(build-bounded) = yes] (install-lib): Likewise.
35023         [$(build-bounded) = yes] (generated): Likewise.
35024         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
35025         Remove rule.
35026         * intl/Makefile [$(build-bounded) = yes]
35027         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
35028         * math/Makefile [$(build-bounded) = yes]
35029         ($(tests:%=$(objpfx)%-bp): Likewise.
35030         * misc/Makefile [$(build-bounded) = yes]
35031         ($(objpfx)tst-tsearch-bp): Likewise.
35032         * nptl/Makeconfig (bounded-thread-library): Remove variable.
35033         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
35034         Remove dependency.
35035         * string/Makefile (o-objects.ob): Remove variable.
35036         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
35037         (CFLAGS-.ob): Remove variable.
35038         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
35039         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
35040         both definitions of variable.
35041         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
35042         (ASFLAGS-.ob): Remove variable.
35044 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
35046         [BZ #13550]
35047         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
35048         Remove __BOUNDED_POINTERS__ from condition.
35049         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
35050         * string/bits/string2.h [!__NO_STRING_INLINES &&
35051         !__BOUNDED_POINTERS__]: Likewise.
35052         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
35053         Likewise.
35054         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
35055         Remove conditional code.
35056         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
35057         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
35058         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
35059         condition.
35061         [BZ #13550]
35062         * csu/libc-start.c: Do not include <bp-sym.h>.
35063         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
35064         * elf/dl-open.c: Do not include <bp-sym.h>.
35065         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
35066         * math/fegetenv.c: Do not include <bp-sym.h>.
35067         (fegetenv): Do not use BP_SYM in versioned symbols.
35068         * nptl/sysdeps/pthread/bits/libc-lockP.h
35069         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
35070         <bp-sym.h>.
35071         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35072         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
35073         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35074         (__pthread_mutex_destroy): Likewise.
35075         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35076         (__pthread_mutex_lock): Likewise.
35077         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35078         (__pthread_mutex_trylock): Likewise.
35079         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35080         (__pthread_mutex_unlock): Likewise.
35081         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35082         (__pthread_mutexattr_init): Likewise.
35083         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35084         (__pthread_mutexattr_destroy): Likewise.
35085         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35086         (__pthread_mutexattr_settype): Likewise.
35087         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35088         (__pthread_rwlock_init): Likewise.
35089         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35090         (__pthread_rwlock_destroy): Likewise.
35091         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35092         (__pthread_rwlock_rdlock): Likewise.
35093         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35094         (__pthread_rwlock_tryrdlock): Likewise.
35095         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35096         (__pthread_rwlock_wrlock): Likewise.
35097         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35098         (__pthread_rwlock_trywrlock): Likewise.
35099         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35100         (__pthread_rwlock_unlock): Likewise.
35101         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35102         (__pthread_key_create): Likewise.
35103         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35104         (__pthread_setspecific): Likewise.
35105         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35106         (__pthread_getspecific): Likewise.
35107         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
35108         Likewise.
35109         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35110         (_pthread_cleanup_push_defer): Likewise.
35111         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35112         (_pthread_cleanup_pop_restore): Likewise.
35113         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35114         (pthread_setcancelstate): Likewise.
35115         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
35116         <bp-sym.h>.
35117         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
35118         (memchr): Do not use BP_SYM in weak_alias.
35119         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
35120         (fegetenv): Do not use BP_SYM in versioned symbols.
35121         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
35122         (fesetenv): Do not use BP_SYM in versioned symbols.
35123         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35124         (feupdateenv): Do not use BP_SYM in versioned symbols.
35125         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35126         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35127         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
35128         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
35129         (open64): Do not use BP_SYM in weak_alias.
35130         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
35131         (fegetenv): Do not use BP_SYM in versioned symbols.
35132         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
35133         (fesetenv): Do not use BP_SYM in versioned symbols.
35134         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35135         (feupdateenv): Do not use BP_SYM in versioned symbols.
35136         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
35137         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
35138         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
35139         (feraiseexcept): Do not use BP_SYM in versioned symbols.
35140         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35141         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35142         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
35143         <bp-sym.h>.
35144         (__libc_start_main): Do not use BP_SYM.
35146 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35148         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
35149         redundant return line.
35150         (norm): Likewise.
35151         (denorm): Likewise.
35152         (dbl_mp): Likewise.
35153         (sub_magnitudes): Likewise.
35154         (__add): Likewise.
35155         (__sub): Likewise.
35156         (__mul): Likewise.
35157         (__inv): Likewise.
35158         (__dvd): Likewise.
35159         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
35160         (norm): Likewise.
35161         (denorm): Likewise.
35162         (dbl_mp): Likewise.
35163         (sub_magnitudes): Likewise.
35164         (__add): Likewise.
35165         (__sub): Likewise.
35166         (__mul): Likewise.
35167         (__inv): Likewise.
35168         (__dvd): Likewise.
35170         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
35171         instead of __mul.
35172         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35173         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
35174         (cc32): Likewise.
35176         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
35177         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
35178         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
35179         of __mul for squares.
35180         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
35181         function
35182         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
35183         Likewise.
35184         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
35185         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35187 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
35189         [BZ #13550]
35190         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
35191         code.
35192         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
35193         prototype or function definition.  Rename ubp_* variables and
35194         parameters.  Remove argv definitions conditional on
35195         [__BOUNDED_POINTERS__].
35196         * debug/backtrace.c (__backtrace): Do not use __unbounded.
35197         * elf/dl-runtime.c (_dl_fixup): Likewise.
35198         * include/set-hooks.h (RUN_HOOK): Likewise.
35199         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
35200         definition.
35201         * string/strcpy.c (strcpy): Do not use __unbounded.
35202         * sysdeps/generic/frame.h (struct layout): Likewise.
35203         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
35204         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
35205         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
35206         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
35207         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
35208         (__backtrace): Likewise.
35209         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
35210         use __ptrvalue.
35211         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
35212         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
35213         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35214         Likewise.
35215         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
35216         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
35217         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
35218         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35219         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
35220         Do not use __unbounded.
35221         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
35222         Rename __unboundedrlimits parameter to rlimits in prototype.
35223         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
35224         Do not use __unbounded.
35225         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
35226         not use __ptrvalue.
35227         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35228         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
35229         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35230         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
35231         __ptrvalue or __unbounded.
35232         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
35233         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
35234         use __unbounded.
35235         (__new_msgctl): Do not use __ptrvalue.
35236         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
35237         __unbounded.
35238         (__libc_msgrcv): Do not use __ptrvalue.
35239         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
35240         startup_info): Do not use __unbounded.
35241         (__libc_start_main): Likewise.  Rename ubp_* variables and
35242         parameters.  Remove argv definitions conditional on
35243         [__BOUNDED_POINTERS__].
35244         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
35245         __ptrvalue.
35246         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
35247         use __unbounded.
35248         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
35249         or __ptrvalue.
35250         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
35251         use __unbounded.
35252         (__new_shmctl): Do not use __ptrvalue.
35253         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
35254         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
35255         Likewise.
35256         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
35257         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
35258         (__libc_sigaction): Likewise.
35259         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
35260         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
35261         Likewise.
35262         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35264 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
35266         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
35268         * string/mempcpy.c: Implement by calling memcpy.
35270 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35272         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
35274         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
35275         evaluation.
35277         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
35278         values in the mantissa.
35280         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
35281         minimize writes to Z.
35282         (sub_magnitudes): Simplify code a bit.
35284 2013-02-12  Roland McGrath  <roland@hack.frob.com>
35286         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
35287         from the message.  The linker prefixes all warnings with that already.
35289 2013-02-12  Andreas Schwab  <schwab@suse.de>
35291         [BZ #15078]
35292         * posix/regexec.c (extend_buffers): Add parameter min_len.
35293         (check_matching): Pass minimum needed length.
35294         (clean_state_log_if_needed): Likewise.
35295         (get_subexp): Likewise.
35296         * posix/Makefile (tests): Add bug-regex34.
35297         (bug-regex34-ENV): Define.
35298         * posix/bug-regex34.c: New file.
35300         [BZ #11561]
35301         * posix/regcomp.c (parse_bracket_exp): When looking up collating
35302         elements compare against the byte sequence of it, not its name.
35303         * posix/Makefile (tests): Add bug-regex35.
35304         (bug-regex35-ENV): Define.
35305         * posix/bug-regex35.c: New file.
35307 2013-02-11  Tom de Vries  <tom@codesourcery.com>
35309         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
35310         comment.
35311         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
35312         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
35313         (CHECK_EOL): Add undef.
35315 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
35317         * bits/stdlib-bsearch.h: New file.
35318         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
35319         * stdlib/stdlib.h: Likewise.
35321 2013-02-11  Roland McGrath  <roland@hack.frob.com>
35323         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
35324         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
35325         declaration.
35326         * manual/search.texi (Array Search Function): Add missing const in
35327         lfind prototype.
35328         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
35329         declaration to use rlim_t.
35330         (Basic Scheduling Functions): Remove erroneous const from
35331         sched_getparam prototype.  Remove erroneous * from
35332         sched_get_priority_max and sched_get_priority_min prototypes.
35333         (Resource Usage): Fix summary @comment on vtimes to refer to
35334         sys/vtimes.h rather than vtimes.h.
35335         Add missing *s in vtimes prototype.
35336         (Limits on Resources): Fix ulimit prototype to return long int.
35337         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
35338         prototypes to use long int rather than double.
35339         (BSD Random): Fix initstate and setstate to use char *, not void *.
35340         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
35341         prototype to make second argument 'struct aiocb64 *const[]'.
35342         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
35343         (Status of AIO Operations): Remove erroneous const in aio_return and
35344         aio_return64 prototypes.
35345         (Synchronizing I/O): Fix sync prototype to return void.
35346         * manual/startup.texi (Suboptions): Remove an erroneous const in
35347         getsubopt prototype.
35348         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
35349         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
35350         use size_t rather than int.
35351         (Scanning All Users): Likewise for getpwent_r.
35352         (Setting Groups): Add missing const to setgroups prototype.
35353         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
35354         * manual/socket.texi (Host Names): Fix gethostbyaddr and
35355         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
35356         'const void *' rather than 'const char *'.
35357         (Host Address Functions): Likewise for inet_ntop.
35358         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
35359         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
35360         ssize_t for return value.
35361         (Sending Data): Likewise for send, sendto, sendmsg.
35362         (Socket Option Functions): Add a missing const in setsockopt prototype.
35363         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
35364         use wchar_t for the argument.
35365         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
35366         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
35367         take no arguments.
35368         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
35369         double/float/long double for second argument.
35370         Fix return types of significand, significandf, significandl.
35371         * manual/filesys.texi (Setting Permissions): Use mode_t for second
35372         argument in fchmod prototype.
35373         (File Owner): Use uid_t and gid_t in fchown prototype.
35374         (File Times): Add const to utimes, futimes, and lutimes prototypes.
35375         (Making Special Files): Use mode_t and dev_t in mknod prototype.
35376         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
35377         use 'const struct dirent **' as argument types to CMP function pointer
35378         argument.
35379         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
35380         (File Times): Fix summary magic @comment for struct utimbuf and utime
35381         to refer to utime.h, not time.h.
35382         * manual/string.texi (Argz Functions): Add missing const in
35383         argz_extract and argz_next prototypes.
35384         (Finding Tokens in a String): Likewise for basename.
35385         (String/Array Comparison): Fix typo in wcscasecmp prototype.
35386         (Copying and Concatenation): Fix typo in wmemmove prototype.
35387         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
35388         (Signal Stack): Remove erroneous const in sigstack prototype.
35389         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
35390         prototype.
35391         (Simple Calendar Time): Likewise for stime.
35392         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
35393         prototype.
35394         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
35395         say sys/sysctl.h instead.
35396         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
35397         and vsyslog prototypes.
35399 2013-02-11  Tom de Vries  <tom@codesourcery.com>
35401         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
35402         Remove.
35404 2013-02-11  Roland McGrath  <roland@hack.frob.com>
35406         * misc/sys/mman.h: Fix typo in mremap comment.
35408 2013-02-08  Roland McGrath  <roland@hack.frob.com>
35410         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
35411         the '\0' terminator.
35413 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
35415         [BZ #13550]
35416         * debug/segfault.c: Don't include <bp-checks.h>.
35417         * sysdeps/generic/bp-checks.h: Remove file.
35418         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
35419         (__GETDENTS): Don't use CHECK_N.
35420         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
35421         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
35422         (__getgroups): Don't use CHECK_N.
35423         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
35424         (setgroups): Don't use CHECK_N.
35425         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
35426         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
35427         (__libc_msgrcv): Don't use CHECK_N.
35428         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
35429         (__libc_msgsnd): Don't use CHECK_N.
35430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
35431         <bp-checks.h>.
35432         (__libc_pread): Don't use CHECK_N.
35433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
35434         include <bp-checks.h>.
35435         (__libc_pread64): Don't use CHECK_N.
35436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
35437         include <bp-checks.h>.
35438         (__libc_pwrite): Don't use CHECK_N.
35439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
35440         include <bp-checks.h>.
35441         (__libc_pwrite64): Don't use CHECK_N.
35442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
35443         <bp-checks.h>.
35444         (__libc_pread): Don't use CHECK_N.
35445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
35446         include <bp-checks.h>.
35447         (__libc_pread64): Don't use CHECK_N.
35448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
35449         include <bp-checks.h>.
35450         (__libc_pwrite): Don't use CHECK_N.
35451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
35452         include <bp-checks.h>.
35453         (__libc_pwrite64): Don't use CHECK_N.
35454         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
35455         (do_pread): Don't use CHECK_N.
35456         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
35457         (do_pread64): Don't use CHECK_N.
35458         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
35459         (do_pwrite): Don't use CHECK_N.
35460         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
35461         (do_pwrite64): Don't use CHECK_N.
35462         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
35463         (__libc_readv): Don't use CHECK_N.
35464         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
35465         (semop): Don't use CHECK_N.
35466         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
35467         <bp-checks.h>.
35468         (semtimedop): Don't use CHECK_N.
35469         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
35470         (__libc_pread): Don't use CHECK_N.
35471         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
35472         <bp-checks.h>.
35473         (__libc_pread64): Don't use CHECK_N.
35474         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
35475         <bp-checks.h>.
35476         (__libc_pwrite): Don't use CHECK_N.
35477         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
35478         <bp-checks.h>.
35479         (__libc_pwrite64): Don't use CHECK_N.
35480         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
35481         <bp-checks.h>.
35482         (__libc_msgrcv): Don't use CHECK_N.
35483         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
35484         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
35485         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
35486         (__libc_writev): Don't use CHECK_N.
35488 2013-02-08  Roland McGrath  <roland@hack.frob.com>
35490         * string/strcpy.c: Removed unused variable.
35492         * Makeconfig (+sysdep-includes): Define with := rather than =.
35493         Use an existing include/ subdir of each sysdeps dir before it.
35495 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
35497         * nscd/connection.c (register_traced_file): Comment function.
35498         [HAVE_INOTIFY] (union __inev): Define.
35499         [HAVE_INOTIFY] (inotify_check_files): New function.
35500         [HAVE_INOTIFY] (clear_db_cache): Likewise.
35501         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
35502         clear_db_cache.
35503         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
35505 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
35507         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
35508         loaded if not already and that a failure is permanent.
35510 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
35512         [BZ #15006]
35513         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
35514         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
35516 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
35518         [BZ #13550]
35519         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
35520         (CHECK_1_NULL_OK): Likewise.
35521         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
35522         (__fxstat): Do not use CHECK_1.
35523         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
35524         <bp-checks.h>.
35525         (___fxstat64): Do not use CHECK_1.
35526         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
35527         <bp-checks.h>.
35528         (__fxstatat): Do not use CHECK_1.
35529         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
35530         <bp-checks.h>.
35531         (__fxstatat64): Do not use CHECK_1.
35532         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
35533         <bp-checks.h>.
35534         (__fxstat): Do not use CHECK_1.
35535         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
35536         <bp-checks.h>.
35537         (__fxstatat): Do not use CHECK_1.
35538         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35539         <bp-checks.h>.
35540         (__getresgid): Do not use CHECK_1.
35541         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35542         <bp-checks.h>.
35543         (__getresuid): Do not use CHECK_1.
35544         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
35545         <bp-checks.h>.
35546         (__lxstat): Do not use CHECK_1.
35547         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35548         <bp-checks.h>.
35549         (__old_msgctl): Do not use CHECK_1.
35550         (__new_msgctl): Likewise.
35551         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
35552         <bp-checks.h>.
35553         (__new_setrlimit): Do not use CHECK_1.
35554         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35555         <bp-checks.h>.
35556         (__old_shmctl): Do not use CHECK_1.
35557         (__new_shmctl): Likewise.
35558         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
35559         <bp-checks.h>.
35560         (__xstat): Do not use CHECK_1.
35561         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
35562         (__lxstat): Do not use CHECK_1.
35563         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
35564         <bp-checks.h>.
35565         (___lxstat64): Do not use CHECK_1.
35566         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
35567         (__old_msgctl): Do not use CHECK_1.
35568         (__new_msgctl): Likewise.
35569         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
35570         <bp-checks.h>.
35571         (__gettimeofday): Do not use CHECK_1.
35572         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
35573         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
35574         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
35575         <bp-checks.h>.
35576         (__gettimeofday): Do not use CHECK_1.
35577         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
35578         (__old_shmctl): Do not use CHECK_1_NULL_OK.
35579         (__new_shmctl): Do not use CHECK_1.
35580         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
35581         <bp-checks.h>.
35582         (do_sigtimedwait): Do not use CHECK_1.
35583         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
35584         <bp-checks.h>.
35585         (do_sigwaitinfo): Do not use CHECK_1.
35586         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
35587         <bp-checks.h>.
35588         (msgctl): Do not use CHECK_1.
35589         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
35590         <bp-checks.h>.
35591         (shmctl): Do not use CHECK_1.
35592         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
35593         (ustat): Do not use CHECK_1.
35594         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
35595         <bp-checks.h>.
35596         (__fxstat): Do not use CHECK_1.
35597         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
35598         <bp-checks.h>.
35599         (__fxstatat): Do not use CHECK_1.
35600         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
35601         <bp-checks.h>.
35602         (__lxstat): Do not use CHECK_1.
35603         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
35604         <bp-checks.h>.
35605         (__xstat): Do not use CHECK_1.
35606         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
35607         (__xstat): Do not use CHECK_1.
35608         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
35609         (___xstat64): Do not use CHECK_1.
35611         [BZ #13550]
35612         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
35613         definitions.
35614         (CHECK_BOUNDS_HIGH): Likewise.
35615         * string/strcpy.c: Do not include <bp-checks.h>.
35616         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
35618 2013-02-07  Roland McGrath  <roland@hack.frob.com>
35620         * nscd/nscd-client.h (__nscd_drop_map_ref):
35621         Add __attribute__ ((unused)).
35622         * nis/nss-nisplus.h (niserr2nss): Likewise.
35624         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
35625         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
35627         * csu/libc-tls.c (init_static_tls, init_slotinfo):
35628         Remove inline keyword.
35629         * include/rounding-mode.h (round_away): Likewise.
35630         * libio/wfileops.c (adjust_wide_data): Likewise.
35631         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
35632         (__m128i_strloadu_tolower): Likewise.
35633         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
35634         (__m128i_strloadu_tolower): Likewise.
35635         * time/mktime.c (ydhms_diff): Likewise.
35636         * locale/elem-hash.h (elem_hash): Likewise.
35637         * locale/setlocale.c (setdata): Likewise.
35638         * posix/regex_internal.h (re_string_char_size_at): Likewise.
35639         (re_string_wchar_at): Likewise.
35640         (bitset_not, bitset_merge, bitset_mask): Likewise.
35641         [!(__GNUC__ > 3)] (inline): Remove macro.
35642         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
35643         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
35644         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35645         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
35646         * string/memcmp.c (memcmp_bytes): Likewise.
35647         * locale/programs/locarchive.c (compute_hashval): Likewise.
35648         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
35649         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
35650         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
35651         * nss/getent.c (print_rpc, print_protocols): Likewise.
35652         (print_passwd, print_group, print_aliases): Likewise.
35653         * nis/nss-nisplus.h (niserr2nss): Likewise.
35654         * nscd/connections.c (restart_p): Likewise.
35655         Change return type to bool.
35657 2013-02-05  Roland McGrath  <roland@hack.frob.com>
35659         * Makeconfig (all-Depend-files): Add existing
35660         $(sorted-subdirs:=/Depend) files.
35661         (all-subdirs): Remove nss.
35662         * sysdeps/unix/inet/Subdirs: Add it here instead.
35663         * hesiod/Depend: New file.
35665         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
35666         instead of calling alloca.
35668         * io/lseek.c (__lseek): Rename to __libc_lseek.
35669         Define __lseek as an alias.
35671         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
35673 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
35675         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
35676         else clause and remove check for non-standard endianness.
35678 2013-02-04  David S. Miller  <davem@davemloft.net>
35680         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35682 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
35684         [BZ #13550]
35685         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
35686         (__ubp_memchr): Remove prototype.
35687         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
35688         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35689         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
35690         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35691         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
35692         Remove alias.
35693         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
35694         (__ubp_memchr): Likewise.
35695         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
35696         (__ubp_memchr): Likewise.
35697         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
35698         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
35699         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
35700         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
35701         CHECK_STRING.
35702         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
35703         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
35704         (__getcwd): Do not use CHECK_STRING.
35705         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35706         <bp-checks.h>.
35707         (__real_chown): Do not use CHECK_STRING.
35708         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
35709         <bp-checks.h>.
35710         (fchownat): Do not use CHECK_STRING.
35711         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
35712         CHECK_STRING.
35713         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35714         <bp-checks.h>.
35715         (__lchown): Do not use CHECK_STRING.
35716         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35717         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35718         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35719         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
35720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35721         include <bp-checks.h>.
35722         (truncate64): Do not use CHECK_STRING.
35723         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35724         <bp-checks.h>.
35725         (__real_chown): Do not use CHECK_STRING.
35726         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35727         <bp-checks.h>.
35728         (__lchown): Do not use CHECK_STRING.
35729         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35730         <bp-checks.h>.
35731         (__chown): Do not use CHECK_STRING.
35732         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
35733         <bp-checks.h>.
35734         (truncate64): Do not use CHECK_STRING.
35735         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
35736         Likewise.
35737         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
35738         (__xmknod): Do not use CHECK_STRING.
35739         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
35740         <bp-checks.h>.
35741         (__xmknodat): Do not use CHECK_STRING.
35742         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35743         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
35745 2013-02-04  Andreas Schwab  <schwab@suse.de>
35747         [BZ #14142]
35748         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
35749         * include/netdb.h: Likewise for h_errno.
35750         * elf/tst-stackguard1.c: Include <tls.h>.
35752 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
35754         * elf/link.h (struct link_map): Extend the l_addr comment.
35755         * include/link.h (struct link_map): Likewise.
35757 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
35759         [BZ #13550]
35760         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
35761         (BOUNDED_1): Remove macro.
35762         * debug/backtrace.c: Don't include <bp-checks.h>.
35763         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
35764         (__backtrace): Likewise.
35765         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
35766         <bp-checks.h>.
35767         (__backtrace): Don't use BOUNDED_1.
35768         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
35769         <bp-checks.h>.
35770         (__backtrace): Don't use BOUNDED_1.
35771         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
35772         (__backtrace): Don't use BOUNDED_1.
35773         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
35774         (shmat): Don't use BOUNDED_N.
35776 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
35778         [BZ #13550]
35779         * sysdeps/generic/bp-start.h: Remove file.
35780         * csu/libc-start.c: Don't include <bp-start.h>.
35781         (LIBC_START_MAIN): Set up __environ directly instead of using
35782         INIT_ARGV_and_ENVIRON.
35783         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
35784         <bp-start.h>.
35786         [BZ #13550]
35787         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
35788         definitions.
35789         (CHECK_FCNTL): Likewise.
35790         (CHECK_N_PAGES): Likewise.
35792         [BZ #13550]
35793         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
35794         definitions.
35795         (CHECK_SIGSET_NULL_OK): Likewise.
35796         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
35797         <bp-checks.h>.
35798         (sigpending): Don't use CHECK_SIGSET.
35799         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
35800         <bp-checks.h>.
35801         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35802         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
35803         <bp-checks.h>.
35804         (do_sigsuspend): Don't use CHECK_SIGSET.
35805         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
35806         use CHECK_SIGSET.
35807         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
35808         (do_sigwait): Don't use CHECK_SIGSET.
35809         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
35810         use CHECK_SIGSET.
35811         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
35812         include <bp-checks.h>.
35813         (sigpending): Don't use CHECK_SIGSET.
35814         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
35815         include <bp-checks.h>.
35816         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35817         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
35818         <bp-checks.h>.
35819         (sigpending): Don't use CHECK_SIGSET.
35820         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
35821         <bp-checks.h>.
35822         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35824         [BZ #13550]
35825         * sysdeps/generic/bp-semctl.h: Remove file.
35826         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
35827         <bp-checks.h> and <bp-semctl.h>.
35828         (__old_semctl): Don't use CHECK_SEMCTL.
35829         (__new_semctl): Likewise.
35830         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
35831         and <bp-semctl.h>.
35832         (__old_semctl): Don't use CHECK_SEMCTL.
35833         (__new_semctl): Likewise.
35834         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
35835         <bp-checks.h> and <bp-semctl.h>.
35836         (__old_semctl): Don't use CHECK_SEMCTL.
35837         (__new_semctl): Likewise.
35838         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
35839         <bp-checks.h> and <bp-semctl.h>.
35840         (semctl): Don't use CHECK_SEMCTL.
35842         [BZ #13550]
35843         * Makerules (elide-bp-thunks): Remove variable.
35844         (elide-routines.oS): Don't use $(elide-bp-thunks).
35845         (elide-routines.os): Likewise.
35846         (elide-routines.o): Likewise.
35847         (elide-routines.op): Likewise.
35848         (elide-routines.og): Likewise.
35849         (objects): Don't use $(bp-thunks).
35850         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
35851         include.
35852         (common-generated): Do not add s-proto-bp.d.
35853         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
35854         (int): Likewise.
35855         (typ): Likewise.
35856         Do not generate makefile rules for bounded-pointer thunks.
35857         * sysdeps/generic/bp-thunks.h: Remove file.
35858         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
35859         * sysdeps/unix/s-proto-bp.S: Likewise.
35861         [BZ #15062]
35862         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
35863         parts of result separately when argument is not close to line from
35864         -i to i and one part of argument is small.
35865         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35866         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35867         * math/libm-test.inc (cacos_test): Add more tests.
35868         (casin_test): Likewise.
35869         (casinh_test): Likewise.
35870         * sysdeps/i386/fpu/libm-test-ulps: Update.
35871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35873 2013-01-31  David S. Miller  <davem@davemloft.net>
35875         * po/de.po: Update from translation team.
35877 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
35879         * time/tzfile.c: Include stdint.h for SIZE_MAX.
35881 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
35883         * configure.in (_AC_PROG_CC_C89): New definition.
35884         * configure: Regenerate.
35886         * configure.in (AC_PROG_CPP): New definition.
35887         * configure: Regenerate.
35889 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
35891         * debug/tst-backtrace.h: New file.
35892         * debug/tst-backtrace2.c: Include tst-backtrace.h.
35893         (ret): Remove variable.
35894         (x): Likewise.
35895         (FAIL): Remove macro.
35896         (NO_INLINE): Likewise.
35897         (fn1): Use match function instead of strstr.
35898         * debug/tst-backtrace3.c: Include tst-backtrace.h.
35899         (ret): Remove variable.
35900         (x): Likewise.
35901         (FAIL): Remove macro.
35902         (NO_INLINE): Likewise.
35903         (fn): Use match function instead of strstr.
35904         * debug/tst-backtrace4.c: Include tst-backtrace.h.
35905         (ret): Remove variable.
35906         (x): Likewise.
35907         (FAIL): Remove macro.
35908         (NO_INLINE): Likewise.
35909         (handle_signal): Use match function instead of strstr.
35910         * debug/tst-backtrace5.c: Include tst-backtrace.h.
35911         (ret): Remove variable.
35912         (x): Likewise.
35913         (FAIL): Remove macro.
35914         (NO_INLINE): Likewise.
35915         (handle_signal): Use match function instead of strstr.
35917 2013-01-23  Roland McGrath  <roland@hack.frob.com>
35919         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
35921 2013-01-23  David S. Miller  <davem@davemloft.net>
35923         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
35924         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
35925         argument of CAS if possible.
35926         * sysdeps/sparc/sparc64/bits/atomic.h
35927         (__arch_compare_and_exchange_val_32_acq): Likewise.
35928         (__arch_compare_and_exchange_val_64_acq): Likewise.
35930 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
35932         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
35933         * sysdeps/posix/ulimit.c: ... this.
35934         Include <limits.h>.
35935         * sysdeps/unix/bsd/ulimit.c: Remove file.
35937 2013-01-23  Adam Conrad  <adconrad@0c3.net>
35939         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
35940         (LDFLAGS-tst-array5): Likewise.
35942 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
35944         [BZ #15036]
35945         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
35946         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
35947         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
35948         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
35950 2013-01-21  David S. Miller  <davem@davemloft.net>
35952         * sysdeps/sparc/backtrace.c: New file.
35953         * sysdeps/sparc/sparc32/backtrace.h: New file.
35954         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
35955         * sysdeps/sparc/sparc64/backtrace.h: New file.
35956         * sysdeps/sparc/sparc64/backtrace.c: Delete.
35957         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
35958         -funwind-tables.
35960 2013-01-21  Andreas Schwab  <schwab@suse.de>
35962         [BZ #15020]
35963         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
35964         closed its stdout.
35966 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
35968         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
35969         "mpa2.h".
35970         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35972 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
35973             Mark Mitchell  <mark@codesourcery.com>
35974             Tom de Vries  <tom@codesourcery.com>
35975             Paul Pluzhnikov  <ppluzhnikov@google.com>
35977         * debug/tst-backtrace2.c: New file.
35978         * debug/tst-backtrace3.c: Likewise.
35979         * debug/tst-backtrace4.c: Likewise.
35980         * debug/tst-backtrace5.c: Likewise.
35981         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
35982         (CFLAGS-tst-backtrace3.c): Likewise.
35983         (CFLAGS-tst-backtrace4.c): Likewise.
35984         (CFLAGS-tst-backtrace5.c): Likewise.
35985         (LDFLAGS-tst-backtrace2): Likewise.
35986         (LDFLAGS-tst-backtrace3): Likewise.
35987         (LDFLAGS-tst-backtrace4): Likewise.
35988         (LDFLAGS-tst-backtrace5): Likewise.
35989         (tests): Add new tests tst-backtrace2, tst-backtrace3,
35990         tst-backtrace4 and tst-backtrace5.
35992 2013-01-18  Anton Blanchard  <anton@samba.org>
35993             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35995         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
35996         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
35997         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
35998         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
35999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36000         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
36001         "+r" and remove output regs list as redundant.  Add explicit inline
36002         asm to specify register of return val to work around compiler codegen
36003         bug.  Remove (int) cast on return value.  Add return type parameter to
36004         use in macro so that this macro does not truncate return value for
36005         64-bit values.
36006         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
36007         pass to INTERNAL_VSYSCALL_NCS.
36008         (INLINE_VSYSCALL): Add 'long int' as return type to
36009         INTERNAL_VSYSCALL_NCS macro invocation.
36010         (INTERNAL_VSYSCALL): Add 'long int' as return type to
36011         INTERNAL_VSYSCALL_NCS macro invocation.
36012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36014 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36016         [BZ #14496]
36017         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
36018         Fix application of SIMD FP exception mask.
36020         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
36021         mp_no from a power of two.
36022         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
36023         __mpexp_twomm1.  Use __pow_mp.
36025         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
36026         multiplication.
36028 2013-01-17  David S. Miller  <davem@davemloft.net>
36030         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36032 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
36034         [BZ #15023]
36035         * include/complex.h: Condition contents on [!_COMPLEX_H].
36036         (__kernel_casinhf): New prototype.
36037         (__kernel_casinh): Likewise.
36038         (__kernel_casinhl): Likewise.
36039         * math/Makefile (libm_calls): Add k_casinh.
36040         * math/k_casinh.c: New file.
36041         * math/k_casinhf.c: Likewise.
36042         * math/k_casinhl.c: Likewise.
36043         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
36044         finite nonzero arguments.
36045         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
36046         finite nonzero arguments.
36047         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
36048         finite nonzero arguments.
36049         * math/s_casinh.c: Do not include <float.h>.
36050         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
36051         * math/s_casinhf.c: Do not include <float.h>.
36052         (__casinhf): Move code for finite nonzero arguments to
36053         k_casinhf.c.
36054         * math/s_casinhl.c: Do not include <float.h>.
36055         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
36056         redefine.
36057         (__casinhl): Move code for finite nonzero arguments to
36058         k_casinhl.c.
36059         * math/libm-test.inc (cacos_test): Add more tests.
36060         * sysdeps/i386/fpu/libm-test-ulps: Update.
36061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36063 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
36065         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
36066         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
36067         [!HAVE_MREMAP]: Remove [defined linux] case.
36068         * malloc/arena.c: Do not include <malloc-sysdep.h>.
36070 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36072         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
36074 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
36076         * elf/elf.h (R_386_SIZE32): New relocation.
36077         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
36078         R_386_SIZE32.
36079         (elf_machine_rela): Likewise.
36080         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36081         R_X86_64_SIZE64 and R_X86_64_SIZE32.
36083 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
36085         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
36086         (FP_FAST_FMA): Do not define.
36087         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
36088         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
36089         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
36090         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
36091         !_SOFT_FLOAT]: Likewise.
36092         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
36093         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
36094         value.
36095         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
36096         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
36097         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
36098         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
36099         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
36100         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
36101         file.
36103 2013-01-16  Andreas Schwab  <schwab@suse.de>
36105         [BZ #14327]
36106         * include/stdlib.h (__mktemp): Add declaration.
36107         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
36108         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
36110 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36112         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
36113         definitions.
36114         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36115         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
36116         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
36117         definitions here.
36118         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
36119         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
36120         definitions.
36121         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
36122         and ONE.
36123         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
36124         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
36125         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
36126         definitions.
36127         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
36128         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
36129         definitions.
36130         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36132         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
36134 2013-01-15  David S. Miller  <davem@davemloft.net>
36136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36137         trunc{,f} to libm-sysdep_routes.
36138         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
36140         file.
36141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
36142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
36143         file.
36144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
36145         file.
36146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
36147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
36148         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
36149         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
36150         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
36151         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
36152         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
36153         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
36155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36156         nearbyint{,f} to libm-sysdep_routes.
36157         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
36159         New file.
36160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
36161         file.
36162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
36163         New file.
36164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
36165         file.
36166         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
36167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
36168         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
36169         file.
36170         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
36171         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
36172         file.
36173         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
36174         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
36175         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
36177         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36178         libc_feholdexcept and libc_fesetenv.
36180 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
36182         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
36184 2013-01-14  David S. Miller  <davem@davemloft.net>
36186         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
36187         (SPARC_ASM_VIS2_IFUNC): Likewise.
36188         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
36189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
36190         use of 'siam' instruction.
36191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
36192         Likewise.
36193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
36194         Likewise.
36195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
36196         Likewise.
36197         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
36198         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
36199         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
36200         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
36201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
36202         file.
36203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
36204         file.
36205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
36206         file.
36207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
36208         file.
36209         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
36210         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
36211         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
36212         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
36213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
36214         new VIS2 routines.
36215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36218         Likewise.
36219         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36220         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36221         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36222         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
36224         routines to libm-sysdep_routines.
36225         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36228         fdim/fdimf to libm-sysdep_routines.
36229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
36230         file.
36231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
36232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
36233         file.
36234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
36235         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
36236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
36237         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
36238         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
36239         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
36240         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
36242 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36244         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
36245         to optimize copies.
36247         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
36248         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36249         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36251         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
36252         local variable MPTWO.
36253         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36254         Likewise.
36256 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36258         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
36259         GLOB_NOESCAPE.
36261 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36263         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
36265 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36267         * manual/pattern.texi (glob_t): Document gl_flags.
36268         (glob64_t): Likewise.
36270 2013-01-11  David S. Miller  <davem@davemloft.net>
36272         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
36273         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
36274         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
36275         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
36276         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
36277         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
36278         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
36279         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
36280         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
36281         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
36282         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
36283         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
36284         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
36286         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36287         sparc V9 rather than using V8 code.
36288         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36289         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36291         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36292         Move to...
36293         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
36294         Here.
36296 2013-01-11  Roland McGrath  <roland@hack.frob.com>
36298         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
36299         not in the main loop.
36300         * configure: Regenerated.
36302 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
36304         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
36305         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
36306         to just #else.
36307         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
36308         [!__GLIBC_HAVE_LONG_LONG] case.
36309         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
36310         condition to just #else.
36311         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
36312         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
36313         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
36314         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
36315         unconditional.
36316         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
36317         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36318         #elif condition to just #else.
36319         * sysdeps/unix/sysv/linux/sys/sysmacros.h
36320         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
36321         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36322         #elif condition to just #else.
36324 2013-01-11  Steve Ellcey  <sellcey@mips.com>
36326         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
36327         (EF_MIPS_ARCH_64): Fix value.
36328         (EF_MIPS_ARCH_32R2): New.
36329         (EF_MIPS_ARCH_64R2): New.
36331 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
36333         * Makeconfig (+link-pie-before-libc): New.
36334         (+link-pie-after-libc): Likewise.
36335         (+link-pie-tests): Likewise.
36336         (+link-pie): Rewritten.
36337         (link-before-libc): Remove $(config-LDFLAGS).
36338         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
36339         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
36340         (config-LDFLAGS): Renamed to ...
36341         (rtld-LDFLAGS): This.
36342         (rtld-tests-LDFLAGS): New macro.
36343         (link-libc-rpath-link): Likewise.
36344         (link-libc-tests-rpath-link): Likewise.
36345         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
36346         (link-libc): Prepand $(link-libc-rpath-link).
36347         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
36348         (test-program-prefix): New macro.
36349         (test-via-rtld-prefix): Likewise.
36350         (test-program-cmd): Likewise.
36351         (host-test-program-cmd): Likewise.
36352         * Makefile ($(common-objpfx)testrun.sh): Replace
36353         $(run-program-prefix) with $(test-program-prefix).
36354         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
36355         $(rtld-LDFLAGS).
36356         ($(common-objpfx)shlib.lds): Likewise.
36357         (build-module-helper): Likewise.
36358         ($(common-objpfx)format.lds): Likewise.
36359         * Rules (binaries-pie-tests): New.
36360         (binaries-pie-notests): Likewise.
36361         (binaries-pie): Rewritten.
36362         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
36363         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
36364         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
36365         (make-test-out): Replace $(host-built-program-cmd) with
36366         $(host-test-program-cmd).
36367         * config.make.in (build-hardcoded-path-in-tests): New variable.
36368         * configure.in (--enable-hardcoded-path-in-tests): New configure
36369         option.
36370         (hardcoded_path_in_tests): New AC_SUBST.
36371         * configure: Regenerated.
36372         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
36373         $(built-program-cmd) with $(test-program-cmd).
36374         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
36375         (test_program_cmd): This.
36376         * elf/Makefile ($(objpfx)order.out): Run test with
36377         $(test-program-prefix).
36378         ($(objpfx)order2.out): Likewise.
36379         ($(objpfx)tst-initorder.out): Likewise.
36380         ($(objpfx)tst-initorder2.out): Likewise.
36381         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
36382         $(test-program-cmd).
36383         ($(objpfx)tst-array1-static.out): Likewise.
36384         ($(objpfx)tst-array2.out): Likewise.
36385         ($(objpfx)tst-array3.out): Likewise.
36386         ($(objpfx)tst-array4.out): Likewise.
36387         ($(objpfx)tst-array5.out): Likewise.
36388         ($(objpfx)tst-array5-static.out): Likewise.
36389         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
36390         $(test-program-cmd).
36391         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
36392         $(run-program-prefix) with $(test-program-prefix).
36393         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
36394         (test_program_prefix): This.
36395         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
36396         $(run-program-prefix) with $(test-program-prefix).
36397         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
36398         (test_program_prefix): This.
36399         * iconvdata/tst-tables.sh: Likewise.
36400         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
36401         $(run-program-prefix) with $(test-program-prefix).
36402         ($(objpfx)tst-translit.out): Likewise.
36403         ($(objpfx)tst-gettext2.out): Likewise.
36404         ($(objpfx)tst-gettext4.out): Likewise.
36405         ($(objpfx)tst-gettext6.out): Likewise.
36406         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
36407         (test_program_prefix): This.
36408         * intl/tst-gettext2.sh: Likewise.
36409         * intl/tst-gettext4.sh  Likewise.
36410         * intl/tst-gettext6.sh: Likewise.
36411         * intl/tst-translit.sh: Likewise.
36412         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
36413         with $(test-program-cmd).
36414         * libio/Makefile ($(objpfx)test-freopen.out): Replace
36415         $(run-program-prefix) with $(test-program-prefix).
36416         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
36417         (test_program_prefix): This.
36418         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
36419         $(run-program-prefix) with $(test-program-prefix).
36420         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
36421         (test_program_prefix): This.
36422         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
36423         * posix/Makefile ($(objpfx)globtest.out): Replace
36424         $(run-via-rtld-prefix) and $(test-wrapper) with
36425         $(test-program-prefix) and $(test-via-rtld-prefix).
36426         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
36427         $(test-program-prefix).
36428         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
36429         $(host-test-program-cmd).
36430         (tst-spawn-ARGS): Likewise.
36431         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
36432         $(test-program-prefix).
36433         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
36434         (test_via_rtld_prefix): This.
36435         (test_wrapper): Renamed to ...
36436         (test_program_prefix): This.
36437         (run_program_prefix): Replaced by test_program_prefix.
36438         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
36439         (test_program_prefix): This.
36440         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
36441         with $(host-test-program-cmd).
36442         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
36443         $(run-program-prefix) with $(test-program-prefix).
36444         ($(objpfx)tst-printf.out): Likewise.
36445         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
36446         $(test-program-cmd).
36447         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
36448         (test_program_prefix): This.
36449         * stdio-common/tst-unbputc.sh: Likewise.
36450         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
36451         $(run-program-prefix) with $(test-program-prefix).
36452         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
36453         (test_program_prefix): This.
36454         * string/Makefile ($(objpfx)tst-svc.out):  Replace
36455         $(built-program-cmd) with $(test-program-cmd).
36457 2013-01-11  Andreas Jaeger  <aj@suse.de>
36459         [BZ #15003]
36460         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
36461         value. Sync with Linux 3.7.
36463 2013-01-10  David S. Miller  <davem@davemloft.net>
36465         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
36466         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36467         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36469 2013-01-10  Roland McGrath  <roland@hack.frob.com>
36471         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
36472         never set.
36473         * configure: Regenerated.
36475 2013-01-10  David S. Miller  <davem@davemloft.net>
36477         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36478         sparc V9 rather than using V8 code.
36479         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36480         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36482 2013-01-10  Roland McGrath  <roland@hack.frob.com>
36484         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
36485         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
36486         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
36487         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
36488         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
36489         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
36490         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
36491         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
36492         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
36493         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
36494         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
36495         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
36496         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
36497         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
36498         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
36499         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
36500         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
36501         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
36502         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
36503         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
36504         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
36505         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
36506         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
36507         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
36508         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
36509         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
36510         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
36512 2013-01-10  David S. Miller  <davem@davemloft.net>
36514         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36516 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
36518         * posix/Makefile (tests-static): New variable.
36519         (tests): Add $(tests-static).
36520         (tst-exec-static-ARGS): New variable.
36521         (tst-spawn-static-ARGS): Likewise.
36522         * posix/tst-exec-static.c: New file.
36523         * posix/tst-spawn-static.c: Likewise.
36524         * posix/tst-exec.c: Support run directly.
36525         * posix/tst-spawn.c: Likewise.
36527 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
36529         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
36530         long.
36531         * math/bits/mathcalls.h (llrint): Likewise.
36532         (llround): Likewise.
36533         * stdlib/stdlib.h (struct drand48_data): Likewise.
36534         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
36535         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
36536         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
36537         Likewise.
36538         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
36539         Likewise.
36540         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
36541         (elf_greg_t): Likewise.
36542         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
36543         (__jmp_buf): Likewise.
36544         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
36545         definitions.
36546         (llrint): Likewise, for all definitions.
36547         (llrintl): Likewise.
36549         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
36550         Remove [__GNUC__] condition.
36551         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
36552         condition to just [__USE_ISOC99].
36553         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
36555 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
36557         [BZ #14200]
36558         * sysdeps/unix/sysv/linux/x86/bits/environments.h
36559         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
36560         defined.
36561         (_POSIX_V6_ILP32_OFF32): Likewise.
36562         (_XBS5_ILP32_OFF32): Likewise.
36563         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
36564         (__ILP32_OFFBIG_LDFLAGS): Likewise.
36566 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36568         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
36570         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
36571         doubles __mpexp_twomm1.  Adjust usage.
36572         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
36573         Remove.
36575 2013-01-10  Andreas Schwab  <schwab@suse.de>
36577         [BZ #14964]
36578         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
36579         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
36581 2013-01-09  David S. Miller  <davem@davemloft.net>
36583         [BZ #15003]
36584         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
36585         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
36586         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
36587         (TCP_FASTOPEN): Define.
36588         (tcp_repair_opt): New structure.
36589         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
36590         enum values.
36591         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
36592         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
36593         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
36594         (tcp_cookie_transactions): New structure.
36596 2013-01-09  Anton Blanchard  <anton@samba.org>
36598         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
36599         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
36600         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
36601         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36603 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
36605         * include/features.h (__USE_ANSI): Remove.
36607 2013-01-09  Roland McGrath  <roland@hack.frob.com>
36609         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
36611         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
36613 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
36615         * sysdeps/s390/fpu/libm-test-ulps: Update.
36617         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36619         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
36620         (__acr): Likewise.
36621         (__cpy): Likewise.
36622         (norm): Likewise.
36623         (denorm): Likewise.
36624         (__mp_dbl): Likewise.
36625         (__dbl_mp): Likewise.
36626         (add_magnitudes): Likewise.
36627         (sub_magnitudes): Likewise.
36628         (__add): Likewise.
36629         (__sub): Likewise.
36630         (__mul): Likewise.
36631         (__inv): Likewise.
36632         (__dvd): Likewise.
36633         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
36634         (__acr): Likewise.
36635         (__cpy): Likewise.
36636         (norm): Likewise.
36637         (denorm): Likewise.
36638         (__mp_dbl): Likewise.
36639         (__dbl_mp): Likewise.
36640         (add_magnitudes): Likewise.
36641         (sub_magnitudes): Likewise.
36642         (__add): Likewise.
36643         (__sub): Likewise.
36644         (__mul): Likewise.
36645         (__inv): Likewise.
36646         (__dvd): Likewise.
36647         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
36648         (__acr): Likewise.
36649         (__cpy): Likewise.
36650         (norm): Likewise.
36651         (denorm): Likewise.
36652         (__mp_dbl): Likewise.
36653         (__dbl_mp): Likewise.
36654         (add_magnitudes): Likewise.
36655         (sub_magnitudes): Likewise.
36656         (__add): Likewise.
36657         (__sub): Likewise.
36658         (__mul): Likewise.
36659         (__inv): Likewise.
36660         (__dvd): Likewise.
36662 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
36664         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
36665         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
36666         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
36667         2 && __USE_EXTERN_INLINES]: Likewise.
36669 2013-01-08  Andreas Jaeger  <aj@suse.de>
36671         [BZ# 14985]
36672         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
36673         Remove.
36674         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36675         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36677 2013-01-07  Anton Blanchard  <anton@samba.org>
36679         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
36680         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
36681         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
36682         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
36683         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
36684         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36685         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
36686         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36687         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36688         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36689         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36690         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36691         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36692         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36693         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36694         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36695         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36696         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36697         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36698         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
36699         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36700         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
36701         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36702         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36703         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
36704         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
36705         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36706         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
36707         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
36708         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36709         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36710         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36711         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36712         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36713         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36714         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36715         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36716         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36717         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
36718         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
36719         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
36720         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36721         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36723 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
36725         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
36726         (__MALLOC_PMT): Likewise.
36727         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
36728         [__GNUC__], only on [_LIBC].
36729         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36730         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
36731         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36732         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
36733         forward declaration.
36734         (realloc_hook_ini): Likewise.
36735         (memalign_hook_ini): Likewise.
36736         (__libc_memalign): Do not use __MALLOC_PMT in variable
36737         declaration.
36738         (__libc_valloc): Likewise.
36739         (__libc_pvalloc): Likewise.
36740         (__libc_calloc): Likewise.
36741         (__posix_memalign): Likewise.
36743         [BZ #14996]
36744         * math/s_casinh.c: Include <float.h>.
36745         (__casinh): Do not do computation with squaring and square root
36746         for large arguments.
36747         * math/s_casinhf.c: Include <float.h>.
36748         (__casinhf): Do not do computation with squaring and square root
36749         for large arguments.
36750         * math/s_casinhl.c: Include <float.h>.
36751         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
36752         (__casinhl): Do not do computation with squaring and square root
36753         for large arguments.
36754         * math/libm-test.inc (casin_test): Add more tests.
36755         (casinh_test): Likewise.
36756         * sysdeps/i386/fpu/libm-test-ulps: Update.
36757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36759 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
36761         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
36762         (__x86_64_raw_data_cache_size): Likewise.
36763         (__x86_64_data_cache_size_half): Likewise.
36764         (__x86_64_raw_data_cache_size_half): Likewise.
36765         (__x86_64_shared_cache_size): Likewise.
36766         (__x86_64_raw_shared_cache_size): Likewise.
36767         (__x86_64_shared_cache_size_half): Likewise.
36768         (__x86_64_raw_shared_cache_size_half): Likewise.
36769         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
36770         to ...
36771         (__x86_data_cache_size): This.
36772         (__x86_64_raw_data_cache_size): Renamed to ...
36773         (__x86_raw_data_cache_size): This.
36774         (__x86_64_data_cache_size_half): Renamed to ...
36775         (__x86_data_cache_size_half): This.
36776         (__x86_64_raw_data_cache_size_half): Renamed to ...
36777         (__x86_raw_data_cache_size_half): This.
36778         (__x86_64_shared_cache_size): Renamed to ...
36779         (__x86_shared_cache_size): This.
36780         (__x86_64_raw_shared_cache_size): Renamed to ...
36781         (__x86_raw_shared_cache_size): This.
36782         (__x86_64_shared_cache_size_half): Renamed to ...
36783         (__x86_shared_cache_size_half): This.
36784         (__x86_64_raw_shared_cache_size_half): Renamed to ...
36785         (__x86_raw_shared_cache_size_half): This.
36786         * sysdeps/x86_64/memcpy.S: Updated.
36787         * sysdeps/x86_64/memset.S: Likewise.
36788         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36789         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36790         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36792 2013-01-04  David S. Miller  <davem@davemloft.net>
36794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36796 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
36798         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
36799         1 to avoid redefinition warning.
36800         (__USE_GNU): Don't define.
36801         (init_signaling_nan): Protoize.
36803         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36805 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36807         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
36808         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
36809         (__cpymn): Likewise.
36810         (norm): Remove commented code.
36811         (denorm): Likewise.
36812         (__mp_dbl): Likewise.
36813         (__inv): Likewise.
36814         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
36815         (__cpymn): Likewise.
36816         (norm): Remove commented code.
36817         (denorm): Likewise.
36818         (__mp_dbl): Likewise.
36819         (__inv): Likewise.
36821         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
36822         mp_no value for 1.0 and 2.0.
36823         (norm): Use RADIXI instead of radixi.d.
36824         (denorm): Likewise.
36825         (__mul): Use 0.0 instead of zero.d.
36826         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
36827         mp_no value for 1.0 and 2.0.
36828         (norm): Use RADIXI instead of radixi.d.
36829         (denorm): Likewise.
36830         (__mul): Use 0.0 instead of zero.d.
36832 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
36834         [BZ #14994]
36835         * math/s_casinh.c (__casinh): Reduce finite argument to first
36836         quadrant then set signs of results at the end.
36837         * math/s_casinhf.c (__casinhf): Likewise.
36838         * math/s_casinhl.c (__casinhl): Likewise.
36839         * math/libm-test.inc (casin_test): Add more tests.
36840         (casinh_test): Likewise.
36841         * sysdeps/i386/fpu/libm-test-ulps: Update.
36842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36844 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36846         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
36848         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
36850         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
36851         declarations.
36852         (denorm): Likewise.
36853         (__mp_dbl): Likewise.
36854         (__inv): Likewise.
36856         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
36857         and adjust the header comment.
36859         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
36860         variable name from declaration.
36862 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
36864         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36865         Initialize COMMON_CPUID_INDEX_7 element.
36866         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
36867         (CPUID_RTM): Likewise.
36868         (HAS_RTM): Likewise.
36869         (COMMON_CPUID_INDEX_7): New enum.
36871 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
36873         [BZ #14981]
36874         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
36875         size is zero, record memory as freed.
36877 2013-01-03  Andreas Jaeger  <aj@suse.de>
36879         * po/ia.po: Add new Interlingua translation.
36881 2012-01-03  Allan McRae  <allan@archlinux.org>
36883         * locale/programs/localedef.c: Fix description of '--posix' flag.
36885 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
36887         * NEWS: Update dates in second copyright notice.
36888         * README: Update copyright dates in example.
36889         * manual/libc.texinfo: Update copyright dates.
36890         * scripts/test-installation.pl: Update copyright date in --version
36891         output.
36893         * hurd/ctty-input.c: Fix copyright notice formatting.
36894         * hurd/ctty-output.c: Likewise.
36895         * hurd/dtable.c: Likewise.
36896         * hurd/hurd-raise.c: Likewise.
36897         * hurd/hurdprio.c: Likewise.
36898         * hurd/msgportdemux.c: Likewise.
36899         * misc/sys/file.h: Likewise.
36900         * misc/sys/ioctl.h: Likewise.
36901         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36902         * sysdeps/mach/hurd/chdir.c: Likewise.
36903         * sysdeps/mach/hurd/fchdir.c: Likewise.
36904         * sysdeps/mach/hurd/rename.c: Likewise.
36905         * sysdeps/mach/hurd/rmdir.c: Likewise.
36906         * sysdeps/mach/hurd/seekdir.c: Likewise.
36907         * sysdeps/mach/hurd/setsid.c: Likewise.
36908         * sysdeps/posix/wait3.c: Likewise.
36910         * All files with FSF copyright notices: Update copyright dates
36911         using scripts/update-copyrights.
36912         * intl/plural.c: Regenerated.
36913         * locale/programs/charmap-kw.h: Likewise.
36914         * locale/programs/locfile-kw.h: Likewise.
36916 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36918         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
36919         four values.
36921         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
36922         calculation loop and add branch prediction.
36924         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
36925         check access beyond bounds of m1np.
36927         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36928         MPTWO.
36929         (__inv): Remove local variable MPTWO to use the global
36930         constant.
36931         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
36932         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36933         variable MPTWO.
36934         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
36935         MP3HALFS static const.
36937 2013-01-01  David S. Miller  <davem@davemloft.net>
36939         * po/ca.po: Update from translation team.
36941 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
36943         * scripts/update-copyrights: New file.
36944         * Makeconfig: Reformat copyright notice.
36945         * ctype/ctype.h: Likewise.
36946         * debug/swprintf_chk.c: Likewise.
36947         * elf/dl-cache.c: Likewise.
36948         * elf/dl-debug.c: Likewise.
36949         * elf/dl-object.c: Likewise.
36950         * grp/initgroups.c: Likewise.
36951         * hurd/Makefile: Likewise.
36952         * hurd/hurd/signal.h: Likewise.
36953         * hurd/hurdfault.c: Likewise.
36954         * hurd/hurdioctl.c: Likewise.
36955         * hurd/hurdlookup.c: Likewise.
36956         * hurd/intr-msg.c: Likewise.
36957         * iconv/gconv_open.c: Likewise.
36958         * libio/swprintf.c: Likewise.
36959         * locale/lc-ctype.c: Likewise.
36960         * locale/nl_langinfo.c: Likewise.
36961         * mach/Machrules: Likewise.
36962         * mach/Makefile: Likewise.
36963         * malloc/obstack.h: Likewise.
36964         * manual/Makefile: Likewise.
36965         * manual/tsort.awk: Likewise.
36966         * misc/bits/stab.def: Likewise.
36967         * nis/nis_print_group_entry.c: Likewise.
36968         * nis/nis_table.c: Likewise.
36969         * nis/nss_compat/compat-pwd.c: Likewise.
36970         * nis/nss_compat/compat-spwd.c: Likewise.
36971         * po/Makefile: Likewise.
36972         * posix/fnmatch.c: Likewise.
36973         * posix/regex.h: Likewise.
36974         * resolv/Makefile: Likewise.
36975         * resolv/nss_dns/dns-network.c: Likewise.
36976         * resolv/res_hconf.c: Likewise.
36977         * scripts/gen-sorted.awk: Likewise.
36978         * soft-fp/soft-fp.h: Likewise.
36979         * stdio-common/printf.h: Likewise.
36980         * stdlib/monetary.h: Likewise.
36981         * stdlib/random.c: Likewise.
36982         * stdlib/random_r.c: Likewise.
36983         * sysdeps/generic/Makefile: Likewise.
36984         * sysdeps/gnu/Makefile: Likewise.
36985         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36986         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36987         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36988         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36989         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36990         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36991         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36992         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36993         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36994         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36995         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36996         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36997         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36998         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36999         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
37000         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37001         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37002         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37003         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37004         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37005         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37006         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37007         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37008         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
37009         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
37010         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37011         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37012         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
37013         * sysdeps/mach/hurd/errnos.awk: Likewise.
37014         * sysdeps/mach/hurd/fork.c: Likewise.
37015         * sysdeps/mach/hurd/getcwd.c: Likewise.
37016         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
37017         * sysdeps/mach/hurd/mmap.c: Likewise.
37018         * sysdeps/mach/hurd/utimes.c: Likewise.
37019         * sysdeps/mach/hurd/xmknod.c: Likewise.
37020         * sysdeps/posix/profil.c: Likewise.
37021         * sysdeps/posix/readdir_r.c: Likewise.
37022         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37023         * sysdeps/powerpc/bits/setjmp.h: Likewise.
37024         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
37025         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37026         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37027         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37028         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37029         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37030         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37031         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37032         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37033         * sysdeps/pthread/lio_listio.c: Likewise.
37034         * sysdeps/sparc/dl-procinfo.h: Likewise.
37035         * sysdeps/unix/i386/sysdep.S: Likewise.
37036         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
37037         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
37038         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
37039         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
37040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37041         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
37042         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
37043         * sysdeps/unix/sysv/linux/speed.c: Likewise.
37044         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
37045         * sysdeps/wordsize-32/divdi3.c: Likewise.
37046         * time/sys/time.h: Likewise.
37047         * wcsmbs/Makefile: Likewise.
37049 2013-01-01  David S. Miller  <davem@davemloft.net>
37051         * po/fr.po: Update from translation team.
37053         * catgets/gencat.c: Update copyright year.
37054         * csu/version.c: Likewise.
37055         * debug/catchsegv.sh: Likewise.
37056         * debug/pcprofiledump.c: Likewise.
37057         * debug/xtrace.sh: Likewise.
37058         * elf/ldconfig.c: Likewise.
37059         * elf/ldd.bash.in: Likewise.
37060         * elf/pldd.c: Likewise.
37061         * elf/sotruss.ksh: Likewise.
37062         * elf/sprof.c: Likewise.
37063         * iconv/iconv_prog.c: Likewise.
37064         * iconv/iconvconfig.c: Likewise.
37065         * locale/programs/locale.c: Likewise.
37066         * locale/programs/localedef.c: Likewise.
37067         * login/programs/pt_chown.c: Likewise.
37068         * malloc/memusage.sh: Likewise.
37069         * malloc/memusagestat.c: Likewise.
37070         * malloc/mtrace.pl: Likewise.
37071         * nscd/nscd.c: Likewise.
37072         * nss/getent.c: Likewise.
37073         * nss/makedb.c: Likewise.
37074         * posix/getconf.c: Likewise.
37076 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37078         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
37079         numbers.
37081 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
37083         * math/bits/mathcalls.h (modf): Use __nonnull.
37085 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37087         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
37088         (split): Use macro CN instead of the bare value.
37089         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
37090         could be used.
37091         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
37092         instead of the bare value.
37093         (power1): Likewise.
37095 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37097         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
37098         __ATAN_TWOM.
37099         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37101         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
37102         their values.
37103         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37104         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37105         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
37106         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37108 2012-12-28  Andreas Jaeger  <aj@suse.de>
37110         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
37111         values are from Linux 3.7.
37113         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
37114         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
37116 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37118         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
37119         TRUE case.
37121         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
37122         (norm): Likewise.
37123         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
37124         variables with preprocessor constants.
37125         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37126         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37127         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37129 2012-12-27  Bruno Haible  <bruno@clisp.org>
37131         [BZ #14317]
37132         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
37133         only if needed.
37135 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37137         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
37138         and use variable directly.
37139         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
37141         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37142         MPONE.
37143         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
37144         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37145         variable MPONE.
37146         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37147         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37148         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
37149         include directive.  Remove local variable MPONE.
37150         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
37151         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
37152         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37154 2012-12-25  David S. Miller  <davem@davemloft.net>
37156         * version.h (RELEASE): Set to "development".
37157         (VERSION): Set to "2.17.90".
37158         * NEWS: Add 2.18 section.
37160 2012-12-21  David S. Miller  <davem@davemloft.net>
37162         * po/hr.po: Update from translation team.
37164 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37166         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
37168 2012-12-19  Steve Ellcey  <sellcey@mips.com>
37170         * NEWS:  Mention new memcpy for MIPS.
37172 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37174         * manual/contrib.texi (Contributors): Spelling correction.
37176 2012-12-15  David S. Miller  <davem@davemloft.net>
37178         * po/ru.po: Update from translation team.
37180 2012-12-13  David S. Miller  <davem@davemloft.net>
37182         * NEWS: Mention IFUNC testsuite enhancements.
37184         * po/pl.po: Update from translation team.
37185         * po/bg.po: Likewise.
37187         * manual/contrib.texi (Contributors): Update entries for Hongjiu
37188         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
37190 2012-12-11  David S. Miller  <davem@davemloft.net>
37192         * po/sv.po: Update from translation team.
37194         * po/vi.po: Update from translation team.
37196         * po/cs.po: Update from translation team.
37198         * po/de.po: Update from translation team.
37199         * po/eo.po: Likewise.
37200         * po/nl.po: Likewise.
37202 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37204         [BZ #14246]
37205         * manual/argp.texi (Argp Helper Functions): Move node to follow
37206         Argp Parsing State.
37208         [BZ #14872]
37209         * manual/conf.texi (Limits on File System Capacity): Mention if
37210         terminating null is included in the max size.
37212 2012-12-10  Andreas Jaeger  <aj@suse.de>
37214         * po/cs.po: Update from translation team.
37216 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37218         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
37219         void pointer and cast to uintptr_t.
37220         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
37221         path.
37222         * sysdeps/s390/s390-64/memcpy.S: Likewise.
37223         * sysdeps/s390/s390-64/memset.S: Likewise.
37225 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
37227         [BZ #14833]
37228         * menual/message.texi (Message Translation): Fix typos.
37229         (Helper programs for gettext): Likewise.
37231 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
37233         [BZ #14898]
37234         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
37235         Change to -1.
37237 2012-12-07  David S. Miller  <davem@davemloft.net>
37239         * po/libc.pot: Update.
37241 2012-12-07  Richard Henderson  <rth@redhat.com>
37243         [BZ #10114]
37244         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
37245         normal/normal case to before the switch.
37246         (_FP_DIV): Likewise.
37248 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
37249             Mike Frysinger  <vapier@gentoo.org>
37251         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
37252         check for __NR_fadvise64_64.
37254 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
37256         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
37257         0, not just to plain "0" as a statement.
37258         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
37259         with cw.
37261 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
37263         * NEWS: Use sourceware.org in Bugzilla URL.
37265 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37268         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37270         * stdio-common/tst-put-error.c (do_test): Add newline to the
37271         padded test to ensure flush.
37273 2012-12-05  Jeff Law  <law@redhat.com>
37275         * sunrpc/etc.rpc (fedfs_admin): Add entry.
37277 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
37279         * README: Don't refer to ports add-on as distributed separately.
37280         Mention AArch64 in list of systems supported in the ports add-on.
37282         * LICENSES: Add more non-FSF copyright and license notices.
37284         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
37285         ((unused)).
37287         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
37289         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
37290         10000 as width of padded output.
37292 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
37294         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
37296         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
37297         variable LX with __attribute__ ((unused)).
37298         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37299         Likewise.
37300         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37301         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37302         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
37303         with __attribute__ ((unused)).
37305 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
37307         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
37309 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
37311         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
37312         (CFLAGS-nldbl-acos.c): New variable.
37313         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
37314         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
37315         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
37316         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
37317         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
37318         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
37319         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
37320         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
37321         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
37322         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
37323         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
37324         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
37325         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
37326         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
37327         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
37328         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
37329         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
37330         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
37331         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
37332         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
37333         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
37334         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
37335         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
37336         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
37337         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
37338         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
37339         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
37340         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
37341         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
37342         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
37343         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
37344         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
37345         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
37346         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
37347         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
37348         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
37349         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
37350         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
37351         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
37352         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
37353         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
37354         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
37355         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
37356         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
37357         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
37358         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
37359         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
37360         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
37361         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
37362         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
37363         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
37364         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
37365         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
37366         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
37367         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
37368         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
37369         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
37370         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
37371         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
37372         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
37373         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
37374         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
37375         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
37376         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
37377         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
37378         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
37379         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
37380         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
37381         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
37382         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
37383         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
37384         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
37385         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
37386         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
37387         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
37388         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
37389         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
37390         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
37391         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
37392         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
37393         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
37394         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
37395         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
37396         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
37397         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
37398         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
37399         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
37400         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
37401         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
37402         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
37403         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
37404         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
37405         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
37406         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
37407         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
37408         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
37409         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
37411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37412         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37414         [BZ #14914]
37415         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
37416         whole low double instead of just low 47 bits when splitting values
37417         into two parts.
37419 2012-12-03  Allan McRae  <allan@archlinux.org>
37421         * manual/stdio.texi (Predefined Printf Handlers): Remove
37422         @hsep and @vsep usage.
37424 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
37426         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
37427         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
37429 2012-12-03  Jeff Law  <law@redhat.com>
37431         * time/sys/time.h (settimeofday): Do not mark TV argument
37432         as __nonnull.
37434 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
37436         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
37437         when currently writing and seek to current position when not.
37438         * libio/Makefile (tests): Remove bug-fclose1.
37439         * libio/bug-fclose1.c: Delete.
37441 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
37443         * manual/arith.texi (feenableexcept): Fix typo.
37444         (fedisableexcept): Likewise.
37446 2012-11-30  Roland McGrath  <roland@hack.frob.com>
37448         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
37449         second, differently-typed declaration, rather than a cast.
37451 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37453         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
37454         * include/rpc/svc.h: ... here.
37456 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
37458         [BZ #13013]
37459         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
37460         depending n and resplen2 to catch cases where answer
37461         equals answerp2.
37463 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
37465         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
37466         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
37468 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
37470         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
37472 2012-11-29  Roland McGrath  <roland@hack.frob.com>
37474         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
37476 2012-11-28  Jeff Law  <law@redhat.com>
37478         [BZ #13761]
37479         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
37480         dataset_temporary.  Track alloca usage into alloca_used.
37481         If dataset is large allocate and release it via malloc/free.
37483 2012-06-04  Florian Weimer  <fweimer@redhat.com>
37485         [BZ #14197]
37486         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
37488 2012-11-28  David S. Miller  <davem@davemloft.net>
37490         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37492 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
37494         [BZ #14803]
37495         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
37496         of pi/2 rounded to nearest to 64 bits.
37497         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
37498         nearest to 64 bits.
37499         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
37500         bits.
37502 2012-11-28  Jeff Law <law@redhat.com>
37503             Martin Osvald <mosvald@redhat.com>
37505         [BZ #14889]
37506         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
37507         * sunrpc/svc.c: Include time.h.
37508         (__svc_accept_failed): New function.
37509         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
37510         any reason other than EINTR, call __svc_accept_failed.
37511         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
37512         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
37514 2012-11-28  Andreas Schwab  <schwab@suse.de>
37516         * scripts/abilist.awk: Also handle indirect functions in .opd
37517         section.
37519 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
37521         [BZ #13881]
37522         * sysdeps/x86/fpu/powl_helper.c: New file.
37523         * sysdeps/x86/fpu/Makefile: Likewise.
37524         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
37525         (p3): New object.
37526         (__ieee754_powl): Use __powl_helper for finite arguments except
37527         integer exponents below 8.
37528         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
37529         (p3): New object.
37530         (__ieee754_powl): Use __powl_helper for finite arguments except
37531         integer exponents below 8.
37532         * math/libm-test.inc (pow_test): Add more tests and enable some
37533         previously disabled tests.
37534         * sysdeps/i386/fpu/libm-test-ulps: Update.
37535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37537 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37538             Carlos O'Donell  <carlos_odonell@mentor.com>
37540         * nss/makedb.c (is_prime): Assert that input is odd and greater
37541         than 4.  Note that fact in a comment too.
37542         (next_prime): Add 4 to input.
37544 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37546         [BZ #11741]
37547         * libio/Makefile (tests): Add test case tst-fwrite-error.
37548         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
37549         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
37550         * libio/tst-fwrite-error.c: New test case.
37552 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
37554         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
37555         before casting to void *.
37556         * include/libc-internal.h (__pointer_type): New macro.
37557         (__integer_if_pointer_type_sub): Likewise.
37558         (__integer_if_pointer_type): Likewise.
37559         (cast_to_integer): Likewise.
37560         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
37561         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
37562         before casting to atomic64_t.
37563         (atomic_exchange_acq): Likewise.
37564         (__arch_exchange_and_add_body): Likewise.
37565         (__arch_add_body): Likewise.
37566         (atomic_add_negative): Likewise.
37567         (atomic_add_zero): Likewise.
37569 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
37571         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
37572         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
37573         (add_fdes): Likewise.
37574         (linear_search_fdes): Likewise.
37575         (binary_search_unencoded_fdes): Likewise.
37577 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
37579         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
37581 2012-11-24  Adam Conrad  <adconrad@0c3.net>
37583         * configure.in: Autodetect C++ header directories.
37584         * configure: Regenerated.
37586 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
37588         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
37590 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
37592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37594 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
37596         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
37597         LDBL_MANT_DIG == 106]: Disable some tests.
37598         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37599         Likewise.
37600         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37601         Likewise.
37603         [BZ #14871]
37604         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
37605         input for small inputs.  Return +/- pi/2 for large inputs.
37606         * math/libm-test.inc (atan_test): Add more tests.
37608         * sysdeps/generic/unwind-dw2-fde-glibc.c
37609         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
37610         __attribute__ ((unused)).
37612         [BZ #14645]
37613         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
37614         x * y if x and y are nonzero and z is zero.
37616         [BZ #14811]
37617         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
37618         nonzero exponents with absolute value below 0x1p-117 to +/-
37619         0x1p-117.
37621         [BZ #14869]
37622         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
37623         up arguments below 2**-450, not just those below 2**-500.
37624         * math/libm-test.inc (hypot_test): Add another test.
37626         [BZ #14868]
37627         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
37628         Return a+b for ratio over 2**120, not 2**60.
37629         * math/libm-test.inc (hypot_test): Add another test.
37631         * math/libm-test.inc (clog_test): Use
37632         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
37633         (clog10_test): Likewise.
37635         [BZ #6778]
37636         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
37638 2012-11-22  Andreas Schwab  <schwab@suse.de>
37640         * sysdeps/i386/fpu/libm-test-ulps: Update.
37642 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
37644         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
37645         printf output with newline.
37647 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
37649         [BZ #14865]
37650         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
37651         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
37652         -z nodlopen, -z initfirst and -z execstack support.
37653         * configure: Regenerated.
37655         * elf/elf.h (DF_1_NODIRECT): New macro.
37656         (DF_1_IGNMULDEF): Likewise.
37657         (DF_1_NOKSYMS): Likewise.
37658         (DF_1_NOHDR): Likewise.
37659         (DF_1_EDITED): Likewise.
37660         (DF_1_NORELOC): Likewise.
37661         (DF_1_SYMINTPOSE): Likewise.
37662         (DF_1_GLOBAUDIT): Likewise.
37663         (DF_1_SINGLETON): Likewise.
37664         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
37665         DT_1_SUPPORTED_MASK bits.
37666         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
37668 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
37670         * sysdeps/unix/make-syscalls.sh: Document prefixes.
37672 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
37674         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
37675         macro.
37677         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
37678         (sendmmsg): Move declarations...
37679         * socket/sys/socket.h: ... here.
37680         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
37681         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
37682         include it from...
37683         * socket/recvmmsg.c: ... this new file.
37684         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
37685         (sendmmsg): Rename to __sendmmsg, create weak alias and make
37686         definition of __sendmmsg hidden.
37687         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
37688         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
37689         Move ENOSYS stub into and include it from...
37690         * socket/sendmmsg.c: ... this new file.
37691         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
37692         (sysdep_routines): Move recvmmsg and sendmmsg...
37693         * socket/Makefile (routines): ... here.
37694         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
37695         (GLIBC_PRIVATE): Add __sendmmsg.
37696         * include/sys/socket.h (__sendmmsg): Add declarations.
37697         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
37698         sendmmsg.
37700 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
37702         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
37703         variable I1 with __attribute__ ((unused)).
37704         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37706 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
37708         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
37709         DUMMY variables with __attribute__ ((unused)).
37711         * bits/byteswap.h: Include <bits/types.h>.
37712         (__bswap_64): Use __uint64_t instead of unsigned long long int.
37714 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
37716         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
37717         string_t.  Do not manually set errno.
37718         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
37719         length with __strnlen.  Make sure to both set errno and return it on
37720         failure.
37722 2012-11-19  David S. Miller  <davem@davemloft.net>
37724         With help from Joseph Myers.
37725         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
37726         very large arguments properly.
37727         * math/libm-test.inc (atan_test): New tests.
37728         (atan2_test): New tests.
37729         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37730         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37732 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
37734         [BZ #14856]
37735         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
37736         Define to 3.
37738         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
37739         [POSIX] (EADDRNOTAVAIL): Likewise.
37740         [POSIX] (EAFNOSUPPORT): Likewise.
37741         [POSIX] (EALREADY): Likewise.
37742         [POSIX] (ECONNABORTED): Likewise.
37743         [POSIX] (ECONNREFUSED): Likewise.
37744         [POSIX] (ECONNRESET): Likewise.
37745         [POSIX] (EDESTADDRREQ): Likewise.
37746         [POSIX] (EDQUOT): Likewise.
37747         [POSIX] (EHOSTUNREACH): Likewise.
37748         [POSIX] (EIDRM): Likewise.
37749         [POSIX] (EISCONN): Likewise.
37750         [POSIX] (ELOOP): Likewise.
37751         [POSIX] (EMULTIHOP): Likewise.
37752         [POSIX] (ENETDOWN): Likewise.
37753         [POSIX] (ENETUNREACH): Likewise.
37754         [POSIX] (ENOBUFS): Likewise.
37755         [POSIX] (ENODATA): Likewise.
37756         [POSIX] (ENOLINK): Likewise.
37757         [POSIX] (ENOMSG): Likewise.
37758         [POSIX] (ENOPROTOOPT): Likewise.
37759         [POSIX] (ENOSR): Likewise.
37760         [POSIX] (ENOSTR): Likewise.
37761         [POSIX] (ENOTCONN): Likewise.
37762         [POSIX] (ENOTSOCK): Likewise.
37763         [POSIX] (EOPNOTSUPP): Likewise.
37764         [POSIX] (EOVERFLOW): Likewise.
37765         [POSIX] (EPROTO): Likewise.
37766         [POSIX] (EPROTONOSUPPORT): Likewise.
37767         [POSIX] (EPROTOTYPE): Likewise.
37768         [POSIX] (ESTALE): Likewise.
37769         [POSIX] (ETIME): Likewise.
37770         [POSIX] (ETXTBSY): Likewise.
37771         [POSIX] (EWOULDBLOCK): Likewise.
37772         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
37773         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
37774         [POSIX] (SEEK_CUR): Likewise.
37775         [POSIX] (SEEK_END): Likewise.
37776         [POSIX || UNIX98] (mode_t): Do not require.
37777         [POSIX] (off_t): Likewise.
37778         [POSIX] (pid_t): Likewise.
37779         [POSIX] (sys/stat.h): Do not allow header.
37780         [POSIX] (unistd.h): Likewise.
37781         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
37782         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
37783         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
37784         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
37785         require.
37786         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
37787         sigevent): Specify elements.
37788         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
37789         entry.
37790         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
37791         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
37793         * conform/data/cpio.h-data [POSIX]: Disable whole file.
37794         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
37795         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
37796         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
37797         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
37798         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
37799         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
37800         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
37801         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
37802         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
37803         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
37804         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
37805         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
37806         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
37807         Likewise.
37808         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
37809         Likewise.
37810         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
37811         Likewise.
37812         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
37813         Likewise.
37814         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
37815         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
37816         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
37817         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
37818         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
37819         Specify lower bound on value.
37820         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
37821         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
37822         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
37823         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
37824         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
37825         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
37826         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
37827         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
37828         value.
37829         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
37830         as optional.
37831         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
37832         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
37833         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
37834         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
37835         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
37836         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
37837         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
37838         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
37839         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
37840         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
37841         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
37842         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
37843         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
37844         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
37845         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
37846         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
37847         entry.
37848         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
37849         optional.
37850         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
37851         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
37852         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
37853         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
37854         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
37855         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
37856         Likewise.
37857         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
37858         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
37859         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
37860         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
37861         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
37862         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
37863         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
37864         as optional.
37865         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
37866         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
37867         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
37868         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
37869         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
37870         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
37871         specify as optional.
37872         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
37873         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
37874         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
37875         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
37876         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
37877         [XPG3] (NL_LANGMAX): Likewise.
37878         [POSIX || XPG3] (NL_MSGMAX): Likewise.
37879         [POSIX || XPG3] (NL_NMAX): Likewise.
37880         [POSIX || XPG3] (NL_SETMAX): Likewise.
37881         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
37882         [XPG3] (NZERO): Likewise.
37883         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
37884         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
37885         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
37886         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
37887         (REG_ERANGE): Expect.
37888         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
37889         optional-constant.
37890         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
37891         Use (void) in prototype.
37892         [POSIX] (*_t): Allow.
37893         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
37894         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
37895         (WRDE_BADVAL): Expect.
37897         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
37898         expect.
37899         [XPG3 || XPG4] (O_RSYNC): Likewise.
37900         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
37901         Likewise.
37902         [XPG3 || XPG4] (pthread_sigmask): Likewise.
37903         [XPG3 || XPG4] (sigqueue): Likewise.
37904         [XPG3 || XPG4] (sigtimedwait): Likewise.
37905         [XPG3 || XPG4] (sigwaitinfo): Likewise.
37906         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
37907         [XPG3 || XPG4] (vsnprintf): Likewise.
37908         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
37909         Likewise.
37910         [XPG3 || XPG4] (blksize_t): Likewise.
37911         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
37912         Likewise.
37913         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
37914         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37915         [XPG3 || XPG4] (struct itimerspec): Likewise.
37916         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
37917         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
37918         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
37919         [XPG3 || XPG4] (clockid_t): Likewise.
37920         [XPG3 || XPG4] (timer_t): Likewise.
37921         [XPG3 || XPG4] (clock_getres): Likewise.
37922         [XPG3 || XPG4] (clock_gettime): Likewise.
37923         [XPG3 || XPG4] (clock_settime): Likewise.
37924         [XPG3 || XPG4] (nanosleep): Likewise.
37925         [XPG3 || XPG4] (timer_create): Likewise.
37926         [XPG3 || XPG4] (timer_delete): Likewise.
37927         [XPG3 || XPG4] (timer_gettime): Likewise.
37928         [XPG3 || XPG4] (timer_getoverrun): Likewise.
37929         [XPG3 || XPG4] (timer_settime): Likewise.
37930         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
37931         [XPG3 || XPG4] (getlogin_r): Likewise.
37932         [XPG3 || XPG4] (pread): Likewise.
37933         [XPG3 || XPG4] (pthread_atfork): Likewise.
37934         [XPG3 || XPG4] (pwrite): Likewise.
37936         [BZ #14835]
37937         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
37938         <bits/siginfo.h>.
37940 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
37942         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
37943         finalizing MALLSTREAM.
37945         * sysdeps/mach/hurd/syncfs.c: New file.
37947 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37949         [BZ #14719]
37950         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
37951         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
37952         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
37953         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
37954         (_nss_dns_gethostbyname4_r): Likewise.
37955         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
37956         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
37958 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
37960         [BZ #13763]
37961         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
37963 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
37965         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
37966         * elf/cache.c (print_entry): Print ",AArch64" for
37967         FLAG_AARCH64_LIB64
37969         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
37970         * elf/cache.c (print_entry): Print ",hard-float" for
37971         FLAG_ARM_LIBHF.
37973 2012-11-18  David S. Miller  <davem@davemloft.net>
37975         With help from Joseph Myers.
37976         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
37977         cutoff to 2**-13.
37978         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
37979         cutoff to 2**-25.
37980         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
37981         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
37982         small.
37983         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
37984         * math/libm-test.inc (y0_test): New tests.
37985         (y1_test): New tests.
37986         * sysdeps/i386/fpu/libm-test-ulps: Update.
37987         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37988         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37990 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
37992         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
37993         64-bit targets.
37994         * configure: Regenerated.
37996 2012-11-17  David S. Miller  <davem@davemloft.net>
37998         [BZ #14811]
37999         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
38000         nonzero exponents with absolute value below 0x1p-128 to +/-
38001         0x1p-128.
38003 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
38005         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
38007         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
38009         * posix/getconf-speclist.c: New file.
38010         * posix/posix-envs.def: Likewise.
38011         * posix/confstr.c (START_ENV_GROUP): New macro.
38012         (END_ENV_GROUP): Likewise.
38013         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38014         (KNOWN_PRESENT_ENV_STRING): Likewise.
38015         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38016         (UNKNOWN_ENVIRONMENT): Likewise.
38017         (confstr): Include posix-envs.def instead of handling
38018         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
38019         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
38020         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
38021         (END_ENV_GROUP): Likewise.
38022         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38023         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38024         (UNKNOWN_ENVIRONMENT): Likewise.
38025         (__sysconf): Include posix-envs.def instead of handling associated
38026         cases directly here.
38027         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
38028         preprocessing getconf-speclist.c rather than running getconf or
38029         generating empty file.
38031 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
38033         * scripts/check-local-headers.sh: Ignore 'mach' headers.
38035 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
38037         [BZ #14672]
38038         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
38040 2012-11-16  David S. Miller  <davem@davemloft.net>
38042         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
38043         smaller than LDBL_EPSILON/2.0L, just return xm1.
38045 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
38047         * elf/tst-array1.c (init): Set constructor priority to 1000.
38048         (fini): Set destructor priority to 1000.
38049         * elf/tst-array2dep.c: Likewise.
38051 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38053         [BZ #11741]
38054         * libio/fileops.c (_IO_new_file_write): Correctly return error.
38055         (_IO_new_file_xsputn): Also return EOF if none of the input
38056         data was written when overflow failed.
38057         * libio/iopadn.c (_IO_padn): Likewise.
38058         * libio/iowpadn.c (_IO_wpadn): Likewise.
38059         * stdio-common/tst-put-error.c: Add copyright notice.
38060         (do_test): Add case for printing padded string.
38061         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
38062         _IO_padn returned error.
38063         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
38064         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
38065         return EOF.
38067 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38069         * libio/libioP.h: Add comment note that the references to C++
38070         bits are now obsolete.
38072 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38074         * math/libm-test.inc (check_complex): Use asprintf.
38076 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
38078         * debug/pcprofiledump.c (print_version): Update copyright year.
38079         * malloc/memusagestat.c (print_version): Likewise.
38081 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
38083         [BZ #14831]
38084         * elf/Makefile (tests): Add tst-audit8.
38085         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
38086         ($(objpfx)tst-audit8.out): New target.
38087         (tst-audit8-ENV): New variable.
38088         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
38089         audit if l_reloc_result is NULL.
38090         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
38091         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
38092         * elf/tst-audit8.c: New file.
38094 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38096         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
38097         * misc/Makefile (CFLAGS-select.c): Define.
38098         * posix/Makefile (CFLAGS-pause.c): Define.
38100 2012-11-13  David S. Miller  <davem@davemloft.net>
38102         * crypt/Makefile: Move test targets after toplevel Rules
38103         inclusion.  Grab any necessary sysdep routines when linking.
38104         * crypt/md5.c (md5_process_block): Remove define, we will always
38105         name it __md5_process_block.
38106         (md5_finish_ctx): Update md5_process_block call.
38107         (md5_stream): Likewise.
38108         (md5_process_bytes): Likewise.
38109         (md5_process_block): Rename to __md5_process_block and move to ...
38110         * crypt/md5-block.c: ... here.
38111         * crypt/sha256.c (sha256_process_block): Move to ...
38112         * crypt/sha256-block.c: ... here.
38113         * crypt/sha512.c (sha512_process_block): Move to ...
38114         * crypt/sha512-block.c: ... here.
38115         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
38116         path.
38117         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
38118         * sysdeps/sparc/sparc64/multiarch/Makefile
38119         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
38120         crypt subdir.
38121         (localedef-aux): Add md5 crypto assembler when in locale subdir.
38122         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
38123         multiarch changes.
38124         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
38125         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
38126         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
38127         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
38128         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
38129         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
38130         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
38131         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
38132         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
38133         file.
38134         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
38135         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
38136         file.
38137         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
38139 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
38141         * timezone/tzselect.ksh: Update from tzcode git revision
38142         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
38143         * timezone/zdump.c: Likewise.
38144         * timezone/zic.c: Likewise.
38145         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
38146         in TZVERSION setting, not $(PKGVERSION).
38147         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
38148         REPORT_BUGS_TO settings.
38150         [BZ #14838]
38151         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
38152         macro.
38154 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38156         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
38157         detection to immediately after _FP_ROUND().
38158         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
38159         bits are 0.
38161 2012-11-11  David S. Miller  <davem@davemloft.net>
38163         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
38164         inttypes.h
38165         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
38166         __close rather than their public counterparts.
38168 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
38170         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
38171         file.
38172         [UNIX98] (sem_timedwait): Do not expect.
38173         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
38174         [XPG4 || UNIX98] (sockatmark): Do not expect.
38175         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
38176         (clock_getcpuclockid): Do not expect.
38177         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
38178         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
38179         Do not expect.
38180         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
38181         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
38182         [UNIX98] (vwscanf): Likewise.
38183         [UNIX98] (vswscanf): Likewise.
38185 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
38187         * timezone/version.h: Remove file.
38188         * timezone/README: Do not refer to version.h.
38189         * timezone/Makefile ($(objpfx)zic.o): New dependency on
38190         $(objpfx)version.h.
38191         ($(objpfx)zdump.o): Likewise.
38192         ($(objpfx)version.h): New target.
38194         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
38195         2012i.
38196         * timezone/README: Don't mention modification to tzselect.ksh.
38197         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
38198         work on unmodified tzselect.ksh.  Substitute version numbers in
38199         tzselect.ksh.
38201         * Makefile (format-me): Remove.
38202         (INSTALL): Adjust indentation.  Use commands directly instead of
38203         using $(format-me).
38205         * aclocal.m4 (ACX_PKGVERSION): New macro.
38206         (ACX_BUGURL): Likewise.
38207         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
38208         (PKGVERSION): New AC_DEFINE_UNQUOTED.
38209         (REPORT_BUGS_TO): Likewise.
38210         * configure: Regenerated.
38211         * config.h.in (PKGVERSION): New macro.
38212         (REPORT_BUGS_TO): Likewise.
38213         * config.make.in (PKGVERSION): New variable.
38214         (PKGVERSION_TEXI): Likewise.
38215         (REPORT_BUGS_TO): Likewise.
38216         (REPORT_BUGS_TEXI): Likewise.
38217         * Makefile (format-me): Use -I$(common-objpfx)manual.
38218         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
38219         ($(common-objpfx)manual/%): New target.
38220         (manual/%): Remove target.
38221         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
38222         (print_version): Use PKGVERSION.
38223         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
38224         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
38225         and REPORT_BUGS_TO.
38226         ($(objpfx)xtrace): Likewise.
38227         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
38228         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
38229         (print_version): Use PKGVERSION.
38230         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
38231         (do_version): Use PKGVERSION.
38232         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
38233         REPORT_BUGS_TO.
38234         (common-ldd-rewrite): Likewise.
38235         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
38236         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
38237         (print_version): Use PKGVERSION.
38238         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
38239         * elf/pldd.c (argp_program_bug_address): Remove variable.
38240         (more_help): New function.
38241         (argp): Use more_help.
38242         (print_version): Use PKGVERSION.
38243         * elf/sln.c (main): Use PKGVERSION.
38244         (usage): Use REPORT_BUGS_TO.
38245         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
38246         (top level): Use PKGVERSION.
38247         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
38248         (print_version): Use PKGVERSION.
38249         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
38250         (print_version): Use PKGVERSION.
38251         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
38252         (print_version): Use PKGVERSION.
38253         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
38254         (print_version): Use PKGVERSION.
38255         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
38256         (print_version): Use PKGVERSION.
38257         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
38258         (print_version): Use PKGVERSION.
38259         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
38260         and BUGURL.
38261         ($(objpfx)memusage): Likewise.
38262         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
38263         (do_version): Use PKGVERSION.
38264         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
38265         (print_version): Use PKGVERSION.
38266         * malloc/mtrace.pl ($PACKAGE): Remove variable.
38267         ($PKGVERSION): New variable.
38268         ($REPORT_BUGS_TO): Likewise.
38269         (usage): Use $REPORT_BUGS_TO.
38270         (top level): Use $PKGVERSION.
38271         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
38272         ($(objpfx)pkgvers.texi): New rule.
38273         ($(objpfx)stamp-pkgvers): Likewise.
38274         * manual/install.texi: Include pkgvers.texi.
38275         (--with-pkgversion): Document new configure option.
38276         (--with-bugurl): Likewise.
38277         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
38278         than necessarily for this particular distribution.  Use
38279         REPORT_BUGS_TO for where to report bugs.
38280         * INSTALL: Regenerated.
38281         * manual/libc.texinfo: Include pkgvers.texi.
38282         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
38283         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
38284         (print_version): Use PKGVERSION.
38285         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
38286         (print_version): Use PKGVERSION.
38287         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
38288         (print_version): Use PKGVERSION.
38289         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
38290         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
38291         macro.
38292         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
38293         (print_version): Use PKGVERSION.
38294         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
38295         (print_version): Use PKGVERSION.
38296         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
38297         and PKGVERSION.
38299         * timezone/checktab.awk: Update from tzcode 2012i.
38300         * timezone/ialloc.c: Likewise.
38301         * timezone/private.h: Likewise.
38302         * timezone/scheck.c: Likewise.
38303         * timezone/tzfile.h: Likewise.
38304         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
38305         (TZVERSION): Hardcode tzcode version number.
38306         * timezone/zdump.c: Update from tzcode 2012i.
38307         * timezone/zic.c: Likewise.
38308         * timezone/version.h: New file.
38309         * timezone/README: Describe version.h.  Update upstream location.
38311         [BZ #14824]
38312         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
38313         (mktemp): Enable declaration.
38314         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
38315         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
38316         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
38317         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
38318         Likewise.
38319         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
38320         Likewise.
38321         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
38322         Likewise.
38323         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
38324         Likewise.
38325         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
38326         Likewise.
38327         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
38328         Likewise.
38330         [BZ #14821]
38331         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
38332         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
38333         for copies of such integer values.
38334         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38335         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38337 2012-11-09  Andreas Jaeger  <aj@suse.de>
38339         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
38340         definitions and declarations that are provided by
38341         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38343 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38345         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
38346         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
38347         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
38348         definition.
38350 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38352         * elf/elf.h: Update comment before AArch64 relocations.
38354 2012-11-07  David S. Miller  <davem@davemloft.net>
38356         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
38357         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38358         (__start_context): Declare.
38359         (__makecontext_ret): Delete.
38360         (__makecontext): Hook up __start_context instead of
38361         __makecontext_ret.
38362         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
38363         (sysdep_routines): Add __start_context when in stdlib.
38365 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
38367         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
38368         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
38369         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
38370         hardcoded "nm".
38371         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
38372         (READELF): New variable.  Use it instead of hardcoded "readelf".
38374 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
38376         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
38377         * sysdeps/x86/Makefile: Here.
38378         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
38379         * sysdeps/x86/tst-xmmymm.sh: This.
38381 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
38383         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
38384         expectations.
38385         [UNIX98] (pthread_barrier_t): Do not expect.
38386         [UNIX98] (pthread_barrierattr_t): Likewise.
38387         [UNIX98] (pthread_spinlock_t): Likewise.
38388         [UNIX98] (pthread_barrier_destroy): Likewise.
38389         [UNIX98] (pthread_barrier_init): Likewise.
38390         [UNIX98] (pthread_barrier_wait): Likewise.
38391         [UNIX98] (pthread_barrierattr_destroy): Likewise.
38392         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
38393         [UNIX98] (pthread_barrierattr_init): Likewise.
38394         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
38395         [UNIX98] (pthread_getcpuclockid): Likewise.
38396         [UNIX98] (pthread_mutex_timedlock): Likewise.
38397         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
38398         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
38399         [UNIX98] (pthread_sigmask): Likewise.
38400         [UNIX98] (pthread_spin_destroy): Likewise.
38401         [UNIX98] (pthread_spin_init): Likewise.
38402         [UNIX98] (pthread_spin_lock): Likewise.
38403         [UNIX98] (pthread_spin_trylock): Likewise.
38404         [UNIX98] (pthread_spin_unlock): Likewise.
38405         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
38406         Do not expect.
38407         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
38408         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
38409         [XPG3 || XPG4] (pthread_cond_t): Likewise.
38410         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
38411         [XPG3 || XPG4] (pthread_key_t): Likewise.
38412         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
38413         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
38414         [XPG3 || XPG4] (pthread_once_t): Likewise.
38415         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
38416         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
38417         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
38418         [XPG3 || XPG4] (pthread_t): Likewise.
38420         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
38421         not expect.
38422         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
38424         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
38425         Change function return type to int.
38427         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
38428         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
38429         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
38430         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
38431         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
38432         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
38433         [!POSIX] (posix_madvise): Likewise.
38434         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
38435         && !UNIX98].
38436         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
38437         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
38438         (mode_t): Likewise.
38439         (posix_mem_offset): Likewise.
38440         (posix_typed_mem_get_info): Likewise.
38441         (posix_typed_mem_open): Likewise.
38443         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
38444         Change condition to [XOPEN2K8].
38446         * conform/conformtest.pl: Preprocess allow-header data with -x c
38447         instead of from stdin.
38448         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
38449         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
38450         [C99-based standards] (cerfc): Likewise.
38451         [C99-based standards] (cexp2): Likewise.
38452         [C99-based standards] (cexpm1): Likewise.
38453         [C99-based standards] (clog10): Likewise.
38454         [C99-based standards] (clog1p): Likewise.
38455         [C99-based standards] (clog2): Likewise.
38456         [C99-based standards] (clgamma): Likewise.
38457         [C99-based standards] (ctgamma): Likewise.
38458         [C99-based standards] (cerff): Likewise.
38459         [C99-based standards] (cerfcf): Likewise.
38460         [C99-based standards] (cexp2f): Likewise.
38461         [C99-based standards] (cexpm1f): Likewise.
38462         [C99-based standards] (clog10f): Likewise.
38463         [C99-based standards] (clog1pf): Likewise.
38464         [C99-based standards] (clog2f): Likewise.
38465         [C99-based standards] (clgammaf): Likewise.
38466         [C99-based standards] (ctgammaf): Likewise.
38467         [C99-based standards] (cerfl): Likewise.
38468         [C99-based standards] (cerfcl): Likewise.
38469         [C99-based standards] (cexp2l): Likewise.
38470         [C99-based standards] (cexpm1l): Likewise.
38471         [C99-based standards] (clog10l): Likewise.
38472         [C99-based standards] (clog1pl): Likewise.
38473         [C99-based standards] (clog2l): Likewise.
38474         [C99-based standards] (clgammal): Likewise.
38475         [C99-based standards] (ctgammal): Likewise.
38476         * conform/data/inttypes.h-data [C99-based standards]: Include
38477         stdint.h-data.  Remove all expectations for stdint.h contents.
38478         [C99-based standards] (PRI*): Do not allow.
38479         [C99-based standards] (SCN*): Likewise.
38480         [C99-based standards] (*_t): Likewise.
38481         [C99-based-standards] (PRId8): Expect macro.
38482         [C99-based-standards] (PRIi8): Likewise.
38483         [C99-based-standards] (PRIo8): Likewise.
38484         [C99-based-standards] (PRIu8): Likewise.
38485         [C99-based-standards] (PRIx8): Likewise.
38486         [C99-based-standards] (PRIX8): Likewise.
38487         [C99-based-standards] (SCNd8): Likewise.
38488         [C99-based-standards] (SCNi8): Likewise.
38489         [C99-based-standards] (SCNo8): Likewise.
38490         [C99-based-standards] (SCNu8): Likewise.
38491         [C99-based-standards] (SCNx8): Likewise.
38492         [C99-based-standards] (PRIdLEAST8): Likewise.
38493         [C99-based-standards] (PRIiLEAST8): Likewise.
38494         [C99-based-standards] (PRIoLEAST8): Likewise.
38495         [C99-based-standards] (PRIuLEAST8): Likewise.
38496         [C99-based-standards] (PRIxLEAST8): Likewise.
38497         [C99-based-standards] (PRIXLEAST8): Likewise.
38498         [C99-based-standards] (SCNdLEAST8): Likewise.
38499         [C99-based-standards] (SCNiLEAST8): Likewise.
38500         [C99-based-standards] (SCNoLEAST8): Likewise.
38501         [C99-based-standards] (SCNuLEAST8): Likewise.
38502         [C99-based-standards] (SCNxLEAST8): Likewise.
38503         [C99-based-standards] (PRIdFAST8): Likewise.
38504         [C99-based-standards] (PRIiFAST8): Likewise.
38505         [C99-based-standards] (PRIoFAST8): Likewise.
38506         [C99-based-standards] (PRIuFAST8): Likewise.
38507         [C99-based-standards] (PRIxFAST8): Likewise.
38508         [C99-based-standards] (PRIXFAST8): Likewise.
38509         [C99-based-standards] (SCNdFAST8): Likewise.
38510         [C99-based-standards] (SCNiFAST8): Likewise.
38511         [C99-based-standards] (SCNoFAST8): Likewise.
38512         [C99-based-standards] (SCNuFAST8): Likewise.
38513         [C99-based-standards] (SCNxFAST8): Likewise.
38514         [C99-based-standards] (PRId16): Likewise.
38515         [C99-based-standards] (PRIi16): Likewise.
38516         [C99-based-standards] (PRIo16): Likewise.
38517         [C99-based-standards] (PRIu16): Likewise.
38518         [C99-based-standards] (PRIx16): Likewise.
38519         [C99-based-standards] (PRIX16): Likewise.
38520         [C99-based-standards] (SCNd16): Likewise.
38521         [C99-based-standards] (SCNi16): Likewise.
38522         [C99-based-standards] (SCNo16): Likewise.
38523         [C99-based-standards] (SCNu16): Likewise.
38524         [C99-based-standards] (SCNx16): Likewise.
38525         [C99-based-standards] (PRIdLEAST16): Likewise.
38526         [C99-based-standards] (PRIiLEAST16): Likewise.
38527         [C99-based-standards] (PRIoLEAST16): Likewise.
38528         [C99-based-standards] (PRIuLEAST16): Likewise.
38529         [C99-based-standards] (PRIxLEAST16): Likewise.
38530         [C99-based-standards] (PRIXLEAST16): Likewise.
38531         [C99-based-standards] (SCNdLEAST16): Likewise.
38532         [C99-based-standards] (SCNiLEAST16): Likewise.
38533         [C99-based-standards] (SCNoLEAST16): Likewise.
38534         [C99-based-standards] (SCNuLEAST16): Likewise.
38535         [C99-based-standards] (SCNxLEAST16): Likewise.
38536         [C99-based-standards] (PRIdFAST16): Likewise.
38537         [C99-based-standards] (PRIiFAST16): Likewise.
38538         [C99-based-standards] (PRIoFAST16): Likewise.
38539         [C99-based-standards] (PRIuFAST16): Likewise.
38540         [C99-based-standards] (PRIxFAST16): Likewise.
38541         [C99-based-standards] (PRIXFAST16): Likewise.
38542         [C99-based-standards] (SCNdFAST16): Likewise.
38543         [C99-based-standards] (SCNiFAST16): Likewise.
38544         [C99-based-standards] (SCNoFAST16): Likewise.
38545         [C99-based-standards] (SCNuFAST16): Likewise.
38546         [C99-based-standards] (SCNxFAST16): Likewise.
38547         [C99-based-standards] (PRId32): Likewise.
38548         [C99-based-standards] (PRIi32): Likewise.
38549         [C99-based-standards] (PRIo32): Likewise.
38550         [C99-based-standards] (PRIu32): Likewise.
38551         [C99-based-standards] (PRIx32): Likewise.
38552         [C99-based-standards] (PRIX32): Likewise.
38553         [C99-based-standards] (SCNd32): Likewise.
38554         [C99-based-standards] (SCNi32): Likewise.
38555         [C99-based-standards] (SCNo32): Likewise.
38556         [C99-based-standards] (SCNu32): Likewise.
38557         [C99-based-standards] (SCNx32): Likewise.
38558         [C99-based-standards] (PRIdLEAST32): Likewise.
38559         [C99-based-standards] (PRIiLEAST32): Likewise.
38560         [C99-based-standards] (PRIoLEAST32): Likewise.
38561         [C99-based-standards] (PRIuLEAST32): Likewise.
38562         [C99-based-standards] (PRIxLEAST32): Likewise.
38563         [C99-based-standards] (PRIXLEAST32): Likewise.
38564         [C99-based-standards] (SCNdLEAST32): Likewise.
38565         [C99-based-standards] (SCNiLEAST32): Likewise.
38566         [C99-based-standards] (SCNoLEAST32): Likewise.
38567         [C99-based-standards] (SCNuLEAST32): Likewise.
38568         [C99-based-standards] (SCNxLEAST32): Likewise.
38569         [C99-based-standards] (PRIdFAST32): Likewise.
38570         [C99-based-standards] (PRIiFAST32): Likewise.
38571         [C99-based-standards] (PRIoFAST32): Likewise.
38572         [C99-based-standards] (PRIuFAST32): Likewise.
38573         [C99-based-standards] (PRIxFAST32): Likewise.
38574         [C99-based-standards] (PRIXFAST32): Likewise.
38575         [C99-based-standards] (SCNdFAST32): Likewise.
38576         [C99-based-standards] (SCNiFAST32): Likewise.
38577         [C99-based-standards] (SCNoFAST32): Likewise.
38578         [C99-based-standards] (SCNuFAST32): Likewise.
38579         [C99-based-standards] (SCNxFAST32): Likewise.
38580         [C99-based-standards] (PRId64): Likewise.
38581         [C99-based-standards] (PRIi64): Likewise.
38582         [C99-based-standards] (PRIo64): Likewise.
38583         [C99-based-standards] (PRIu64): Likewise.
38584         [C99-based-standards] (PRIx64): Likewise.
38585         [C99-based-standards] (PRIX64): Likewise.
38586         [C99-based-standards] (SCNd64): Likewise.
38587         [C99-based-standards] (SCNi64): Likewise.
38588         [C99-based-standards] (SCNo64): Likewise.
38589         [C99-based-standards] (SCNu64): Likewise.
38590         [C99-based-standards] (SCNx64): Likewise.
38591         [C99-based-standards] (PRIdLEAST64): Likewise.
38592         [C99-based-standards] (PRIiLEAST64): Likewise.
38593         [C99-based-standards] (PRIoLEAST64): Likewise.
38594         [C99-based-standards] (PRIuLEAST64): Likewise.
38595         [C99-based-standards] (PRIxLEAST64): Likewise.
38596         [C99-based-standards] (PRIXLEAST64): Likewise.
38597         [C99-based-standards] (SCNdLEAST64): Likewise.
38598         [C99-based-standards] (SCNiLEAST64): Likewise.
38599         [C99-based-standards] (SCNoLEAST64): Likewise.
38600         [C99-based-standards] (SCNuLEAST64): Likewise.
38601         [C99-based-standards] (SCNxLEAST64): Likewise.
38602         [C99-based-standards] (PRIdFAST64): Likewise.
38603         [C99-based-standards] (PRIiFAST64): Likewise.
38604         [C99-based-standards] (PRIoFAST64): Likewise.
38605         [C99-based-standards] (PRIuFAST64): Likewise.
38606         [C99-based-standards] (PRIxFAST64): Likewise.
38607         [C99-based-standards] (PRIXFAST64): Likewise.
38608         [C99-based-standards] (SCNdFAST64): Likewise.
38609         [C99-based-standards] (SCNiFAST64): Likewise.
38610         [C99-based-standards] (SCNoFAST64): Likewise.
38611         [C99-based-standards] (SCNuFAST64): Likewise.
38612         [C99-based-standards] (SCNxFAST64): Likewise.
38613         [C99-based-standards] (PRIdMAX): Likewise.
38614         [C99-based-standards] (PRIiMAX): Likewise.
38615         [C99-based-standards] (PRIoMAX): Likewise.
38616         [C99-based-standards] (PRIuMAX): Likewise.
38617         [C99-based-standards] (PRIxMAX): Likewise.
38618         [C99-based-standards] (PRIXMAX): Likewise.
38619         [C99-based-standards] (SCNdMAX): Likewise.
38620         [C99-based-standards] (SCNiMAX): Likewise.
38621         [C99-based-standards] (SCNoMAX): Likewise.
38622         [C99-based-standards] (SCNuMAX): Likewise.
38623         [C99-based-standards] (SCNxMAX): Likewise.
38624         [C99-based-standards] (PRIdPTR): Likewise.
38625         [C99-based-standards] (PRIiPTR): Likewise.
38626         [C99-based-standards] (PRIoPTR): Likewise.
38627         [C99-based-standards] (PRIuPTR): Likewise.
38628         [C99-based-standards] (PRIxPTR): Likewise.
38629         [C99-based-standards] (PRIXPTR): Likewise.
38630         [C99-based-standards] (SCNdPTR): Likewise.
38631         [C99-based-standards] (SCNiPTR): Likewise.
38632         [C99-based-standards] (SCNoPTR): Likewise.
38633         [C99-based-standards] (SCNuPTR): Likewise.
38634         [C99-based-standards] (SCNxPTR): Likewise.
38635         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
38636         allow.
38637         * conform/data/stdint.h-data: Update comments to clarify
38638         requirements.
38639         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
38640         type.
38641         [C99-based standards] (INT8_MAX): Likewise.
38642         [C99-based standards] (INT16_MIN): Likewise.
38643         [C99-based standards] (INT16_MAX): Likewise.
38644         [C99-based standards] (INT32_MIN): Likewise.
38645         [C99-based standards] (INT32_MAX): Likewise.
38646         [C99-based standards] (INT64_MIN): Likewise.
38647         [C99-based standards] (INT64_MAX): Likewise.
38648         [C99-based standards] (UINT8_MAX): Likewise.
38649         [C99-based standards] (UINT16_MAX): Likewise.
38650         [C99-based standards] (UINT32_MAX): Likewise.
38651         [C99-based standards] (UINT64_MAX): Likewise.
38652         [C99-based standards] (INT_LEAST8_MIN): Likewise.
38653         [C99-based standards] (INT_LEAST8_MAX): Likewise.
38654         [C99-based standards] (INT_LEAST16_MIN): Likewise.
38655         [C99-based standards] (INT_LEAST16_MAX): Likewise.
38656         [C99-based standards] (INT_LEAST32_MIN): Likewise.
38657         [C99-based standards] (INT_LEAST32_MAX): Likewise.
38658         [C99-based standards] (INT_LEAST64_MIN): Likewise.
38659         [C99-based standards] (INT_LEAST64_MAX): Likewise.
38660         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
38661         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
38662         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
38663         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
38664         [C99-based standards] (INT_FAST8_MIN): Likewise.
38665         [C99-based standards] (INT_FAST8_MAX): Likewise.
38666         [C99-based standards] (INT_FAST16_MIN): Likewise.
38667         [C99-based standards] (INT_FAST16_MAX): Likewise.
38668         [C99-based standards] (INT_FAST32_MIN): Likewise.
38669         [C99-based standards] (INT_FAST32_MAX): Likewise.
38670         [C99-based standards] (INT_FAST64_MIN): Likewise.
38671         [C99-based standards] (INT_FAST64_MAX): Likewise.
38672         [C99-based standards] (UINT_FAST8_MAX): Likewise.
38673         [C99-based standards] (UINT_FAST16_MAX): Likewise.
38674         [C99-based standards] (UINT_FAST32_MAX): Likewise.
38675         [C99-based standards] (UINT_FAST64_MAX): Likewise.
38676         [C99-based standards] (INTPTR_MIN): Likewise.
38677         [C99-based standards] (INTPTR_MAX): Likewise.
38678         [C99-based standards] (UINTPTR_MAX): Likewise.
38679         [C99-based standards] (INTMAX_MIN): Likewise.
38680         [C99-based standards] (INTMAX_MAX): Likewise.
38681         [C99-based standards] (UINTMAX_MAX): Likewise.
38682         [C99-based standards] (PTRDIFF_MIN): Likewise.
38683         [C99-based standards] (PTRDIFF_MAX): Likewise.
38684         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
38685         [C99-based standards] (SIZE_MAX): Likewise.
38686         [C99-based standards] (WCHAR_MAX): Likewise.
38687         [C99-based standards] (WINT_MAX): Likewise.
38688         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
38689         constraint on value.
38690         [C99-based standards] (WCHAR_MIN): Likewise.
38691         [C99-based standards] (WINT_MIN): Likewise.
38692         [C99-based standards] (*_t): Allow.
38693         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
38694         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
38695         Include math.h-data and complex.h-data.  Remove all expectations
38696         of math.h and complex.h contents.
38697         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
38698         at end of line.
38699         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
38700         (struct tm): Expect tag.
38701         [C99-based-standards] (wcstof): Expect function.
38702         [C99-based-standards] (wcstold): Likewise.
38703         [C99-based-standards] (wcstoll): Likewise.
38704         [C99-based-standards] (wcstoull): Likewise.
38705         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
38706         macro-int-constant.  Specify type.
38707         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
38708         constraint on value.
38709         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38710         Specify type.
38711         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
38712         Specify value.
38713         [ISO C standards]: Do not allow headers.
38714         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
38715         wcs[abcdefghijklmnopqrstuvwxyz]*.
38716         [ISO C standards] (*_t): Do not allow.
38717         * conform/data/wctype.h-data [C99-based standards] (iswblank):
38718         Expect function.
38719         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
38720         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38721         Specify type.
38722         [ISO C standards]: Do not allow headers.
38723         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
38724         is[abcdefghijklmnopqrstuvwxyz]*.
38725         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
38726         to[abcdefghijklmnopqrstuvwxyz]*.
38727         [ISO C standards] (*_t): Do not allow.
38728         * conform/data/stdalign.h-data: New file.
38729         * conform/data/stdbool.h-data: Likewise.
38730         * conform/data/stdnoreturn.h-data: Likewise.
38732 2012-11-07  Roland McGrath  <roland@hack.frob.com>
38734         [BZ #14815]
38735         * manual/filesys.texi (Directory Entries): Typo fix.
38736         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
38738 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38740         * elf/elf.h (EM_AARCH64): New macro.
38741         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
38742         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
38743         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
38744         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
38745         (R_AARCH64_TLSDESC): Likewise.
38746         (NT_ARM_TLS): Likewise.
38747         (NT_ARM_HW_BREAK): Likewise.
38748         (NT_ARM_HW_WATCH): Likewise.
38750 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
38752         [BZ #14811]
38753         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
38754         (__ieee754_powl): Saturate nonzero exponents with absolute value
38755         below 0x1p-79 to +/- 0x1p-79.
38756         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
38757         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
38758         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
38759         nonzero exponents with absolute value below 0x1p-32 to +/-
38760         0x1p-32.
38761         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
38762         (__ieee754_powl): Saturate nonzero exponents with absolute value
38763         below 0x1p-79 to +/- 0x1p-79.
38764         * math/libm-test.inc (pow_test): Add more tests.
38766 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38768         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
38769         _dl_s390_cap_flags with kernel. Increase string length.
38770         (_dl_s390_platforms): Add z196 and zEC12.
38772 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
38774         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
38775         Change XOPEN21K to XOPEN2K.
38777 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
38779         * string/memmove.c: Use memcpy when possible.
38781 2012-11-06  Andreas Jaeger  <aj@suse.de>
38783         * po/eo.po: Update from translation team.
38785 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
38787         [BZ #14793]
38788         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
38789         exponent and small x and y exponents, scale x or y up.  Increase
38790         by 2 the exponent used in scaling up.
38791         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38792         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38793         * math/libm-test.inc (fma_test): Add more tests.
38794         (fma_test_towardzero): Likewise.
38795         (fma_test_downward): Likewise.
38796         (fma_test_upward): Likewise.
38798 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
38800         [BZ #14805]
38801         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
38802         fenv_t *.
38804         [BZ #14801]
38805         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
38806         namespace for names of struct fields.
38807         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
38808         fenv_t fields.
38809         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
38810         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
38812 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38814         [BZ #3665]
38815         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
38817 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
38819         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
38820         PTR_DEMANGLE.
38822         [BZ #5246]
38823         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
38824         PTR_DEMANGLE.
38826 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
38828         [BZ #14797]
38829         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
38830         definitely overflow as x * y not x * y + z.
38831         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38832         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38833         * math/libm-test.inc (fma_test): Add more tests.
38834         (fma_test_towardzero): Likewise.
38835         (fma_test_downward): Likewise.
38836         (fma_test_upward): Likewise.
38838 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
38840         [BZ #157]
38842         * include/stub-tag.h: Remove file.
38843         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
38844         '#include' of it.
38845         * manual/maint.texi (Porting): Don't reference it.
38846         * Makerules ($(objpfx)stubs): Likewise.
38847         * dirent/closedir.c: Don't include <stub-tag.h>.
38848         * dirent/dirfd.c: Likewise.
38849         * dirent/fdopendir.c: Likewise.
38850         * dirent/getdents.c: Likewise.
38851         * dirent/getdents64.c: Likewise.
38852         * dirent/opendir.c: Likewise.
38853         * dirent/readdir.c: Likewise.
38854         * dirent/readdir64.c: Likewise.
38855         * dirent/readdir64_r.c: Likewise.
38856         * dirent/readdir_r.c: Likewise.
38857         * dirent/rewinddir.c: Likewise.
38858         * dirent/seekdir.c: Likewise.
38859         * dirent/telldir.c: Likewise.
38860         * gmon/profil.c: Likewise.
38861         * grp/setgroups.c: Likewise.
38862         * inet/if_index.c: Likewise.
38863         * io/access.c: Likewise.
38864         * io/chdir.c: Likewise.
38865         * io/chmod.c: Likewise.
38866         * io/chown.c: Likewise.
38867         * io/close.c: Likewise.
38868         * io/dup.c: Likewise.
38869         * io/dup2.c: Likewise.
38870         * io/dup3.c: Likewise.
38871         * io/euidaccess.c: Likewise.
38872         * io/faccessat.c: Likewise.
38873         * io/fchdir.c: Likewise.
38874         * io/fchmod.c: Likewise.
38875         * io/fchmodat.c: Likewise.
38876         * io/fchown.c: Likewise.
38877         * io/fchownat.c: Likewise.
38878         * io/fcntl.c: Likewise.
38879         * io/flock.c: Likewise.
38880         * io/fstatfs.c: Likewise.
38881         * io/fstatfs64.c: Likewise.
38882         * io/fstatvfs.c: Likewise.
38883         * io/fstatvfs64.c: Likewise.
38884         * io/futimens.c: Likewise.
38885         * io/fxstat.c: Likewise.
38886         * io/fxstat64.c: Likewise.
38887         * io/fxstatat.c: Likewise.
38888         * io/fxstatat64.c: Likewise.
38889         * io/getcwd.c: Likewise.
38890         * io/isatty.c: Likewise.
38891         * io/lchmod.c: Likewise.
38892         * io/lchown.c: Likewise.
38893         * io/link.c: Likewise.
38894         * io/linkat.c: Likewise.
38895         * io/lseek.c: Likewise.
38896         * io/lseek64.c: Likewise.
38897         * io/lxstat64.c: Likewise.
38898         * io/mkdir.c: Likewise.
38899         * io/mkdirat.c: Likewise.
38900         * io/mkfifo.c: Likewise.
38901         * io/mkfifoat.c: Likewise.
38902         * io/open.c: Likewise.
38903         * io/open64.c: Likewise.
38904         * io/openat.c: Likewise.
38905         * io/openat64.c: Likewise.
38906         * io/pipe.c: Likewise.
38907         * io/pipe2.c: Likewise.
38908         * io/poll.c: Likewise.
38909         * io/posix_fadvise.c: Likewise.
38910         * io/posix_fadvise64.c: Likewise.
38911         * io/posix_fallocate.c: Likewise.
38912         * io/posix_fallocate64.c: Likewise.
38913         * io/read.c: Likewise.
38914         * io/readlink.c: Likewise.
38915         * io/readlinkat.c: Likewise.
38916         * io/rmdir.c: Likewise.
38917         * io/sendfile.c: Likewise.
38918         * io/sendfile64.c: Likewise.
38919         * io/statfs.c: Likewise.
38920         * io/statfs64.c: Likewise.
38921         * io/statvfs.c: Likewise.
38922         * io/statvfs64.c: Likewise.
38923         * io/symlink.c: Likewise.
38924         * io/symlinkat.c: Likewise.
38925         * io/ttyname.c: Likewise.
38926         * io/ttyname_r.c: Likewise.
38927         * io/umask.c: Likewise.
38928         * io/unlink.c: Likewise.
38929         * io/unlinkat.c: Likewise.
38930         * io/utime.c: Likewise.
38931         * io/utimensat.c: Likewise.
38932         * io/write.c: Likewise.
38933         * io/xmknod.c: Likewise.
38934         * io/xmknodat.c: Likewise.
38935         * io/xstat.c: Likewise.
38936         * io/xstat64.c: Likewise.
38937         * login/getpt.c: Likewise.
38938         * login/grantpt.c: Likewise.
38939         * login/unlockpt.c: Likewise.
38940         * math/e_acoshl.c: Likewise.
38941         * math/e_acosl.c: Likewise.
38942         * math/e_asinl.c: Likewise.
38943         * math/e_atan2l.c: Likewise.
38944         * math/e_atanhl.c: Likewise.
38945         * math/e_coshl.c: Likewise.
38946         * math/e_expl.c: Likewise.
38947         * math/e_fmodl.c: Likewise.
38948         * math/e_gammal_r.c: Likewise.
38949         * math/e_hypotl.c: Likewise.
38950         * math/e_j0l.c: Likewise.
38951         * math/e_j1l.c: Likewise.
38952         * math/e_jnl.c: Likewise.
38953         * math/e_lgammal_r.c: Likewise.
38954         * math/e_log10l.c: Likewise.
38955         * math/e_log2l.c: Likewise.
38956         * math/e_logl.c: Likewise.
38957         * math/e_powl.c: Likewise.
38958         * math/e_rem_pio2l.c: Likewise.
38959         * math/e_sinhl.c: Likewise.
38960         * math/e_sqrtl.c: Likewise.
38961         * math/fclrexcpt.c: Likewise.
38962         * math/fedisblxcpt.c: Likewise.
38963         * math/feenablxcpt.c: Likewise.
38964         * math/fegetenv.c: Likewise.
38965         * math/fegetexcept.c: Likewise.
38966         * math/fegetround.c: Likewise.
38967         * math/feholdexcpt.c: Likewise.
38968         * math/fesetenv.c: Likewise.
38969         * math/fesetround.c: Likewise.
38970         * math/feupdateenv.c: Likewise.
38971         * math/fgetexcptflg.c: Likewise.
38972         * math/fraiseexcpt.c: Likewise.
38973         * math/fsetexcptflg.c: Likewise.
38974         * math/ftestexcept.c: Likewise.
38975         * math/k_cosl.c: Likewise.
38976         * math/k_rem_pio2l.c: Likewise.
38977         * math/k_sinl.c: Likewise.
38978         * math/k_tanl.c: Likewise.
38979         * math/s_asinhl.c: Likewise.
38980         * math/s_atanl.c: Likewise.
38981         * math/s_cbrtl.c: Likewise.
38982         * math/s_erfl.c: Likewise.
38983         * math/s_expm1l.c: Likewise.
38984         * math/s_log1pl.c: Likewise.
38985         * math/s_tanhl.c: Likewise.
38986         * misc/acct.c: Likewise.
38987         * misc/brk.c: Likewise.
38988         * misc/chflags.c: Likewise.
38989         * misc/chroot.c: Likewise.
38990         * misc/fchflags.c: Likewise.
38991         * misc/fgetxattr.c: Likewise.
38992         * misc/flistxattr.c: Likewise.
38993         * misc/fremovexattr.c: Likewise.
38994         * misc/fsetxattr.c: Likewise.
38995         * misc/fsync.c: Likewise.
38996         * misc/ftruncate.c: Likewise.
38997         * misc/futimes.c: Likewise.
38998         * misc/futimesat.c: Likewise.
38999         * misc/getdomain.c: Likewise.
39000         * misc/getdtsz.c: Likewise.
39001         * misc/gethostid.c: Likewise.
39002         * misc/gethostname.c: Likewise.
39003         * misc/getloadavg.c: Likewise.
39004         * misc/getpagesize.c: Likewise.
39005         * misc/getsysstats.c: Likewise.
39006         * misc/getxattr.c: Likewise.
39007         * misc/gtty.c: Likewise.
39008         * misc/ioctl.c: Likewise.
39009         * misc/lgetxattr.c: Likewise.
39010         * misc/listxattr.c: Likewise.
39011         * misc/llistxattr.c: Likewise.
39012         * misc/lremovexattr.c: Likewise.
39013         * misc/lsetxattr.c: Likewise.
39014         * misc/lutimes.c: Likewise.
39015         * misc/madvise.c: Likewise.
39016         * misc/mincore.c: Likewise.
39017         * misc/mlock.c: Likewise.
39018         * misc/mlockall.c: Likewise.
39019         * misc/mmap.c: Likewise.
39020         * misc/mprotect.c: Likewise.
39021         * misc/msync.c: Likewise.
39022         * misc/munlock.c: Likewise.
39023         * misc/munlockall.c: Likewise.
39024         * misc/munmap.c: Likewise.
39025         * misc/preadv.c: Likewise.
39026         * misc/preadv64.c: Likewise.
39027         * misc/ptrace.c: Likewise.
39028         * misc/pwritev.c: Likewise.
39029         * misc/pwritev64.c: Likewise.
39030         * misc/readv.c: Likewise.
39031         * misc/reboot.c: Likewise.
39032         * misc/remap_file_pages.c: Likewise.
39033         * misc/removexattr.c: Likewise.
39034         * misc/revoke.c: Likewise.
39035         * misc/select.c: Likewise.
39036         * misc/setdomain.c: Likewise.
39037         * misc/setegid.c: Likewise.
39038         * misc/seteuid.c: Likewise.
39039         * misc/sethostid.c: Likewise.
39040         * misc/sethostname.c: Likewise.
39041         * misc/setregid.c: Likewise.
39042         * misc/setreuid.c: Likewise.
39043         * misc/setxattr.c: Likewise.
39044         * misc/sstk.c: Likewise.
39045         * misc/stty.c: Likewise.
39046         * misc/swapoff.c: Likewise.
39047         * misc/swapon.c: Likewise.
39048         * misc/sync.c: Likewise.
39049         * misc/syncfs.c: Likewise.
39050         * misc/syscall.c: Likewise.
39051         * misc/truncate.c: Likewise.
39052         * misc/ualarm.c: Likewise.
39053         * misc/usleep.c: Likewise.
39054         * misc/ustat.c: Likewise.
39055         * misc/utimes.c: Likewise.
39056         * misc/vhangup.c: Likewise.
39057         * misc/writev.c: Likewise.
39058         * posix/_exit.c: Likewise.
39059         * posix/alarm.c: Likewise.
39060         * posix/execve.c: Likewise.
39061         * posix/fexecve.c: Likewise.
39062         * posix/fork.c: Likewise.
39063         * posix/fpathconf.c: Likewise.
39064         * posix/getaddrinfo.c: Likewise.
39065         * posix/getegid.c: Likewise.
39066         * posix/geteuid.c: Likewise.
39067         * posix/getgid.c: Likewise.
39068         * posix/getgroups.c: Likewise.
39069         * posix/getlogin.c: Likewise.
39070         * posix/getlogin_r.c: Likewise.
39071         * posix/getpgid.c: Likewise.
39072         * posix/getpid.c: Likewise.
39073         * posix/getppid.c: Likewise.
39074         * posix/getresgid.c: Likewise.
39075         * posix/getresuid.c: Likewise.
39076         * posix/getsid.c: Likewise.
39077         * posix/getuid.c: Likewise.
39078         * posix/glob64.c: Likewise.
39079         * posix/nanosleep.c: Likewise.
39080         * posix/pathconf.c: Likewise.
39081         * posix/pause.c: Likewise.
39082         * posix/posix_madvise.c: Likewise.
39083         * posix/pread.c: Likewise.
39084         * posix/pread64.c: Likewise.
39085         * posix/pwrite.c: Likewise.
39086         * posix/pwrite64.c: Likewise.
39087         * posix/sched_getaffinity.c: Likewise.
39088         * posix/sched_getp.c: Likewise.
39089         * posix/sched_gets.c: Likewise.
39090         * posix/sched_primax.c: Likewise.
39091         * posix/sched_primin.c: Likewise.
39092         * posix/sched_rr_gi.c: Likewise.
39093         * posix/sched_setaffinity.c: Likewise.
39094         * posix/sched_setp.c: Likewise.
39095         * posix/sched_sets.c: Likewise.
39096         * posix/sched_yield.c: Likewise.
39097         * posix/setgid.c: Likewise.
39098         * posix/setlogin.c: Likewise.
39099         * posix/setpgid.c: Likewise.
39100         * posix/setresgid.c: Likewise.
39101         * posix/setresuid.c: Likewise.
39102         * posix/setsid.c: Likewise.
39103         * posix/setuid.c: Likewise.
39104         * posix/sleep.c: Likewise.
39105         * posix/spawni.c: Likewise.
39106         * posix/sysconf.c: Likewise.
39107         * posix/times.c: Likewise.
39108         * posix/wait.c: Likewise.
39109         * posix/wait3.c: Likewise.
39110         * posix/wait4.c: Likewise.
39111         * posix/waitpid.c: Likewise.
39112         * resolv/gai_sigqueue.c: Likewise.
39113         * resource/getpriority.c: Likewise.
39114         * resource/getrlimit.c: Likewise.
39115         * resource/getrusage.c: Likewise.
39116         * resource/nice.c: Likewise.
39117         * resource/setpriority.c: Likewise.
39118         * resource/setrlimit.c: Likewise.
39119         * resource/ulimit.c: Likewise.
39120         * rt/aio_cancel.c: Likewise.
39121         * rt/aio_fsync.c: Likewise.
39122         * rt/aio_read.c: Likewise.
39123         * rt/aio_sigqueue.c: Likewise.
39124         * rt/aio_suspend.c: Likewise.
39125         * rt/aio_write.c: Likewise.
39126         * rt/clock_getres.c: Likewise.
39127         * rt/clock_gettime.c: Likewise.
39128         * rt/clock_nanosleep.c: Likewise.
39129         * rt/clock_settime.c: Likewise.
39130         * rt/lio_listio.c: Likewise.
39131         * rt/mq_close.c: Likewise.
39132         * rt/mq_getattr.c: Likewise.
39133         * rt/mq_notify.c: Likewise.
39134         * rt/mq_open.c: Likewise.
39135         * rt/mq_receive.c: Likewise.
39136         * rt/mq_send.c: Likewise.
39137         * rt/mq_setattr.c: Likewise.
39138         * rt/mq_timedreceive.c: Likewise.
39139         * rt/mq_timedsend.c: Likewise.
39140         * rt/mq_unlink.c: Likewise.
39141         * rt/shm_open.c: Likewise.
39142         * rt/shm_unlink.c: Likewise.
39143         * rt/timer_create.c: Likewise.
39144         * rt/timer_delete.c: Likewise.
39145         * rt/timer_getoverr.c: Likewise.
39146         * rt/timer_gettime.c: Likewise.
39147         * rt/timer_settime.c: Likewise.
39148         * setjmp/__longjmp.c: Likewise.
39149         * setjmp/setjmp.c: Likewise.
39150         * signal/kill.c: Likewise.
39151         * signal/killpg.c: Likewise.
39152         * signal/raise.c: Likewise.
39153         * signal/sigaction.c: Likewise.
39154         * signal/sigaltstack.c: Likewise.
39155         * signal/sigblock.c: Likewise.
39156         * signal/sigignore.c: Likewise.
39157         * signal/sigintr.c: Likewise.
39158         * signal/signal.c: Likewise.
39159         * signal/sigpause.c: Likewise.
39160         * signal/sigpending.c: Likewise.
39161         * signal/sigqueue.c: Likewise.
39162         * signal/sigreturn.c: Likewise.
39163         * signal/sigset.c: Likewise.
39164         * signal/sigsetmask.c: Likewise.
39165         * signal/sigstack.c: Likewise.
39166         * signal/sigsuspend.c: Likewise.
39167         * signal/sigtimedwait.c: Likewise.
39168         * signal/sigvec.c: Likewise.
39169         * signal/sigwait.c: Likewise.
39170         * signal/sigwaitinfo.c: Likewise.
39171         * signal/sysv_signal.c: Likewise.
39172         * socket/accept.c: Likewise.
39173         * socket/accept4.c: Likewise.
39174         * socket/bind.c: Likewise.
39175         * socket/connect.c: Likewise.
39176         * socket/getpeername.c: Likewise.
39177         * socket/getsockname.c: Likewise.
39178         * socket/getsockopt.c: Likewise.
39179         * socket/isfdtype.c: Likewise.
39180         * socket/listen.c: Likewise.
39181         * socket/recv.c: Likewise.
39182         * socket/recvfrom.c: Likewise.
39183         * socket/recvmsg.c: Likewise.
39184         * socket/send.c: Likewise.
39185         * socket/sendmsg.c: Likewise.
39186         * socket/sendto.c: Likewise.
39187         * socket/setsockopt.c: Likewise.
39188         * socket/shutdown.c: Likewise.
39189         * socket/sockatmark.c: Likewise.
39190         * socket/socket.c: Likewise.
39191         * socket/socketpair.c: Likewise.
39192         * stdio-common/ctermid.c: Likewise.
39193         * stdio-common/cuserid.c: Likewise.
39194         * stdio-common/remove.c: Likewise.
39195         * stdio-common/rename.c: Likewise.
39196         * stdio-common/renameat.c: Likewise.
39197         * stdio-common/tempname.c: Likewise.
39198         * stdlib/getcontext.c: Likewise.
39199         * stdlib/makecontext.c: Likewise.
39200         * stdlib/setcontext.c: Likewise.
39201         * stdlib/swapcontext.c: Likewise.
39202         * stdlib/system.c: Likewise.
39203         * streams/fattach.c: Likewise.
39204         * streams/fdetach.c: Likewise.
39205         * streams/getmsg.c: Likewise.
39206         * streams/getpmsg.c: Likewise.
39207         * streams/putmsg.c: Likewise.
39208         * streams/putpmsg.c: Likewise.
39209         * sysdeps/unix/bsd/getpt.c: Likewise.
39210         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
39211         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
39212         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39214         Likewise.
39215         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
39216         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
39217         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
39218         * sysvipc/msgctl.c: Likewise.
39219         * sysvipc/msgget.c: Likewise.
39220         * sysvipc/msgrcv.c: Likewise.
39221         * sysvipc/msgsnd.c: Likewise.
39222         * sysvipc/semctl.c: Likewise.
39223         * sysvipc/semget.c: Likewise.
39224         * sysvipc/semop.c: Likewise.
39225         * sysvipc/semtimedop.c: Likewise.
39226         * sysvipc/shmat.c: Likewise.
39227         * sysvipc/shmctl.c: Likewise.
39228         * sysvipc/shmdt.c: Likewise.
39229         * sysvipc/shmget.c: Likewise.
39230         * termios/tcdrain.c: Likewise.
39231         * termios/tcflow.c: Likewise.
39232         * termios/tcflush.c: Likewise.
39233         * termios/tcgetattr.c: Likewise.
39234         * termios/tcgetpgrp.c: Likewise.
39235         * termios/tcsendbrk.c: Likewise.
39236         * termios/tcsetattr.c: Likewise.
39237         * termios/tcsetpgrp.c: Likewise.
39238         * time/adjtime.c: Likewise.
39239         * time/clock.c: Likewise.
39240         * time/getitimer.c: Likewise.
39241         * time/gettimeofday.c: Likewise.
39242         * time/setitimer.c: Likewise.
39243         * time/settimeofday.c: Likewise.
39244         * time/stime.c: Likewise.
39245         * time/time.c: Likewise.
39247 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
39249         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
39250         /usr/old/bin.
39252         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
39253         instead of spaces.
39254         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
39256 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
39258         [BZ #14796]
39259         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
39260         FE_TONEAREST before applying Dekker multiplication and Knuth
39261         addition.  Clear inexact exceptions and check for exact zero
39262         results afterwards.
39263         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39264         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39265         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39266         * math/libm-test.inc (fma_test): Add more tests.
39267         (fma_test_towardzero): Likewise.
39268         (fma_test_downward): Likewise.
39269         (fma_test_upward): Likewise.
39270         * sysdeps/generic/math_private.h (default_libc_fesetround): New
39271         function.
39272         (libc_fesetround): New macro.
39273         (libc_fesetroundf): Likewise.
39274         (libc_fesetroundl): Likewise.
39275         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
39276         function.
39277         (libc_fesetround_387): Likewise.
39278         (libc_fesetroundf): New macro.
39279         (libc_fesetround): Likewise.
39280         (libc_fesetroundl): Likewise.
39281         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
39282         function.
39283         (libc_fesetroundf): New macro.
39284         (libc_fesetround): Likewise.
39285         (libc_fesetroundl): Likewise.
39286         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
39287         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
39288         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
39289         libm_hidden_ver.
39290         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
39291         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
39292         libm_hidden_def.
39293         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
39294         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
39295         libm_hidden_ver.
39296         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
39297         libm_hidden_def.
39299         [BZ #3439]
39300         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
39301         integer constant usable in #if and use that to give value to enum
39302         constant.
39303         (FE_DIVBYZERO): Likewise.
39304         (FE_UNDERFLOW): Likewise.
39305         (FE_OVERFLOW): Likewise.
39306         (FE_INVALID): Likewise.
39307         (FE_INVALID_SNAN): Likewise.
39308         (FE_INVALID_ISI): Likewise.
39309         (FE_INVALID_IDI): Likewise.
39310         (FE_INVALID_ZDZ): Likewise.
39311         (FE_INVALID_IMZ): Likewise.
39312         (FE_INVALID_COMPARE): Likewise.
39313         (FE_INVALID_SOFTWARE): Likewise.
39314         (FE_INVALID_SQRT): Likewise.
39315         (FE_INVALID_INTEGER_CONVERSION): Likewise.
39316         (FE_TONEAREST): Likewise.
39317         (FE_TOWARDZERO): Likewise.
39318         (FE_UPWARD): Likewise.
39319         (FE_DOWNWARD): Likewise.
39320         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
39321         (FE_DIVBYZERO): Likewise.
39322         (FE_OVERFLOW): Likewise.
39323         (FE_UNDERFLOW): Likewise.
39324         (FE_INEXACT): Likewise.
39325         (FE_TONEAREST): Likewise.
39326         (FE_DOWNWARD): Likewise.
39327         (FE_UPWARD): Likewise.
39328         (FE_TOWARDZERO): Likewise.
39329         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
39330         (FE_UNDERFLOW): Likewise.
39331         (FE_OVERFLOW): Likewise.
39332         (FE_DIVBYZERO): Likewise.
39333         (FE_INVALID): Likewise.
39334         (FE_TONEAREST): Likewise.
39335         (FE_TOWARDZERO): Likewise.
39336         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
39337         (FE_OVERFLOW): Likewise.
39338         (FE_UNDERFLOW): Likewise.
39339         (FE_DIVBYZERO): Likewise.
39340         (FE_INEXACT): Likewise.
39341         (FE_TONEAREST): Likewise.
39342         (FE_TOWARDZERO): Likewise.
39343         (FE_UPWARD): Likewise.
39344         (FE_DOWNWARD): Likewise.
39345         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
39346         (FE_DIVBYZERO): Likewise.
39347         (FE_OVERFLOW): Likewise.
39348         (FE_UNDERFLOW): Likewise.
39349         (FE_INEXACT): Likewise.
39350         (FE_TONEAREST): Likewise.
39351         (FE_DOWNWARD): Likewise.
39352         (FE_UPWARD): Likewise.
39353         (FE_TOWARDZERO): Likewise.
39355 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
39357         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
39359 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
39361         * scripts/cross-test-ssh.sh (command): Use newlines to separate
39362         commands.  Quote $PWD.
39363         (blacklist_exports): Don't use remove_newlines.  Replace "declare
39364         -x" by "export".
39365         (remove_newlines): Remove.
39367 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
39369         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
39370         * stdlib/stdlib.h (atof): Moved to ...
39371         * include/bits/stdlib-float.h: Here.  New file.
39372         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
39373         * stdlib/bits/stdlib-float.h: New file.
39374         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
39375         -mno-sse -mno-mmx.
39376         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
39377         <xmmintrin.h>.
39379 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
39381         * conform/conformtest.pl (@headers): Add fenv.h.
39382         * conform/data/fenv.h-data: New file.
39383         * include/fenv.h [_ISOMAC]: Disable all contents of file except
39384         include of <math/fenv.h>.
39386         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
39387         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
39388         && !UNIX98].  Enables tests for XOPEN2K8.
39389         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
39390         POSIX2008]: Likewise.
39392         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
39393         (struct rusage): Do not expect type or its members.
39395         [BZ #3439]
39396         * math/math.h (FP_NAN): Define macro to integer constant usable in
39397         #if and use that to give value to enum constant.
39398         (FP_INFINITE): Likewise.
39399         (FP_ZERO): Likewise.
39400         (FP_SUBNORMAL): Likewise.
39401         (FP_NORMAL): Likewise.
39403 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
39405         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
39406         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
39407         arguments.
39409 2012-11-02  Roland McGrath  <roland@hack.frob.com>
39411         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
39412         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
39413         autoconf-time if not.
39414         * configure.in: Remove AC_PREREQ.
39416 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39418         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
39419         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
39420         of the internal implementation.
39422 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
39424         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
39425         except include of <misc/sys/syslog.h>.
39427 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
39429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
39430         function returns with a NULL context exit with zero.
39432 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39434         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
39436 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
39438         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
39439         (run_program_cmd): This.
39440         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
39441         (tst_langinfo): New variable.  Use it.
39443 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
39445         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
39446         floating point opcodes.
39448 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
39450         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
39451         variable.
39453         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
39455         * sysdeps/mach/hurd/powerpc: Remove directory.
39456         * sysdeps/mach/powerpc: Likewise.
39458 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
39460         * scripts/check-local-headers.sh: Ignore c++ headers.
39462 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
39464         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
39465         __libc_cleanup_region_start argument.
39467 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
39469         [BZ #14784]
39470         [BZ #14785]
39471         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
39472         x * y using scaling, not as x * y + z.
39473         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39474         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39475         * math/libm-test.inc (fma_test): Add more tests.
39476         (fma_test_towardzero): Likewise.
39477         (fma_test_downward): Likewise.
39478         (fma_test_upward): Likewise.
39480 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
39482         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
39484 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
39486         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
39487         New variable.
39489 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
39491         * rt/tst-shm.c (worker): Correct checking for mmap failure.
39493 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
39495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39496         Fix sort order.
39497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39498         Likewise.
39500 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39503         Fix the order of the list for glibc 2.17.
39504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39505         Likewise.
39507 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
39509         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39511 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
39513         [BZ #14610]
39514         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
39515         for low part of x being zero before using __atanl (y).
39516         * math/libm-test.inc (atan2_test): Add another test.
39518         * manual/install.texi (Configuring and compiling): Document
39519         general use of test-wrapper and test-wrapper-env.
39520         * INSTALL: Regenerated.
39522         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
39523         (__fma): Do not extract and scale down low bits on after-rounding
39524         systems when result rounded to normal precision would have normal
39525         exponent.
39526         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
39527         (__fmal): Do not extract and scale down low bits on after-rounding
39528         systems when result rounded to normal precision would have normal
39529         exponent.
39530         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
39531         (__fmal): Do not extract and scale down low bits on after-rounding
39532         systems when result rounded to normal precision would have normal
39533         exponent.
39534         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
39535         macro.
39536         (fma_test): Add more tests.
39537         (fma_test_towardzero): Likewise.
39538         (fma_test_downward): Likewise.
39539         (fma_test_upward): Likewise.
39541 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
39543         * sysdeps/i386/tininess.h: Renamed to ...
39544         * sysdeps/x86/tininess.h: This.
39545         * sysdeps/x86_64/tininess.h: Removed.
39547 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
39549         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
39550         input.  Use $(build-program-cmd).
39551         ($(objpfx)tst-array1-static.out): Likewise.
39552         ($(objpfx)tst-array2.out): Likewise.
39553         ($(objpfx)tst-array3.out): Likewise.
39554         ($(objpfx)tst-array4.out): Likewise.
39555         ($(objpfx)tst-array5.out): Likewise.
39556         ($(objpfx)tst-array5-static.out): Likewise.
39558 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
39560         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
39561         if defined.
39563         * nss/nsswitch.h (nss_interface_function): Provide new
39564         macro for use with NSS functions.
39565         * grp/initgroups.c: Use new macro.
39566         * nss/getXXbyYY.c: Likewise.
39567         * nss/getXXbyYY_r.c: Likewise.
39568         * nss/getXXent.c: Likewise.
39569         * nss/getXXent_r.c: Likewise.
39570         * sysdeps/posix/getaddrinfo.c: Likewise.
39572 2012-10-30  Andreas Jaeger  <aj@suse.de>
39574         * po/ru.po: Update Russion translation from translation project.
39576 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
39578         [BZ #14152]
39579         [BZ #14783]
39580         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
39581         result and shift together with sticky bit instead of replicating
39582         round-to-nearest rounding.
39583         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39584         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39585         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
39586         missing underflow exceptions.
39587         (fma_test_towardzero): Add more tests.
39588         (fma_test_downward): Likewise.
39589         (fma_test_upward): Likewise.
39591         [BZ #14047]
39592         * sysdeps/generic/tininess.h: New file.
39593         * sysdeps/i386/tininess.h: Likewise.
39594         * sysdeps/sh/tininess.h: Likewise.
39595         * sysdeps/x86_64/tininess.h: Likewise.
39596         * stdlib/tst-strtod-underflow.c: Likewise.
39597         * stdlib/tst-tininess.c: Likewise.
39598         * stdlib/strtod_l.c: Include <tininess.h>.
39599         (round_and_return): Do not set errno for exact underflow cases.
39600         Force an underflow exception when setting errno for underflow.
39601         Determine underflow based on rounding to normal precision if
39602         TININESS_AFTER_ROUNDING.
39603         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
39604         ERANGE for exact underflow cases.
39605         * stdlib/Makefile (tests): Add tst-tininess and
39606         tst-strtod-underflow.
39607         ($(objpfx)tst-tininess): Use $(link-libm).
39608         ($(objpfx)tst-strtod-underflow): Likewise.
39610 2012-10-30  Andreas Jaeger  <aj@suse.de>
39612         [BZ#14767]
39613         * elf/Makefile (tests): Remove conditional for have-initfini-array
39614         since this is now always required and the variable does not exist
39615         anymore.
39616         (tests-static): Likewise.
39617         (modules-names): Likewise.
39619         * po/eo.po: Add Esperanto translation from translation project.
39621         * elf/tst-array1.c (fini_array): Make writeable so that it can be
39622         merged with constructor/destructor.
39623         (init_array): Likewise.
39624         * elf/tst-array2dep.c (fini_array): Likewise.
39625         (init_array): Likewise.
39627 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
39629         * manual/message.texi: Delete @cartouche tags.
39631 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
39633         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
39634         EOPNOTSUPP.
39635         * sysdeps/mach/hurd/fsync.c: Likewise.
39637         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
39638         [_POSIX_REALTIME_SIGNALS]: Change condition to
39639         [_POSIX_REALTIME_SIGNALS > 0].
39641 2012-10-27  Andreas Jaeger  <aj@suse.de>
39643         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
39644         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
39645         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
39646         [__WORDSIZE != 64]: Likewise.
39648 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
39650         *  iconvdata/tst-table.sh: Remove ${SHELL}.
39651         *  iconvdata/tst-tables.sh: Likewise.
39653 2012-10-25  David S. Miller  <davem@davemloft.net>
39655         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39656         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
39657         of strtoull.
39659         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
39660         ifunc-impl-list.c
39661         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39662         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
39663         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
39664         file.
39666 2012-10-25  Roland McGrath  <roland@hack.frob.com>
39668         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39669         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
39670         __getdirentries.
39672 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
39673             Jim Blandy  <jimb@codesourcery.com>
39675         * scripts/cross-test-ssh.sh: New file.
39676         * manual/install.texi (Configuring and compiling): Document use of
39677         cross-test-ssh.sh.
39678         * INSTALL: Regenerated.
39680 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
39682         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
39683         EOPNOTSUPP.
39685 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
39687         * Makeconfig (run-program-prefix): Fix comment.
39689 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
39690             Jim Blandy  <jimb@codesourcery.com>
39692         * Makeconfig (test-wrapper): New variable,
39693         (test-wrapper-env): Likewise.
39694         [$(cross-compiling) = yes && $(test-wrapper) != ""]
39695         (run-built-tests): Define to yes.
39696         (run-program-prefix): Use $(test-wrapper).
39697         (built-program-cmd): Likewise.
39698         * Rules (make-test-out): Use $(test-wrapper-env) and
39699         $(host-built-program-cmd).
39700         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
39701         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
39702         tst-pathopt.sh.
39703         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
39704         $(test-wrapper-env) to tst-rtld-load-self.sh.
39705         ($(objpfx)order2.out): Use $(test-wrapper).
39706         ($(objpfx)tst-initorder.out): Likewise.
39707         ($(objpfx)tst-initorder2.out): Likewise.
39708         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
39709         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
39710         (test_wrapper_env): New variable.  Use it to run ld.so.
39711         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
39712         Use it to run ld.so.
39713         (test_wrapper_env): Likewise.
39714         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
39715         $(test-wrapper) to run-iconv-test.sh.
39716         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
39717         (ICONV): Use $test_wrapper.
39718         * posix/Makefile ($(objpfx)globtest.out): Pass
39719         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
39720         globtest.sh, not $(run-program-prefix).
39721         * posix/globtest.sh (run_via_rtld_prefix): New variable.
39722         (test_wrapper): Likewise.
39723         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
39724         set together with run_via_rtld_prefix.
39725         (run_program_prefix): Define in terms of test_wrapper and
39726         run_via_rtld_prefix.
39728 2012-10-24  Roland McGrath  <roland@hack.frob.com>
39730         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
39731         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
39732         Targets removed.
39734         [BZ #14743]
39735         * include/time.h: Remove librt_hidden_proto (clock_gettime).
39736         Declare __clock_getres, __clock_gettime, __clock_settime,
39737         __clock_nanosleep, and __clock_getcpuclockid.
39738         * rt/clock_gettime.c: Define __clock_gettime as an alias.
39739         Remove librt_hidden_def (clock_gettime).
39740         * sysdeps/unix/clock_gettime.c: Likewise.
39741         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
39742         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
39743         * rt/clock_getres.c: Define __clock_getres as an alias.
39744         * sysdeps/posix/clock_getres.c: Likewise.
39745         * rt/clock_settime.c: Define __clock_settime as an alias.
39746         * sysdeps/unix/clock_settime.c: Likewise.
39747         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
39748         * sysdeps/unix/clock_nanosleep.c: Likewise.
39749         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
39750         * rt/clock-compat.c: New file.
39751         * rt/Makefile (librt-routines): Add clock-compat and move
39752         $(clock-routines) to ...
39753         (routines): ... here, new variable.
39754         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
39755         Don't add get_clockfreq here.
39756         * rt/Versions (libc: GLIBC_2.17): New version set.
39757         Add clock_* symbols here.
39758         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
39759         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
39760         (GLIBC_2.17): Add clock_* symbols.
39761         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39762         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39763         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39765         Likewise.
39766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39767         Likewise.
39768         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39769         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39770         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39771         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39772         * NEWS: Mention the move.
39774         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39775         Use __open, __read, __close rather than their public counterparts.
39776         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39777         (__get_clockfreq_via_cpuinfo): Likewise.
39778         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
39779         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
39781         * config.h.in (HAVE_IFUNC): New #undef.
39782         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
39783         was successful.
39784         * configure: Regenerated.
39786 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
39788         * configure.in: Move READELF check to start of file.
39789         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
39790         libc_cv_asm_gnu_indirect_function in the process.
39791         * configure: Regenerated.
39793 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
39795         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
39796         send the output to /dev/null.
39797         (libc_cv_cc_with_libunwind): Likewise.
39798         (libc_cv_as_noexecstack): Likewise.
39799         * configure: Regenerate.
39801 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
39803         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
39805         * posix/globtest.sh (TMPDIR): Do not set.
39806         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
39807         (testout): Likewise.
39809 2012-10-24  Andreas Jaeger  <aj@suse.de>
39811         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
39812         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
39813         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
39814         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
39815         posix_fadvise64, posix_fallocate64.
39817         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
39818         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
39819         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
39820         Likewise.
39821         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
39822         Likewise.
39823         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
39825         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
39826         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
39827         <bits/fcntl-linux.h>.
39828         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
39830         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
39831         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
39832         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
39833         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
39834         [__WORDSIZE != 64]: Likewise.
39836 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
39838         * Makeconfig (run-built-tests): New variable.
39839         * Rules [$(cross-compiling) = yes]: Change condition to
39840         [$(run-built-tests) = no].
39841         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
39842         to [$(run-built-tests) = yes].
39843         * elf/Makefile [$(cross-compiling) = no]: Likewise
39844         * grp/Makefile [$(cross-compiling) = no]: Likewise.
39845         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
39846         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
39847         * intl/Makefile [$(cross-compiling) = no]: Likewise.
39848         * io/Makefile [$(cross-compiling) = no]: Likewise.
39849         * libio/Makefile [$(cross-compiling) = no]: Likewise.
39850         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
39851         * misc/Makefile [$(cross-compiling) = no]: Likewise.
39852         * posix/Makefile [$(cross-compiling) = no]: Likewise.
39853         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
39854         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
39855         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
39856         * string/Makefile [$(cross-compiling) = no]: Likewise.
39858         * posix/Makefile ($(objpfx)globtest.out): Pass
39859         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
39860         $(rtld-installed-name).
39861         * posix/globtest.sh (elf_objpfx): Remove variable.
39862         (rtld_installed_name): Likewise.
39863         (library_path): Likewise.
39864         (run_program_prefix): New variable.  Use for running globtest
39865         binary.
39867 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
39868             Joseph Myers  <joseph@codesourcery.com>
39870         * Makeconfig (host-built-program-cmd): New variable.
39871         * elf/Makefile (tst-stackguard1-ARGS): Use
39872         $(host-built-program-cmd).
39873         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
39874         (tst-spawn-ARGS): Likewise.
39875         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
39877 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
39878             Jim Blandy  <jimb@codesourcery.com>
39880         * Makeconfig (run-via-rtld-prefix): New variable.
39881         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
39882         (built-program-cmd): Likewise.
39884 2012-10-22  Andreas Jaeger  <aj@suse.de>
39886         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
39887         __O_RSYNC if it exists, otherwise to O_SYNC.
39889 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
39890             Joseph Myers  <joseph@codesourcery.com>
39892         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
39893         /dev/null.
39894         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
39895         from /dev/null
39896         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
39897         /dev/null.
39899 2012-10-22  Andreas Jaeger  <aj@suse.de>
39901         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
39902         Define always.
39903         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
39905         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39906         bits/fcntl-linux.h.
39908         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
39909         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
39911         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
39912         to __O_LARGEFILE.
39913         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
39914         to __O_LARGEFILE.
39916 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
39917             Joseph Myers  <joseph@codesourcery.com>
39919         * config.make.in (NM): New variable.
39921 2012-10-21  Andreas Jaeger  <aj@suse.de>
39923         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
39924         definitions and declarations that are provided by
39925         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39927 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
39929         [BZ #14683]
39930         * elf/Makefile (tests-static): Add tst-leaks1-static.
39931         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
39932         ($(objpfx)tst-leaks1-static): New rule.
39933         ($(objpfx)tst-leaks1-static-mem): Likewise.
39934         (tst-leaks1-static-ENV): New macro.
39935         * elf/dl-open.c (dl_open_worker): Check the main application
39936         only if SHARED is defined.
39937         * elf/tst-leaks1-static.c: New file.
39939 2012-10-20  Andreas Jaeger  <aj@suse.de>
39941         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
39942         generic values for Linux.
39943         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
39944         and declarations that are provided by <bits/fcntl-linux.h> and
39945         include <bits/fcntl-linux.h>.
39946         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39947         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39949 2012-10-20  Roland McGrath  <roland@hack.frob.com>
39951         * io/fcntl.h: Move include of <bits/types.h> to the top and
39952         include it unconditionally.
39954 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
39956         * wcsmbs/Makefile (tests-ifunc): New variable.
39957         (tests): Add $(tests-ifunc).
39958         * wcsmbs/test-wcschr-ifunc.c: New file.
39959         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
39960         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
39961         * wcsmbs/test-wcslen-ifunc.c: Likewise.
39962         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
39963         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
39965         * string/Makefile (tests-ifunc): New variable.
39966         (tests): Add $(tests-ifunc).
39967         * string/test-memccpy.c (TEST_NAME): New macro.
39968         * string/test-memchr.c (TEST_NAME): Likewise.
39969         * string/test-memcmp.c (TEST_NAME): Likewise.
39970         * string/test-memcpy.c (TEST_NAME): Likewise.
39971         * string/test-memmem.c (TEST_NAME): Likewise.
39972         * string/test-memmove.c (TEST_NAME): Likewise.
39973         * string/test-memset.c (TEST_NAME): Likewise.
39974         * string/test-rawmemchr.c (TEST_NAME): Likewise.
39975         * string/test-stpcpy.c (TEST_NAME): Likewise.
39976         * string/test-stpncpy.c (TEST_NAME): Likewise.
39977         * string/test-strcasecmp.c (TEST_NAME): Likewise.
39978         * string/test-strcasestr.c (TEST_NAME): Likewise.
39979         * string/test-strcat.c (TEST_NAME): Likewise.
39980         * string/test-strchr.c (TEST_NAME): Likewise.
39981         * string/test-strcmp.c(TEST_NAME): Likewise.
39982         * string/test-strcpy.c (TEST_NAME): Likewise.
39983         * string/test-strcspn.c (TEST_NAME): Likewise.
39984         * string/test-strlen.c (TEST_NAME): Likewise.
39985         * string/test-strncasecmp.c (TEST_NAME): Likewise.
39986         * string/test-strncmp.c (TEST_NAME): Likewise.
39987         * string/test-strncpy.c (TEST_NAME): Likewise.
39988         * string/test-strnlen.c (TEST_NAME): Likewise.
39989         * string/test-strpbrk.c (TEST_NAME): Likewise.
39990         * string/test-strrchr.c (TEST_NAME): Likewise.
39991         * string/test-strspn.c (TEST_NAME): Likewise.
39992         * string/test-strstr.c (TEST_NAME): Likewise.
39993         * string/test-bcopy-ifunc.c: New file.
39994         * string/test-bzero-ifunc.c: Likewise.
39995         * string/test-memccpy-ifunc.c: Likewise.
39996         * string/test-memchr-ifunc.c: Likewise.
39997         * string/test-memcmp-ifunc.c: Likewise.
39998         * string/test-memcpy-ifunc.c: Likewise.
39999         * string/test-memmem-ifunc.c: Likewise.
40000         * string/test-memmove-ifunc.c: Likewise.
40001         * string/test-mempcpy-ifunc.c: Likewise.
40002         * string/test-memset-ifunc.c: Likewise.
40003         * string/test-rawmemchr-ifunc.c: Likewise.
40004         * string/test-stpcpy-ifunc.c: Likewise.
40005         * string/test-stpncpy-ifunc.c: Likewise.
40006         * string/test-strcasecmp-ifunc.c: Likewise.
40007         * string/test-strcasestr-ifunc.c: Likewise.
40008         * string/test-strcat-ifunc.c: Likewise.
40009         * string/test-strchr-ifunc.c: Likewise.
40010         * string/test-strchrnul-ifunc.c: Likewise.
40011         * string/test-strcmp-ifunc.c: Likewise.
40012         * string/test-strcpy-ifunc.c: Likewise.
40013         * string/test-strcspn-ifunc.c: Likewise.
40014         * string/test-strlen-ifunc.c: Likewise.
40015         * string/test-strncasecmp-ifunc.c: Likewise.
40016         * string/test-strncat-ifunc.c: Likewise.
40017         * string/test-strncmp-ifunc.c: Likewise.
40018         * string/test-strncpy-ifunc.c: Likewise.
40019         * string/test-strnlen-ifunc.c: Likewise.
40020         * string/test-strpbrk-ifunc.c: Likewise.
40021         * string/test-strrchr-ifunc.c: Likewise.
40022         * string/test-strspn-ifunc.c: Likewise.
40023         * string/test-strstr-ifunc.c: Likewise.
40025         * debug/Makefile (tests-ifunc): New variable.
40026         (tests): Add $(tests-ifunc).
40027         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
40028         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
40029         * debug/test-stpcpy_chk-ifunc.c: New file.
40030         * debug/test-strcpy_chk-ifunc.c: Likewise.
40032 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40034         [BZ #13601]
40035         * elf/dl-load.c (open_verify): Retry read if the entire ELF
40036         header is not read in.
40038 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
40040         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
40041         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
40042         directly.  Pass built executable to script as
40043         $(built-program-cmd).
40044         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
40045         $testprogram without using LD_LIBRARY_PATH and $ldso.
40047         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
40048         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
40049         $(rtld-installed-name).
40050         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
40051         (rtld_installed_name): Likewise.
40052         (library_path): Likewise.
40053         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
40054         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
40055         $(run-program-prefix) to tst-tables.sh.
40056         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
40057         it to run tst-table-from and tst-table-to.
40058         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
40059         Pass it to tst-table.sh.
40060         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
40061         $(run-program-prefix) to tst-gettext.sh.
40062         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
40063         tst-translit.sh.
40064         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
40065         tst-gettext2.sh.
40066         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
40067         to run tst-gettext.
40068         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
40069         to run tst-gettext2.
40070         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
40071         to run tst-translit.
40072         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
40073         $(run-program-prefix) to tst-mtrace.sh.
40074         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
40075         to run tst-mtrace.
40076         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
40077         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
40078         $(rtld-installed-name).
40079         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
40080         (rtld_installed_name): Likewise.
40081         (run_program_prefix): New variable.  Use it to run wordexp-test.
40083         * Makeconfig (ARCH): Remove all definitions.
40084         (machine): Likewise.
40085         [ARCH]: Remove conditional code.
40086         [!objdir]: Give error.
40087         [!objdir] (objpfx): Remove.
40088         [!objdir] (common-objpfx): Likewise.
40089         [!objdir] (common-objdir): Likewise.
40090         * configure.in (config_makefile): Remove.  Hardcode Makefile in
40091         AC_CONFIG_FILES call.
40092         * configure: Regenerated.
40094         [BZ #13888]
40095         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
40096         or TMPDIR.
40097         (testout): Likewise.
40099         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
40100         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
40101         $(rtld-installed-name).
40102         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
40103         (rtld_installed_name): Likwise.
40104         (runit): Remove function.
40105         (run_getconf): New variable,  Use it for running getconf binary.
40107 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
40109         [BZ #14716]
40110         * string/test-memmem.c (check_result): New function.
40111         (do_one_test): Use it.
40112         (check1): New function.
40113         (test_main): Use it.
40115 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
40117         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
40119 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
40121         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
40122         (_G_LSEEK64): Likewise.
40123         (_G_MMAP64): Likewise.
40124         (_G_FSTAT64): Likewise.
40125         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
40126         (_G_LSEEK64): Likewise.
40127         (_G_MMAP64): Likewise.
40128         (_G_FSTAT64): Likewise.
40129         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
40130         unconditional.  Call __mmap64 directly.
40131         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
40132         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
40133         __lseek64 directly.
40134         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
40135         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
40136         __mmap64 directly.
40137         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
40138         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
40139         __lseek64 directly.
40140         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
40141         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
40142         __lseek64 directly.
40143         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
40144         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
40145         __lseek64 directly.
40146         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
40147         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
40148         __fxstat64 directly.
40149         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
40150         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
40151         unconditional.
40152         (freopen64) [!_G_OPEN64]: Remove conditional code.
40153         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
40154         unconditional.
40155         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
40156         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
40157         unconditional.
40158         (ftello64) [!_G_LSEEK64]: Remove conditional code.
40159         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
40160         unconditional.
40161         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40162         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
40163         unconditional.
40164         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
40165         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
40166         unconditional.
40167         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40168         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
40169         unconditional.
40170         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40171         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
40172         unconditional.
40173         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40175 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40177         [BZ #12140]
40178         * manual/memory.texi (Malloc Tunable Parameters): Add note
40179         about free list pointers overwriting some perturb bytes.
40180         Wording suggested by Roland McGrath.
40182 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
40184         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
40185         (lgamma_test): Likewise.
40186         (tgamma_test): Likewise.
40188 2012-10-16  Florian Weimer  <fweimer@redhat.com>
40190         [BZ #14700]
40191         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
40192         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
40194 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
40196         * NEWS: Mention BZ #14716.
40197         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
40198         when removing AVAILABLE1_USES_J macro.
40200 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
40202         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
40203         (__bswap_64): __uint64_t for unsigned 64-bit int.
40205 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
40207         * include/string.h (memmem): Declare libc hidden alias.
40208         * string/memmem.c (memmem): Define libc hidden alias.
40209         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
40210         __read, __close instead of open, read, close.
40212 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
40214         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
40215         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
40216         global and hidden.
40217         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
40218         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
40219         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
40220         Likewise.
40221         (__rawmemchr_sse2): Likewise.
40222         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
40223         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
40224         (__strchr_sse2): Likewise.
40225         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
40226         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
40227         (__strcasecmp_sse2): Likewise.
40228         (__strncasecmp_sse2): Likewise.
40229         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
40230         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
40231         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
40232         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
40233         (__strrchr_sse2): Likewise.
40234         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
40235         ifunc-impl-list.c.
40236         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40237         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40238         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40239         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
40240         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40241         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40242         * sysdeps/x86_64/multiarch/memset.S: Likewise.
40243         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40244         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
40245         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
40246         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
40247         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
40248         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
40249         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40250         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40251         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40252         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40253         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40254         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
40255         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
40256         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
40257         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
40258         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
40259         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
40260         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
40261         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40262         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40263         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40264         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40265         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40267         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
40268         global and hidden.
40269         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
40270         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
40271         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
40272         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
40273         Likewise.
40274         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
40275         Likewise.
40276         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
40277         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
40278         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
40279         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
40280         ifunc-impl-list.c.
40281         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40282         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40283         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40284         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40285         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40286         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40287         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40288         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40289         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40290         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40291         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40292         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40293         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40294         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
40295         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
40296         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40297         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
40298         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
40299         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40300         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40301         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40302         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40303         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40304         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40305         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40306         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
40307         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
40308         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
40309         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
40310         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40311         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
40312         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40313         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40314         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
40315         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40316         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40317         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40318         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40319         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40320         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40321         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
40323         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
40324         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
40325         * include/ifunc-impl-list.h: New file.
40326         * misc/ifunc-impl-list.c: Likewise.
40327         * misc/Makefile (routines): Add ifunc-impl-list.
40328         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
40329         * string/test-string.h: Include <ifunc-impl-list.h>.
40330         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
40331         TEST_NAME]: New variables.
40332         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
40333         are defined.
40334         (test_init): Call __libc_ifunc_impl_list to initialize
40335         func_list if TEST_IFUNC and TEST_NAME are defined.
40337         * string/Makefile (strop-tests): Add bcopy and bzero.
40338         * string/test-bcopy.c: New file.
40339         * string/test-bzero.c: Likewise.
40340         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
40341         defined.
40342         * string/test-memset.c: Support bzero test if TEST_BZERO is
40343         defined.
40344         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
40345         __libc_memmove.
40346         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
40347         __libc_memset.
40348         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
40349         of memset.
40351 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
40353         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
40354         * configure: Regenerated.
40356         * Makeconfig (+link-static-before-libc): Don't include
40357         $(link-static-libc).
40359         * libio/libio.h (_IO_pos_t): Remove.
40361 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
40363         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
40364         McGrath.
40366 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
40368         * crypt/crypt-entry.c: Include fips-private.h.
40369         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
40370         * crypt/md5c-test.c (main): Tolerate disabled MD5.
40371         * sysdeps/unix/sysv/linux/fips-private.h: New file.
40372         * sysdeps/generic/fips-private.h: New file, dummy fallback.
40374 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
40376         * crypt/crypt-private.h: Include stdbool.h.
40377         (_ufc_setup_salt_r): Return bool.
40378         * crypt/crypt-entry.c: Include errno.h.
40379         (__crypt_r): Return NULL with EINVAL for bad salt.
40380         * crypt/crypt_util.c (bad_for_salt): New.
40381         (_ufc_setup_salt_r): Check that salt is long enough and within
40382         the specified alphabet.
40383         * crypt/badsalttest.c: New file.
40384         * crypt/Makefile (tests): Add it.
40385         ($(objpfx)badsalttest): New.
40387 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
40389         * NEWS: Add entry for BZ #14602.
40391 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
40393         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
40394         type-generic.
40395         * math/libm-test.inc: Update comment listing what functions and
40396         macros are tested.
40397         (isgreater_test): New function.
40398         (isgreaterequal_test): Likewise.
40399         (isless_test): Likewise.
40400         (islessequal_test): Likewise.
40401         (islessgreater_test): Likewise.
40402         (isunordered_test): Likewise.
40403         (main): Call the new functions.
40405 2012-10-09  Roland McGrath  <roland@hack.frob.com>
40407         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
40408         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
40409         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
40410         * sysdeps/i386/configure: Regenerated.
40411         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
40412         * sysdeps/mach/configure: Regenerated.
40413         * sysdeps/mach/hurd/configure: Regenerated.
40414         * sysdeps/powerpc/configure: Regenerated.
40415         * sysdeps/powerpc/powerpc32/configure: Regenerated.
40416         * sysdeps/powerpc/powerpc64/configure: Regenerated.
40417         * sysdeps/s390/s390-32/configure: Regenerated.
40418         * sysdeps/s390/s390-64/configure: Regenerated.
40419         * sysdeps/sh/configure: Regenerated.
40420         * sysdeps/sparc/configure: Regenerated.
40421         * sysdeps/unix/sysv/linux/configure: Regenerated.
40422         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
40423         * sysdeps/x86_64/configure: Regenerated.
40425         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
40426         defined.  Don't check if MAP is NULL.
40428 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
40430         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
40431         (_G_stat64): Likewise.
40432         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
40433         (_G_stat64): Likewise.
40434         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
40435         instead of struct _G_stat64.
40436         * libio/fileops.c (mmap_remap_check): Likewise.
40437         (decide_maybe_mmap): Likewise.
40438         (_IO_new_file_seekoff): Likewise.
40439         (_IO_file_stat): Likewise.
40440         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
40441         _G_off64_t.
40442         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
40443         instead of struct _G_stat64.
40444         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40446 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
40448         [BZ #14602]
40449         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40450         Replace with ...
40451         (CHECK_EOL): New macro.
40452         (two_way_short_needle): Check beginning of haystack for EOL.  Use
40453         CHECK_EOL.
40454         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40455         Replace with CHECK_EOL.
40456         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40457         Replace with CHECK_EOL.
40459 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
40461         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
40462         type-generic.
40463         * math/libm-test.inc: Update comment listing what functions and
40464         macros are tested.
40465         (finite_test): New function.
40466         (isinf_test): Likewise.
40467         (isnan_test): Likewise.
40468         (fpclassify_test): Test subnormal input.
40469         (isfinite_test): Likewise.
40470         (isnormal_test): Likewise.
40471         (main): Call the new functions.
40473 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
40475         [BZ #14660]
40476         * Makerules (%.dynsym): Force C locale when running
40477         $(OBJDUMP) --dynamic-syms.
40479 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
40481         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
40482         <stdint.h>.
40484 2012-10-06  David S. Miller  <davem@davemloft.net>
40486         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
40487         upper 32-bits of the length value in %o2 since we use branch-on-register
40488         tests which consider the entire 64-bit register.
40490 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
40492         * string/test-strstr.c (check2): Add a test for page boundary.
40494 2012-10-05  David S. Miller  <davem@davemloft.net>
40496         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
40497         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
40498         file.
40499         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40500         sysdep_routines.
40501         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40502         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
40503         and bzero when HWCAP_SPARC_CRYPTO is present.
40505 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
40507         [BZ #14602]
40508         * string/test-strstr.c (check2): New function.
40509         (test_main): Call check2.
40511         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
40512         and bug-strchr1.
40513         * string/bug-strcasestr1.c (do_test): Moved to ...
40514         * string/test-strcasestr.c (check1): Here.  New function.
40515         (do_one_test): Break out result checking code into ...
40516         (check_result): This.  New function.
40517         (do_one_test): Call check_result.
40518         (test_main): Call check1.
40519         * string/bug-strchr1.c (do_test): Moved to ...
40520         * string/test-strchr.c (check1): Here.  New function.
40521         (do_one_test): Break out result checking code into ...
40522         (check_result): This.  New function.
40523         (do_one_test): Call check_result.
40524         (test_main): Call check1.
40525         * string/bug-strstr1.c (main): Moved to ...
40526         * string/test-strstr.c (check1): Here.  New function.
40527         (do_one_test): Break out result checking code into ...
40528         (check_result): This.  New function.
40529         (do_one_test): Call check_result.
40530         (test_main): Call check1.
40531         * string/bug-strcasestr1.c: Removed.
40532         * string/bug-strchr1.c: Likewise.
40533         * string/bug-strstr1.c: Likewise.
40535         * elf/Makefile (dl-routines): Add hwcaps.
40536         * elf/dl-support.c (_dl_important_hwcaps): Removed.
40537         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
40538         (_dl_important_hwcaps): Moved to ...
40539         * elf/dl-hwcaps.c: Here.  New file.
40540         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
40542         [BZ #14557]
40543         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
40544         if IS_IN_rtld isn't defined.
40546         * elf/dl-support.c (_dl_sysinfo_map): New.
40547         Include "get-dynamic-info.h" and "setup-vdso.h".
40548         (_dl_non_dynamic_init): Call setup_vdso.
40549         * elf/dynamic-link.h: Don't include <assert.h>.
40550         (elf_get_dynamic_info): Moved to ...
40551         * elf/get-dynamic-info.h: Here.  New file.
40552         * elf/dynamic-link.h: Include "get-dynamic-info.h".
40553         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
40554         * elf/setup-vdso.h: Here.  New file.
40555         * elf/rtld.c: Include "setup-vdso.h".
40556         (dl_main): Call setup_vdso.
40558 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
40560         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
40561         creal in comment listing functions tested.  List finite, isinf,
40562         isnan, isless, islessequal, isgreater, isgreaterequal,
40563         islessgreater, isunordered, lgamma_r and pow10 as functions and
40564         macros not tested.  Mention which functions not tested are aliases
40565         for other functions.  Fix typo.  Note that signs of NaNs are not
40566         tested.
40568         * scripts/config.guess: Update from config.git.
40569         * scripts/config.sub: Likewise.
40571 2012-10-04  Roland McGrath  <roland@hack.frob.com>
40573         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
40574         * misc/madvise.c (madvise): Renamed to __madvise.
40575         Make madvise a weak alias.
40576         * include/sys/mman.h: Declare __madvise.
40577         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
40578         * sysdeps/unix/syscalls.list
40579         (madvise): Make __madvise the strong name, and madvise a weak alias.
40580         * sysdeps/unix/sysv/linux/syscalls.list
40581         (madvise, mmap): Remove redundant entries.
40582         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
40583         * malloc/malloc.c (mtrim): Likewise.
40584         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
40586 2012-10-03  Roland McGrath  <roland@hack.frob.com>
40588         * sysdeps/mach/hurd/dl-cache.c: File removed.
40589         * config.h.in (USE_LDCONFIG): New #undef.
40590         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
40591         * configure: Regenerated.
40592         * elf/Makefile (dl-routines): Add dl-cache only under
40593         [$(use-ldconfig) = yes].
40594         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
40595         cache on [USE_LDCONFIG].
40596         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
40597         [USE_LDCONFIG].
40598         * elf/rtld.c (dl_main): Likewise.
40600 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
40602         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
40603         _SC_LEVEL4_CACHE_LINESIZE.
40605 2012-10-03  Roland McGrath  <roland@hack.frob.com>
40607         * sysdeps/unix/bsd/confstr.h: File removed.
40609 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
40611         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
40612         sys/sdt-config.h.
40614 2012-10-02  Roland McGrath  <roland@hack.frob.com>
40616         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
40617         Make 'mapoff' field ElfW(Off) rather than off_t.
40619 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
40621         * nscd/Makefile: Remove nscd-cflags and all its users.
40622         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
40623         (CFLAGS-nonlib): Add compiler flags for nscd modules.
40625         [BZ #10631]
40626         * malloc.c (malloc_printerr): Clarify error message.
40628 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
40630         [BZ #14648]
40631         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40632         Set bit_FMA_Usable if FMA is supported.
40633         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
40634         macro.
40635         (bit_FMA4_Usable): Updated.
40636         (index_FMA_Usable): New macro.
40637         (CPUID_FMA): Likewise
40638         (HAS_FMA): Defined with bit_FMA_Usable.
40640 2012-10-01  Roland McGrath  <roland@hack.frob.com>
40642         * bits/types.h (__swblk_t): Type removed.
40643         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
40644         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
40645         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40646         (__SWBLK_T_TYPE): Likewise.
40647         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40648         (__SWBLK_T_TYPE): Likewise.
40649         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40650         (__SWBLK_T_TYPE): Likewise.
40651         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40652         (__SWBLK_T_TYPE): Likewise.
40654 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
40655             Honza Horak <hhorak@redhat.com>
40657         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
40658         (xdr_mapname): Use YPMAXMAP as maxsize.
40659         (xdr_peername): Use YPMAXPEER as maxsize.
40660         (xdr_keydat): Use YPAXRECORD as maxsize.
40661         (xdr_valdat): Use YPMAXRECORD as maxsize.
40663 2012-10-01  Roland McGrath  <roland@hack.frob.com>
40665         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
40667         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
40668         * csu/init-first.c: ... here.
40669         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
40670         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
40671         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40672         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40673         * sysdeps/i386/init-first.c: File removed.
40674         * sysdeps/sh/init-first.c: File removed.
40676 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
40678         [BZ #14645]
40679         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
40680         if x * y might underflow to zero and z is zero.
40681         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40682         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40683         * math/libm-test.inc (min_subnorm_value): New variable.
40684         (fma_test): Add more tests.
40685         (fma_test_towardzero): Likewise.
40686         (fma_test_downward): Likewise
40687         (fma_test_upward): Likewise.
40688         (initialize): Set min_subnorm_value.
40690 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
40692         [BZ #14638]
40693         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
40694         0 + 0.
40695         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
40696         mode for addition resulting in exact zero.
40697         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
40698         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
40699         exact 0 + 0.
40700         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40701         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40702         * math/libm-test.inc (fma_test): Add more tests.
40703         (fma_test_towardzero): New function.
40704         (fma_test_downward): Likewise.
40705         (fma_test_upward): Likewise.
40706         (main): Call the new functions.
40708 2012-09-28  David S. Miller  <davem@davemloft.net>
40710         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
40712 2012-09-28  Roland McGrath  <roland@hack.frob.com>
40714         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
40715         instead of SIGALRM.
40717         * sysdeps/gnu/_G_config.h: Moved to ...
40718         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
40719         * sysdeps/mach/hurd/_G_config.h: Moved to ...
40720         * sysdeps/generic/_G_config.h: ... here.
40722         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
40724         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
40726         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
40727         Conditionalize target on [libnss_test1.so-version].
40729         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
40731         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
40732         (elfobjdir): Move out of conditionals.
40734         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
40735         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
40736         (__nss_lookup_function): Conditionalize label remove_from_tree on
40737         [!DO_STATIC_NSS || SHARED], matching its only use.
40739 2012-09-28  David S. Miller  <davem@davemloft.net>
40741         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
40742         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
40743         file.
40744         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40745         sysdep_routines.
40746         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40747         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
40748         when HWCAP_SPARC_CRYPTO is present.
40750 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
40752         * io/tst-mknodat.c: Create a FIFO instead of a socket.
40754 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
40756         [BZ #6530]
40757         * stdio-common/vfprintf.c (process_string_arg): Revert
40758         2000-07-22 change.
40760 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
40762         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
40763         for testcase.
40764         * stdio-common/tst-sprintf.c: Include <locale.h>
40765         (main): Test sprintf's handling of incomplete multibyte
40766         characters.
40768 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
40770         * elf/dl-runtime.c (VERSYMIDX): Removed.
40771         * elf/dl-version.c (VERSYMIDX): Likewise.
40772         * elf/do-rel.h (VERSYMIDX): Likewise.
40773         (VALIDX): Likewise.
40774         * elf/dynamic-link.h (VERSYMIDX): Likewise.
40775         * elf/rtld.c (VALIDX): Likewise.
40776         (ADDRIDX): Likewise.
40777         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
40778         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
40779         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
40780         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
40781         (VALIDX): Likewise.
40782         (ADDRIDX): Likewise.
40784 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
40786         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
40788 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
40790         [BZ #11438]
40791         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
40792         to global scope.
40793         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
40794         addresses are in the same scope as 192.0.2/24.
40795         * posix/gai.conf: Document new scope table defaults.
40797 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40799         [BZ #5298]
40800         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
40801         for ftell.  Compute offsets from write pointers instead.
40802         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40804 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40806         [BZ #14543]
40807         * libio/Makefile (tests): New test case tst-fseek.
40808         * libio/tst-fseek.c: New test case to verify that fseek/ftell
40809         combination works in wide mode.
40810         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
40811         state when the external buffer state changes.
40813 2012-09-27  David S. Miller  <davem@davemloft.net>
40815         [BZ #14376]
40816         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
40817         pass reloc->r_addend in as the 'high' argument to
40818         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
40820         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40822 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
40824         * rt/tst-aio2.c: Include <pthread.h>.
40825         * rt/tst-aio3.c: Likewise.
40827 2012-09-27  Steve Ellcey  <sellcey@mips.com>
40829         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
40831 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
40833         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
40834         contents on [SHARED].
40836 2012-09-26  Marek Polacek  <polacek@redhat.com>
40838         [BZ #14530]
40839         [BZ #13741]
40840         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
40841         for C++ and GCC <4.3 as well as for non GCC compilers.
40843 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
40845         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40847 2012-09-25  Roland McGrath  <roland@hack.frob.com>
40849         * Makefile.in (all, install): Declare with .PHONY.
40850         Reported by Michael Hope <michael.hope@linaro.org>.
40852 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40854         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
40855         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
40856         system header.
40857         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
40858         Likewise.
40859         (sydep_routines): Add the new and the internal functions.
40860         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
40861         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
40862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
40863         (GLIBC_2.17): Add the new function.
40864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40865         (GLIBC_2.17): Likewise.
40866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
40867         (GLIBC_2.17): Likewise.
40868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
40869         (GLIBC_2.17): Likewise.
40870         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
40872 2012-09-25  Alan Modra  <amodra@gmail.com>
40874         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
40875         Add release barrier before setting once_control to say
40876         initialisation is done.  Add hints on lwarx.  Use macro in
40877         place of isync.
40878         (clear_once_control): Add release barrier.
40880 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
40882         [BZ #13629]
40883         * math/s_clog.c (__clog): Handle more values close to |z| = 1
40884         specially.
40885         * math/s_clog10.c (__clog10): Likewise.
40886         * math/s_clog10f.c (__clog10f): Likewise.
40887         * math/s_clog10l.c (__clog10l): Likewise.
40888         * math/s_clogf.c (__clogf): Likewise.
40889         * math/s_clogl.c (__clogl): Likewise.
40890         * math/Makefile (libm-calls): Add x2y2m1.
40891         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
40892         (__x2y2m1): Likewise.
40893         (__x2y2m1l): Likewise.
40894         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
40895         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
40896         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
40897         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40898         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
40899         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
40900         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
40901         * sysdeps/i386/fpu/libm-test-ulps: Update.
40902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40904         [BZ #14621]
40905         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
40906         int as type of variable DEPTH.
40907         (glob): Use size_t instead of int as type of variables NEWCOUNT
40908         and OLD_PATHC.
40910 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40912         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40913         Add s_sincosf-sse2.
40914         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
40915         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
40916         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
40917         macros for using routine as __sincosf_ia32.
40918         Use macro for function declaration and weak_alias.
40919         * sysdeps/i386/fpu/libm-test-ulps: Update.
40921         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
40922         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40924         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
40925         subnormal argument.
40926         * math/s_cexpf.c (__cexpf): Likewise.
40927         * math/s_csinf.c (__csinf): Likewise.
40928         * math/s_csinhf.c (__csinhf): Likewise.
40929         * math/s_ctanf.c (__ctanf): Likewise.
40930         * math/s_ctanhf.c (__ctanhf): Likewise.
40931         * math/s_ccosh.c (__ccoshf): Likewise.
40932         * math/s_cexp.c (__cexpl): Likewise.
40933         * math/s_csin.c (__csin): Likewise.
40934         * math/s_csinh.c (__csinh): Likewise.
40935         * math/s_ctan.c (__ctan): Likewise.
40936         * math/s_ctanh.c (ctanh): Likewise.
40937         * math/s_ccoshl.c (__ccoshl): Likewise.
40938         * math/s_cexpl.c (__cexpl): Likewise.
40939         * math/s_csinl.c (__csinl): Likewise.
40940         * math/s_csinhl.c (__csinhl): Likewise.
40941         * math/s_ctanl.c (__ctanl): Likewise.
40942         * math/s_ctanhl.c (__ctanhl): Likewise.
40944 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
40946         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
40947         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
40948         (_IO_off_t): Define to __off_t, not _G_off_t.
40949         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
40950         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
40951         (_IO_wint_t): Define to wint_t, not _G_wint_t.
40952         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
40953         type of __dummy and __dummy2 fields.
40954         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
40955         (_G_ssize_t): Likewise.
40956         (_G_off_t): Likewise.
40957         (_G_pid_t): Likewise.
40958         (_G_uid_t): Likewise.
40959         (_G_wchar_t): Likewise.
40960         (_G_wint_t): Likewise.
40961         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
40962         (_G_ssize_t): Likewise.
40963         (_G_off_t): Likewise.
40964         (_G_pid_t): Likewise.
40965         (_G_uid_t): Likewise.
40966         (_G_wchar_t): Likewise.
40967         (_G_wint_t): Likewise.
40968         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
40969         (_G_ssize_t): Likewise.
40970         (_G_off_t): Likewise.
40971         (_G_pid_t): Likewise.
40972         (_G_uid_t): Likewise.
40973         (_G_wchar_t): Likewise.
40974         (_G_wint_t): Likewise.
40976 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40978         * malloc/arena.c: Include malloc-sysdep.h.
40979         (shrink_heap): Use check_may_shrink_heap to decide if madvise
40980         is sufficient to shrink the heap or an unmap is needed.
40981         * sysdeps/generic/malloc-sysdep.h: New file.  Define
40982         new function check_may_shrink_heap.
40983         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
40984         new function check_may_shrink_heap.
40986 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40988         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
40989         comments.
40991 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
40993         * catgets/test-gencat.sh: Add "set -e".
40994         * elf/tst-pathopt.sh: Likewise.
40995         * grp/tst_fgetgrent.sh: Likewise.
40996         * iconvdata/run-iconv-test.sh: Likewise.
40997         * intl/tst-gettext.sh: Likewise.
40998         * intl/tst-gettext2.sh: Likewise.
40999         * intl/tst-gettext4.sh: Likewise.
41000         * intl/tst-gettext6.sh: Likewise.
41001         * intl/tst-translit.sh: Likewise.
41002         * io/ftwtest-sh: Likewise.
41003         * libio/test-freopen.sh: Likewise.
41004         * malloc/tst-mtrace.sh: Likewise.
41005         * posix/globtest.sh: Likewise.
41006         * posix/tst-getconf.sh: Likewise.
41007         * posix/wordexp-tst.sh: Likewise.
41008         * stdio-common/tst-printf.sh: Likewise.
41009         * stdio-common/tst-unbputc.sh: Likewise.
41010         * stdlib/tst-fmtmsg.sh: Likewise.
41011         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41012         * catgets/Makefile: Do not specify -e option when running
41013         testsuite shell scripts.
41014         * elf/Makefile: Likewise.
41015         * grp/Makefile: Likewise.
41016         * iconvdata/Makefile: Likewise.
41017         * intl/Makefile: Likewise.
41018         * io/Makefile: Likewise.
41019         * libio/Makefile: Likewise.
41020         * malloc/Makefile: Likewise.
41021         * posix/Makefile: Likewise.
41022         * stdio-common/Makefile: Likewise.
41023         * stdlib/Makefile: Likewise.
41024         * sysdeps/x86_64/Makefile: Likewise.
41026         * io/ftwtest-sh: Add copyright header.
41027         * posix/globtest.sh: Likewise.
41028         * posix/tst-getconf.sh: Likewise.
41029         * posix/wordexp-tst.sh: Likewise.
41030         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41032 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
41034         [BZ #13679]
41035         * Makeconfig (+link): Defined as $(+link-static) if
41036         $(build-shared) isn't yes.
41037         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
41038         isn't yes.
41039         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
41041         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
41043         [BZ #14562]
41044         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
41045         new chunk size with MALLOC_ALIGN_MASK.
41047 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
41049         [BZ #5044]
41050         * stdio-common/printf_fphex.c: Include <stdbool.h> and
41051         <rounding-mode.h>.
41052         (__printf_fphex): Determine rounding using get_rounding_mode and
41053         round_away.
41054         * stdio-common/tst-printf-round.c (struct hex_test): New
41055         structure.
41056         (hex_tests): New variable.
41057         (test_hex_in_one_mode): New function.
41058         (do_test): Also run tests for hex float output.
41060 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
41062         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41063         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41064         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
41065         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41066         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41067         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
41068         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41069         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41071 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
41073         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
41074         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
41075         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
41076         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
41078 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
41080         [BZ #14579]
41081         * elf/rtld.c (dl_main): Limit the check for self loading to normal
41082         mode only.
41083         * elf/tst-rtld-load-self.sh: New test.
41084         * elf/Makefile: Run it.
41086 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
41088         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
41089         (tst-writev-ENV): Remove.
41090         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
41092 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
41094         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
41096 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
41098         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
41099         unconditional.
41100         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
41101         Likewise.
41102         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
41103         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
41104         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
41105         Likewise.
41107 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
41109         [BZ #14587]
41110         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
41111         * config.make.in (have-cpp-asm-debuginfo): Removed.
41112         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
41113         * configure: Regenerated.
41115 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
41117         [BZ #5044]
41118         * stdio-common/printf_fp.c: Include <stdbool.h> and
41119         <rounding-mode.h>.
41120         (___printf_fp): Determine rounding using get_rounding_mode and
41121         round_away.
41122         * stdio-common/tst-printf-round.c: New file.
41123         * stdio-common/Makefile (tests): Add tst-printf-round.
41124         (link-libm): New variable.
41125         ($(objpfx)tst-printf-round): Depend in $(link-libm).
41127 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
41129         [BZ #14576]
41130         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
41131         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
41132         Likewise.
41133         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
41134         Likewise.
41136 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
41138         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
41139         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41140         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41141         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41143 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
41145         [BZ #14518]
41146         * include/rounding-mode.h: New file.
41147         * sysdeps/generic/get-rounding-mode.h: Likewise.
41148         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
41149         * stdlib/strtod_l.c: Include <rounding-mode.h>.
41150         (MAX_VALUE): New macro.
41151         (MIN_VALUE): Likewise.
41152         (overflow_value): New function.
41153         (underflow_value): Likewise.
41154         (round_and_return): Use overflow_value and underflow_value to
41155         determine return values in overflow and underflow cases.  Use
41156         round_away to determine rounding depending on rounding mode.
41157         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
41158         determine return values in overflow and underflow cases.
41159         * stdlib/tst-strtod-round.c: Include <fenv.h>.
41160         (struct test_results): New structure.
41161         (struct test): Use struct test_results to store expected results
41162         for all rounding modes.
41163         (TEST): Include expected results for all rounding modes.
41164         (test_in_one_mode): New function.
41165         (do_test): Use test_in_one_mode to compute and check results.
41166         Check results for all rounding modes.
41167         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
41168         $(link-libm).
41170 2012-12-09  Allan McRae  <allan@archlinux.org>
41172         * sysdeps/i386/fpu/libm-test-ulps: Update
41174 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
41176         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
41177         (_G_int32_t): Likewise.
41178         (_G_uint16_t): Likewise.
41179         (_G_uint32_t): Likewise.
41180         (_G_HAVE_BOOL): Likewise.
41181         (_G_HAVE_ATEXIT): Likewise.
41182         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41183         (_G_HAVE_IO_FILE_OPEN): Likewise.
41184         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
41185         (_G_int32_t): Likewise.
41186         (_G_uint16_t): Likewise.
41187         (_G_uint32_t): Likewise.
41188         (_G_HAVE_BOOL): Likewise.
41189         (_G_HAVE_ATEXIT): Likewise.
41190         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41191         (_G_HAVE_IO_FILE_OPEN): Likewise.
41192         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
41193         (_G_int32_t): Likewise.
41194         (_G_uint16_t): Likewise.
41195         (_G_uint32_t): Likewise.
41196         (_G_HAVE_BOOL): Likewise.
41197         (_G_HAVE_ATEXIT): Likewise.
41198         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41199         (_G_HAVE_IO_FILE_OPEN): Likewise.
41201 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
41203         * csu/libc-tls.c: Update copyright years.
41205 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
41207         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
41208         [!_G_USING_THUNKS]: Remove conditional code.
41209         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
41210         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
41212         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
41213         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
41214         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41215         (_G_VTABLE_LABEL_PREFIX): Likewise.
41216         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41217         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41218         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41219         (_G_VTABLE_LABEL_PREFIX): Likewise.
41220         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41221         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41222         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41223         (_G_VTABLE_LABEL_PREFIX): Likewise.
41224         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41226 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
41228         * libio/Makefile: Include ../Makeconfig before tests.
41229         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
41230         only if $(build-shared) is yes.
41232         * iconv/gconv_db.c: Update copyright years.
41234 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41236         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
41237         unwind info if defined PIC. Fix special cases description.
41238         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
41240         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
41241         DP_HI_MASK entry.
41242         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
41244 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
41246         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
41248         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
41249         is NULL.
41251         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
41252         (LDLIBS-tst-chk4): This.
41253         (LDFLAGS-tst-chk5): Renamed to ...
41254         (LDLIBS-tst-chk5): This.
41255         (LDFLAGS-tst-chk6): Renamed to ...
41256         (LDLIBS-tst-chk6): This.
41257         (LDFLAGS-tst-lfschk4): Renamed to ...
41258         (LDLIBS-tst-lfschk4): This.
41259         (LDFLAGS-tst-lfschk5): Renamed to ...
41260         (LDLIBS-tst-lfschk5): This.
41261         (LDFLAGS-tst-lfschk6): Renamed to ...
41262         (LDLIBS-tst-lfschk6): This.
41264         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
41265         on $(common-objpfx)soversions.mk.
41267 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
41269         [BZ #10014]
41270         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
41271         example host name.
41273 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
41275         * malloc/arena.c (arena_get_retry): New function that gets
41276         another arena for the caller to try its request on.
41277         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
41278         current arena cannot fulfill the request.
41279         (__libc_memalign): Likewise.
41280         (__libc_memalign): Likewise.
41281         (__libc_pvalloc): Likewise.
41282         (__libc_calloc): Likewise.
41284 2012-09-05  John Tobey  <john.tobey@gmail.com>
41286         [BZ #13542]
41287         * manual/arith.texi (Operations on Complex): Fix description
41288         of carg branch cut.
41290 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
41292         [BZ #10014]
41293         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
41294         host name.
41296         [BZ #10038]
41297         * manual/memory.texi (Memory): Make order of menu items match
41298         order of sections.
41300 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41302         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
41303         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
41304         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
41306 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41308         * csu/libc-tls.c (static_dtv): Renamed to ...
41309         (_dl_static_dtv): This.  Make it global.
41310         (_dl_initial_dtv): Removed.
41311         (__libc_setup_tls): Updated.
41312         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
41313         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
41314         DL_INITIAL_DTV.
41316 2012-09-06  Petr Machata  <pmachata@redhat.com>
41318         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
41319         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
41320         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
41321         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
41323 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41325         [BZ #14545]
41326         * csu/libc-tls.c (_dl_initial_dtv): New variable.
41327         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
41328         freeing dtv[-1].
41330 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41332         [BZ #14544]
41333         * Makeconfig (link-static-before-libc): Replace $(+prector)
41334         with $(+prectorT).
41335         (link-static-after-libc): Replace $(+postctor) with
41336         $(+postctorT).
41337         (link-bounded): Replace $(+prector)/$(+postctor) with
41338         $(+prectorT)/$(+postctorT).
41339         (+prectorT): New macro.
41340         (+postctorT): Likewise.
41342 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
41344         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
41345         (round_str): Handle values above the maximum for IBM long double
41346         as inexact.
41347         * stdlib/tst-strtod-round.c (tests): Regenerated.
41349 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41351         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
41352         assembler flag.
41353         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
41354         zarch_nohighgprs around the zarch optimized routines.
41355         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41356         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
41357         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
41358         for zarch.
41360 2012-09-05  David S. Miller  <davem@davemloft.net>
41362         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41364         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
41365         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
41366         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
41367         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41368         entries.
41370 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41372         * malloc/arena.c: Fold copyright years.
41373         * malloc/mcheck.c, malloc/memusage.c: Likewise.
41375 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41377         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
41379 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41381         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
41383 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41385         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
41386         change internal state upon failure.
41388 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41390         * malloc/mcheck.c (mcheck_check_all): Fix typo.
41391         * malloc/memusage.c (mmap): Likewise.
41392         (mmap64, mremap): Likewise.  Adjust name in comment.
41394 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41396         * libio/fileops.c: Fix typos in comments.
41397         * libio/oldfileops.c: Likewise.
41398         * libio/wfileops.c: Likewise.
41400 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41402         [BZ #1349]
41403         * malloc/Makefile (tests): Add tst-malloc-usable test case.
41404         (tst-malloc-usable-ENV): Set environment for test case.
41405         * malloc/hooks.c (malloc_check_get_size): New function to get
41406         requested size.
41407         * malloc/malloc.c (musable): Use malloc_check_get_size.
41408         * malloc/tst-malloc-usable.c: New test case.
41410 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41412         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
41414 2012-09-05  Allan McRae  <allan@archlinux.org>
41416         [BZ #13966]
41417         * configure.in (CXX_SYSINCLUDES): Use compiler output to
41418         determine header location.
41419         * configure: Regenerated.
41421 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41423         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
41424         float format.
41425         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
41426         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
41427         format.
41428         (test): Regenerate.
41430 2012-09-04  David S. Miller  <davem@davemloft.net>
41432         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
41433         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
41434         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
41436 2012-09-04  Florian Weimer  <fweimer@redhat.com>
41438         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
41439         failures.
41441         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
41443 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
41445         [BZ #9914]
41446         * libio/iogetdelim.c: Include <limits.h>.
41447         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
41448         + len + 1 would overflow.
41450 2012-09-03  Andreas Jaeger  <aj@suse.de>
41452         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41453         * sysdeps/i386/fpu/libm-test-ulps: Update.
41455 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41457         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41458         Add s_sinf-sse2, s_conf-sse2.
41460         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
41461         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
41462         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
41463         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
41465         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
41466         for using routine as __sinf_ia32.
41467         Use macro for function declaration and weak_alias.
41468         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
41469         for using routine as __cosf_ia32.
41470         Use macro for function declaration and weak_alias.
41472         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
41473         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
41475         * sysdeps/x86_64/fpu/s_sinf.S: New file.
41476         * sysdeps/x86_64/fpu/s_cosf.S: New file.
41477         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41479         * math/libm-test.inc (cos_test): Add more test cases.
41480         (sin_test): Likewise.
41481         (sincos_test): Likewise.
41483 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41485         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
41486         (IFUNC_RESOLVE): Make pointers to the specialized implementations
41487         hidden.
41488         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41490 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
41492         [BZ #14538]
41493         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
41494         first element of the GOT.
41495         (elf_machine_load_address): Return the difference between
41496         the runtime address of _DYNAMIC and elf_machine_dynamic ().
41498 2012-09-01  Allan McRae  <allan@archlinux.org>
41500         [BZ #13412]
41501         * configure.in (AWK): Require gawk version 3.0 or later.
41502         * configure: Regenerated.
41504 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
41506         * sysdeps/unix/sysv/linux/kernel-features.h
41507         (__ASSUME_POSIX_CPU_TIMERS): Remove.
41508         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41509         [__NR_clock_getres]: Make code unconditional.
41510         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
41511         (clock_getcpuclockid): Remove code left unreachable by removal of
41512         conditionals.
41513         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
41514         code unconditional.
41515         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41516         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41517         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
41518         Make code unconditional.
41519         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41520         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41521         * sysdeps/unix/sysv/linux/clock_settime.c
41522         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
41523         conditional code.
41524         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
41525         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41527 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
41529         [BZ #14476]
41530         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
41531         scripts/test-installation.pl.
41533         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
41534         and $ld_so_version if it is set.
41536 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41538         [BZ #14516]
41539         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
41540         failure if reading from procfs failed.
41541         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
41543 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
41545         * sysdeps/unix/sysv/linux/kernel-features.h
41546         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
41547         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41548         Remove conditional code.
41549         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41550         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
41551         Remove conditional code.
41552         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41553         * sysdeps/unix/sysv/linux/i386/fxstat.c
41554         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41555         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41556         * sysdeps/unix/sysv/linux/i386/fxstatat.c
41557         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41558         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41559         * sysdeps/unix/sysv/linux/i386/lxstat.c
41560         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41561         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41562         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
41563         Remove conditional code.
41564         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41565         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41566         Remove conditional code.
41567         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41568         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
41569         <kernel-features.h>.
41570         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
41571         Remove.
41572         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
41573         Remove conditional code.
41574         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41575         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
41576         Remove conditional.
41578 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
41580         [BZ #5400]
41581         * NEWS: Add fixed bug number.
41583 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
41585         [BZ #14519]
41586         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
41587         underflowing exponent in case of negative sign.
41588         * stdlib/tst-strtod-round-data: Add more tests.
41589         * stdlib/tst-strtod-round.c (tests): Regenerated.
41591         [BZ #3479]
41592         * stdlib/strtod_l.c (NDIG): Remove.
41593         (HEXNDIG): Likewise.
41594         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
41595         smallest representable value.
41596         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
41597         lie within an exact representation of 1/2 ulp of the result.
41598         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
41599         unconditionally.
41600         (TENS_P9_IDX): Define unconditionally.
41601         (TENS_P9_SIZE): Likewise.
41602         (TENS_P10_IDX): Likewise.
41603         (TENS_P10_SIZE): Likewise.
41604         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
41605         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
41606         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
41607         entries for 10^2^13 and 10^2^14.
41608         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
41609         (TENS_P13_IDX): Define.
41610         (TENS_P13_SIZE): Likewise.
41611         (TENS_P14_IDX): Likewise.
41612         (TENS_P14_SIZE): Likewise.
41613         (_fpioconst_pow10): Change array size to
41614         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
41615         unconditional.
41616         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
41617         1024]: Add entries for 10^2^13 and 10^2^14.
41618         [LAST_POW10 > _LAST_POW10]: Remove #error.
41619         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
41620         (_fpioconst_pow10): Change array size to
41621         FPIOCONST_POW10_ARRAY_SIZE.
41622         * stdlib/gen-fpioconst.c: New file.
41623         * stdlib/gen-tst-strtod-round.c: Likewise.
41624         * stdlib/tst-strtod-round-data: Likewise.
41625         * stdlib/tst-strtod-round.c: Likewise.
41626         * stdlib/Makefile (tests): Add tst-strtod-round.
41628         [BZ #14459]
41629         * stdlib/strtod_l.c: Include <stdint.h>.
41630         (NDEBUG): Do not define.
41631         (round_and_return): Change EXPONENT parameter to type intmax_t.
41632         Rearrange calculations to avoid internal overflow possibilities.
41633         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
41634         Rearrange calculations to avoid internal overflow possibilities.
41635         Assert that number fits inside MPNSIZE limbs.
41636         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
41637         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
41638         calculations and add assertions to avoid internal overflow
41639         possibilities.  Add casts to avoid signed/unsigned operations.
41640         * stdlib/tst-strtod-overflow.c: New file.
41641         * stdlib/Makefile (tests): Add tst-strtod-overflow.
41643 2012-08-25  Marek Polacek  <polacek@redhat.com>
41645         * time/time.h: Fix some typos in comments.
41647 2012-08-23  Roland McGrath  <roland@hack.frob.com>
41649         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
41650         * posix/tst-rfc3484-2.c: Likewise.
41651         * posix/tst-rfc3484-3.c: Likewise.
41653 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
41655         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
41656         (EF_ARM_ABI_FLOAT_HARD): Likewise.
41658 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
41660         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
41661         #include of fxstatat64.c.
41663 2012-08-22  Roland McGrath  <roland@hack.frob.com>
41665         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
41666         * shadow/getspent_r.c: Likewise.
41667         * shadow/getspnam.c: Likewise.
41668         * shadow/getspnam_r.c: Likewise.
41669         * gshadow/getsgent.c: Likewise.
41670         * gshadow/getsgent_r.c: Likewise.
41671         * gshadow/getsgnam.c: Likewise.
41672         * gshadow/getsgnam_r.c: Likewise.
41673         * inet/getnetbyad.c: Likewise.
41674         * inet/getnetbyad_r.c: Likewise.
41675         * inet/getnetbynm.c: Likewise.
41676         * inet/getnetbynm_r.c: Likewise.
41677         * inet/getnetent.c: Likewise.
41678         * inet/getnetent_r.c: Likewise.
41679         * inet/getproto.c: Likewise.
41680         * inet/getproto_r.c: Likewise.
41681         * inet/getprtent.c: Likewise.
41682         * inet/getprtent_r.c: Likewise.
41683         * inet/getprtname.c: Likewise.
41684         * inet/getprtname_r.c: Likewise.
41685         * inet/getrpcbyname.c: Likewise.
41686         * inet/getrpcbyname_r.c: Likewise.
41687         * inet/getrpcbynumber.c: Likewise.
41688         * inet/getrpcbynumber_r.c: Likewise.
41689         * inet/getrpcent.c: Likewise.
41690         * inet/getrpcent_r.c: Likewise.
41691         * inet/getaliasent.c: Likewise.
41692         * inet/getaliasent_r.c: Likewise.
41693         * inet/getaliasname.c: Likewise.
41694         * inet/getaliasname_r.c: Likewise.
41695         * nscd/getgrgid_r.c: Likewise.
41696         * nscd/getgrnam_r.c: Likewise.
41697         * nscd/gethstbyad_r.c: Likewise.
41698         * nscd/gethstbynm3_r.c: Likewise.
41699         * nscd/getpwnam_r.c: Likewise.
41700         * nscd/getpwuid_r.c: Likewise.
41701         * nscd/getsrvbynm_r.c: Likewise.
41702         * nscd/getsrvbypt_r.c: Likewise.
41703         * nscd/gai.c: Likewise.
41705         * configure.in (build_nscd): New substituted variable, set
41706         by --disable-build-nscd and defaults to $use_nscd.
41707         * configure: Regenerated.
41708         * config.make.in (build-nscd): New substituted variable.
41709         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
41710         Change conditional to require [$(build-nscd) = yes] as well.
41711         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
41713         [BZ# 13696]
41714         * configure.in (use_nscd): New substituted variable, set by
41715         --disable-nscd.  If enabled, define USE_NSCD.
41716         * configure: Regenerated.
41717         * config.h.in: Add USE_NSCD.
41718         * config.make.in (use-nscd): New substituted variable.
41719         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
41720         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
41721         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
41722         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
41723         (CFLAGS-getgrnam_r.c): Likewise.
41724         (CFLAGS-initgroups.c): Likewise.
41725         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
41726         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
41727         Variables removed.
41728         * inet/getnetgrent_r.c
41729         (nscd_setnetgrent): New function, broken out of ...
41730         (setnetgrent): ... here.  Call it.
41731         (innetgr): Conditionalize nscd bits on [USE_NSCD].
41732         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
41733         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
41734         * nscd/Makefile (routines, aux): Move definitions after include of
41735         Makeconfig.  Conditionalize on [$(use-nscd) != no].
41736         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
41737         Conditionalize on [USE_NSCD].
41738         (is_nscd, nscd_init_cb): Likewise.
41739         (nss_load_library): Conditionalize init callback on [USE_NSCD].
41740         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
41741         * nss/nss_db/db-init.c: Likewise.
41742         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
41743         [USE_NSCD].
41744         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
41745         (make_request): Use it.
41746         (cache_valid_p): New function.
41747         (__check_pf): Use it.
41748         * NEWS: Add item for --disable-nscd.
41750 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
41752         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
41753         to support sed >= 4.2.1-20-ga9bf076.
41754         * configure: Regenerated.
41756 2012-08-22  Roland McGrath  <roland@hack.frob.com>
41758         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
41759         Conditionalize whole body on [IREL].
41761 2012-08-22  Jeff Law <law@redhat.com>
41763         [BZ #14505]
41764         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
41765         if the family is PF_UNSPEC.
41767 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
41769         * Makerules (lib-version): Rename from V.
41770         (install-lib-nosubdir): Change V to lib-version.
41772 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
41774         [BZ #14252]
41775         * powerpc32/power6/wcschr.c: New file.
41776         * powerpc32/power6/wcscpy.c: New file.
41777         * powerpc32/power6/wcsrchr.c: New file.
41778         * powerpc64/power6/wcschr.c: New file.
41779         * powerpc64/power6/wcscpy.c: New file.
41780         * powerpc64/power6/wcsrchr.c: New file.
41782 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
41784         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
41785         (two_way_short_needle): Use it.
41786         * string/strstr.c (AVAILABLE1_USES_J): Define.
41787         * string/strcasestr.c: Likewise.
41789         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
41790         array references.
41791         * string/strcasestr.c (TOLOWER): Make side-effect safe.
41793         [BZ #11607]
41794         * NEWS: Add an entry.
41795         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
41796         define their defaults.
41797         (two_way_short_needle): Detect end-of-string on-the-fly.
41798         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
41799         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
41800         * string/bug-strcasestr1.c: New test.
41801         * string/Makefile: Run it.
41803 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
41805         [BZ #11607]
41806         * string/str-two-way.h (two_way_short_needle): Optimize matching of
41807         the first character.
41809 2012-08-21  Roland McGrath  <roland@hack.frob.com>
41811         * csu/elf-init.c (__libc_csu_irel): Function removed.
41812         * csu/libc-start.c (apply_irel): New function.
41813         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
41815 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
41817         * sysdeps/unix/sysv/linux/kernel-features.h
41818         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
41819         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
41820         <kernel-features.h>.
41821         [__NR_fadvise64_64]: Make code unconditional.
41822         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
41823         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41824         !__NR_fadvise64_64)]: Likewise.
41825         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41826         !__NR_fadvise64_64))]: Likewise.
41827         [__NR_fadvise64]: Make code unconditional.
41828         [!__NR_fadvise64]: Remove conditional code.
41829         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
41830         <kernel-features.h>.
41831         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41832         unconditional.
41833         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41834         conditional code.
41835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
41836         not include <kernel-features.h>.
41837         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41838         unconditional.
41839         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41840         conditional code.
41841         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
41842         include <kernel-features.h>.
41843         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41844         unconditional.
41845         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41846         conditional code.
41848 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
41850         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
41851         slight instruction rearrangements per scrollpipe analysis.
41852         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41854 2012-08-20  Roland McGrath  <roland@hack.frob.com>
41856         * manual/syslog.texi (syslog; vsyslog, closelog):
41857         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
41858         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
41860         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
41861         DSOCAPS to match condition on defining it.
41863 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
41865         * sysdeps/unix/sysv/linux/kernel-features.h
41866         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
41867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
41868         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41869         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
41871         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41872         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
41874         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41875         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41877         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
41878         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
41880         * sysdeps/unix/sysv/linux/kernel-features.h
41881         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
41882         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
41883         unconditional.
41884         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41885         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
41886         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41887         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41888         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
41889         Make code unconditional.
41890         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41891         (__mmap64) [!__NR_mmap2]: Likewise.
41892         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
41893         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41894         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41895         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
41896         [__NR_mmap2]: Make code unconditional.
41897         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41898         (__mmap64) [!__NR_mmap2]: Likewise.
41900 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41902         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
41904 2012-08-18  Andreas Jaeger  <aj@suse.de>
41906         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
41908 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
41910         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
41911         * include/unistd.h (__have_sock_cloexec): Likewise.
41912         (__have_pipe2): Likewise.
41913         (__have_dup3): Likewise.
41915 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
41917         [BZ #9685]
41918         * include/unistd.h (__have_pipe2): Change define into an extern int.
41919         (__have_dup3): Likewise.
41920         * socket/have_sock_cloexec.c: Include fcntl.h.
41921         (__have_pipe2): New variable.
41922         (__have_dup3): Likewise.
41924 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
41926         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
41928 2012-08-17  Marek Polacek  <polacek@redhat.com>
41930         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
41931         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
41933 2012-08-17  Roland McGrath  <roland@hack.frob.com>
41935         * configure.in: Add AC_SUBST for sysheaders.
41936         * configure: Regenerated.
41937         * config.make.in (sysheaders): New substituted variable.
41939         * sysdeps/unix/mkfifo.c: Moved ...
41940         * sysdeps/posix/mkfifo.c: ... here.
41941         * sysdeps/unix/mkfifoat.c: Moved ...
41942         * sysdeps/posix/mkfifoat.c: ... here.
41944         * sysdeps/unix/utime.c: Moved ...
41945         * sysdeps/posix/utime.c: ... here.
41947         * sysdeps/unix/time.c: Moved ...
41948         * sysdeps/posix/time.c: ... here.
41949         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
41950         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
41952         * sysdeps/unix/nice.c: Moved ...
41953         * sysdeps/posix/nice.c: ... here.
41955         * sysdeps/unix/alarm.c: Moved ...
41956         * sysdeps/posix/alarm.c: ... here.
41958         * intl/Makefile ($(codeset_mo)): Depend on the input file.
41960 2012-08-17  Jeff Law <law@redhat.com>
41962         * intl/Makefile (codeset_mo): New variable.
41963         ($(codeset_mo)): New target.
41964         (tst-codeset.out): Depend on that.  Remove explicit rule.
41965         (tst-gettext3.out, tst-gettext5.out): Likewise.
41966         (LOCPATH-ENV, tst-codeset-ENV): New variables.
41967         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
41968         * intl/tst-codeset.sh: Remove.
41969         * intl/tst-gettext3.sh: Likewise.
41970         * intl/tst-gettext5.sh: Likewise.
41972 2012-08-17  Roland McGrath  <roland@hack.frob.com>
41974         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
41975         * sysdeps/unix/syscalls.list: ... here.
41977         * sysdeps/posix/getaddrinfo.c
41978         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
41979         (gaiconf_init, gaiconf_reload): Use them.
41980         [!_STATBUF_ST_NSEC]
41981         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
41982         Define using time_t rather than struct timespec.
41984         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
41985         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
41986         Macros removed.
41987         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
41988         [!NO_THREADS].
41989         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
41990         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
41991         Likewise.
41993         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
41994         __libc_cleanup_push argument.
41996         * bits/param.h: New file.
41997         * misc/sys/param.h: New file.
41998         * include/sys/param.h: New file.
41999         * misc/Makefile (headers): Add bits/param.h.
42000         * sysdeps/generic/sys/param.h: File removed.
42001         * sysdeps/unix/sysv/linux/bits/param.h: New file.
42002         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
42003         * sysdeps/mach/hurd/bits/param.h: New file.
42004         * sysdeps/mach/hurd/sys/param.h: File removed.
42006         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
42007         last change.
42009         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
42010         [_IO_MTSAFE_IO].
42011         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
42012         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
42013         New macros.
42015         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
42016         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
42017         rather than -D_IO_MTSAFE_IO conditionally.
42018         * stdio-common/Makefile (CPPFLAGS): Likewise.
42019         * wcsmbs/Makefile (CPPFLAGS): Likewise.
42020         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
42021         Use $(libio-mtsafe).
42022         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
42023         of -D_IO_MTSAFE_IO.
42024         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
42025         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
42026         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
42027         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
42028         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
42029         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
42030         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
42031         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
42032         (CFLAGS-fread_u_chk.c): Likewise.
42033         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
42034         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
42035         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
42036         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
42037         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
42038         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
42039         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
42040         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
42041         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
42043         * libio/Makefile: Test [$(libc-reentrant) = yes]
42044         instead of [$(filter %REENTRANT, $(defines)) nonempty].
42046         * Makeconfig
42047         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
42048         * sysdeps/pthread/configure: File removed.
42049         * sysdeps/pthread/Makeconfig: New file.
42050         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
42051         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
42053 2012-08-16  Gary Benson  <gbenson@redhat.com>
42055         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
42056         unmapping the first object in a namespace.
42058 2012-08-16  Roland McGrath  <roland@hack.frob.com>
42060         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
42061         (__internal_setnetgrent): ... this.  Add internal_function to
42062         definition.  Add libc_hidden_def.
42063         (setnetgrent): Update caller.
42064         (internal_endnetgrent): Renamed to ...
42065         (__internal_endnetgrent): ... this.  Add internal_function to
42066         definition.  Add libc_hidden_def.
42067         (endnetgrent): Update caller.
42068         (internal_getnetgrent_r): Renamed to ...
42069         (__internal_getnetgrent_r): ... this.  Add internal_function to
42070         definition.  Add libc_hidden_def.
42071         (__getnetgrent_r): Update caller.
42072         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
42074 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
42076         * stdlib/longlong.h: Update from GCC.
42078 2012-08-16  Roland McGrath  <roland@hack.frob.com>
42080         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
42081         on _QL, which is set by umul_ppmm but never used.
42082         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
42083         variables, which are set by GMP macros but never used.
42084         * stdio-common/_itowa.c (_itowa): Likewise.
42085         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
42086         * stdlib/mod_1.c (mpn_mod_1): Likewise.
42088 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
42090         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
42091         struct La_sh_regs is not constant.
42092         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
42093         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
42094         and struct La_sparc64_regs are not constant.
42096 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
42098         * sysdeps/unix/sysv/linux/kernel-features.h
42099         (__ASSUME_POSIX_TIMERS): Remove.
42100         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42101         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42102         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
42103         Make code unconditional.
42104         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42105         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
42106         Make code unconditional.
42107         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42108         * sysdeps/unix/sysv/linux/clock_nanosleep.c
42109         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
42110         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42111         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
42112         Make code unconditional.
42113         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42114         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
42115         (__libc_missing_posix_timers): Remove.
42117 2012-08-15  Roland McGrath  <roland@hack.frob.com>
42119         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
42120         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
42122         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
42124         * elf/dl-sym.c: Include <stdlib.h>.
42126         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
42127         constants, which avoids warnings in 32-bit builds.
42129         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
42130         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
42132         * misc/lseek.c: File moved to ...
42133         * io/lseek.c: ... here.
42135         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
42137         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
42138         shifting LEN more than 31 bits at once.
42140 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42142         [BZ #14195]
42143         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
42144         segmentation fault for a case of two empty input strings.
42145         * string/test-strncasecmp.c (check1): Renamed to...
42146         (bz12205): ...this.
42147         (bz14195): Add new testcase for two empty input strings and N > 0.
42148         (test_main): Call new testcase, adapt for renamed function.
42150 2012-08-15  Andreas Jaeger  <aj@suse.de>
42152         [BZ #14090]
42153         * crypt/md5test2.c: New test, based on test supplied by Serge
42154         Belyshev <belyshev@depni.sinp.msu.ru>.
42155         * crypt/Makefile (xtests): Add md5test-giant..
42156         * crypt/Makefile ($(objpfx)md5test-giant): Add.
42158 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
42160         [BZ #14090]
42161         * crypt/md5.c (md5_process_block): Don't assume the buffer
42162         length is less than 2**32.
42163         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
42164         length is less than 2**64.
42166 2012-08-15  Roland McGrath  <roland@hack.frob.com>
42168         * string/str-two-way.h: Include <sys/param.h>.
42169         (MAX): Macro removed.
42171         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
42172         Move #define and #undef of memmove to just before and after
42173         including <string.h>.
42175         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
42176         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
42177         and after including <string.h>.  Move declarations of
42178         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
42179         to before #include "string/memmove.c".
42181         * include/dirent.h: Declare __getdirentries.
42183         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
42184         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
42186 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
42188         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
42189         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
42190         * sysdeps/i386/configure: Regenerated.
42191         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
42192         STABS_CURRENT_FILE, and STABS_FUN.
42193         (END): Remove call to STABS_FUN_END.
42194         (STABS_CURRENT_FILE1): Delete.
42195         (STABS_CURRENT_FILE): Likewise.
42196         (STABS_FUN): Likewise.
42197         (STABS_FUN_END): Likewise.
42198         (STABS_FUN2): Likewise.
42199         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
42200         * sysdeps/x86_64/configure: Regenerated.
42202 2012-08-14  Roland McGrath  <roland@hack.frob.com>
42204         * elf/dl-open.c: Include <atomic.h>.
42205         * elf/dl-lookup.c: Likewise.
42207 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
42209         * sysdeps/unix/sysv/linux/kernel-features.h
42210         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
42211         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
42212         unconditionally.
42213         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
42214         unconditionally.
42215         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
42216         condition on __ASSUME_CLONE_THREAD_FLAGS.
42218 2012-08-14  Andreas Jaeger  <aj@suse.de>
42220         * sysdeps/i386/fpu/libm-test-ulps: Update.
42222 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
42224         * include/atomic.h (atomic_exchange_and_add): Split into ...
42225         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
42226         New atomic macros.
42228 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
42230         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42232 2012-08-13  Jeff Law <law@redhat.com>
42234         * manual/stdio.texi (snprintf): Clarify handling of the trailing
42235         null byte in the output string.
42237 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
42239         * sysdeps/unix/sysv/linux/kernel-features.h
42240         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
42241         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
42242         (__ASSUME_ARG_MAX_STACK_BASED): Define.
42243         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42244         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
42245         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
42246         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
42248 2012-08-09  Jeff Law <law@redhat.com>
42250         [BZ #13939]
42251         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
42252         When avoid_arena is set, don't retry in the that arena.  Pick the
42253         next one, whatever it might be.
42254         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
42255         (arena_lock): Pass in new parameter to arena_get2.
42256         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
42257         arena_get2.
42258         (__libc_malloc): Unify retrying after main arena failure with
42259         __libc_memalign version.
42260         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
42262 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
42264         [BZ #14166]
42265         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
42266         to __redirect_strstr.
42267         (__strstr_sse42): Use typeof __redirect_strstr.
42268         (__strstr_ia32): Likewise.
42269         (__libc_strstr): New prototype.
42270         (strstr): Renamed to ...
42271         (__libc_strstr): This.
42272         (strstr): New strong alias of __libc_strstr.
42273         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42274         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
42275         __redirect_time.
42276         Include <time.h>.
42277         (__libc_time): New prototype.
42278         (time_ifunc): Replace time with __libc_time.
42279         (time): New strong alias and hidden definition of __libc_time.
42280         (__GI_time): Remove strong alias.
42281         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
42282         Include <stddef.h>.
42283         (memmove): Redefined to __redirect_memmove.
42284         (__memmove_sse2): Use typeof __redirect_memmove.
42285         (__memmove_ssse3): Likewise.
42286         (__memmove_ssse3_back): Likewise.
42287         (__libc_memmove): New prototype.
42288         (memmove): Renamed to ...
42289         (__libc_memmove): This.
42290         (memmove): New strong alias of __libc_memmove.
42292 2012-08-08  Mark Salter  <msalter@redhat.com>
42294         * elf/elf.h
42295         (R_MN10300_TLS_GD): Define.
42296         (R_MN10300_TLS_LD): Likewise.
42297         (R_MN10300_TLS_LDO): Likewise.
42298         (R_MN10300_TLS_GOTIE): Likewise.
42299         (R_MN10300_TLS_IE): Likewise.
42300         (R_MN10300_TLS_LE): Likewise.
42301         (R_MN10300_TLS_DTPMOD): Likewise.
42302         (R_MN10300_TLS_DTPOFF): Likewise.
42303         (R_MN10300_TLS_TPOFF): Likewise.
42304         (R_MN10300_SYM_DIFF): Likewise.
42305         (R_MN10300_ALIGN): Likewise.
42306         (R_MN10300_NUM): Update.
42308 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
42310         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
42311         Remove.
42313 2012-08-08  Roland McGrath  <roland@hack.frob.com>
42315         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
42317         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
42318         sysdeps/unix -> sysdeps/posix move.
42319         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42321 2012-08-07      Allan McRae     <allan@archlinux.org>
42323         [BZ #14303]
42324         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
42325         (SUNOS_CPP): Likewise.
42326         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
42327         not found.
42328         (open_input): Call CPP using execvp.
42330 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
42332         * sysdeps/unix/sysv/linux/kernel-features.h
42333         (__ASSUME_PROT_GROWSUPDOWN): Remove.
42334         (__ASSUME_NO_CLONE_DETACHED): Likewise.
42335         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42336         (__ASSUME_WAITID_SYSCALL): Likewise.
42337         * sysdeps/unix/sysv/linux/dl-execstack.c
42338         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
42339         code unconditional.
42340         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
42341         conditional code.
42342         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
42343         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
42344         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
42345         code.
42346         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
42347         unconditional.
42348         [__ASSUME_WAITID_SYSCALL]: Likewise.
42349         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
42351 2012-08-07  Roland McGrath  <roland@hack.frob.com>
42353         * sysdeps/unix/closedir.c: Renamed to ...
42354         * sysdeps/posix/closedir.c: ... here.
42355         * sysdeps/unix/dirfd.c: Renamed to ...
42356         * sysdeps/posix/dirfd.c: ... here.
42357         * sysdeps/unix/dirstream.h: Renamed to ...
42358         * sysdeps/posix/dirstream.h: ... here.
42359         * sysdeps/unix/fdopendir.c: Renamed to ...
42360         * sysdeps/posix/fdopendir.c: ... here.
42361         * sysdeps/unix/opendir.c: Renamed to ...
42362         * sysdeps/posix/opendir.c: ... here.
42363         * sysdeps/unix/readdir.c: Renamed to ...
42364         * sysdeps/posix/readdir.c: ... here.
42365         * sysdeps/unix/readdir_r.c: Renamed to ...
42366         * sysdeps/posix/readdir_r.c: ... here.
42367         * sysdeps/unix/rewinddir.c: Renamed to ...
42368         * sysdeps/posix/rewinddir.c: ... here.
42369         * sysdeps/unix/seekdir.c: Renamed to ...
42370         * sysdeps/posix/seekdir.c: ... here.
42371         * sysdeps/unix/telldir.c: Renamed to ...
42372         * sysdeps/posix/telldir.c: ... here.
42373         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
42374         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
42375         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
42376         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
42378         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
42379         * bits/fcntl.h: ... here.
42381         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
42382         not 0.
42383         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
42384         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
42385         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
42386         (struct flock): Move l_start, l_len to the beginning.
42387         Use __pid_t for l_pid.
42388         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
42389         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
42390         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
42391         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
42392         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
42393         [__USE_LARGEFILE64] (struct flock64): New type.
42394         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
42396         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
42397         * bits/dirent.h: ... here.
42399         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
42400         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
42402 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
42404         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42405         Change from 2.6.0 to 2.6.16.
42406         * sysdeps/unix/sysv/linux/configure: Regenerated.
42407         * sysdeps/unix/sysv/linux/kernel-features.h
42408         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
42409         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
42410         version.
42411         (__ASSUME_UTIMES): Likewise.
42412         (__ASSUME_CLONE_STOPPED): Remove.
42413         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
42414         architectures, not kernel version.
42415         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
42416         (__ASSUME_NO_CLONE_DETACHED): Likewise.
42417         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42418         (__ASSUME_WAITID_SYSCALL): Likewise.
42419         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
42420         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
42421         * README: State 2.6.16 as minimum Linux kernel version.  Do not
42422         refer to older versions.
42424 2012-08-06  Roland McGrath  <roland@hack.frob.com>
42426         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
42427         Define alphasort64 as an alias.
42428         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
42429         Define versionsort64 as an alias.
42430         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
42431         Define scandir64 as an alias.
42432         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
42433         Define scandirat64 as an alias.
42434         * dirent/alphasort64.c (alphasort64):
42435         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
42436         * dirent/versionsort64.c: Likewise.
42437         * dirent/scandir64.c: Likewise.
42438         * dirent/scandirat64.c: Likewise.
42439         * sysdeps/wordsize-64/alphasort.c: File removed.
42440         * sysdeps/wordsize-64/alphasort64.c: File removed.
42441         * sysdeps/wordsize-64/scandir.c: File removed.
42442         * sysdeps/wordsize-64/scandir64.c: File removed.
42443         * sysdeps/wordsize-64/scandirat.c: File removed.
42444         * sysdeps/wordsize-64/scandirat64.c: File removed.
42445         * sysdeps/wordsize-64/versionsort.c: File removed.
42446         * sysdeps/wordsize-64/versionsort64.c: File removed.
42447         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
42448         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
42449         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
42450         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
42451         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
42452         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
42453         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
42454         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
42456         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
42457         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42458         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
42459         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42460         [defined __arch64__ || defined __sparcv9]
42461         (__INO_T_MATCHES_INO64_T): New macro.
42462         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42463         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
42464         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
42465         * sysdeps/unix/sysv/linux/bits/dirent.h
42466         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
42467         (_DIRENT_MATCHES_DIRENT64): New macro.
42469         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
42470         Define lockf64 as an alias.
42471         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
42472         Define fseeko64 as an alias.
42473         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
42474         Define ftello64 as an alias.
42475         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
42476         Define _IO_fgetpos64 and fgetpos64 as aliases.
42477         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
42478         Define _IO_fsetpos64 and fsetpos64 as aliases.
42479         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
42480         Conditionalize body on this.
42481         * libio/fseeko64.c: Likewise.
42482         * libio/ftello64.c: Likewise.
42483         * libio/iofgetpos64.c: Likewise.
42484         * libio/iofsetpos64.c: Likewise.
42485         * sysdeps/wordsize-64/lockf.c: File removed.
42486         * sysdeps/wordsize-64/lockf64.c: File removed.
42487         * sysdeps/wordsize-64/fseeko.c: File removed.
42488         * sysdeps/wordsize-64/fseeko64.c: File removed.
42489         * sysdeps/wordsize-64/ftello.c: File removed.
42490         * sysdeps/wordsize-64/ftello64.c: File removed.
42491         * sysdeps/wordsize-64/iofgetpos.c: File removed.
42492         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
42493         * sysdeps/wordsize-64/iofsetpos.c: File removed.
42494         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
42495         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
42496         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
42497         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
42498         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
42499         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
42500         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
42501         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
42502         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
42503         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
42504         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
42506         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42507         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42508         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
42509         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42510         [defined __arch64__ || defined __sparcv9]
42511         (__OFF_T_MATCHES_OFF64_T): New macro.
42512         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42513         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42514         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42515         (__OFF_T_MATCHES_OFF64_T): New macro.
42517 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
42519         * stdlib/secure-getenv.c (__secure_getenv): Replace
42520         GLIBC_2_16 with GLIBC_2_17.
42522 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
42524         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
42525         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42527 2012-08-03  David S. Miller  <davem@davemloft.net>
42529         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42531 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
42533         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
42534         Remove.
42535         (__ASSUME_CORRECT_SI_PID): Likewise.
42536         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
42537         (__ASSUME_TMPFS_NAME): Likewise.
42538         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
42539         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
42540         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
42541         (HAVE_AUX_SECURE): Make definition unconditional.
42542         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
42543         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
42545 2012-08-03  Roland McGrath  <roland@hack.frob.com>
42547         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
42548         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
42549         * sysdeps/mach/hurd/eloop-threshold.h: New file.
42550         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42551         __eloop_threshold instead of SYMLOOP_MAX.
42553         * sysdeps/generic/eloop-threshold.h: New file.
42554         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
42555         of MAXSYMLINKS.
42556         * elf/chroot_canon.c (chroot_canon): Likewise.
42558 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
42560         [BZ #13717]
42561         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42562         Change to 2.6.0 everywhere.
42563         * sysdeps/unix/sysv/linux/configure: Regenerated.
42564         * sysdeps/unix/sysv/linux/kernel-features.h
42565         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
42566         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
42567         kernel versions.
42568         (__ASSUME_POSIX_TIMERS): Define unconditionally.
42569         (__ASSUME_FUTEX_REQUEUE): Remove.
42570         (__ASSUME_STATFS64): Define unconditionally.
42571         (__ASSUME_AT_SECURE): Likewise.
42572         (__ASSUME_CORRECT_SI_PID): Likewise.
42573         (__ASSUME_TGKILL): Define without depending on kernel version for
42574         i386.
42575         (__ASSUME_UTIMES): Likewise.
42576         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
42577         kernel version.
42578         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
42579         (__ASSUME_TMPFS_NAME): Likewise.
42580         * README: Update reference to Linux kernel versions.
42582 2012-08-02  Marek Polacek  <polacek@redhat.com>
42584         [BZ# 14150]
42585         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
42586         libc_cv_asm_type_prefix with %.
42587         * configure: Regenerated.
42588         * include/libc-symbols.h: Remove comment about
42589         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42590         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
42591         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
42592         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
42593         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
42594         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42595         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
42596         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
42597         * elf/tst-unique2mod1.c: Likewise.
42598         * elf/tst-unique1mod2.c: Likewise.
42599         * elf/tst-unique1mod1.c: Likewise.
42600         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
42601         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
42602         Replace ASM_TYPE_DIRECTIVE with .type.
42603         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42604         * sysdeps/i386/sysdep.h: Likewise.
42605         * sysdeps/x86_64/sysdep.h: Likewise.
42606         * sysdeps/sh/sysdep.h: Likewise.
42607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42608         Do not define ASM_TYPE_DIRECTIVE.
42609         * sysdeps/powerpc/sysdep.h: Likewise.
42610         * sysdeps/powerpc/powerpc32/sysdep.h:
42611         Replace ASM_TYPE_DIRECTIVE with .type.
42612         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42613         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42614         * sysdeps/i386/fpu/e_powf.S: Likewise.
42615         * sysdeps/i386/fpu/e_expl.S: Likewise.
42616         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42617         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42618         * sysdeps/i386/fpu/e_pow.S: Likewise.
42619         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42620         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42621         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42622         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42623         * sysdeps/i386/fpu/e_log2.S: Likewise.
42624         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42625         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42626         * sysdeps/i386/fpu/e_powl.S: Likewise.
42627         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42628         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42629         * sysdeps/i386/fpu/e_logl.S: Likewise.
42630         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42631         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42632         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42633         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42634         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42635         * sysdeps/i386/fpu/e_log.S: Likewise.
42636         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42637         * sysdeps/i386/fpu/e_logf.S: Likewise.
42638         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42639         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42640         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42641         * sysdeps/i386/fpu/e_log10.S: Likewise.
42642         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42643         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42644         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42645         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42646         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42647         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
42648         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42649         * sysdeps/i386/i686/strtok.S: Likewise.
42650         * sysdeps/i386/i386-mcount.S: Likewise.
42651         * sysdeps/i386/strtok.S: Likewise.
42652         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
42653         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42654         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42655         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42656         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42657         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42658         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42659         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42660         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42661         * sysdeps/x86_64/_mcount.S: Likewise.
42662         * sysdeps/x86_64/strtok.S: Likewise.
42663         * sysdeps/sh/_mcount.S: Likewise.
42665 2012-08-01  Roland McGrath  <roland@hack.frob.com>
42667         * libio/iofopen.c: Include <fcntl.h>.
42668         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
42669         (_IO_fopen64, fopen64): Define as aliases.
42670         * libio/iofopen64.c: Include <fcntl.h>.
42671         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
42672         Conditionalize body on this.
42673         * sysdeps/wordsize-64/iofopen.c: File removed.
42674         * sysdeps/wordsize-64/iofopen64.c: File removed.
42676 2012-08-01  Marek Polacek  <polacek@redhat.com>
42678         * libc/Makeconfig: Use elf in place of binfmt-subdir.
42679         Use dlfcn directly instead of a variable.
42680         (binfmt-subdir): Do not define.
42681         (dlfcn): Likewise.
42683 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
42685         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
42686         Remove all definitions.
42687         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
42688         <kernel-features.h>.
42689         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42690         (miss_F_GETOWN_EX): Remove all definitions.
42691         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
42692         macro definition.
42693         [!__ASSUME_FCNTL64]: Remove conditional code.
42694         [__ASSUME_FCNTL64]: Make code unconditional.
42695         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
42696         <kernel-features.h>.
42697         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42698         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
42699         (lockf64) [__NR_fcntl64]: Make code unconditional.
42700         (lockf64) [__ASSUME_FCNTL64]: Likewise.
42702         * sysdeps/unix/sysv/linux/kernel-features.h
42703         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
42704         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
42705         Make code unconditional.
42706         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42707         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
42709         [__NR_vfork]: Make code unconditional.
42710         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42711         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
42713         [__NR_vfork]: Make code unconditional.
42714         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42715         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42717 2012-08-01  Roland McGrath  <roland@hack.frob.com>
42719         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
42720         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
42722         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42723         Define mkstemp64 as an alias.
42724         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42725         Define mkstemps64 as an alias.
42726         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42727         Define mkostemp64 as an alias.
42728         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42729         Define mkostemps64 as an alias.
42730         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
42731         Conditionalize body on this.
42732         * misc/mkostemp64.c: Likewise.
42733         * misc/mkostemps64.c: Likewise.
42734         * misc/mkstemps64.c: Likewise.
42735         * sysdeps/wordsize-64/mkstemp64.c: File removed.
42736         * sysdeps/wordsize-64/mkostemp64.c: File removed.
42737         * sysdeps/wordsize-64/mkostemp.c: File removed.
42738         * sysdeps/wordsize-64/mkstemp.c: File removed.
42739         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
42740         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
42741         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
42742         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
42744         [BZ #14138]
42745         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
42746         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
42747         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
42748         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
42750         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
42751         compat_symbol macros from <shlib-compat.h> rather than the underlying
42752         default_symbol_version and symbol_version macros, so that DEFAULT
42753         lines in shlib-versions are respected.
42754         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
42756 2012-08-01  Florian Weimer  <fweimer@redhat.com>
42758         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
42759         Declare with warn_unused_result.
42760         (setgid, setregid, setegid, setresgid): Likewise.
42761         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
42762         Likewise.
42763         * WUR-REPORT: Remove set*id functions.
42765 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
42767         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
42769 2012-07-31  Roland McGrath  <roland@hack.frob.com>
42771         [BZ #10191]
42772         * include/sys/socket.h (__libc_accept, __libc_accept4):
42773         Add attribute_hidden.
42774         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
42776         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
42777         use of PTR_MANGLE.
42778         * inet/getnetgrent_r.c (setup): Likewise.
42780         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
42782 2012-07-31  David S. Miller  <davem@davemloft.net>
42784         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42786 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
42788         [BZ #13629]
42789         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
42790         value between 1.0 and 2.0 and smaller part has absolute value less
42791         than 1.0.
42792         * math/s_clog10.c (__clog10): Likewise.
42793         * math/s_clog10f.c (__clog10f): Likewise.
42794         * math/s_clog10l.c (__clog10l): Likewise.
42795         * math/s_clogf.c (__clogf): Likewise.
42796         * math/s_clogl.c (__clogl): Likewise.
42797         * math/libm-test.inc (clog_test): Add more tests.
42798         (clog10_test): Likewise.
42799         * sysdeps/i386/fpu/libm-test-ulps: Update.
42800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42802 2012-07-31  Florian Weimer  <fweimer@redhat.com>
42804         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
42805         Exit with zero in case no suitable GID is found, and write a
42806         message to standard error.
42808 2012-07-30  Roland McGrath  <roland@hack.frob.com>
42810         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
42811         rather than to 1.
42812         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
42813         (MAXPATHLEN): Removed.
42814         (NOGROUP, NODEV): New macros.
42815         (setbit, clrbit, isset, isclr): New macros.
42816         (howmany, roundup, powerof2): New macros.
42817         (DEV_BSIZE): New macro.
42819         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
42820         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
42822         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
42823         definition on [!__NO_LONG_DOUBLE_MATH].
42825         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
42826         PTR_MANGLE and PTR_DEMANGLE.
42828         * socket/accept4.c (accept4): Rename to __libc_accept4.
42829         Define accept4 as a weak alias.
42831         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
42832         on [_DIRENT_HAVE_D_TYPE].
42833         * io/ftw.c (ftw_dir): Likewise.
42835         * io/xmknod.c (__xmknod): Don't check PATH for being null.
42837         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
42839         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
42840         Use the BSD numbers rather than the arbitrary ones we had.
42841         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
42842         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
42843         (SIGXCPU, SIGXFSZ): New macros.
42844         (_NSIG): Now 32.
42846         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
42847         initializer on [_LIBC_REENTRANT].
42849         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
42850         definitions inside [_POSIX_MAPPED_FILES].
42852         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
42854         * dirent/opendir.c: Include <fcntl.h>.
42856         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
42857         (__libc_getspecific): Likewise.
42858         (__libc_key_create): Likewise.
42860         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
42861         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
42862         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
42863         (tmpfile64): Define as alias.
42864         * sysdeps/wordsize-64/tmpfile.c: File removed.
42865         * sysdeps/wordsize-64/tmpfile64.c: File removed.
42866         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
42867         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
42869         * stdio-common/vfscanf.c: Include <stdbool.h>.
42870         * nss/makedb.c: Likewise.
42871         * stdio-common/_i18n_number.h: Likewise.
42872         * argp/argp-help.c: Likewise.
42873         * posix/wordexp.c: Likewise.
42874         * sysdeps/posix/spawni.c: Likewise.
42875         * nss/nss_files/files-initgroups.c: Likewise.
42876         * stdio-common/reg-modifier.c: Include <stdlib.h>.
42877         * nss/nss_files/files-initgroups.c: Likewise.
42878         * nss/nss_db/db-netgrp.c: Likewise.
42879         * nss/nss_db/db-initgroups.c: Likewise.
42880         * io/fchmodat.c: Include <sys/stat.h>.
42882         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
42883         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
42885         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
42886         [HAVE_MMAP].
42888         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
42889         Add multiple inclusion protection.
42891 2012-07-27  David S. Miller  <davem@davemloft.net>
42893         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42895 2012-07-27  Gary Benson  <gbenson@redhat.com>
42897         [BZ #14298]
42898         * elf/rtld.c: Include <stap-probe.h>.
42899         (dl_main): Added static probes "init_start" and "init_complete".
42900         * elf/dl-load.c: Include <stap-probe.h>.
42901         (lose): Take new parameter "nsid".
42902         Added static probe "map_failed".
42903         (_dl_map_object_from_fd): Pass namespace id to lose.
42904         Added static probe "map_start".
42905         (open_verify): Pass namespace id to lose.
42906         * elf/dl-open.c: Include <stap-probe.h>.
42907         (dl_open_worker) Added static probes "map_complete", "reloc_start"
42908         and "reloc_complete".
42909         * elf/dl-close.c: Include <stap-probe.h>.
42910         (_dl_close_worker): Added static probes "unmap_start" and
42911         "unmap_complete".
42912         * elf/rtld-debugger-interface.txt: New file documenting the above.
42914 2012-07-26  Roland McGrath  <roland@hack.frob.com>
42916         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
42917         rather than a string variable.
42918         * sunrpc/rpc_main.c (h_output): Likewise.
42919         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
42921 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
42923         * inet/check_native.c: New file.
42925 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
42927         [BZ #13629]
42928         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
42929         if larger part has absolute value 1.0.
42930         * math/s_clog10.c (__clog10): Likewise.
42931         * math/s_clog10f.c (__clog10f): Likewise.
42932         * math/s_clog10l.c (__clog10l): Likewise.
42933         * math/s_clogf.c (__clogf): Likewise.
42934         * math/s_clogl.c (__clogl): Likewise.
42935         * math/libm-test.inc (clog_test): Add more tests.
42936         (clog10_test): Likewise.
42937         * sysdeps/i386/fpu/libm-test-ulps: Update.
42938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42940         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
42941         (pltexit): Likewise.
42942         (La_regs): Likewise.
42943         (La_retval): Likewise.
42944         (int_retval): Likewise.
42945         Update #error for removed macros to refer only to definitions in
42946         tst-audit.h.
42947         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
42948         macro.
42949         (pltexit): Likewise.
42950         (La_regs): Likewise.
42951         (La_retval): Likewise.
42952         (int_retval): Likewise.
42953         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
42954         macro.
42955         (pltexit): Likewise.
42956         (La_regs): Likewise.
42957         (La_retval): Likewise.
42958         (int_retval): Likewise.
42959         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
42960         macro.
42961         (pltexit): Likewise.
42962         (La_regs): Likewise.
42963         (La_retval): Likewise.
42964         (int_retval): Likewise.
42965         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
42966         macro.
42967         (pltexit): Likewise.
42968         (La_regs): Likewise.
42969         (La_retval): Likewise.
42970         (int_retval): Likewise.
42971         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
42972         macro.
42973         (pltexit): Likewise.
42974         (La_regs): Likewise.
42975         (La_retval): Likewise.
42976         (int_retval): Likewise.
42977         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
42978         macro.
42979         (pltexit): Likewise.
42980         (La_regs): Likewise.
42981         (La_retval): Likewise.
42982         (int_retval): Likewise.
42983         * sysdeps/generic/tst-audit.h: Update comment to refer only to
42984         macro definitions in tst-audit.h.
42985         * sysdeps/i386/tst-audit.h: New file.
42986         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
42987         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
42988         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
42989         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
42990         * sysdeps/sh/tst-audit.h: Likewise.
42991         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
42992         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
42993         * sysdeps/x86_64/tst-audit.h: Likewise.
42995 2012-07-26  Andreas Jaeger  <aj@suse.de>
42997         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
42998         ptrace.
43000         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
43001         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
43002         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
43003         PTRACE_O_MASK.
43004         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
43005         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
43006         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
43008         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
43009         value.
43011         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
43012         _sigsys.
43013         (si_call_addr, si_syscall, si_arch): Define new macro.
43014         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
43015         _sigsys.
43016         (si_call_addr, si_syscall, si_arch): Define new marcro.
43017         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
43018         _sigsys.
43019         (si_call_addr, si_syscall, si_arch): Define new macro.
43020         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
43021         _sigsys.
43022         (si_call_addr, si_syscall, si_arch): Define new macro.
43024 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
43026         [BZ #13717]
43027         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43028         Change to 2.4.21 where previously 2.4.1.
43029         * sysdeps/unix/sysv/linux/configure: Regenerated.
43030         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
43031         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
43032         Linux kernel version.
43033         (__ASSUME_STD_AUXV): Remove.
43034         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
43035         kernel version.
43036         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
43037         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
43038         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
43039         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
43040         (__ASSUME_NETLINK_SUPPORT): Likewise.
43041         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
43042         (__no_netlink_support): Remove conditional definition.
43043         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
43044         Remove.
43045         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43046         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
43047         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
43048         (if_nameindex_ioctl): Remove.
43049         (if_nameindex_netlink): Do not handle __no_netlink_support.
43050         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43051         code.
43052         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
43053         Remove conditional code.
43054         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43055         code.
43056         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
43057         unconditional.
43058         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43059         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
43060         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
43061         Remove.
43062         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
43063         [!__ASSUME_STD_AUXV]: Remove conditional code.
43064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
43065         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
43066         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
43067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
43068         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
43069         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43070         code.
43071         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43073         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
43074         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43075         conditional code.
43076         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43078         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43079         code.
43080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43081         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43082         conditional code.
43083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
43084         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43085         code unconditional.
43086         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43087         conditional code.
43088         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43089         unconditional.
43090         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43091         conditional code.
43092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43093         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43094         unconditional.
43095         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43096         conditional code.
43097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
43098         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43099         code unconditional.
43100         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43101         conditional code.
43102         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43103         unconditional.
43104         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43105         conditional code.
43106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
43107         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43108         code unconditional.
43109         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43110         conditional code.
43111         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43112         unconditional.
43113         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43114         conditional code.
43116 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
43118         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
43119         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
43120         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43121         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
43122         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
43123         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
43124         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
43125         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
43126         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
43127         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
43128         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
43129         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
43130         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
43131         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
43132         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
43133         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
43134         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
43135         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
43136         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
43137         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
43138         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
43139         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
43140         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43142 2012-07-25  Florian Weimer  <fweimer@redhat.com>
43144         * Versions.def: Add GLIBC_2.17.
43145         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
43146         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
43147         Introduce __libc_secure_getenv.
43148         * stdlib/Versions (2.17): Add secure_getenv
43149         (GLIBC_PRIVATE): Add __libc_secure_getenv.
43150         * stdlib/secure-getenv.c: Rename __secure_getenv to
43151         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
43152         symbol __secure_getenv for GLIBC_2.0.
43153         * stdlib/tst-secure-getenv.c: New.
43154         * stdlib/Makefile (tests): Add testcase.
43155         * manual/startup.texi (Environment Access): Document
43156         secure_getenv.
43157         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
43158         __libc_secure_getenv.
43159         * inet/ruserpass.c (ruserpass): Likewise.
43160         * malloc/mtrace.c (mtrace): Likewise.
43161         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
43162         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
43163         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
43164         * sysdeps/posix/tempname.c: Likewise.  Evaluate
43165         HAVE_SECURE_GETENV.
43166         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
43167         __secure_getenv to __libc_secure_getenv.
43168         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
43169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43170         Likewise.
43171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43172         Likewise.
43173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43175         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43176         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43177         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43178         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43179         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43181 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
43183         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
43184         (struct La_i86_retval): Likewise.
43185         (struct La_x86_64_regs): Likewise.
43186         (struct La_x86_64_retval): Likewise.
43187         (struct La_x32_regs): Likewise.
43188         (struct La_x32_retval): Likewise.
43189         (struct La_ppc32_regs): Likewise.
43190         (struct La_ppc32_retval): Likewise.
43191         (struct La_ppc64_regs): Likewise.
43192         (struct La_ppc64_retval): Likewise.
43193         (struct La_sh_regs): Likewise.
43194         (struct La_sh_retval): Likewise.
43195         (struct La_s390_32_regs): Likewise.
43196         (struct La_s390_32_retval): Likewise.
43197         (struct La_s390_64_regs): Likewise.
43198         (struct La_s390_64_retval): Likewise.
43199         (struct La_sparc32_regs): Likewise.
43200         (struct La_sparc32_retval): Likewise.
43201         (struct La_sparc64_regs): Likewise.
43202         (struct La_sparc64_retval): Likewise.
43203         (struct audit_ifaces): Remove architecture-specific pltenter and
43204         pltexit members.
43205         * sysdeps/i386/ldsodefs.h: New file.
43206         * sysdeps/powerpc/ldsodefs.h: Likewise.
43207         * sysdeps/s390/ldsodefs.h: Likewise.
43208         * sysdeps/sh/ldsodefs.h: Likewise.
43209         * sysdeps/sparc/ldsodefs.h: Likewise.
43210         * sysdeps/x86_64/ldsodefs.h: Likewise.
43212 2012-07-25  Marek Polacek  <polacek@redhat.com>
43214         [BZ #6808]
43215         * math/libm-test.inc (yn_test): Add another test.
43216         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
43217         to ERANGE when the result is +-Inf.
43218         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43219         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
43220         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
43221         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
43223 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
43225         * conform/data/time.h-data (NULL): Use macro-constant.  Require
43226         equal to 0.
43227         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
43228         clock_t.
43229         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
43231 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
43233         * configure.in <sysdeps resolving>: Correct printing
43234         Implies_before.
43235         * configure: Regenerate.
43237 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
43239         * math/w_ilogb.c: Include <limits.h>.
43240         * math/w_ilogbl.c: Likewise.
43242 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
43244         * manual/lang.texi (__va_copy): Document primarily as ISO C99
43245         va_copy.  Document allowing for unavailable va_copy only as
43246         pre-C99 compatibility.
43247         * manual/string.texi (Copying and Concatenation): Use va_copy
43248         instead of __va_copy in concat example.
43250 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
43252         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
43253         (__sendto): Use create_address_port.  Initialize APORT and deallocate
43254         it if not null.
43256         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
43257         with O_NOLINK passed to __file_name_lookup.
43259         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
43260         with O_NOLINK passed to __file_name_lookup.
43262         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
43263         negative N or less than NGIDS.
43265         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
43266         type to string_t.  Set ERANGE as errno and return it if NAME is not big
43267         enough.  Use memcpy instead of strncpy.
43269 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
43271         * elf/Makefile (check-data): Remove.
43272         (localplt.data): New vpath directive.
43273         ($(objpfx)check-localplt.out): Use localplt.data from vpath
43274         instead of $(check-data).
43275         * scripts/data/localplt-generic.data: Move to ...
43276         * sysdeps/generic/localplt.data: ... here.
43277         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
43278         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
43279         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
43280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43281         ... here.
43282         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
43283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43284         ... here.
43285         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
43286         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
43287         ... here.
43288         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
43289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
43290         ... here.
43291         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
43292         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
43293         ... here.
43294         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
43295         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
43296         ... here.
43298 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43300         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
43301         PPC32 and PPC64 files.
43302         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
43303         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
43305 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43307         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
43308         __makecontext_ret to ...
43309         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
43310         ... here and call exit if uc_link is NULL.  New file.
43311         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
43312         __makecontext_ret.S.
43313         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
43314         __makecontext_ret to ...
43315         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
43316         ... here and call exit if uc_link is NULL.  New file.
43317         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
43318         __makecontext_ret.S.
43320 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43322         * elf/elf.h (R_390_IRELATIVE): New definition.
43323         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
43324         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
43325         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
43326         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43327         (elf_machine_lazy_rel): Likewise.
43328         * sysdeps/s390/dl-irel.h: New file.
43329         * sysdeps/s390/s390-64/memcpy.S: New asm code.
43330         * sysdeps/s390/s390-64/memset.S: New asm code.
43331         * sysdeps/s390/s390-64/memcmp.S: New asm code.
43332         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
43333         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
43334         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
43335         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
43336         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
43337         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
43338         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
43339         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
43340         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
43341         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
43342         * sysdeps/s390/s390-32/memcpy.S: New asm code.
43343         * sysdeps/s390/s390-32/memset.S: New asm code.
43344         * sysdeps/s390/s390-32/memcmp.S: New asm code.
43346 2012-07-17  Marek Polacek  <polacek@redhat.com>
43348         [BZ #14349]
43349         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
43350         * sysdeps/s390/s390-64/configure.in: Likewise.
43351         * sysdeps/sparc/configure.in: Likewise.
43352         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
43353         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
43354         * sysdeps/i386/configure.in: Likewise.
43355         * sysdeps/x86_64/configure.in: Likewise.
43356         * sysdeps/sh/configure.in: Likewise.
43357         * sysdeps/s390/s390-32/configure: Regenerated.
43358         * sysdeps/s390/s390-64/configure: Likewise.
43359         * sysdeps/x86_64/configure: Likewise.
43360         * sysdeps/sh/configure: Likewise.
43361         * sysdeps/powerpc/powerpc64/configure: Likewise.
43362         * sysdeps/powerpc/powerpc32/configure: Likewise.
43363         * sysdeps/sparc/configure: Likwise.
43364         * sysdeps/i386/configure: Likewise.
43366         * elf/dl-open.c: Comment fixes.
43368 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
43370         * Makefile [CXX] (check-data): Remove.
43371         [CXX] (c++-types.data): New vpath directive.
43372         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
43373         vpath.  Do not allow for C++ type data being missing.
43374         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
43375         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
43376         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
43377         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
43378         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
43379         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
43380         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
43381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43382         ... here.
43383         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
43384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43385         ... here.
43386         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
43387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
43388         ... here.
43389         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
43390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
43391         ... here.
43392         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
43393         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
43394         ... here.
43395         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
43396         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
43397         ... here.
43398         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
43399         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
43400         ... here.
43401         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
43402         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
43404         * elf/tls-macros.h (TLS_LE): Move architecture-specific
43405         definitions to architecture-specific files.
43406         (TLS_IE): Likewise.
43407         (TLS_LD): Likewise.
43408         (TLS_GD): Likewise.
43409         * sysdeps/i386/tls-macros.h: New file.
43410         * sysdeps/powerpc/tls-macros.h: Likewise.
43411         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
43412         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
43413         * sysdeps/sh/tls-macros.h: Likewise.
43414         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
43415         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
43416         * sysdeps/x86_64/tls-macros.h: Likewise.
43418 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
43420         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
43421         zero value for regular exit case.
43423         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
43424         (__start_context): Preserve zero value for regular exit case.
43426 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
43427             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43429         * manual/setjmp.texi (setcontext): Clarify normal process
43430         termination when uc_link is the null pointer.
43431         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
43432         exit call.
43434 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
43436         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
43437         preprocessor.  Test for each exception mask separately.
43439 2012-07-16  Andreas Jaeger  <aj@suse.de>
43441         * po/ru.po: Update from translation team.
43443 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
43445         * conform/data/string.h-data (NULL): Use macro-constant.  Require
43446         equal to 0.
43447         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43448         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43449         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
43450         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
43451         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43453 2012-07-13  Andreas Jaeger  <aj@suse.de>
43455         * po/fr.po: Update from translation team.
43457 2012-07-12  Marek Polacek  <polacek@redhat.com>
43459         [BZ #14173]
43460         * math/libm-test.inc (yn_test): Add test for BZ #14173.
43461         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
43462         loop condition.
43464 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
43466         [BZ #13717]
43467         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43468         Change to 2.4.1 where previously 2.4.0.
43469         * sysdeps/unix/sysv/linux/configure: Regenerated.
43470         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
43471         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
43472         version.
43473         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
43474         (__ASSUME_AT_CLKTCK): Remove.
43475         (__ASSUME_AT_PAGESIZE): Likewise.
43476         (__ASSUME_AT_XID): Likewise.
43477         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
43478         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
43479         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
43480         unconditionally.
43481         (HAVE_AUX_PAGESIZE): Likewise.
43482         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
43483         [__ASSUME_AT_CLKTCK]: Make code unconditional.
43484         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
43486 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
43488         [BZ #14307]
43489         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
43490         the temporary buffer used to invoke __gethostbyname2_r,
43491         __gethostbyaddr_r and gethostbyname4_r to make room for struct
43492         host_data / struct gaih_addrtuple.
43493         * resolv/nss_dns/dns-host.c (global scope): Move definition of
43494         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
43495         header file nss/nsswitch.h.
43496         * nss/nsswitch.h (global scope): Add definition of implementation
43497         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
43498         resolv/nss_dns/dns-host.c).
43500 2012-07-11  Andreas Jaeger  <aj@suse.de>
43502         * po/fr.po: Update from translation team.
43504         * po/sv.po: Update from translation team
43505         * po/fr.po: Another update from translation team.
43507 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43509         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
43510         for subnormals or multiply small sinh result by itself.
43511         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43514 2012-07-11  David S. Miller  <davem@davemloft.net>
43516         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43518 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
43520         [BZ #14347]
43521         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
43522         (INTERNAL_MARK): Shift it here.
43524 2012-07-10  Marek Polacek  <polacek@redhat.com>
43526         [BZ #14151]
43527         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
43528         libc_cv_asm_global_directive with .globl.
43529         * configure: Regenerated.
43530         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
43531         with .globl.
43532         * sysdeps/i386/configure: Regenerated.
43533         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
43534         with .globl.
43535         * sysdeps/x86_64/configure: Regenerated.
43536         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
43537         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
43538         * elf/tst-unique2mod2.c: Likewise.
43539         * elf/tst-unique2mod1.c: Likewise.
43540         * elf/tst-unique1mod2.c: Likewise.
43541         * elf/tst-unique1mod1.c: Likewise.
43542         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43543         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43544         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43545         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43546         * sysdeps/mach/sysdep.h: Likewise.
43547         * sysdeps/i386/sysdep.h: Likewise.
43548         * sysdeps/i386/i386-mcount.S: Likewise.
43549         * sysdeps/x86_64/_mcount.S: Likewise.
43550         * sysdeps/x86_64/sysdep.h: Likewise.
43551         * sysdeps/sh/_mcount.S: Likewise.
43552         * sysdeps/sh/sysdep.h: Likewise.
43553         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
43554         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
43555         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
43556         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43557         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
43558         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
43559         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
43560         * locale/localeinfo.h: Likewise.
43561         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
43562         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
43564 2012-07-09  Roland McGrath  <roland@hack.frob.com>
43566         [BZ #14336]
43567         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
43568         system".
43569         * manual/message.texi (The Uniforum approach): Likewise.
43570         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
43571         (glibc iconv Implementation): Likewise.
43573 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
43575         [BZ #14337]
43576         * math/s_clog.c (__clog): Avoid scaling a value down where that
43577         could result in underflow.
43578         * math/s_clog10.c (__clog10): Likewise.
43579         * math/s_clog10f.c (__clog10f): Likewise.
43580         * math/s_clog10l.c (__clog10l): Likewise.
43581         * math/s_clogf.c (__clogf): Likewise.
43582         * math/s_clogl.c (__clogl): Likewise.
43583         * math/libm-test.inc (clog_test): Add more tests.
43584         (clog10_test): Likewise.
43585         * sysdeps/i386/fpu/libm-test-ulps: Update.
43586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43588 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
43590         [BZ #14283]
43591         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
43592         by 7 not 8 to examine high bit of fractional part.
43594         [BZ #14042]
43595         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
43596         for call to __mcount_internal.
43597         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
43598         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
43599         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
43601 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
43603         [BZ #14154]
43604         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
43605         approximation for values within 0x1p-13f of an odd multiple of
43606         pi/4.
43607         * math/libm-test.inc (tan_test): Do not allow spurious underflow
43608         exception.  Add more tests.
43609         * sysdeps/i386/fpu/libm-test-ulps: Update.
43611         [BZ #6778]
43612         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
43613         inputs and return -1 for them.  Do not check for +Inf in case not
43614         reachable for +Inf.
43615         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43616         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
43617         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43618         and return -1 for them.  Do not check for +Inf in case not
43619         reachable for +Inf.
43620         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
43621         define.
43622         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43623         and return -1 for them.  Do not check for +Inf in case not
43624         reachable for +Inf.
43625         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
43626         spurious underflow.
43627         * sysdeps/i386/fpu/libm-test-ulps: Update.
43628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43630 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
43632         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
43634 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
43636         [BZ #14157]
43637         [BZ #14331]
43638         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
43639         could result in spurious underflow.  Scale down values above
43640         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
43641         * math/s_csqrtf.c (__csqrtf): Likewise.
43642         * math/s_csqrtl.c (__csqrtl): Likewise.
43643         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
43644         spurious underflow.
43645         * sysdeps/i386/fpu/libm-test-ulps: Update.
43646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43648 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
43650         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
43651         xopen-msg.sed.
43652         * catgets/xopen-msg.awk: New file.
43653         * catgets/xopen-msg.sed: Removed.
43655         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
43656         po2text.sed.
43657         * intl/po2test.awk: New file.
43658         * intl/po2test.sed: Removed.
43660 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
43662         [BZ #14328]
43663         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
43664         or multiply small sinh result by itself.
43665         * math/s_ctanf.c (__ctanf): Likewise.
43666         * math/s_ctanh.c (__ctanh): Likewise.
43667         * math/s_ctanhf.c (__ctanhf): Likewise.
43668         * math/s_ctanhl.c (__ctanhl): Likewise.
43669         * math/s_ctanl.c (__ctanl): Likewise.
43670         * math/libm-test.inc (ctan_test_tonearest): New function.
43671         (ctan_test_towardzero): Likewise.
43672         (ctan_test_downward): Likewise.
43673         (ctan_test_upward): Likewise.
43674         (ctanh_test_tonearest): Likewise.
43675         (ctanh_test_towardzero): Likewise.
43676         (ctanh_test_downward): Likewise.
43677         (ctanh_test_upward): Likewise.
43678         (main): Call these new functions.
43679         * sysdeps/i386/fpu/libm-test-ulps: Update.
43680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43682 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
43684         * .gitignore: Delete /ports entry.
43686 2012-07-03  Andreas Jaeger  <aj@suse.de>
43688         * po/bg.po: Update from translation team.
43689         * po/cs.po: Likewise.
43690         * po/de.po: Likewise.
43691         * po/hr.po: Likewise.
43692         * po/nl.pl: Likewise.
43693         * po/pl.po: Likewise.
43694         * po/vi.po: Likewise.
43696 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
43698         * Makeconfig [!+link] (+link-before-libc): New variable.
43699         [!+link] (+link-after-libc): Likewise.
43700         [!+link] (+link-tests): Likewise.
43701         [!+link] (+link): Define in terms of $(+link-before-libc) and
43702         $(+link-after-libc).
43703         [!+link-static] (+link-static-before-libc): New variable.
43704         [!+link-static] (+link-static-after-libc): Likewise.
43705         [!+link-static] (+link-static-tests): Likewise.
43706         [!+link-static] (+link-static): Define in terms of
43707         $(+link-static-before-libc) and $(+link-static-after-libc).
43708         [build-shared] (link-libc-before-gnulib): New variable.
43709         [build-shared] (link-libc-tests): Likewise.
43710         [build-shared] (link-libc): Define in terms of
43711         $(link-libc-before-gnulib).
43712         [!build-shared] (link-libc-tests): New variable.
43713         (link-libc-static-tests): New variable.
43714         [!gnulib] (gnulib-arch): New variable.
43715         [!gnulib] (gnulib-tests): Likewise.
43716         [!gnulib] (static-gnulib-arch): Likewise.
43717         [!gnulib] (static-gnulib-tests): Likewise.
43718         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
43719         Define with "=" instead of ":=".
43720         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
43721         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
43722         * Rules (binaries-all-notests): New variable.
43723         (binaries-all-tests): Likewise.
43724         (binaries-static-notests): Likewise.
43725         (binaries-static-tests): Likewise.
43726         (binaries-all): Define using $(binaries-all-notests) and
43727         $(binaries-all-tests).
43728         (binaries-static): Define using $(binaries-static-notests) and
43729         $(binaries-static-tests).
43730         (binaries-shared-tests): New variable.
43731         (binaries-shared-notests): Likewise.
43732         (binaries-shared): Remove variable.
43733         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
43734         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
43735         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
43736         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
43737         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
43738         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
43739         * elf/Makefile (sln-modules): New variable.
43740         (extra-objs): Add $(sln-modules:=.o).
43741         (ldconfig-modules): Add static-stubs.
43742         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
43743         * elf/static-stubs.c: New file.
43745         [BZ #14283]
43746         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
43747         by 7 not 8 to examine high bit of fractional part.  Use volatile
43748         variables when splitting into final array of floats if
43749         __FLT_EVAL_METHOD__ != 0.
43750         * math/libm-test.inc (cos_test): Add another test.
43751         (sin_test): Likewise.
43752         * sysdeps/i386/fpu/libm-test-ulps: Update.
43754         [BZ #14273]
43755         * math/libm-test.inc (cosh_test): Add more tests.
43757         * version.h (RELEASE): Set to "development".
43758         (VERSION): Set to "2.16.90".
43760 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
43762         * NEWS: Update copyright. Remove last-updated date.
43763         Mention math library bug fixes and timezone data changes.
43764         * README: Mention GNU/Hurd, x32, and HPPA support status.
43766 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
43768         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
43770 2012-06-27  Andreas Jaeger  <aj@suse.de>
43772         * manual/contrib.texi (Contributors): Add Samuel Thibault.
43774 2012-06-25  Andreas Jaeger  <aj@suse.de>
43776         * sysdeps/s390/fpu/libm-test-ulps: Update.
43778 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
43779             Thomas Schwinge  <thomas@codesourcery.com>
43781         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
43782         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
43783         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
43784         fanotify_mark.
43786 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
43788         * sysdeps/mach/start.c: Remove file.
43789         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
43790         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
43791         * sysdeps/sh/init-first.c: Likewise.
43793         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
43794         registers for frame unwinding purposes, add CFI directives.
43795         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43796         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
43797         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
43798         Likewise.
43800         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
43801         __fortify_fail returning.
43802         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43804         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
43805         sysdeps/sh/____longjmp_chk.S.
43806         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
43807         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
43808         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
43809         (gen-as-const-headers): Append sigaltstack-offsets.sym.
43811         * sysdeps/sh/abort-instr.h: New file.
43812         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
43813         process in case exit returns.
43815         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
43816         initialize the GOT register before use.
43818         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
43819         calculation of ARGC > 4.
43821         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
43822         meaningful names to some local labels.
43824 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43825             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43827         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
43828         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
43829         (__arch_compare_and_exchange_val_16_acq): Likewise.
43830         (__arch_compare_and_exchange_val_32_acq): Likewise.
43831         (atomic_exchange_and_add): Fix gUSA sequence.
43832         (atomic_add): Likewise.
43833         (atomic_add_negative): Likewise.
43834         (atomic_add_zero): Likewise.
43835         (atomic_bit_test_set): Likewise.
43837 2012-06-22  Andreas Schwab  <schwab@redhat.com>
43839         [BZ #13579]
43840         * include/link.h (struct link_map): Add l_free_initfini.
43841         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
43842         l_initfini.
43843         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
43844         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
43845         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
43846         set.
43848 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
43850         * configure.in: Use AC_LANG_SOURCE.
43851         * configure: Regenerate.
43853 2012-06-22  Roland McGrath  <roland@hack.frob.com>
43855         * configure.in (libc_cv_localstatedir): New substituted variable.
43856         * configure: Regenerated.
43857         * config.make.in (localstatedir): New variable, substituted from
43858         libc_cv_localstatedir.
43859         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
43860         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
43861         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
43862         * sysdeps/gnu/configure: Regenerated.
43864 2012-06-21  Jeff Law  <law@redhat.com>
43866         [BZ #14277]
43867         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
43868         free.  Simplify list management for _LIBC case.
43870 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
43872         [BZ #14273]
43873         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
43874         Clear sign bit of 64-bit integer value before comparing against
43875         overflow value.
43877         * sysdeps/mach/configure: Regenerated.
43879 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
43881         [BZ #14278]
43882         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
43884 2012-06-21  Jeff Law  <law@redhat.com>
43886         [BZ #13882]
43887         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
43888         uint16_t for elements in the "seen" array to avoid char overflows.
43889         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43890         * elf/dl-open.c (dl_open_worker): Likewise.
43892 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
43894         * scripts/list-sources.sh: Scan PORTS for translations.
43895         * po/libc.pot: Regenerated.
43897 2012-06-21  Andreas Jaeger  <aj@suse.de>
43899         [BZ #12194]
43900         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
43901         warning.
43902         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
43903         * bits/byteswap-16.h (__bswap_16): Likewise.
43904         * bits/byteswap.h (__bswap_constant_16): Likewise.
43906 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
43908         [BZ #14117]
43909         * sysdeps/i386/fpu_control.h: Removed.
43910         * sysdeps/x86_64/fpu_control.h: Moved to ...
43911         * sysdeps/x86/fpu_control.h: Here.
43913         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
43914         (_FPU_SETCW): Likewise.
43916 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
43918         [BZ #14117]
43919         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
43920         * sysdeps/x86/fpu/bits/mathinline.h: This.
43921         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
43923         [BZ #14050]
43924         [BZ #14117]
43925         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
43926         functions if __x86_64__ is defined.
43928 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
43930         * string/endian.h: Add !__ASSEMBLER__ condition for including
43931         conversion interfaces.
43933 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
43935         [BZ #14241]
43936         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
43937         of ABS(x) in calculating zero to negative powers other than odd
43938         integers.
43939         * math/libm-test.inc (pow_test): Add more tests.
43941 2012-06-15  Andreas Jaeger  <aj@suse.de>
43943         * manual/contrib.texi (Contributors): Update entry of Liubov
43944         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
43945         Machado Filho.
43947 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
43949         * string/string.h: Add __wur to GNU version of strerror_r.
43951 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
43953         [BZ #14229]
43954         * string/Makefile (tests): Add tst-strtok_r.
43955         * string/tst-strtok_r.c: New file.
43956         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
43957         RAX_LP/RDX_LP on SAVE_PTR.
43959 2012-06-14  Roland McGrath  <roland@hack.frob.com>
43961         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
43963 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
43965         * libm_test.inc (csqrt_test): Allow more spurious underflow
43966         exceptions.
43967         (j0_test): Likewise.
43968         (j1_test): Likewise.
43969         (y0_test): Likewise.
43970         (y1_test): Likewise.
43972 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
43974         * po/Makefile (libc.pot): Use UTF-8 charset.
43976 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
43978         [BZ #14210]
43979         Suppress sign-conversion warning from FD_SET.
43980         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
43981         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
43982         not unsigned long int.
43983         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
43985 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
43987         [BZ #14050]
43988         [BZ #14117]
43989         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
43990         __extern_always_inline instead of __extern_inline.
43991         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
43992         (__signbit): Likewise.
43993         (__signbitl): Support C++ namespace.
43994         (lrintf): New inline function.
43995         (lrint): Likewise.
43996         (llrintf): Likewise.
43997         (llrint): Likewise.
43998         (fmaxf): Likewise.
43999         (fmax): Likewise.
44000         (fminf): Likewise.
44001         (fmin): Likewise.
44002         (rint): Likewise.
44003         (rintf): Likewise.
44004         (ceil): Likewise.
44005         (ceilf): Likewise.
44006         (floor): Likewise.
44007         (floorf): Likewise.
44008         (nearbyint): Likewise.
44009         (nearbyintf): Likewise.
44011 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
44013         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
44014         non-default versions.
44016 2012-06-11  Roland McGrath  <roland@hack.frob.com>
44018         [BZ #14218]
44019         * manual/argp.texi (Argp): Reword argp_parse description slightly.
44021 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
44023         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
44024         (FE_UPWARD, FE_DOWNWARD): Don't define.
44025         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
44026         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44028         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
44029         reading it.
44030         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44031         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44033 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44035         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44036         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
44037         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
44038         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
44040 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
44042         [BZ #14117]
44043         * sysdeps/i386/fpu/bits/fenv.h: Removed.
44044         * sysdeps/i386/fpu/Implies: New file.
44045         * sysdeps/x86_64/fpu/Implies: Likewise.
44046         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
44047         * sysdeps/x86/fpu/bits/fenv.h: This.
44049         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
44050         __SSE_MATH__.
44052 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44054         [BZ #14134]
44055         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
44056         character 0xffff that matches the last element of the
44057         conversion table.
44059 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44061         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
44062         fmodl commit.
44064 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44066         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
44067         values higher than 25.6283.
44069 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44071         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
44072         subnormal exponent extraction and add some __builtin_expect.
44073         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
44074         Fix for subnormal mantissa calculation.
44076 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
44078         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
44079         cpu2 is -1 and errno is not ENOSYS.
44081 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
44083         [BZ #14117]
44084         * sysdeps/i386/i486/bits/string.h: Renamed to ...
44085         * sysdeps/x86/bits/string.h: This.
44086         * sysdeps/x86_64/bits/string.h: Removed.
44088         * sysdeps/i386/i486/bits/string.h: Define inline functions only
44089         if not compiling for x86-64, but compiling for >= i486.
44091         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
44092         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
44094         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
44095         New macro from Linux kernel 3.4.0.
44096         (FP_XSTATE_MAGIC2): Likewise.
44097         (FP_XSTATE_MAGIC2_SIZE): Likewise.
44098         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
44099         (struct _fpx_sw_bytes): New struct.
44100         (struct _xsave_hdr): Likewise.
44101         (struct _ymmh_state): Likewise.
44102         (struct _xstate): Likewise.
44104         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
44105         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
44106         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
44107         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
44108         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
44109         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
44111         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
44112         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
44113         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
44114         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
44115         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
44116         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
44118 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44120         [BZ #13743]
44121         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
44122         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
44123         (sysdep_headers): Include sys/platform/ppc.h.
44124         * sysdeps/powerpc/test-gettimebase.c: Test for
44125         __ppc_get_timebase() to catch future ISA opcode/insn changes.
44126         * manual/Makefile (appendices): Include platform.texi.
44127         * manual/contrib.texi (Contributors): Update @node pointers.
44128         * manual/maint.texi (Maintenance): Likewise.
44129         (Platform): New node.
44130         * manual/platform.texi: New file.  Document the new features.
44132 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44133             Jakub Jelinek  <jakub@redhat.com>
44135         [BZ #14188]
44136         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
44137         where __builtin_expect is unavailable.
44139 2012-06-03  David S. Miller  <davem@davemloft.net>
44141         * stdlib/longlong.h: Updated from GCC.
44143 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
44145         [BZ #14042]
44146         * sysdeps/powerpc/powerpc32/mcount.c: New file.
44147         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
44148         __mcount_internal.
44149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44150         (GLIBC_2.16): Likewise.
44152 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44154         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
44156 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
44158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
44159         (default-abi): New variable.
44160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
44161         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
44162         variable.
44163         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
44164         Likewise.
44165         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
44166         Likewise.
44167         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
44168         Likewise.
44170         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
44171         definition.  Document in comment.
44173 2012-06-01  David S. Miller  <davem@davemloft.net>
44175         * stdlib/longlong.h: Updated from GCC.
44177 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44179         [BZ #14117]
44180         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
44181         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
44182         sys/debugreg.h sys/io.h here.
44183         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
44184         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
44185         sys/io.h.
44186         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
44187         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
44188         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
44189         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
44190         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
44191         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
44193         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
44194         Define only if __x86_64__ is defined.
44196 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
44198         [BZ #14048]
44199         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
44200         Use int64_t for variable i.
44201         * math/libm-test.inc (fmod_test): Add more tests.
44203         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
44204         z computation is not scheduled after fetestexcept.
44205         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
44206         Use math_force_eval instead of asm to ensure calculation scheduled
44207         before exception test.
44208         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
44209         Ensure a1 + u.d computation is not scheduled after fetestexcept.
44211 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
44213         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
44214         computation is not scheduled after fetestexcept.
44216 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44218         [BZ #14117]
44219         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
44220         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
44222 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44224         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
44225         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44227 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
44229         [BZ #14117]
44230         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
44231         <bits/wordsize.h>.
44232         (__WCHAR_MIN): Support __WORDSIZE == 64.
44233         (__WCHAR_MAX): Likewise.
44235         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
44236         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
44238         [BZ #14183]
44239         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
44240         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
44242         [BZ #14117]
44243         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
44244         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
44246         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
44247         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
44249         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
44250         Defined to 1 if __x86_64__ isn't defined.
44251         (_STAT_VER_LINUX_OLD): New.
44252         (st_atime): Remove duplicate.
44253         (st_mtime): Likewise.
44254         (st_ctime): Likewise.
44256 2012-05-31  David S. Miller  <davem@davemloft.net>
44258         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
44259         entries.
44261 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
44263         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
44264         gen-libm-test.pl.
44266         [BZ #14132]
44267         * elf/dl-reloc.c: Include <_itoa.h>.
44268         (_dl_reloc_bad_type): Remove use of INTUSE.
44269         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
44270         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
44271         * stdio-common/psiginfo.c (psiginfo): Likewise.
44272         * stdio-common/psignal.c (psignal): Likewise.
44273         * string/strsignal.c (strsignal): Likewise.
44274         * include/signal.h (_sys_siglist): Declare hidden proto.
44275         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
44276         INTVARDEF with libc_hidden_data_def.
44277         * stdio-common/itoa-udigits.c: Likewise.
44278         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
44279         (_itoa_lower_digits_internal): Remove declaration.
44280         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
44281         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
44282         (_sys_sigabbrev_internal): Remove aliases.
44283         (_sys_siglist): Define hidden alias.
44285 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
44287         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44288         bits/sysctl.h.
44290 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
44292         [BZ #14117]
44293         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
44294         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
44296         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
44297         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
44298         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
44299         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
44300         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
44301         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
44303         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
44304         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
44305         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
44307         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
44308         with __addr.
44309         (insw): Likewise.
44310         (insl): Likewise.
44311         (outsb): Likewise.
44312         (outsw): Likewise.
44313         (outsl): Likewise.
44315         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
44316         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
44317         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
44319         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
44320         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
44321         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
44322         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
44323         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
44324         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
44326         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
44327         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
44329         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
44330         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
44332         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
44333         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
44334         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
44336         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
44337         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
44338         to ...
44339         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
44341         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
44342         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
44343         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
44345         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
44346         for x86-64.
44347         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
44349 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
44351         * math/math.h (M_El): Use two more decimal places.
44352         (M_LOG2El): Likewise.
44353         (M_LOG10El): Likewise.
44354         (M_LN2l): Likewise.
44355         (M_LN10l): Likewise.
44356         (M_PIl): Likewise.
44357         (M_PI_2l): Likewise.
44358         (M_PI_4l): Likewise.
44359         (M_1_PIl): Likewise.
44360         (M_2_PIl): Likewise.
44361         (M_2_SQRTPIl): Likewise.
44362         (M_SQRT2l): Likewise.
44363         (M_SQRT1_2l): Likewise.
44365 2012-05-31  David S. Miller  <davem@davemloft.net>
44367         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
44368         values between float registers.
44369         * sysdeps/sparc/sparc64/memset.S: Likewise.
44370         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44372 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
44374         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
44375         -D_FORTIFY_SOURCE=1.
44376         (CPPFLAGS-tst-longjmp_chk.c): Define.
44377         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
44378         (CPPFLAGS-tst-longjmp_chk2.c): Define.
44379         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
44380         CFLAGS-tst-wchar-h.c.
44382 2012-05-31  Marek Polacek  <polacek@redhat.com>
44384         [BZ #14132]
44385         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
44386         __endmntent_internal): Remove declaration.
44387         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
44388         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
44389         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
44391 2012-05-30  David S. Miller  <davem@davemloft.net>
44393         * sysdeps/sparc/sparc32/soft-fp/q_util.c
44394         (___Q_simulate_exceptions): Use real FP ops rather than writing
44395         into the %fsr.
44396         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
44397         Likewise.
44399 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44401         [BZ #14117]
44402         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
44403         * sysdeps/x86/bits/xtitypes.h: This.
44405         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
44406         * sysdeps/x86/bits/wordsize.h: This.
44408         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
44409         * sysdeps/x86/bits/huge_vall.h: This.
44411         * sysdeps/i386/bits/select.h: Removed.
44412         * sysdeps/x86_64/bits/select.h: Renamed to ...
44413         * sysdeps/x86/bits/select.h: This.
44415         * sysdeps/i386/bits/setjmp.h: Removed.
44416         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
44417         * sysdeps/x86/bits/setjmp.h: This.
44419         * sysdeps/i386/bits/mathdef.h: Removed.
44420         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
44421         * sysdeps/x86/bits/mathdef.h: This.
44423 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
44425         [BZ #14132]
44426         * include/sys/socket.h (__connect_internal)
44427         (__libc_sa_len_internal): Remove declaration.
44428         (__connect, __libc_sa_len): Declare hidden_proto.
44429         (SA_LEN): Remove use of INTUSE.
44430         * socket/connect.c: Add libc_hidden_def.
44431         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
44432         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
44433         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
44434         alias.
44435         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
44436         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
44437         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
44438         of adding _internal alias.
44440 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44442         [BZ #14117]
44443         * sysdeps/i386/bits/link.h: Removed.
44444         * sysdeps/i386/bits/linkmap.h: Likewise.
44445         * sysdeps/x86_64/bits/link.h: Renamed to ...
44446         * sysdeps/x86/bits/link.h: This.
44447         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
44448         * sysdeps/x86/bits/linkmap.h: This.
44450         * sysdeps/i386/bits/endian.h: Removed.
44451         * sysdeps/x86_64/bits/endian.h: Renamed to ...
44452         * sysdeps/x86/bits/endian.h: This.
44454         * sysdeps/i386/bits/byteswap.h: Removed.
44455         * sysdeps/i386/bits/byteswap-16.h: Likewise.
44456         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
44457         * sysdeps/x86/bits/byteswap.h: This.
44458         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
44459         * sysdeps/x86/bits/byteswap-16.h: This.
44460         * sysdeps/i386/Implies: Add x86.
44461         * sysdeps/x86_64/Implies: Likewise.
44463 2012-05-30  David S. Miller  <davem@davemloft.net>
44465         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
44466         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
44467         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44468         (FP_TRAPPING_EXCEPTIONS): Define.
44469         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44470         (FP_TRAPPING_EXCEPTIONS): Define.
44471         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
44472         subnormals only when inexact has been signalled or underflow
44473         exceptions are enabled.
44474         (_FP_PACK_CANONICAL): Likewise.
44476 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44478         [BZ #14183]
44479         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
44480         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
44482 2012-05-30  Richard Henderson  <rth@twiddle.net>
44484         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
44485         with #ifndef NOT_IN_libc.
44487         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
44488         marked to avoid plt entry.
44490 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44492         [BZ #14112]
44493         * Makeconfig (default-abi): New macro.
44494         (abi-includes): Likewise.
44495         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
44496         $(abi-$(default-abi)-lib-soname) for soname if defined.
44497         ($(common-objpfx)gnu/lib-names.stmp): Generate from
44498         abi-variants.
44499         * Makefile (installed-stubs): Likewise.
44500         * include/stubs-biarch.h: Removed.
44501         * scripts/lib-names.awk: Only handle one library at a time.
44502         * scripts/soversions.awk: Remove WORDSIZE support.
44503         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
44504         entries.
44505         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
44506         Removed.
44507         (syscall-list-default-condition): Likewise.
44508         (syscall-list-default-condition): Likewise.
44509         (syscall-list-includes): Likewise.
44510         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
44511         syscall-list-* with abi-*.  Handle undefined abi-variants.
44512         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
44513         * sysdeps/unix/sysv/linux/i386/Implies: New file.
44514         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
44515         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
44516         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
44517         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
44518         Removed.
44519         (syscall-list-32-options): Likewise.
44520         (syscall-list-32-condition): Likewise.
44521         (syscall-list-64-options): Likewise.
44522         (syscall-list-64-condition): Likewise.
44523         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
44524         macro.
44525         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
44526         Renamed to ...
44527         (abi-*): This.
44528         (abi-64-ld-soname): New macro.
44529         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
44530         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
44531         Renamed to ...
44532         (abi-*): This.
44533         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
44534         * sysdeps/x86_64/x32/shlib-versions: Likewise.
44536 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
44538         * sysdeps/unix/sysv/linux/kernel-features.h
44539         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
44540         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
44541         include <kernel-features.h>.
44542         [!__NR_ftruncate64]: Remove conditional code.
44543         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44544         [__NR_ftruncate64]: Make code unconditional.
44545         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44546         * sysdeps/unix/sysv/linux/truncate64.c: Do not
44547         include <kernel-features.h>.
44548         [!__NR_ftruncate64]: Remove conditional code.
44549         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44550         [__NR_ftruncate64]: Make code unconditional.
44551         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
44553         include <kernel-features.h>.
44554         [!__NR_ftruncate64]: Remove conditional code.
44555         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44556         [__NR_ftruncate64]: Make code unconditional.
44557         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
44559         include <kernel-features.h>.
44560         [!__NR_ftruncate64]: Remove conditional code.
44561         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44562         [__NR_ftruncate64]: Make code unconditional.
44563         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44565         * configure.in (libc_cv_fpie): Weaken to a compile test using
44566         LIBC_TRY_CC_OPTION.
44567         * configure: Regenerated.
44569 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44571         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
44572         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
44573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
44574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44575         Refreshed.
44576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
44577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
44578         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
44579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
44580         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
44581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44582         Refreshed.
44584 2012-05-27  David S. Miller  <davem@davemloft.net>
44586         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
44587         (___Q_zero): New.
44588         (__Q_simulate_exceptions): Return void.  Change to simulate
44589         exceptions by writing into the %fsr.
44590         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
44591         (__Qp_handle_exceptions): Likewise.
44592         (numbers): Delete.
44593         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
44594         __Qp_handle_exceptions.
44595         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
44596         __Qp_handle_exceptions.
44597         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44598         as unused and give dummy FP_RND_NEAREST initializer.
44599         (FP_INHIBIT_RESULTS): Define.
44600         (___Q_simulate_exceptions): Update declaration.
44601         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
44602         formatting.
44603         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44604         as unused and give dummy FP_RND_NEAREST initializer.
44605         (__Qp_handle_exceptions): Update declaration.
44606         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
44607         formatting.
44609 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
44611         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
44612         the temporary FPU control word.
44613         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
44614         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
44615         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
44616         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44617         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44618         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
44619         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
44620         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44621         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
44622         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
44623         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44625 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44627         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
44628         fields.
44630 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
44632         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
44633         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
44634         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
44635         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
44636         Likewise.
44637         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
44638         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
44639         Likewise.
44641 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
44643         * po/h.po: Update from translation team.
44645 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
44647         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
44649         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
44650         handling of denormals.
44651         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44652         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44653         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44654         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44655         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44656         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
44657         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
44658         Likewise.
44660 2012-05-26  Marek Polacek  <polacek@redhat.com>
44662         [BZ #14152]
44663         * math/libm-test.inc (fma_test): Don't always expect underflow
44664         exception.
44666 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44668         [BZ #12416]
44669         * elf/tst-execstack.c: Include stackinfo.h.
44670         (do_test): Adjust test case to ensure that pthread_getattr_np
44671         behaviour remains the same after marking stack executable.
44673 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
44675         * sysdeps/unix/sysv/linux/kernel-features.h
44676         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
44677         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
44678         kernel-features.h.
44679         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44680         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44681         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
44682         kernel-features.h.
44683         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44684         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44686 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
44688         * configure.in: Define the default includes to being none.
44689         * configure: Regenerated.
44691 2012-05-25  Roland McGrath  <roland@hack.frob.com>
44693         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
44694         * sysdeps/x86_64/setjmp.S: Likewise.
44695         * sysdeps/i386/bsd-setjmp.S: Likewise.
44696         * sysdeps/i386/bsd-_setjmp.S: Likewise.
44697         * sysdeps/i386/setjmp.S: Likewise.
44698         * sysdeps/i386/__longjmp.S: Likewise.
44699         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44700         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
44702         * include/stap-probe.h: New file.
44703         * configure.in: Handle --enable-systemtap.
44704         * configure: Regenerated.
44705         * config.h.in (USE_STAP_PROBE): New #undef.
44706         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
44707         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
44708         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
44710 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
44712         [BZ #13717]
44713         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44714         to 2.4.0 where earlier.
44715         * sysdeps/unix/sysv/linux/configure: Regenerated.
44716         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
44717         <kernel-features.h>.
44718         [__ASSUME_32BITUIDS]: Make code unconditional.
44719         [!__ASSUME_32BITUIDS]: Remove conditional code.
44720         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
44721         <kernel-features.h>.
44722         [__ASSUME_32BITUIDS]: Make code unconditional.
44723         [!__ASSUME_32BITUIDS]: Remove conditional code.
44724         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
44725         [__ASSUME_32BITUIDS]: Make code unconditional.
44726         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
44727         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
44728         <kernel-features.h>.
44729         [__ASSUME_32BITUIDS]: Make code unconditional.
44730         [!__ASSUME_32BITUIDS]: Remove conditional code.
44731         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
44732         <kernel-features.h>.
44733         [__ASSUME_32BITUIDS]: Make code unconditional.
44734         [!__ASSUME_32BITUIDS]: Remove conditional code.
44735         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
44736         <kernel-features.h>.
44737         [__ASSUME_32BITUIDS]: Make code unconditional.
44738         [!__ASSUME_32BITUIDS]: Remove conditional code.
44739         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
44740         <kernel-features.h>.
44741         [__ASSUME_32BITUIDS]: Make code unconditional.
44742         [!__ASSUME_32BITUIDS]: Remove conditional code.
44743         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
44744         <kernel-features.h>.
44745         [__ASSUME_32BITUIDS]: Make code unconditional.
44746         [!__ASSUME_32BITUIDS]: Remove conditional code.
44747         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
44748         <kernel-features.h>.
44749         [__ASSUME_32BITUIDS]: Make code unconditional.
44750         [!__ASSUME_32BITUIDS]: Remove conditional code.
44751         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
44752         <kernel-features.h>.
44753         [__ASSUME_32BITUIDS]: Make code unconditional.
44754         [!__ASSUME_32BITUIDS]: Remove conditional code.
44755         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
44756         <kernel-features.h>.
44757         [__ASSUME_32BITUIDS]: Make code unconditional.
44758         [!__ASSUME_32BITUIDS]: Remove conditional code.
44759         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
44760         <kernel-features.h>.
44761         [__ASSUME_32BITUIDS]: Make code unconditional.
44762         [!__ASSUME_32BITUIDS]: Remove conditional code.
44763         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
44764         <kernel-features.h>.
44765         [__ASSUME_32BITUIDS]: Make code unconditional.
44766         [!__ASSUME_32BITUIDS]: Remove conditional code.
44767         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
44768         <kernel-features.h>.
44769         [__NR_setresgid] (__setresgid): Do not declare.
44770         [__ASSUME_32BITUIDS]: Make code unconditional.
44771         [!__ASSUME_32BITUIDS]: Remove conditional code.
44772         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
44773         <kernel-features.h>.
44774         [__NR_setresuid] (__setresuid): Do not declare.
44775         [__ASSUME_32BITUIDS]: Make code unconditional.
44776         [!__ASSUME_32BITUIDS]: Remove conditional code.
44777         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
44778         <kernel-features.h>.
44779         [__ASSUME_32BITUIDS]: Make code unconditional.
44780         [!__ASSUME_32BITUIDS]: Remove conditional code.
44781         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
44782         <kernel-features.h>.
44783         [__ASSUME_32BITUIDS]: Make code unconditional.
44784         [!__ASSUME_32BITUIDS]: Remove conditional code.
44785         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
44786         <kernel-features.h>.
44787         [__ASSUME_32BITUIDS]: Make code unconditional.
44788         [!__ASSUME_32BITUIDS]: Remove conditional code.
44789         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
44790         <kernel-features.h>.
44791         [__ASSUME_32BITUIDS]: Make code unconditional.
44792         [!__ASSUME_32BITUIDS]: Remove conditional code.
44793         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
44794         <kernel-features.h>.
44795         [__ASSUME_32BITUIDS]: Make code unconditional.
44796         [!__ASSUME_32BITUIDS]: Remove conditional code.
44797         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
44798         <kernel-features.h>.
44799         [__ASSUME_32BITUIDS]: Make code unconditional.
44800         [!__ASSUME_32BITUIDS]: Remove conditional code.
44801         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
44802         <kernel-features.h>.
44803         [__ASSUME_32BITUIDS]: Make code unconditional.
44804         [!__ASSUME_32BITUIDS]: Remove conditional code.
44805         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
44806         <kernel-features.h>.
44807         [__ASSUME_32BITUIDS]: Make code unconditional.
44808         [!__ASSUME_32BITUIDS]: Remove conditional code.
44809         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
44810         <kernel-features.h>.
44811         [__ASSUME_32BITUIDS]: Make code unconditional.
44812         [!__ASSUME_32BITUIDS]: Remove conditional code.
44813         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
44814         <kernel-features.h>.
44815         [__ASSUME_32BITUIDS]: Make code unconditional.
44816         [!__ASSUME_32BITUIDS]: Remove conditional code.
44817         * sysdeps/unix/sysv/linux/kernel-features.h
44818         (__ASSUME_SETRESUID_SYSCALL): Remove.
44819         (__ASSUME_SETRESGID_SYSCALL): Likewise.
44820         (__ASSUME_32BITUIDS): Likewise.
44821         (__ASSUME_LDT_WORKS): Likewise.
44822         (__ASSUME_O_DIRECTORY): Likewise.
44823         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
44824         architecture but not kernel version.
44825         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
44826         (__ASSUME_MMAP2_SYSCALL): Likewise.
44827         (__ASSUME_STAT64_SYSCALL): Likewise.
44828         (__ASSUME_IPC64): Likewise.
44829         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
44830         <kernel-features.h>.
44831         [__ASSUME_32BITUIDS]: Make code unconditional.
44832         [!__ASSUME_32BITUIDS]: Remove conditional code.
44833         * sysdeps/unix/sysv/linux/opendir.c: Do not include
44834         <kernel-features.h>.
44835         [__ASSUME_O_DIRECTORY]: Make code unconditional.
44836         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
44837         132096]: Remove conditional code.
44838         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
44839         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
44840         <kernel-features.h>.
44841         [__ASSUME_32BITUIDS]: Make code unconditional.
44842         [!__ASSUME_32BITUIDS]: Remove conditional code.
44843         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
44844         <kernel-features.h>.
44845         [__ASSUME_32BITUIDS]: Make code unconditional.
44846         [!__ASSUME_32BITUIDS]: Remove conditional code.
44847         * sysdeps/unix/sysv/linux/setegid.c: Do not include
44848         <kernel-features.h>.
44849         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
44850         unconditional.
44851         (__setresgid): Do not declare.
44852         [__ASSUME_32BITUIDS]: Make code unconditional.
44853         [!__ASSUME_32BITUIDS]: Remove conditional code.
44854         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
44855         <kernel-features.h>.
44856         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
44857         unconditional.
44858         (__setresuid): Do not declare.
44859         [__ASSUME_32BITUIDS]: Make code unconditional.
44860         [!__ASSUME_32BITUIDS]: Remove conditional code.
44861         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
44862         <kernel-features.h>.
44863         [__ASSUME_32BITUIDS]: Make code unconditional.
44864         [!__ASSUME_32BITUIDS]: Remove conditional code.
44865         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
44866         <kernel-features.h>.
44867         [__ASSUME_32BITUIDS]: Make code unconditional.
44868         [!__ASSUME_32BITUIDS]: Remove conditional code.
44870 2012-05-25  Richard Henderson  <rth@twiddle.net>
44872         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
44873         dl_hwcap to ifunc resolver.
44874         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
44875         elf_ifunc_invoke.
44876         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
44877         dl_hwcap to ifunc resolver.
44878         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
44880 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
44882         [BZ #14153]
44883         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
44884         for |x| <= 2**-26, not 2**-57.
44885         * math/libm-test.inc (acos_test): Do not allow spurious underflow
44886         exception.
44888 2012-05-24  Jeff Law  <law@redhat.com>
44890         * stdio-common/Makefile (tests): Add bug25.
44891         * stdio-common/bug25.c: New test.
44893 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
44895         [BZ #13576]
44896         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
44897         multiple of MALLOC_ALIGNMENT in size.
44898         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
44900 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
44902         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
44903         Require >= 256.
44904         (FILENAME_MAX): Use macro-int-constant.
44905         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
44906         (_IOFBF): Use macro-int-constant.
44907         (_IOLBF): Likewise.
44908         (_IONBF): Likewise.
44909         (SEEK_CUR): Likewise.
44910         (SEEK_END): Likewise.
44911         (SEEK_SET): Likewise.
44912         (TMP_MAX): Likewise.
44913         (EOF): Use macro-int-constant.  Require < 0.
44914         (NULL): Use macro-constant.  Require == 0.
44915         (stdin): Require type to be FILE *.
44916         (stdout): Likewise.
44917         (stderr): Likewise.
44918         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
44919         macro-int-constant.
44920         (EXIT_SUCCESS): Likewise.
44921         (NULL): Use macro-constant.  Require == 0.
44922         (RAND_MAX): Use macro-int-constant.
44923         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
44924         [C99-based standards] (strtof): Require function.
44925         [C99-based standards] (strtold): Likewise.
44926         [C99-based standards] (strtoll): Likewise.
44927         [C99-based standards] (strtoull): Likewise.
44928         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44929         [ISO || ISO99 || ISO11] (limits.h): Likewise.
44930         [ISO || ISO99 || ISO11] (math.h): Likewise.
44931         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
44932         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44933         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44935 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
44937         [BZ #14132]
44938         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
44939         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
44940         * intl/dgettext.c (DCGETTEXT): Likewise.
44941         * intl/gettext.c (DCGETTEXT): Likewise.
44942         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
44943         * posix/regex_internal.h (gettext): Likewise.
44944         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
44945         Remove declaration.
44946         * include/argz.h (__argz_count_internal)
44947         (__argz_stringify_internal): Remove declaration.
44948         (__argz_count, __argz_stringify): Declare hidden proto.
44949         * intl/dcgettext.c: Remove use of INTDEF.
44950         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
44951         * string/argz-stringify.c: Likewise.
44952         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44953         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44954         Declare hidden proto.
44955         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44956         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44957         Declare hidden proto.
44958         * include/stdio.h (__asprintf_internal): Don't declare.
44959         (__asprintf): Don't define as macro.  Declare hidden proto.
44960         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
44961         (__fsetlocking): Declare hidden proto.
44962         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
44963         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
44964         hidden proto.
44965         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
44966         (_IO_setlinebuf): Remove use of INTUSE.
44967         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
44968         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
44969         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
44970         Remove declaration.
44971         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
44972         (_IO_do_flush): Remove use of INTUSE.
44973         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
44974         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
44975         (_IO_adjust_column, _IO_least_wmarker)
44976         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
44977         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
44978         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
44979         (_IO_default_doallocate, _IO_wdefault_doallocate)
44980         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
44981         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
44982         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
44983         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
44984         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
44985         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
44986         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
44987         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
44988         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
44989         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
44990         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
44991         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
44992         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
44993         proto.
44994         (_IO_flush_all_internal, _IO_adjust_column_internal)
44995         (_IO_default_uflow_internal, _IO_default_finish_internal)
44996         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
44997         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
44998         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
44999         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
45000         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
45001         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
45002         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
45003         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
45004         (_IO_file_close_internal, _IO_file_close_it_internal)
45005         (_IO_file_underflow_internal, _IO_file_overflow_internal)
45006         (_IO_file_init_internal, _IO_file_attach_internal)
45007         (_IO_file_fopen_internal, _IO_file_read_internal)
45008         (_IO_file_sync_internal, _IO_file_seek_internal)
45009         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
45010         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
45011         (_IO_str_underflow_internal, _IO_str_overflow_internal)
45012         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
45013         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
45014         (_IO_list_all_internal, _IO_link_in_internal)
45015         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
45016         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
45017         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
45018         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
45019         (_IO_do_write_internal, _IO_padn_internal)
45020         (_IO_getline_info_internal, _IO_getline_internal)
45021         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
45022         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
45023         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
45024         (_IO_vfscanf_internal, _IO_vfprintf_internal)
45025         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
45026         (_IO_init_internal, _IO_un_link_internal): Don't declare.
45027         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
45028         with libc_hidden_ver, remove use of INTUSE.
45029         * libio/genops.c: Likewise.
45030         * libio/freopen.c: Likewise.
45031         * libio/freopen64.c: Likewise.
45032         * libio/iofclose.c: Likewise.
45033         * libio/iofdopen.c: Likewise.
45034         * libio/iofflush.c: Likewise.
45035         * libio/iofflush_u.c: Likewise.
45036         * libio/iofgets.c: Likewise.
45037         * libio/iofgets_u.c: Likewise.
45038         * libio/iofopen.c: Likewise.
45039         * libio/iofopncook.c: Likewise.
45040         * libio/iofread.c: Likewise.
45041         * libio/iofread_u.c: Likewise.
45042         * libio/ioftell.c: Likewise.
45043         * libio/iofwrite.c: Likewise.
45044         * libio/iogetline.c: Likewise.
45045         * libio/iogets.c: Likewise.
45046         * libio/iogetwline.c: Likewise.
45047         * libio/iopadn.c: Likewise.
45048         * libio/iopopen.c: Likewise.
45049         * libio/ioseekoff.c: Likewise.
45050         * libio/ioseekpos.c: Likewise.
45051         * libio/iosetbuffer.c: Likewise.
45052         * libio/iosetvbuf.c: Likewise.
45053         * libio/ioungetc.c: Likewise.
45054         * libio/ioungetwc.c: Likewise.
45055         * libio/iovdprintf.c: Likewise.
45056         * libio/iovsprintf.c: Likewise.
45057         * libio/iovsscanf.c: Likewise.
45058         * libio/memstream.c: Likewise.
45059         * libio/obprintf.c: Likewise.
45060         * libio/oldfileops.c: Likewise.
45061         * libio/oldiofclose.c: Likewise.
45062         * libio/oldiofdopen.c: Likewise.
45063         * libio/oldiofopen.c: Likewise.
45064         * libio/oldiopopen.c: Likewise.
45065         * libio/oldstdfiles.c: Likewise.
45066         * libio/putc.c: Likewise.
45067         * libio/setbuf.c: Likewise.
45068         * libio/setlinebuf.c: Likewise.
45069         * libio/stdfiles.c: Likewise.
45070         * libio/strops.c: Likewise.
45071         * libio/vasprintf.c: Likewise.
45072         * libio/vscanf.c: Likewise.
45073         * libio/vsnprintf.c: Likewise.
45074         * libio/vswprintf.c: Likewise.
45075         * libio/wfiledoalloc.c: Likewise.
45076         * libio/wfileops.c: Likewise.
45077         * libio/wgenops.c: Likewise.
45078         * libio/wmemstream.c: Likewise.
45079         * libio/wstrops.c: Likewise.
45080         * libio/__fpurge.c: Likewise.
45081         * libio/__fsetlocking.c: Likewise.
45082         * assert/assert.c: Likewise.
45083         * debug/fgets_chk.c: Likewise.
45084         * debug/fgets_u_chk.c: Likewise.
45085         * debug/fread_chk.c: Likewise.
45086         * debug/fread_u_chk.c: Likewise.
45087         * debug/gets_chk.c: Likewise.
45088         * debug/obprintf_chk.c: Likewise.
45089         * debug/vasprintf_chk.c: Likewise.
45090         * debug/vdprintf_chk.c: Likewise.
45091         * debug/vsnprintf_chk.c: Likewise.
45092         * debug/vsprintf_chk.c: Likewise.
45093         * malloc/mtrace.c: Likewise.
45094         * misc/error.c: Likewise.
45095         * misc/syslog.c: Likewise.
45096         * stdio-common/asprintf.c: Likewise.
45097         * stdio-common/fxprintf.c: Likewise.
45098         * stdio-common/getw.c: Likewise.
45099         * stdio-common/isoc99_fscanf.c: Likewise.
45100         * stdio-common/isoc99_scanf.c: Likewise.
45101         * stdio-common/isoc99_vfscanf.c: Likewise.
45102         * stdio-common/isoc99_vscanf.c: Likewise.
45103         * stdio-common/isoc99_vsscanf.c: Likewise.
45104         * stdio-common/printf-prs.c: Likewise.
45105         * stdio-common/printf_fp.c: Likewise.
45106         * stdio-common/printf_fphex.c: Likewise.
45107         * stdio-common/printf_size.c: Likewise.
45108         * stdio-common/putw.c: Likewise.
45109         * stdio-common/scanf.c: Likewise.
45110         * stdio-common/sprintf.c: Likewise.
45111         * stdio-common/tmpfile.c: Likewise.
45112         * stdio-common/vfprintf.c: Likewise.
45113         * stdio-common/vfscanf.c: Likewise.
45114         * stdlib/strfmon_l.c: Likewise.
45115         * sunrpc/openchild.c: Likewise.
45116         * sunrpc/xdr_stdio.c: Likewise.
45117         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
45118         * sysdeps/mach/hurd/tmpfile.c: Likewise.
45120 2012-05-24  Roland McGrath  <roland@hack.frob.com>
45122         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45124         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
45125         in the third column, to generate for the shared library an IFUNC
45126         that uses _dl_vdso_vsym.
45127         * Makerules (COMPILE.c, compile-stdin.c): New variables.
45128         * Makeconfig (object-suffixes-noshared): New variable.
45130         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
45131         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
45132         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
45133         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
45135         [BZ #14132]
45136         * include/sys/time.h (__gettimeofday): Remove macro.
45137         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
45138         * time/gettimeofday.c (__gettimeofday): Remove #undef.
45139         Remove INTDEF.
45140         (__gettimeofday): Add libc_hidden_def.
45141         (gettimeofday): Add libc_hidden_weak.
45142         * sysdeps/mach/gettimeofday.c: Likewise.
45143         * sysdeps/posix/gettimeofday.c: Likewise.
45144         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
45145         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
45146         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
45147         (__gettimeofday_internal): Remove strong_alias.
45148         (__gettimeofday): Add libc_hidden_def.
45149         (gettimeofday): Add libc_hidden_weak.
45150         * sysdeps/unix/syscalls.list (gettimeofday):
45151         Remove __gettimeofday_internal alias.
45153 2012-05-24  Daniel Jacobowitz  <drow@false.org>
45154             H.J. Lu  <hongjiu.lu@intel.com>
45156         [BZ #12495]
45157         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
45158         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
45159         (largebin_index_32_big): New.
45160         (largebin_index): Use it for 16-byte alignment.
45161         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
45162         correction with front_misalign.
45164 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
45166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
45167         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45168         Likewise.
45169         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
45170         Likewise.
45171         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
45172         Likewise.
45173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
45174         Likewise.
45175         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
45176         Likewise.
45177         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
45178         Likewise.
45179         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
45180         Likewise.
45181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45182         Likewise.
45183         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
45184         Likewise.
45185         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
45186         Likewise.
45187         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
45188         Likewise.
45189         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
45190         Likewise.
45192         * scripts/data/c++-types-x32-linux-gnu.data: New file.
45193         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
45195 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
45197         [BZ #10846]
45198         [BZ #14036]
45199         * math/libm-test.inc (exp_test): Add test from bug 14036.
45200         (pow_test): Add test from bug 10846.
45202         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
45203         and other flags.
45204         (special_function): Do not include flags in test name.
45205         (parse_args): Likewise.
45206         * sysdeps/i386/fpu/libm-test-ulps: Update.
45207         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45208         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45209         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45212         * math/gen-libm-test.pl (%beautify): Add entries for underflow
45213         exceptions.
45214         * math/libm-test.inc ("Philosophy"): Update comment about
45215         exception testing.
45216         (UNDERFLOW_EXCEPTION): New macro.
45217         (UNDERFLOW_EXCEPTION_OK): Likewise.
45218         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
45219         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
45220         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
45221         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
45222         (INVALID_EXCEPTION_OK): Update value.
45223         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45224         (OVERFLOW_EXCEPTION_OK): Likewise.
45225         (IGNORE_ZERO_INF_SIGN): Likewise.
45226         (test_exceptions): Handle underflow exceptions.
45227         (acos_test): Update for underflow exception expectations.
45228         (cexp_test): Likewise.
45229         (clog_test): Likewise.
45230         (clog10_test): Likewise.
45231         (csqrt_test): Likewise.
45232         (ctan_test): Likewise.
45233         (ctanh_test): Likewise.
45234         (exp_test): Likewise.
45235         (exp10_test): Likewise.
45236         (exp2_test): Likewise.
45237         (expm1_test): Likewise.
45238         (fma_test): Likewise.
45239         (j0_test): Likewise.
45240         (jn_test): Likewise.
45241         (nexttoward_test): Likewise.
45242         (pow_test): Likewise.
45243         (scalbn_test): Likewise.
45244         (scalbln_test): Likewise.
45245         (tan_test): Likewise.
45246         (y1_test): Likewise.
45247         * sysdeps/i386/fpu/libm-test-ulps: Update.
45248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45250 2012-05-23  David S. Miller  <davem@davemloft.net>
45252         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45253         (__libc_sigaction): Remove unused local variables.
45255 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45257         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
45259 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
45261         mktime: avoid signed integer overflow
45262         * time/mktime.c (__mktime_internal): Do not mishandle the case
45263         where diff == INT_MIN.
45265         mktime: simplify computation of average
45266         * time/mktime.c (ranged_convert): Use new time_t_avg function
45267         instead of rolling our own (probably-slower) code.
45269         mktime: do not assume signed right shift propagates sign bit
45270         * time/mktime.c (isdst_differ): New static function.
45271         (__mktime_internal): No need to normalize tm_isdst now.
45272         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
45273         tm_isdst values.
45275         mktime: merge another wrapv change from gnulib
45276         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
45277         from some compilers.
45279         mktime: remove incorrect attempt at unusual arithmetics
45280         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
45281         The code didn't really work on such machines anyway.
45282         (TYPE_MINIMUM): Assume two's complement.
45283         (twos_complement_arithmetic): Verify that long_int and time_t
45284         are two's complement (or unsigned, in the latter case).
45286         mktime: check signed shifts on long_int and time_t, too
45287         * time/mktime.c (SHR): Check that shifts work as desired
45288         on the types long_int and time_t too, as SHR is used on
45289         such types.
45291         mktime: do not assume 'long' is wide enough
45292         * time/mktime.c (verify): Move decl up.
45293         (long_int): New type.
45294         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
45295         to remove assumption in the code that 'long' is wide enough to
45296         store year values.  This assumption is not true on x32 and on
45297         some non-glibc platforms.
45299         mktime: merge wrapv change from gnulib
45300         * time/mktime.c (WRAPV): New macro.
45301         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
45302         (guess_time_tm, __mktime_internal): Do not assume that signed
45303         integer overflow wraps around; modern compilers generate code
45304         where this assumption is no longer valid.
45306 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45308         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45309         Replace "jmp L(pseudo_end)" with "ret".
45310         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
45311         Likewise.
45313 2012-05-23  Andreas Jaeger  <aj@suse.de>
45315         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
45316         * sysdeps/unix/sysv/linux/poll.c: Remove file.
45318 2012-05-23  Andreas Jaeger  <aj@suse.de>
45319             Maximilian Attems  <max@stro.at>
45321         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
45322         New macros.
45324 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45326         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
45327         code so that pseudo_end is just ret and the stack pointer is
45328         correct also for static library in error case.
45330 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
45332         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
45333         move to syscalls.list.
45334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45339         * manual/install.texi (Running make install): Do not mention Linux
45340         kernel version for which pt_chown is not needed.
45341         (Linux): Do not mention problems with nscd with 2.0 kernels.
45342         * INSTALL: Regenerated.
45344 2012-05-23  Andreas Jaeger  <aj@suse.de>
45346         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
45347         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
45348         macro.
45349         * sysdeps/unix/sysv/linux/s390/bits/mman.h
45350         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45351         * sysdeps/unix/sysv/linux/sh/bits/mman.h
45352         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45353         * sysdeps/unix/sysv/linux/i386/bits/mman.h
45354         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45355         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
45356         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45357         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
45358         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45359         * sysdeps/unix/sysv/linux/bits/in.h
45360         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
45362 2012-05-22  Roland McGrath  <roland@hack.frob.com>
45364         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
45365         (PREPARE_VERSION): Just use assert instead, it will be elided
45366         under [NDEBUG] anyway.
45368 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45370         * sysdeps/unix/sysv/linux/Makefile: Include
45371         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
45372         (sysdep_routines): Remove sysctl.
45373         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
45374         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
45375         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
45376         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
45377         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
45379 2012-05-22  Andreas Jaeger  <aj@suse.de>
45381         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
45382         that pseudo_end is just ret and the stack pointer is correct also
45383         for static library in error case.
45385 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
45387         [BZ #14122]
45388         * nss/nsswitch.c (defconfig_entries): New variable.
45389         (__nss_database_lookup): Don't leak defconfig entries.
45390         (nss_parse_service_list): Don't leak on error paths.
45391         (free_database_entries): New function.
45392         (free_defconfig): New function.
45393         (free_mem): Move common code to free_database_entries.
45395 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45397         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
45398         Add arch_prctl.
45399         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
45401         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
45402         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
45403         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
45404         New macro.
45405         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
45406         (INTERNAL_SYSCALL_TYPES): Likewise.
45407         (LOAD_ARGS_TYPES_[1-6]): Likewise.
45408         (LOAD_REGS_TYPES_[1-6]): Likewise.
45409         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
45410         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
45412 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45414         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
45415         copysignl for GLIBC_2_0.
45416         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
45417         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
45418         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
45419         logbl for GLIBC_2_0.
45420         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
45421         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
45423 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45425         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
45426         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
45428         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45429         Use "neg %eax".
45431         * time/mktime.c: Update copyright years.
45433 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
45435         mktime: merge comment-quoting-style change from gnulib
45436         * time/mktime.c: Quote 'like this' in comments.
45437         The GNU coding standards suggest that we no longer quote `like this',
45438         as "`" and "'" are typically rendered asymmetrically nowadays.
45439         The typical gnulib style is to quote 'like this' when quoting
45440         code, and "like this" when quoting English.
45442         * time/mktime.c (compile-command): Add "-I.".
45444         mktime: merge mktime-internal.h change from gnulib
45445         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
45447         mktime: merge time_r change from gnulib
45448         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
45450         mktime: merge DEBUG change from gnulib
45451         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
45452         case system <time.h> has a #define.
45454         mktime: merge <sys/types.h> change from gnulib
45455         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
45456         since <time.t> is now guaranteed to define time_t.
45458         mktime: merge HAVE_CONFIG_H change from gnulib
45459         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
45461 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45463         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45464         Use "neg %eax".
45466         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
45467         __rlim_t cast.
45468         (struct rusage): Use anonymous union to pad each field to
45469         __syscall_slong_t.
45471 2012-05-21  David S. Miller  <davem@davemloft.net>
45473         * Makefules (o-iterator): Remove .s cases.
45474         (compile-command.s): Delete.
45475         (COMPILE.s): Delete.
45476         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
45478 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
45480         * configure.in (libc_cv_predef_stack_protector): Only consider
45481         "foobar" and "__stack_chk_fail" lines in libc_undefs.
45482         * configure: Regenerated.
45484 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
45486         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45487         New macro.  Use R*LP on int and pointer.
45488         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
45489         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
45490         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
45491         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
45493         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
45494         [__WORDSIZE_TIME64_COMPAT32] instead of
45495         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
45496         (struct utmp): Likewise.
45497         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
45498         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
45499         Renamed to ...
45500         (__WORDSIZE_TIME64_COMPAT32): This.
45501         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
45502         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
45503         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
45504         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
45505         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
45506         (__WORDSIZE_TIME64_COMPAT32): New macro.
45508 2012-05-21  Andreas Jaeger  <aj@suse.de>
45510         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
45511         only if [SHARED]. Add prototype for __wcschr_ia32.
45513 2012-05-21  Roland McGrath  <roland@hack.frob.com>
45515         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
45516         of %rbp unmolested in the jmp_buf while mangling the low bits.
45517         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
45518         unmolested high bits of %rbp while demangling the low bits.
45519         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45521 2012-05-21  Andreas Jaeger  <aj@suse.de>
45523         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
45524         * sunrpc/svc_simple.c: Use it for registerrpc.
45525         * sunrpc/xcrypt.c: Use it for passwd2des.
45527         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
45529 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
45531         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
45532         Don't define if [__SYSCALL_WORDSIZE != 32].
45533         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
45534         New macro.
45536 2012-05-21  Bruno Haible  <bruno@clisp.org>
45537             Andreas Jaeger  <aj@suse.de>
45539         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
45540         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
45541         inptr and inend for must_buffer_ch.
45542         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
45543         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
45544         * stdio-common/Makefile (tests): Remove bug15.
45545         (bug15-ENV): Remove macro.
45546         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
45547         anymore.
45549 2012-05-19  Andreas Jaeger  <aj@suse.de>
45550             Roland McGrath  <roland@hack.frob.com>
45552         * manual/contrib.texi: Completely rewritten. It contains now an
45553         alphabetical list of contributors and their contributions.
45555 2012-05-21  Richard Henderson  <rth@twiddle.net>
45557         * misc/getauxval.c (__getauxval): Use unsigned long int.
45558         * misc/sys/auxv.h: Include <sys/cdefs.h>.
45559         (getauxval): Use unsigned long int.
45561 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
45563         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45565 2012-05-21  Roland McGrath  <roland@hack.frob.com>
45567         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
45568         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
45569         __alignof__ (long double).
45571 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45575 2012-05-20  Richard Henderson  <rth@twiddle.net>
45577         * misc/getauxval.c: New file.
45578         * misc/sys/auxv.h: New file.
45579         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
45580         (routines): Add getauxval.
45581         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
45582         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
45583         * elf/dl-sysdep.c (_dl_auxv): Remove.
45584         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
45585         * elf/dl-support.c (_dl_auxv): New variable.
45586         (_dl_aux_init): Initialize it.
45587         * manual/startup.texi (Auxiliary Vector): New node.
45588         * sysdeps/generic/bits/hwcap.h: New file.
45589         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
45590         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
45591         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
45592         * sysdeps/sparc/sysdep.h: ... here.  Include it.
45593         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
45594         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
45595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45596         Update.
45597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
45598         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
45599         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
45600         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
45601         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45602         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45603         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
45604         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
45606 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45610 2012-05-19  David S. Miller  <davem@davemloft.net>
45612         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45614 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
45616         [BZ #14123]
45617         * math/s_ccosh.c: Include <float.h>
45618         (__ccosh): Avoid internal overflow calculating sinh and cosh
45619         values before multiplying by sin and cos values.
45620         * math/s_ccoshf.c: Likewise.
45621         * math/s_ccoshl.c: Likewise.
45622         * math/s_csin.c: Likewise.
45623         * math/s_csinf.c: Likewise.
45624         * math/s_csinl.c: Likewise.
45625         * math/s_csinh.c: Likewise.
45626         * math/s_csinhf.c: Likewise.
45627         * math/s_csinhl.c: Likewise.
45628         * math/libm-test.inc (ccos_test): Add more tests.
45629         (ccosh_test): Likewise.
45630         (csin_test): Likewise.
45631         (csinh_test): Likewise.
45632         * sysdeps/i386/fpu/libm-test-ulps: Update.
45633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45635 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
45637         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
45638         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
45640         * sysdeps/x86_64/x32/_itoa.h: Add comment.
45642 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
45644         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
45645         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
45646         * sysdeps/powerpc/soft-fp/Versions: Likewise.
45647         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
45648         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
45649         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
45650         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
45651         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
45652         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
45653         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
45654         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
45655         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
45656         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
45657         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
45658         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
45659         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
45660         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
45661         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
45662         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
45663         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
45664         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
45665         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
45666         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
45667         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
45668         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
45669         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
45670         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
45671         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
45672         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
45673         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
45674         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
45676 2012-05-18  Andreas Jaeger  <aj@suse.de>
45678         * csu/.gitignore: Delete.
45680 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
45682         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
45683         (timex): Use __syscall_slong_t.
45685 2012-05-18  Andreas Jaeger  <aj@suse.de>
45686             Carlos O'Donell  <carlos_odonell@mentor.com>
45688         * manual/install.texi (Configuring and compiling): Update
45689         description about files modified in the source directory.
45690         * INSTALL: Regenerated.
45692 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
45694         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
45695         value.  Use "or" to set return value to -1.
45696         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
45697         negate return value.
45699 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45701         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
45702         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
45703         failure if the compiler has Graphite support disabled.
45704         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
45705         Likewise.
45706         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
45707         (CFLAGS-memmove.c): Likewise.
45708         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
45709         Likewise.
45711 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
45713         * sysdeps/x86_64/x32/_itoa.h: New file.
45715         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
45716         getdents system call only if kernel and user dirents have the
45717         same d_ino and d_off.
45719         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45720         LLONG_MAX != LONG_MAX.
45721         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45722         (_fitoa_word): Likewise.
45724         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
45725         years.
45726         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
45727         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
45728         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
45730         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
45731         include <bits/wordsize.h>.  Check __x86_64__ instead of
45732         __WORDSIZE.
45733         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
45734         if __x86_64__ is defined.  Use anonymous union on fpstate.
45736         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
45737         anonymous union.
45739 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
45741         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
45742         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
45743         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
45744         Refer to _rtld_local_ro instead of _rtld_global_ro.
45745         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
45746         Likewise.
45747         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
45748         Likewise.
45749         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
45750         Likewise.
45751         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
45752         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
45753         of _rtld_global, and rtld_progname instead of _dl_argv[0].
45755         * sysdeps/powerpc/powerpc32/dl-machine.c
45756         (__elf_machine_runtime_setup) [PROF]: Don't reference
45757         _dl_prof_resolve.
45759 2012-05-18  Andreas Jaeger  <aj@suse.de>
45761         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
45762         function only available for GCCs before 3.4 since GCC 3.4
45763         introduced a builtin.
45764         (lrint): Likewise.
45765         (llrintf): Likewise.
45766         (llrint): Likewise.
45767         (fmaxf): Likewise.
45768         (fmax): Likewise.
45769         (fminf): Likewise.
45770         (fmin): Likewise.
45771         (rint): Likewise.
45772         (rintf): Likewise.
45773         (nearbyint): Likewise.
45774         (nearbyintf): Likewise.
45775         (ceil): Likewise.
45776         (ceilf): Likewise.
45777         (floor): Likewise.
45778         (floorf): Likewise.
45780 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45782         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
45783         on both fields and cast pointer to __syscall_ulong_t.
45785         * bits/types.h (__fsword_t): New type.
45786         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
45787         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
45788         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45789         (__FSWORD_T_TYPE): Likewise.
45790         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45791         (__FSWORD_T_TYPE): Likewise.
45792         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45793         (__FSWORD_T_TYPE): Likewise.
45794         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
45795         (__FSWORD_T_TYPE): Likewise.
45796         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
45797         __SWORD_TYPE with __fsword_t.
45798         (statfs64): Likewise.
45800 2012-05-17  David S. Miller  <davem@davemloft.net>
45802         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
45804 2012-05-17  Andreas Jaeger  <aj@suse.de>
45806         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
45807         warning.
45809 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45811         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
45813 2012-05-17  Andreas Jaeger  <aj@suse.de>
45815         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
45816         when it is used.
45818 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
45820         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
45822 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45824         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
45825         * sysdeps/x86_64/tst-mallocalign1.c: New file.
45827 2012-05-17  Andreas Jaeger  <aj@suse.de>
45828             Carlos O'Donell  <carlos_odonell@mentor.com>
45830         [BZ #14059]
45831         * sysdeps/x86_64/multiarch/init-arch.h
45832         (bit_YMM_Usable): Rename to...
45833         (bit_AVX_Usable): ... this.
45834         (bit_FMA4_Usable): New macro.
45835         (bit_XMM_state): New macro.
45836         (bit_YMM_state): New macro.
45837         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
45838         [__ASSEMBLER__] (index_AVX_Usable): ... this.
45839         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
45840         (CPUID_OSXSAVE): New macro.
45841         (CPUID_AVX): New macro.
45842         (CPUID_FMA4): New macro.
45843         (index_YMM_Usable): Rename to...
45844         (index_AVX_Usable): ... this.
45845         (HAS_AVX): Use HAS_ARCH_FEATURE.
45846         (HAS_FMA4): Likewise.
45847         (HAS_YMM_USABLE): Remove.
45848         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45849         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
45850         are present.
45851         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
45852         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
45853         * sysdeps/x86_64/multiarch/Makefile: Likewise.
45854         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
45855         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
45857 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
45859         * math/libm-test.c: Support platforms without multiple rounding modes.
45860         * math/bug-nextafter.c: Support platforms without FP exceptions.
45861         * math/bug-nexttoward.c: Likewise.
45862         * math/test-fenv.c: Likewise.
45863         * math/test-misc.c: Likewise.
45864         * stdlib/bug-getcontext.c: Likewise.
45866 2012-05-17  Andreas Jaeger  <aj@suse.de>
45868         * manual/examples/search.c (critter_cmp): Change signature to
45869         avoid warnings.
45870         * manual/string.texi (Collation Functions): Likewise.
45872 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45874         * bits/types.h: Fold copyright years.
45875         * bits/typesizes.h: Likewise.
45876         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
45877         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45878         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
45879         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
45880         * time/time.h: Likewise.
45882 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
45884         [BZ #208]
45885         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
45886         in instead of returning them.  Return void.
45887         (__libc_mallinfo): Accumulate over all arenas.
45888         (__malloc_stats): Adjust for change in int_mallinfo interface.
45890 2012-05-16  Roland McGrath  <roland@hack.frob.com>
45892         [BZ #10375]
45893         * configure.in (NM): Add AC_CHECK_TOOL for it.
45894         (libc_extra_cflags): New substituted variable.
45895         Check for -fstack-protector being used implicitly.
45896         * configure: Regenerated.
45897         * config.make.in (config-extra-cflags): New variable,
45898         gets @libc_extra_cflags@.
45899         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
45901         [BZ #10375]
45902         * configure.in: Check for _FORTIFY_SOURCE being predefined.
45903         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
45904         * configure: Regenerated.
45905         * config.make.in (CPPUNDEFS): New substituted variable.
45906         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
45907         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
45908         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
45910 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45912         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
45913         (mq_attr): Use __syscall_slong_t.
45915 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45917         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
45918         Check __x86_64__ instead of __WORDSIZE.
45919         (_STAT_VER_LINUX): Likewise.
45920         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
45921         __syscall_ulong_t and __syscall_slong_t.
45922         (stat64): Likewise.
45924 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45926         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
45928 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45930         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
45932 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45934         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
45935         __syscall_ulong_t.
45937         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
45938         include <bits/wordsize.h>.  Check __x86_64__ instead of
45939         __WORDSIZE.
45940         (greg_t): Use "__extension__ long long int" if __x86_64__ is
45941         defined.
45942         (mcontext_t): Replace "unsigned long" with "unsigned long long".
45944         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
45945         include <bits/wordsize.h>.  Check __x86_64__ instead of
45946         __WORDSIZE.
45947         (user_regs_struct): Use "__extension__ unsigned long long"
45948         instead of "unsigned long" if __x86_64__ is defined.
45949         (user): Likewise.  Pad after pointer field if __ILP32__ is
45950         defined.
45952 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
45954         * configure.in (makeinfo): Require version 4.5 or later.  Allow
45955         versions 5 to 9.
45956         * configure: Regenerated.
45957         * manual/install.texi (texinfo): Increase version requirement to
45958         4.5 or later.
45959         * INSTALL: Regenerated.
45961         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
45963 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45965         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
45967         * sysdeps/x86_64/x32/ffs.c: New file.
45969         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
45970         __syscall_ulong_t.
45971         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
45972         defined.  Use __syscall_ulong_t.
45973         (shminfo): Use __syscall_ulong_t.
45974         (shm_info): Likewise.
45976         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
45977         __syscall_ulong_t.
45979         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
45980         <bits/wordsize.h>.
45981         (msgqnum_t): Use __syscall_ulong_t.
45982         (msglen_t): Likewise.
45983         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
45984         __syscall_ulong_t.
45986         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
45987         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
45989         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
45991         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
45992         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
45994         * sysvipc/sys/msg.h (msgbuf): Replace long int with
45995         __syscall_slong_t.
45997         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
45998         include <bits/wordsize.h>.  Check __x86_64__ instead of
45999         __WORDSIZE.
46001         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
46002         "unsigned long long int" if __x86_64__ is defined.
46003         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
46005         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
46006         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
46007         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
46009         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
46010         <stdint.h>.
46011         (GET_PC): Cast to uintptr_t first.
46012         (GET_FRAME): Likewise.
46013         (GET_STACK): Likewise.
46015         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
46016         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
46017         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
46018         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
46019         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
46020         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
46021         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
46022         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
46023         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
46024         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
46025         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
46026         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
46027         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46028         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
46029         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
46030         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
46031         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
46032         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
46033         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
46034         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
46035         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
46036         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
46037         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
46038         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
46039         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
46040         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
46041         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
46042         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
46043         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
46045 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
46047         * Makerules (+depfiles): Also collect depfiles from .oS in
46048         $(extra-objs).
46049         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
46050         .oS, $(libnldbl-routines)).
46052         * Makerules (native-compile-mkdep-flags): Define.
46053         * sunrpc/Makefile (extra-objs): Add $(addprefix
46054         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
46055         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
46056         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
46057         calling $(make-target-directory).
46059 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46061         * bits/types.h (__snseconds_t): Removed.
46062         * time/time.h (struct timespec): Replace __snseconds_t with
46063         __syscall_slong_t.
46064         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
46065         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
46066         Likewise.
46067         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46068         (__SNSECONDS_T_TYPE): Likewise.
46069         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46070         (__SNSECONDS_T_TYPE): Likewise.
46071         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46072         (__SNSECONDS_T_TYPE): Likewise.
46074 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46076         * sysdeps/mach/hurd/bits/typesizes.h
46077         (__SYSCALL_SLONG_TYPE): New macro.
46078         (__SYSCALL_ULONG_TYPE): Likewise.
46080 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46082         * bits/types.h (__syscall_slong_t): New type.
46083         (__syscall_ulong_t): Likewise.
46085         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
46086         (__SYSCALL_ULONG_TYPE): Likewise.
46087         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46088         (__SYSCALL_SLONG_TYPE): Likewise.
46089         (__SYSCALL_ULONG_TYPE): Likewise.
46090         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46091         (__SYSCALL_SLONG_TYPE): Likewise.
46092         (__SYSCALL_ULONG_TYPE): Likewise.
46093         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46094         (__SYSCALL_SLONG_TYPE): Likewise.
46095         (__SYSCALL_ULONG_TYPE): Likewise.
46097 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46099         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
46100         Add sigaltstack-offsets.sym.
46101         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
46102         <sigaltstack-offsets.h>.
46103         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
46104         longjmp_msg pointer.
46105         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
46106         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
46107         signal stack.
46108         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
46110 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
46112         * elf/stackguard-macros.h: Remove file.
46113         * sysdeps/generic/stackguard-macros.h: New file.
46114         * sysdeps/i386/stackguard-macros.h: Likewise.
46115         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46116         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46117         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46118         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46119         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46120         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46121         * sysdeps/x86_64/stackguard-macros.h: Likewise.
46122         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
46123         <elf/stackguard-macros.h>.
46125         [BZ #14109]
46126         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
46127         __aligned__ in attribute.
46128         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
46129         (gregset_t): Likewise.
46131 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46133         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
46134         * sysdeps/x86_64/64/Implies-after: Here.  New file.
46135         * sysdeps/x86_64/x32/Implies-after: New file.
46137 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46139         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
46140         and access return value for _dl_profile_fixup.  Use R10_LP to
46141         load frame size.
46143 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46145         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
46147 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46149         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
46150         * sysdeps/x86_64/x32/sysdep.h: New file.
46152 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46154         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
46155         * sysdeps/x86_64/setjmp.S: Likewise.
46157 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46159         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
46160         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
46161         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
46162         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
46163         remove unused global constant.
46165 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
46167         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
46168         include of <not-cancel.h>.
46170 2012-05-15  Roland McGrath  <roland@hack.frob.com>
46172         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
46174 2012-05-15  Jeff Law  <law@redhat.com>
46175             Andreas Jaeger  <aj@suse.de>
46177         [BZ #13594]
46178         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
46179         out from...
46180         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
46181         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
46182         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
46183         code changing __hst_map_handle.map.
46185 2012-05-15  Roland McGrath  <roland@hack.frob.com>
46187         * configure.in (sysnames): Look for Implies-before and Implies-after
46188         files.
46189         * configure: Regenerated.
46191 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46193         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
46194         8-byte data alignment with LP_SIZE alignment.
46196 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46198         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
46199         into R10_LP.
46201 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46203         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
46205 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46207         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
46208         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
46209         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
46210         Likewise.
46211         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46213 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46215         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
46216         (stackinfo_sub_sp): Likewise.
46218 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46220         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
46221         RAX_LP.
46223 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46225         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
46226         into R*_LP.
46228 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46230         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
46231         sizes into R*_LP.
46233 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46235         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
46237 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46239         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
46240         into R11_LP and load __x86_64_shared_cache_size_half into
46241         R8_LP.
46243 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46245         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
46246         R8_LP.
46248 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46250         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
46251         logb for POWER7.
46252         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
46253         logbf for POWER7.
46254         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
46255         logbl for POWER7.
46256         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
46257         powerpc32/power7/fpu/s_logb.c via #include.
46258         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
46259         powerpc32/power7/fpu/s_logbf.c via #include.
46260         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
46261         powerpc32/power7/fpu/s_logbl.c via #include.
46263 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
46265         * README.libm: Remove file.
46267 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46269         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
46270         count for x32.  Use R*_LP and omit operand-size suffix.
46272 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46274         * shlib-versions: Move x86_64-.*-linux.* entries to ...
46275         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
46276         * sysdeps/x86_64/x32/shlib-versions: New file.
46278 2012-05-14  Roland McGrath  <roland@hack.frob.com>
46280         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
46281         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
46282         Use _dl_fatal_printf instead.
46284 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
46286         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
46287         set if not set by the user.  Do not allow for being unset.
46288         * sysdeps/unix/sysv/linux/configure: Regenerated.
46290 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46292         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
46293         the `q' suffix from lea and replace .quad with ASM_ADDR.
46295 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46297         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
46298         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
46299         instead of $17.
46300         (PTR_DEMANGLE): Likewise.
46302 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46304         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
46305         (LP_OP): Likewise.
46306         (ASM_ADDR): Likewise.
46307         (RAX_LP): Likewise.
46308         (RBP_LP): Likewise.
46309         (RBX_LP): Likewise.
46310         (RCX_LP): Likewise.
46311         (RDI_LP): Likewise.
46312         (RSI_LP): Likewise.
46313         (RSP_LP): Likewise.
46314         (R8_LP): Likewise.
46315         (R9_LP): Likewise.
46316         (R10_LP): Likewise.
46317         (R10_LP): Likewise.
46318         (R11_LP): Likewise.
46319         (R12_LP): Likewise.
46320         (R13_LP): Likewise.
46321         (R14_LP): Likewise.
46322         (R15_LP): Likewise.
46324 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46326         * sysdeps/x86_64/x32/dl-machine.h: New file.
46328 2012-05-14  Andreas Jaeger  <aj@suse.de>
46330         * manual/Makefile (subdir): Remove export of subdir.
46331         (all): Remove target.
46332         (.PHONY): Remove all from list.
46333         (mkinstalldirs): Remove.
46334         (.PHONY): Remove installdirs from list.
46335         ($(inst_infodir)/libc.info): Use make-target-directory.
46336         (installdirs): Remove.
46337         (subdir_%): Remove.
46338         (glibc-targets): Remove.
46339         (lib): Remove.
46340         (stubs): Remove.
46341         ($(objpfx)stubs ../po/manual.pot): Remove.
46342         ($(objpfx)stamp%): Remove.
46343         (make-target-directory): Remove.
46344         (subdir_install): Remove.
46345         (routines): Remove.
46346         (aux): Remove.
46347         (sources): Remove.
46348         (objects): Remove.
46349         (headers): Remove.
46351         [BZ #13750]
46352         * manual/.gitignore: Remove, it's not needed anymore.
46353         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
46354         all files in it.
46355         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
46356         directory.
46357         (texis): Renamed to $(objpfx)texis.
46358         (texis-path): New, contains path to generated files.
46359         (chapters.%): Use texis-path for complete path, add extra argument
46360         libc-texinfo.sh.
46361         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
46362         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
46363         (summary,texi, stamp-summary): Use complete path of
46364         files. Generate files in build dir.
46365         (dir-add.texi): Build in build dir.
46366         (libm-err.texi,stamp-libm-err): Likewise.
46367         (version.texi, stamp-version): Likewise.
46368         (.%c.texi): Likewise.
46369         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
46370         (mostlyclean): Remove target.
46371         (realclean): Remove target.
46372         (generated): Add new variable with contents from mostlyclean and
46373         realclean, remove entries duplicated in common-mostlyclean, add
46374         stamp-libm-err and stamp-version.
46375         (generated-dirs): Add libc directory.
46376         ($(inst_infodir)/libc.info): Install files from build dir.
46378         * manual/install.texi (Configuring and compiling): Adjust since
46379         the info files are not part of the tar ball anymore.
46381 2012-05-14  Andreas Jaeger  <aj@suse.de>
46383         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
46384         variable.
46386 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
46388         [BZ #13717]
46389         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46390         to 2.2.0 where earlier.
46391         * sysdeps/unix/sysv/linux/configure: Regenerated.
46392         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
46393         Remove conditional code.
46394         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
46395         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
46396         Remove conditional code.
46397         [!__NR_lchown]: Likewise.
46398         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46399         [__NR_lchown]: Likewise.
46400         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
46401         comment referencing __ASSUME_LCHOWN_SYSCALL.
46402         * sysdeps/unix/sysv/linux/i386/sigaction.c
46403         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46404         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46405         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
46406         Remove conditional code.
46407         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
46408         (__protocol_available): Remove #if 0 code.
46409         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
46410         conditional code.
46411         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
46412         * sysdeps/unix/sysv/linux/kernel-features.h
46413         (__ASSUME_GETCWD_SYSCALL): Don't define.
46414         (__ASSUME_REALTIME_SIGNALS): Likewise.
46415         (__ASSUME_PREAD_SYSCALL): Likewise.
46416         (__ASSUME_PWRITE_SYSCALL): Likewise.
46417         (__ASSUME_POLL_SYSCALL): Likewise.
46418         (__ASSUME_LCHOWN_SYSCALL): Likewise.
46419         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
46420         non-SPARC.
46421         (__ASSUME_SIOCGIFNAME): Don't define.
46422         (__ASSUME_MSG_NOSIGNAL): Likewise.
46423         (__ASSUME_SENDFILE): Define unconditionally.
46424         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
46425         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
46426         conditional code.
46427         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
46428         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
46429         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46430         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46431         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
46432         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46433         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
46435         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46436         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
46438         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46439         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
46441         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46442         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
46444         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46445         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
46447         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46448         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
46450         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46451         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
46453         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46454         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
46456         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46457         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46458         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
46459         Remove conditional code.
46460         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46461         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46462         Remove conditional code.
46463         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46464         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
46465         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
46466         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46467         Remove conditional code.
46468         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46469         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
46470         Remove conditional code.
46471         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46472         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
46473         Remove conditional code.
46474         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46475         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46476         Remove conditional code.
46477         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46478         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46479         Remove conditional code.
46480         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46481         * sysdeps/unix/sysv/linux/sh/pwrite64.c
46482         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46483         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46484         * sysdeps/unix/sysv/linux/sigaction.c
46485         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46486         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46487         * sysdeps/unix/sysv/linux/sigpending.c
46488         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46489         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46490         * sysdeps/unix/sysv/linux/sigprocmask.c
46491         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46492         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46493         * sysdeps/unix/sysv/linux/sigsuspend.c
46494         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46495         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46496         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46497         (__libc_missing_rt_sigs): Remove.
46498         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
46499         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
46500         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
46501         Remove conditional code.
46502         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
46503         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
46504         return 1.
46505         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
46506         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
46507         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
46508         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
46510 2012-05-14  Andreas Jaeger  <aj@suse.de>
46512         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
46513         it's not used in glibc.
46514         (__coshm1): Likewise.
46515         (__acosh1p): Likewise.
46516         (__sgn): Likewise.
46518         * manual/string.texi (Copying and Concatenation): Add missing
46519         variable in concat example.
46520         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46522 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46524         [BZ #14103]
46525         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
46526         __builtin_clzl with __builtin_clzll.
46528 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46530         [BZ #14104]
46531         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
46532         libc_freeres_ptr.
46534 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46536         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
46537         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
46538         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
46539         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
46541 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
46543         * NEWS: Update ia64 info.
46545 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
46547         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
46548         used as bcopy.
46550 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
46552         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
46553         * sysdeps/unix/syscalls.list (dup3): Likewise.
46554         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
46555         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
46557 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
46559         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
46560         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
46562 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
46564         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
46565         thread pointer.
46566         (TLS_IE): Use mov/add instead of movq/addq to load thread
46567         pointer.
46568         (TLS_GD_PREFIX): New.
46569         (TLS_GD): Use it.
46571 2012-05-11  David S. Miller  <davem@davemloft.net>
46573         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
46574         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
46575         (_FPU_SETCW): Likewise.
46577 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
46579         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
46580         is 32-byte aligned.
46582 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
46584         [BZ #11837]
46585         * iconvdata/gb18030.c: Update tables.
46586         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
46587         characters specially.
46588         (BODY for TO_LOOP): Add encoding of missing ranges.
46590 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
46592         [BZ #13673]
46593         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
46594         * sysdeps/mach/hurd/dup3.c: Likewise.
46595         * sysdeps/mach/hurd/readlinkat.c: Likewise.
46596         * sysdeps/powerpc/memmove.c:: Likewise.
46598 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
46600         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
46601         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
46603 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
46605         * elf/elf.h (R_X86_64_RELATIVE64): New.
46606         (R_X86_64_NUM): Updated.
46607         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46608         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
46609         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
46610         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
46611         tst-quad1pie tst-quad2pie
46612         (modules-names): Add tst-quadmod1 tst-quadmod2.
46613         ($(objpfx)tst-quad1): New dependency.
46614         ($(objpfx)tst-quad2): Likewise.
46615         ($(objpfx)tst-quad1pie): Likewise.
46616         ($(objpfx)tst-quad2pie): Likewise.
46617         * sysdeps/x86_64/tst-quad1.c: New file.
46618         * sysdeps/x86_64/tst-quad1pie.c: New file.
46619         * sysdeps/x86_64/tst-quad2.c: Likewise.
46620         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
46621         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
46622         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
46623         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
46624         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
46626 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46628         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
46629         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
46630         * streams/stropts.h (t_scalar_t): Define type.
46632         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
46633         (_PATH_PRESERVE): Set to "/var/lib".
46634         (_PATH_RWHODIR): Set to "/var/spool/rwho".
46636         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
46637         instead of int.
46639         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
46640         if __dir_mkfile succeeded.
46642         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
46643         checking for _hurd_dtablesize.  Unlock it right after having
46644         finished _hurd_dtable allocation.
46646 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46648         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
46649         * sysdeps/mach/hurd/configure: Regenerated.
46650         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
46651         special-casing to...
46652         * sysdeps/gnu/configure.in: ... this new file.
46653         * sysdeps/unix/sysv/linux/configure: Regenerated.
46654         * sysdeps/gnu/configure: New generated file.
46656         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
46657         for Linux: use nsec instead of usec, as well as:
46658         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
46659         members of type struct timespec.
46660         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
46661         New macros.
46662         (struct stat64): Likewise.
46663         (_STATBUF_ST_NSEC): New macro.
46664         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
46666         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46667         __strtoul_internal rather than strtoul.
46669 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46671         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
46672         and reject them.
46674 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46676         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
46677         which preserves existing values.
46678         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
46680 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46682         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
46683         TIMEOUT values.  Return EINVAL for NFDS values either negative or
46684         greater than FD_SETSIZE.
46686 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46688         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
46689         allocated, call __vm_protect to finish enabling the existing space, and
46690         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
46691         allocate the remainder.
46693 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46695         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
46696         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
46698 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46700         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
46701         sysdeps/mach/hurd/readlink.c.
46703         * posix/tst-sysconf.c (posix_options): Only use
46704         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
46705         _POSIX_SYNCHRONIZED_IO when they are defined
46706         * sysdeps/mach/hurd/bits/posix_opt.h:
46707         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
46708         (_XOPEN_REALTIME): Undefine macro.
46709         (_XOPEN_REALTIME_THREADS): Undefine macro.
46710         (_XOPEN_SHM): Undefine macro.
46711         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
46712         macro to -1.
46713         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
46714         macro to -1.
46715         (_POSIX_ASYNC_IO): Undefine macro.
46716         (_POSIX_PRIORITIZED_IO): Undefine macro.
46717         (_POSIX_SPIN_LOCKS): Define macro to -1.
46719         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
46720         SA_NODEFER, SA_RESETHAND.
46721         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
46722         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
46723         F_DUPFD_CLOEXEC.
46725 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46727         * elf/Makefile (pldd-modules): Define unconditionally.
46729 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46731         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
46733 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46735         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
46736         Return ENOENT when name is empty.
46737         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
46739 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46741         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
46743         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
46745 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46747         Fix mlock in all cases except non-readable pages.
46748         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
46749         instead of VM_PROT_ALL as parameter to __vm_wire function.
46751         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
46752         (__mkdir): When path is `/', just fail with EEXIST.
46753         * sysdeps/mach/hurd/mkdirat.c: Likewise.
46755 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46757         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
46758         <sys/uio.h> (for writev).
46759         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
46760         and <sys/param.h> (for MIN).
46762 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46764         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
46765         REQUESTED_TIME.  Properly set the remaining time and return EINTR
46766         if interrupted.
46768 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46770         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
46771         Depend on against $(link-rpcuserlibs).
46773 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46775         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
46776         (__libc_stack_end): Do not use attribute_relro.
46777         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
46778         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
46779         to libthread-provided value.
46780         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
46781         attribute_relro.
46783 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46785         [BZ #3748]
46786         * bits/libc-lock.h (__libc_once_get): New macro.
46787         * sysdeps/mach/bits/libc-lock.h: Likewise.
46788         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
46789         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
46790         instead of using implementation details.
46792         * libio/fileops.c: Unconditionally include <kernel-features.h>.
46793         * libio/freopen.c: Likewise.
46794         * libio/freopen64.c: Likewise.
46795         * misc/syslog.c: Likewise.
46796         * nscd/connections.c: Likewise.
46797         * nscd/netgroupcache.c: Likewise.
46798         * sysdeps/posix/getcwd.c: Likewise.
46800 2012-05-10  Roland McGrath  <roland@hack.frob.com>
46802         * math/w_ilogbf.c: Add #include <limits.h>.
46804 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46806         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
46807         path instead of returning without unlocking.
46809         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
46810         immediate-write ioctls.
46811         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
46813 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46815         * sysdeps/mach/hurd/i386/init-first.c (init): Use
46816         __builtin_frame_address instead of making assumptions about the
46817         location of the return address relative to DATA.  Force early load of
46818         the return address.
46819         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
46820         __builtin_frame_address.
46822         dup3 for GNU Hurd.
46823         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
46824         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
46825         implement dup3 and do some further code clean-ups.
46826         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
46827         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
46829 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46831         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
46833         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
46834         HURD_CRITICAL_END around holding _hurd_dtable_lock.
46835         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
46836         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
46837         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
46838         d->port.lock.
46840         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
46841         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
46842         when handler == SIG_ERR, not when handler != SIG_ERR.
46844 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46846         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
46847         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
46848         definitions.
46850         accept4 for GNU Hurd.
46851         * include/sys/socket.h (__libc_accept4): New prototype.
46852         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
46853         to implement __libc_accept4.
46854         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
46855         __libc_accept4.
46856         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
46858         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
46859         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
46860         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
46861         signal-defines.sym.
46863 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46865         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
46867 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46869         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
46870         assertion on O_CLOEXEC flag.
46871         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
46872         * hurd/intern-fd.c: Likewise.
46873         * hurd/port2fd.c: Likewise.
46875 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46877         [BZ #3906]
46878         * bits/in.h (IPV6_PKTINFO): Define new macro.
46879         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
46881 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46883         [BZ #13954]
46884         [BZ #13955]
46885         [BZ #13956]
46886         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
46887         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46888         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
46889         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46890         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46891         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46892         * math/libm-test.inc (logb_test) : Additional logb tests.
46894 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
46895             Andreas Jaeger  <aj@suse.de>
46897         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
46898         * configure: Regenerated.
46899         * config.h.in (LINK_OBSOLETE_RPC): New macro.
46900         * config.make.in (link-obsolete-rpc): New substituted variable.
46901         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
46902         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
46903         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46904         (shared-only-routines): Don't set it under [link-obsolete-rpc],
46905         so that libc.a contains the symbols.
46906         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46907         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
46908         * sunrpc/auth_none.c: Likewise.
46909         * sunrpc/auth_unix.c: Likewise.
46910         * sunrpc/authdes_prot.c: Likewise.
46911         * sunrpc/authuxprot.c: Likewise.
46912         * sunrpc/clnt_gen.c: Likewise.
46913         * sunrpc/clnt_perr.c: Likewise.
46914         * sunrpc/clnt_raw.c: Likewise.
46915         * sunrpc/clnt_simp.c: Likewise.
46916         * sunrpc/clnt_tcp.c: Likewise.
46917         * sunrpc/clnt_udp.c: Likewise.
46918         * sunrpc/clnt_unix.c: Likewise.
46919         * sunrpc/des_crypt.c: Likewise.
46920         * sunrpc/des_soft.c: Likewise.
46921         * sunrpc/get_myaddr.c: Likewise.
46922         * sunrpc/key_call.c: Likewise.
46923         * sunrpc/key_prot.c: Likewise.
46924         * sunrpc/netname.c: Likewise.
46925         * sunrpc/pm_getmaps.c: Likewise.
46926         * sunrpc/pm_getport.c: Likewise.
46927         * sunrpc/pmap_clnt.c: Likewise.
46928         * sunrpc/pmap_prot.c: Likewise.
46929         * sunrpc/pmap_prot2.c: Likewise.
46930         * sunrpc/pmap_rmt.c: Likewise.
46931         * sunrpc/publickey.c: Likewise.
46932         * sunrpc/rpc_cmsg.c: Likewise.
46933         * sunrpc/rpc_common.c: Likewise.
46934         * sunrpc/rpc_dtable.c: Likewise.
46935         * sunrpc/rpc_prot.c: Likewise.
46936         * sunrpc/rpc_thread.c: Likewise.
46937         * sunrpc/rtime.c: Likewise.
46938         * sunrpc/svc.c: Likewise.
46939         * sunrpc/svc_auth.c: Likewise.
46940         * sunrpc/svc_raw.c: Likewise.
46941         * sunrpc/svc_run.c: Likewise.
46942         * sunrpc/svc_tcp.c: Likewise.
46943         * sunrpc/svc_udp.c: Likewise.
46944         * sunrpc/svc_unix.c: Likewise.
46945         * sunrpc/svcauth_des.c: Likewise.
46946         * sunrpc/xcrypt.c: Likewise.
46947         * sunrpc/xdr.c: Likewise.
46948         * sunrpc/xdr_array.c: Likewise.
46949         * sunrpc/xdr_float.c: Likewise.
46950         * sunrpc/xdr_intXX_t.c: Likewise.
46951         * sunrpc/xdr_mem.c: Likewise.
46952         * sunrpc/xdr_rec.c: Likewise.
46953         * sunrpc/xdr_ref.c: Likewise.
46954         * sunrpc/xdr_sizeof.c: Likewise.
46955         * sunrpc/xdr_stdio.c: Likewise.
46957 2012-05-10  Roland McGrath  <roland@hack.frob.com>
46959         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
46960         change.  Update copyright years.
46962 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
46964         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
46966 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
46967             Joseph Myers  <joseph@codesourcery.com>
46968             Paul Pluzhnikov  <ppluzhnikov@google.com>
46970         [BZ #14012]
46971         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
46972         requiring rpcgen.
46973         [cross-compiling] (extra-libs): Likewise.
46974         [cross-compiling] (extra-libs-others): Likewise.
46975         [cross-compiling] (librpcsvc-routines): Likewise.
46976         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
46977         [cross-compiling] (omit-deps): Likewise.
46978         (sunrpc-CPPFLAGS): New variable.
46979         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
46980         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
46981         (cross-rpcgen-objs): New variable.
46982         (extra-objs): Append $(cross-rpcgen-objs).
46983         ($(cross-rpcgen-objs)): New rule.
46984         ($(objpfx)cross-rpcgen): Likewise.
46985         (rpcgen-cmd): Define to use $(built-program-file).  Expand
46986         comment.
46987         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
46988         ($(objpfx)x%.stmp): Likewise.
46989         * sunrpc/proto.h [IS_IN_build] (_): Define.
46990         [IS_IN_build] (_libc_intl_domainname): Likewise.
46992 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
46994         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
46995         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
46996         and R_X86_64_TPOFF64.
46998 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
47000         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
47001         sysdeps/unix/sysv/syscalls.list.
47002         (stime): Likewise.
47003         (utime): Likewise.
47004         * sysdeps/unix/sysv/syscalls.list: Remove file.
47006 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
47008         [BZ #3440]
47009         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
47010         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
47011         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
47012         (__LC_IDENTIFICATION): Make these macros useful in #if
47013         expressions, as required by C99.
47015 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
47017         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
47018         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
47019         after this.
47021 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
47023         * stdlib/longlong.h: Updated from GCC.
47025 2012-05-09  Andreas Jaeger  <aj@suse.de>
47027         * nscd/nscd.c (run_modes): Make named enum, reorder so that
47028         default is first entry.
47029         (run_mode): Set type.
47030         (main): Remove informal message about syslog.
47031         (options): Fix typo.
47033         [BZ #14053]
47034         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
47035         to asm.
47036         (lrint): Likewise.
47037         (llrintf): Likewise.
47038         (llrint): Likewise.
47039         (rint): Likewise.
47040         (rintf): Likewise.
47041         (nearbyint): Likewise.
47042         (nearbyintf): Likewise.
47044 2012-05-09  Andreas Jaeger  <aj@suse.de>
47045             Pedro Alves  <palves@redhat.com>
47047         * nscd/nscd.c (run_mode): Use enum.
47048         (main): Cleanup coding style issue.
47050 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
47051             Andreas Jaeger  <aj@suse.de>
47053         * nscd/nscd.c (go_background): Replaced with...
47054         (run_mode): ... this.
47055         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
47056         (options): Add -F --foreground.
47057         (main): Implement it.
47058         (parse_opt): Parse it.
47060 2012-05-09  Andreas Jaeger  <aj@suse.de>
47062         [BZ #14083]
47063         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
47064         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
47065         -Wconversion warning.
47066         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
47067         Likewise.
47069 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
47071         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
47072         == 0.
47073         (LC_ALL): Use macro-int-constant.
47074         (LC_COLLATE): Likewise.
47075         (LC_CTYPE): Likewise.
47076         (LC_MESSAGES): Likewise.
47077         (LC_MONETARY): Likewise.
47078         (LC_NUMERIC): Likewise.
47079         (LC_TIME): Likewise.
47080         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
47081         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47082         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47083         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
47084         Specify type.
47085         [C99-based standards] (float_t): Expect type.
47086         [C99-based standards] (double_t): Expect type.
47087         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
47088         type.
47089         [C99-based standards] (HUGE_VALL): Likewise.
47090         [C99-based standards] (INFINITY): Likewise.
47091         [C99-based standards] (NAN): Likewise.
47092         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
47093         [C99-based standards] (FP_NAN): Likewise.
47094         [C99-based standards] (FP_NORMAL): Likewise.
47095         [C99-based standards] (FP_SUBNORMAL): Likewise.
47096         [C99-based standards] (FP_ZERO): Likewise.
47097         [C99-based standards] (FP_FAST_FMA): Use
47098         optional-macro-int-constant.  Specify type.  Require == 1.
47099         [C99-based standards] (FP_FAST_FMAF): Likewise.
47100         [C99-based standards] (FP_FAST_FMAL): Likewise.
47101         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
47102         [C99-based standards] (FP_ILOGBNAN): Likewise.
47103         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
47104         Specify type.
47105         [C99-based standards] (MATH_ERREXCEPT): Likewise.
47106         [C99-based standards] (math_errhandling): Specify type.
47107         [ISO99 || ISO11] (signgam): Do not allow.
47108         [non-C99-based standards] (copysignf): Do not allow.
47109         [non-C99-based standards] (exp2f): Likewise.
47110         [non-C99-based standards] (log2f): Likewise.
47111         [non-C99-based standards] (modff): Allow.
47112         [non-C99-based standards] (erff): Do not allow.
47113         [non-C99-based standards] (erfcf): Likewise.
47114         [non-C99-based standards] (gammaf): Likewise.
47115         [non-C99-based standards] (hypotf): Likewise.
47116         [non-C99-based standards] (j0f): Likewise.
47117         [non-C99-based standards] (j1f): Likewise.
47118         [non-C99-based standards] (jnf): Likewise.
47119         [non-C99-based standards] (lgammaf): Likewise.
47120         [non-C99-based standards] (tgammaf): Likewise.
47121         [non-C99-based standards] (y0f): Likewise.
47122         [non-C99-based standards] (y1f): Likewise.
47123         [non-C99-based standards] (ynf): Likewise.
47124         [non-C99-based standards] (isnanf): Likewise.
47125         [non-C99-based standards] (acoshf): Likewise.
47126         [non-C99-based standards] (asinhf): Likewise.
47127         [non-C99-based standards] (atanhf): Likewise.
47128         [non-C99-based standards] (cbrtf): Likewise.
47129         [non-C99-based standards] (expm1f): Likewise.
47130         [non-C99-based standards] (ilogbf): Likewise.
47131         [non-C99-based standards] (log1pf): Likewise.
47132         [non-C99-based standards] (logbf): Likewise.
47133         [non-C99-based standards] (nextafterf): Likewise.
47134         [non-C99-based standards] (remainderf): Likewise.
47135         [non-C99-based standards] (rintf): Likewise.
47136         [non-C99-based standards] (scalbf): Likewise.
47137         [non-C99-based standards] (copysignl): Likewise.
47138         [non-C99-based standards] (exp2l): Likewise.
47139         [non-C99-based standards] (log2l): Likewise.
47140         [non-C99-based standards] (modfl): Allow.
47141         [non-C99-based standards] (erfl): Do not allow.
47142         [non-C99-based standards] (erfcl): Likewise.
47143         [non-C99-based standards] (gammal): Likewise.
47144         [non-C99-based standards] (hypotl): Likewise.
47145         [non-C99-based standards] (j0l): Likewise.
47146         [non-C99-based standards] (j1l): Likewise.
47147         [non-C99-based standards] (jnl): Likewise.
47148         [non-C99-based standards] (lgammal): Likewise.
47149         [non-C99-based standards] (tgammal): Likewise.
47150         [non-C99-based standards] (y0l): Likewise.
47151         [non-C99-based standards] (y1l): Likewise.
47152         [non-C99-based standards] (ynl): Likewise.
47153         [non-C99-based standards] (isnanl): Likewise.
47154         [non-C99-based standards] (acoshl): Likewise.
47155         [non-C99-based standards] (asinhl): Likewise.
47156         [non-C99-based standards] (atanhl): Likewise.
47157         [non-C99-based standards] (cbrtl): Likewise.
47158         [non-C99-based standards] (expm1l): Likewise.
47159         [non-C99-based standards] (ilogbl): Likewise.
47160         [non-C99-based standards] (log1pl): Likewise.
47161         [non-C99-based standards] (logbl): Likewise.
47162         [non-C99-based standards] (nextafterl): Likewise.
47163         [non-C99-based standards] (remainderl): Likewise.
47164         [non-C99-based standards] (rintl): Likewise.
47165         [non-C99-based standards] (scalbl): Likewise.
47166         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47167         [non-C99-based standards] (FP_*): Do not allow.
47168         [C99-based standards] (FP_*): Change to
47169         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47170         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47171         allow.
47172         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
47173         (SIG_ERR): Likewise.
47174         [X/Open-based standards] (SIG_HOLD): Likewise.
47175         (SIG_IGN): Likewise.
47176         (SIGABRT): Use macro-int-constant.  Specify type.  Require
47177         positive value.
47178         (SIGFPE): Likewise.
47179         (SIGILL): Likewise.
47180         (SIGINT): Likewise.
47181         (SIGSEGV): Likewise.
47182         (SIGTER): Likewise.
47183         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
47184         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
47185         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
47186         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
47187         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
47188         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
47189         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
47190         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
47191         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
47192         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
47193         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
47194         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
47195         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
47196         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
47197         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
47198         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
47199         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
47200         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
47201         [X/Open-based standards] (SIGTRAP): Likewise.
47202         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
47203         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
47204         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
47205         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
47206         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47207         allow.
47209 2012-05-08  Ian Wienand  <ianw@vmware.com>
47211         [BZ #14080]
47212         * time/tzset.c (__tzset_parse_tz): Update default rules for
47213         daylight time changes in the Energy Policy Act of 2005.
47215 2012-05-09  Andreas Jaeger  <aj@suse.de>
47217         [BZ #13983]
47218         * elf/ldconfig.c (parse_conf): Change string to make clear that
47219         ldconfig only issued a warning if ld.so.conf does not exist.
47221 2012-05-08  David S. Miller  <davem@davemloft.net>
47223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
47224         movxtod instead of popping the value on the stack.
47226         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47228 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
47230         * config.h.in: Add HAVE_ARM_PCS_VFP.
47232 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
47234         [BZ #13979]
47235         * include/features.h: Warn if user requests __FORTIFY_SOURCE
47236         checking but the checks are disabled for any reason.
47238 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
47240         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
47241         and ELF64_R_TYPE with ELFW(R_TYPE).
47243 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
47245         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
47246         (ulimit): Likewise.
47248         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
47249         (settimeofday): Likewise.
47251 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
47253         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
47254         a struct th_u2 inside the union, and move tu_block/tu_code into
47255         a new th_u3 union of tu_block/tu_code inside of that.  Move
47256         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
47257         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
47258         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
47259         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
47260         (th_stuff): Change to th_u1.tu_stuff.
47261         (th_data): Define.
47262         (th_msg): Change to th_u1.th_u2.tu_data.
47264 2012-05-07  David S. Miller  <davem@davemloft.net>
47266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47268         [BZ #14074]
47269         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
47270         (SETUP_PIC_REG): Use it.
47271         (SETUP_PIC_REG_LEAF): Use it.
47273 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
47275         [BZ #13885]
47276         [BZ #13923]
47277         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47278         USE_AS_EXPM1L.
47279         (EXPL_FINITE): Likewise.
47280         (FLDLOG): Likewise.
47281         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47282         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47283         e_expl.S.
47284         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47285         USE_AS_EXPM1L.
47286         (EXPL_FINITE): Likewise.
47287         (FLDLOG): Likewise.
47288         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47289         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47290         e_expl.S.
47291         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
47292         test of -max_value argument for long double.
47293         * sysdeps/i386/fpu/libm-test-ulps: Update.
47294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47296 2012-05-06  David S. Miller  <davem@davemloft.net>
47298         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
47299         quad soft-float symbols whose references which are compiler
47300         generated.
47301         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47303 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
47305         [BZ #13884]
47306         [BZ #13914]
47307         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47308         USE_AS_EXP10L.
47309         (EXPL_FINITE): Likewise.
47310         (FLDLOG): Likewise.
47311         (c0): Likewise.
47312         (c1): Likewise.
47313         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
47314         Adjust comments for base varying.
47315         (__expl_finite): Change alias to EXPL_FINITE.
47316         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
47317         e_expl.S.
47318         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
47319         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
47320         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47321         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
47322         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47323         USE_AS_EXP10L.
47324         (EXPL_FINITE): Likewise.
47325         (FLDLOG): Likewise.
47326         (c0): Likewise.
47327         (c1): Likewise.
47328         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
47329         Adjust comments for base varying.
47330         (__expl_finite): Change alias to EXPL_FINITE.
47331         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
47332         tests for bugs.
47333         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47335         [BZ #14064]
47336         * math/libm-test.inc (check_float_internal): Correct ulp
47337         calculation for subnormal expected results.
47339 2012-05-06  Andreas Jaeger  <aj@suse.de>
47341         * Makeconfig (+math-flags): New, set to -frounding-math.
47342         (+cflags): Add +math-flags so that all of glibc gets compiled with
47343         it.
47345         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
47347 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
47349         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
47350         Disable one test.
47352         [BZ #13787]
47353         [BZ #13922]
47354         [BZ #14036]
47355         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
47356         (__ieee754_expl): Allow for and saturate large arguments.
47357         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
47358         (u_threshold): Likewise.
47359         (__exp): Call __ieee754_exp before checking for overflow and
47360         underflow.
47361         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
47362         (u_threshold): Likewise.
47363         (__expf): Call __ieee754_expf before checking for overflow and
47364         underflow.
47365         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
47366         (u_threshold): Likewise.
47367         (__expl): Call __ieee754_expl before checking for overflow and
47368         underflow.
47369         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
47370         (__ieee754_expl): Allow for and saturate large arguments.
47371         * math/libm-test.inc (exp_test): Add another test.  Do not allow
47372         missing overflow exception on overflow.
47373         (expm1_test): Do not allow missing overflow exception on overflow.
47375         * sysdeps/i386/fpu/e_expl.c: Move to ...
47376         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
47377         rather than using inline asm.
47378         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
47379         * sysdeps/x86_64/fpu/e_expl.S: Copy from
47380         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
47382         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
47383         (nice): Likewise.
47384         (poll): Likewise.
47385         (signal): Likewise.
47386         (time): Likewise.
47387         (times): Likewise.
47389 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
47391         * sysdeps/unix/syscalls.list (adjtime): Add entry from
47392         sysdeps/unix/common/syscalls.list.
47393         (fchmod): Likewise.
47394         (fchown): Likewise.
47395         (ftruncate): Likewise.
47396         (getrusage): Likewise.
47397         (gettimeofday): Likewise.
47398         (setpgid): Likewise.
47399         (setregid): Likewise.
47400         (setreuid): Likewise.
47401         (sigaction): Likewise.
47402         (truncate): Likewise.
47403         (vhangup): Likewise.
47404         * sysdeps/unix/common/syscalls.list: Remove file.
47405         * sysdeps/unix/bsd/Implies: Don't include unix/common.
47406         * sysdeps/unix/sysv/linux/Implies: Likewise.
47408 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
47410         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
47411         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
47412         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
47413         Moved to ...
47414         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
47415         Here.
47416         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
47417         to ...
47418         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
47419         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
47420         to ...
47421         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
47422         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
47423         to ...
47424         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
47425         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
47426         to ...
47427         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
47428         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
47429         to ...
47430         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
47431         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
47432         to ...
47433         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
47434         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
47435         to ...
47436         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47437         Here.
47438         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
47439         to ...
47440         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
47441         Here.
47442         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
47443         to ...
47444         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
47445         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
47446         Moved to ...
47447         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
47448         Here.
47449         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
47450         to ...
47451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
47453 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
47455         * sysdeps/unix/common/bits/dirent.h: Remove file.
47456         * sysdeps/unix/common/bits/fcntl.h: Likewise.
47458         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
47459         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
47460         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
47461         * sysdeps/unix/bsd/isatty.c: Likewise.
47462         * sysdeps/unix/bsd/tcdrain.c: Likewise.
47463         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
47464         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
47466 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47468         [BZ #13563]
47469         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
47470         long double comparison inaccuracies.
47471         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47474 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
47476         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
47477         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
47479 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
47481         [BZ #14049]
47482         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
47483         nonzero digits before rounding a hex value.
47484         * stdlib/tst-strtod.c (tests): Add another test.
47486 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47488         * sysdeps/s390/fpu/libm-test-ulps: Update.
47490 2012-05-03  Andreas Jaeger  <aj@suse.de>
47492         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
47493         does not get optimized out.
47494         (malloc_opt_barrier): New.
47496 2012-05-03  Andreas Jaeger  <aj@suse.de>
47497             Roland McGrath  <roland@hack.frob.com>
47499         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
47500         intermediate file deletion.
47501         (generated): Add .symlist files.
47503 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
47505         [BZ #13775]
47506         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
47507         Redirect under this condition.
47508         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47509         [__USE_GNU] (__dprintf_chk): Not under this condition.
47510         [__USE_GNU] (__vdprintf_chk): Likewise.
47511         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
47512         under this condition.
47513         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47514         [__USE_XOPEN2K8] (dprintf): Define under this condition.
47515         [__USE_XOPEN2K8] (vdprintf): Likewise.
47516         [__USE_GNU] (__dprintf_chk): Not under this condition.
47517         [__USE_GNU] (__vdprintf_chk): Likewise.
47518         [__USE_GNU] (dprintf): Likewise.
47519         [__USE_GNU] (vdprintf): Likewise.
47521 2012-05-03  Roland McGrath  <roland@hack.frob.com>
47523         * elf/Makefile (common-generated): Set this instead of generated for
47524         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
47525         $(all-built-dso)-derived lists.
47527 2012-05-03  Andreas Jaeger  <aj@suse.de>
47529         * sysdeps/i386/fpu/libm-test-ulps: Update.
47531         * FAQ: Removed.
47532         * FAQ.in: Likewise.
47533         * scripts/gen-FAQ.pl: Likewise.
47534         * manual/install.texi (Installation): Point to online location of
47535         FAQ.
47536         * Makefile (files-for-dist): Remove FAQ.
47537         (FAQ): Remove.
47539 2012-05-02  Allan McRae  <allan@archlinux.org>
47541         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
47542         (LDFLAGS-reldepmod5.so): Likewise.
47543         (LDFLAGS-reldep6mod1.so): Likewise.
47544         (LDFLAGS-reldep6mod4.so): Likewise.
47545         (LDFLAGS-reldep8mod3.so): Likewise.
47546         (LDFLAGS-unload4mod1.so): Likewise.
47547         (LDFLAGS-unload4mod2.so): Likewise.
47548         (LDFLAGS-tst-initorder): Likewise.
47549         (LDFLAGS-tst-initordera2.so): Likewise.
47550         (LDFLAGS-tst-initordera3.so): Likewise.
47551         (LDFLAGS-tst-initordera4.so): Likewise.
47552         (LDFLAGS-tst-initorderb2.so): Likewise.
47553         (LDFLAGS-noload): Likewise.
47554         (LDFLAGS-next): Likewise.
47555         (LDFLAGS-order2mod1.so): Likewise.
47556         (LDFLAGS-order2mod2.so): Likewise.
47557         (LDFLAGS-tst-initorder2): Likewise.
47558         (LDFLAGS-tst-initorder2a.so): Likewise.
47559         (LDFLAGS-tst-initorder2b.so): Likewise.
47560         (LDFLAGS-tst-initorder2c.so): Likewise.
47561         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
47563 2012-05-02  David S. Miller  <davem@davemloft.net>
47565         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47567 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
47569         [BZ #14055]
47570         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
47572 2012-05-02  Andreas Jaeger  <aj@suse.de>
47574         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
47575         since we manipulate rounding mode.
47576         (CPPFLAGS-test-idouble.c): Likewise.
47577         (CPPFLAGS-test-ifloat.c): Likewise.
47578         (CFLAGS-test-ldouble.c): Likewise.
47579         (CFLAGS-test-double.c): Likewise.
47580         (CFLAGS-test-float.c): Likewise.
47581         (CFLAGS-test-misc.c): Likewise.
47582         (CFLAGS-test-test-fenv.c): Likewise.
47584 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47586         [BZ #2550]
47587         [BZ #2570]
47588         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
47589         comparisons to determine direction to adjust input.
47591 2012-05-01  Roland McGrath  <roland@hack.frob.com>
47593         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
47594         output to the target.
47596         * scripts/localplt.awk: New file.
47597         * elf/Makefile ($(objpfx)check-localplt): Target removed.
47598         (check-localplt-CFLAGS): Variable removed.
47599         ($(all-built-dso:=.jmprel)): New static pattern rule.
47600         (generated): Add those targets.
47601         (localplt-built-dso): New variable.
47602         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
47604         * elf/check-localplt.c: File removed.
47606         * scripts/check-execstack.awk: New file.
47607         * elf/Makefile ($(objpfx)check-execstack): Target removed.
47608         (check-execstack-CFLAGS): Variable removed.
47609         ($(objpfx)check-execstack.h): Target removed.
47610         ($(objpfx)execstack-default): New target.
47611         (generated): Add that instead of check-execstack.h.
47612         ($(all-built-dso:=.phdr)): New static pattern rule.
47613         (generated): Add those targets.
47614         * elf/check-execstack.c: File removed.
47616         * scripts/check-textrel.awk: New file.
47617         * elf/Makefile ($(objpfx)check-textrel): Target removed.
47618         (check-textrel-CFLAGS): Variable removed.
47619         (all-built-dso): Use := to define.o
47620         ($(all-built-dso:=.dyn)): New static pattern rule.
47621         (generated): Add those targets.
47622         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
47623         * config.make.in (READELF): New substituted variable.
47624         * elf/check-textrel.c: File removed.
47626 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
47628         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47629         allow.
47630         * conform/data/ctype.h-data [C99-based standards] (isblank):
47631         Expect function.
47632         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
47633         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
47634         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47635         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
47636         Specify type.  Require positive value.
47637         (EILSEQ): Likewise.
47638         (ERANGE): Likewise.
47639         [ISO || POSIX] (EILSEQ): Do not expect.
47640         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
47641         Specify type.  Require positive value.
47642         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
47643         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
47644         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
47645         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
47646         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
47647         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
47648         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
47649         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
47650         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
47651         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
47652         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
47653         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
47654         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
47655         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
47656         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
47657         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
47658         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
47659         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
47660         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
47661         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
47662         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
47663         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
47664         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
47665         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
47666         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
47667         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
47668         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
47669         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
47670         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
47671         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
47672         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
47673         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
47674         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
47675         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
47676         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
47677         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
47678         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
47679         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
47680         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
47681         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
47682         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
47683         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
47684         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
47685         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
47686         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
47687         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
47688         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
47689         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
47690         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
47691         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
47692         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
47693         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
47694         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
47695         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
47696         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
47697         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
47698         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
47699         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
47700         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
47701         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
47702         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
47703         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
47704         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
47705         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
47706         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
47707         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
47708         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
47709         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
47710         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
47711         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
47712         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
47713         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
47714         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
47715         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
47716         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
47717         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
47718         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
47719         Require >= 2.
47720         (FLT_ROUNDS): Expect as macro, not constant.
47721         (FLT_MANT_DIG): Use macro-int-constant.
47722         (DBL_MANT_DIG): Likewise.
47723         (LDBL_MANT_DIG): Likewise.
47724         (FLT_DIG): Likewise.
47725         (DBL_DIG): Likewise.
47726         (LDBL_DIG): Likewise.
47727         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
47728         (DBL_MIN_EXP): Likewise.
47729         (LDBL_MIN_EXP): Likewise.
47730         (FLT_MAX_EXP): Use macro-int-constant.
47731         (DBL_MAX_EXP): Likewise.
47732         (LDBL_MAX_EXP): Likewise.
47733         (FLT_MAX_10_EXP): Likewise.
47734         (DBL_MAX_10_EXP): Likewise.
47735         (LDBL_MAX_10_EXP): Likewise.
47736         (FLT_MAX): Use macro-constant.
47737         (DBL_MAX): Likewise.
47738         (LDBL_MAX): Likewise.
47739         (FLT_EPSILON): Use macro-constant.  Give upper bound.
47740         (DBL_EPSILON): Likewise.
47741         (LDBL_EPSILON): Likewise.
47742         (FLT_MIN): Likewise.
47743         (DBL_MIN): Likewise.
47744         (LDBL_MIN): Likewise.
47745         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
47746         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
47747         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
47748         [ISO11] (FLT_HAS_SUBNORM): Likewise.
47749         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
47750         [ISO11] (DBL_DECIMAL_DIG): Likewise.
47751         [ISO11] (FLT_DECIMAL_DIG): Likewise.
47752         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
47753         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
47754         [ISO11] (FLT_TRUE_MIN): Likewise.
47755         [ISO11] (LDBL_TRUE_MIN): Likewise.
47756         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47757         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
47758         (SCHAR_MIN): Use macro-int-constant.  Specify type.
47759         (SCHAR_MAX): Likewise.
47760         (UCHAR_MAX): Likewise.
47761         (CHAR_MIN): Likewise.
47762         (CHAR_MAX): Likewise.
47763         (MB_LEN_MAX): Use macro-int-constant.
47764         (SHRT_MIN): Use macro-int-constant.  Specify type.
47765         (SHRT_MAX): Likewise.
47766         (USHRT_MAX): Likewise.
47767         (INT_MAX): Likewise.
47768         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
47769         bound negative.
47770         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
47771         bound with "U".
47772         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
47773         bound with "L".
47774         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
47775         bound negative.  Suffix upper bound with "L".
47776         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
47777         bound with "UL".
47778         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
47779         Specify type.
47780         [C99-based standards] (LLONG_MAX): Likewise.
47781         [C99-based standards] (ULLONG_MAX): Likewise.
47782         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
47783         == 0.
47784         [ISO11] (max_align_t): Require type.
47785         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47787         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
47788         from $CFLAGS, without defining away __attribute__ calls.
47789         (checknamespace): Use $CFLAGS_namespace.
47791         * conform/conformtest.pl (@keywords): Only include C99 keywords
47792         for standards based on C99 or C11.
47794         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
47795         Disable tests.
47796         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
47797         UNIX98]: Likewise.
47799         * conform/conformtest.pl: Handle "macro-int-constant" and test for
47800         usability of symbols in #if.
47802         * conform/conformtest.pl: If macro or constant types start
47803         "promoted:", expect the symbol to be of the following type
47804         promoted by the integer promotions.
47806         * conform/conformtest.pl: Parse all "constant" and "macro" lines
47807         in one place.  Also handle "macro-constant".
47809         * conform/conformtest.pl: Only accept expected macro values with
47810         "==".  Parse all "macro" lines in one place.
47811         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
47813         * conform/conformtest.pl: Handle braced types on "constant" lines
47814         instead of handling "typed-constant".
47815         * conform/data/signal.h-data: Use "constant" instead of
47816         "typed-constant".
47818         * conform/conformtest.pl: Handle "optional-" at start of lines in
47819         one place rather than duplicating several cases.  Handle each
47820         format of "macro" line with initial "optional-".
47822         * conform/conformtest.pl: Only accept expected constant or
47823         optional-constant values with "==".  Parse all "constant" lines in
47824         one place.  Parse all "optional-constant" lines in one place.
47825         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
47826         * conform/data/fmtmsg.h-data: Likewise.
47827         * conform/data/netinet/in.h-data: Likewise.
47828         * conform/data/tar.h-data: Likewise.
47829         * conform/data/limits.h-data: Use "==" form on "constant" and
47830         "optional-constant" lines.
47832         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
47833         Use -std=c99 for XOPEN2K.
47834         (@knownproblems): Remove.
47835         (newtoken): Don't check %isknown.
47837         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
47838         Do not expect macro.
47839         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
47840         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
47841         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
47842         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
47843         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
47844         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
47845         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
47846         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
47847         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
47848         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
47849         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
47850         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
47851         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
47852         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
47853         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
47854         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
47855         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
47856         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
47857         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
47858         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
47859         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
47860         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
47861         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
47862         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
47863         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
47864         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
47865         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
47866         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
47867         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
47868         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
47869         [XPG3] (acosh): Likewise.
47870         [XPG3] (asinh): Likewise.
47871         [XPG3] (atanh): Likewise.
47872         [XPG3] (cbrt): Likewise.
47873         [XPG3] (expm1): Likewise.
47874         [XPG3] (ilogb): Likewise.
47875         [XPG3] (log1p): Likewise.
47876         [XPG3] (logb): Likewise.
47877         [XPG3] (nextafter): Likewise.
47878         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
47879         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
47880         [XPG3] (remainder): Likewise.
47881         [XPG3] (rint): Likewise.
47882         [XPG3 || XPG4 || UNIX98] (round): Likewise.
47883         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
47884         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
47885         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
47886         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
47887         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
47888         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
47889         [UNIX98 || XOPEN2K] (scalb): Expect.
47890         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
47891         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
47892         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
47893         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
47894         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
47895         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
47896         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
47897         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
47898         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
47899         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
47900         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
47901         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
47902         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
47903         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
47904         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
47905         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
47906         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
47907         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
47908         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
47909         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
47910         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
47911         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
47912         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
47913         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
47914         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
47915         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
47916         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
47917         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
47918         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
47919         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
47920         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
47921         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
47922         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
47923         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
47924         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
47925         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
47926         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
47927         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
47928         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
47929         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
47930         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
47931         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
47932         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
47933         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
47934         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
47935         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
47936         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
47937         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
47938         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
47939         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
47940         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
47941         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
47942         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
47943         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
47944         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
47945         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
47946         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
47947         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
47948         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
47949         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
47950         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
47951         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
47952         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
47953         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
47954         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
47955         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
47956         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
47957         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
47958         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
47959         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
47960         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
47961         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
47962         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
47963         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
47964         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
47965         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
47966         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
47967         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
47968         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
47969         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
47970         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
47971         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
47972         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
47973         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
47974         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
47975         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
47976         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
47977         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
47978         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
47979         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
47980         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
47981         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
47982         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
47983         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
47984         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
47985         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
47986         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
47987         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
47988         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
47989         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
47990         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
47991         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
47992         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
47993         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
47994         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
47995         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
47996         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
47997         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
47998         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
47999         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
48000         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
48001         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
48002         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
48003         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
48004         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
48005         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
48006         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
48007         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
48008         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
48009         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
48010         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
48011         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
48012         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
48013         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
48014         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
48015         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
48016         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
48017         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
48018         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
48019         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
48020         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
48021         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
48022         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
48023         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
48024         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
48025         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
48026         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
48028         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
48029         _XOPEN_SOURCE_EXTENDED for XPG4.
48031         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
48033         * Makeconfig (localtime): Remove variable.
48034         (inst_localtime-file): Likewise.
48036 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
48039         Update.
48040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48041         Update.
48042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
48043         Update.
48044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48045         Update.
48046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
48047         Update.
48048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
48049         Update.
48050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48051         Update.
48052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
48053         Update.
48054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48055         Update.
48057 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
48059         [BZ #2550]
48060         [BZ #2570]
48061         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
48062         comparisons to determine direction to adjust input.
48063         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
48064         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
48065         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
48066         Likewise.
48067         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
48068         Likewise.
48069         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
48070         Likewise.
48071         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
48072         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
48073         Likewise.
48074         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
48075         Likewise.
48076         * math/libm-test.inc (nexttoward_test): Add more tests.
48078 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48080         [BZ #14040]
48081         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
48082         in version GLIBC_2.1, not GLIBC_2.0.
48083         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
48084         Likewise.
48086 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
48088         [BZ #13942]
48089         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
48090         (1 - x) * (1 + x).
48091         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48092         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
48093         * math/libm-test.inc (acos_test): Add more tests.
48094         (asin_test): Likewise.
48095         * sysdeps/i386/fpu/libm-test-ulps: Update.
48096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48098         [BZ #14034]
48099         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
48100         of square root.
48101         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
48102         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48103         * math/libm-test.inc (acos_test_tonearest): New function.
48104         (acos_test_towardzero): Likewise.
48105         (acos_test_downward): Likewise.
48106         (acos_test_upward): Likewise.
48107         (asin_test_tonearest): Likewise.
48108         (asin_test_towardzero): Likewise.
48109         (asin_test_downward): Likewise.
48110         (asin_test_upward): Likewise.
48111         (main): Call the new functions.
48112         * sysdeps/i386/fpu/libm-test-ulps: Update.
48113         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48115         [BZ #13884]
48116         [BZ #13924]
48117         * math/e_exp10.c: Include <float.h>.
48118         (__ieee754_exp10): Handle underflow here rather than multiplying
48119         large negative argument by M_LN10.
48120         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
48121         of __ieee754_expf.
48122         * math/e_exp10l.c: Include <float.h>.
48123         (__ieee754_exp10l): Handle underflow here rather than multiplying
48124         large negative argument by M_LN10l.
48125         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
48126         spurious overflow exception on underflow.
48128 2012-04-29  Marek Polacek  <polacek@redhat.com>
48130         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
48131         (__fortify_function): New macro.
48132         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
48133         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
48134         __extern_always_inline.
48135         * libio/bits/stdio2.h: Likewise.
48136         * libio/bits/stdio.h: Likewise.
48137         * string/string.h: Likewise.
48138         * string/bits/string3.h: Likewise.
48139         * include/stdio.h: Likewise.
48140         * stdlib/bits/stdlib.h: Likewise.
48141         * stdlib/stdlib.h: Likewise.
48142         * rt/bits/mqueue2.h: Likewise.
48143         * rt/mqueue.h: Likewise.
48144         * posix/bits/unistd.h: Likewise.
48145         * posix/unistd.h: Likewise.
48146         * io/bits/poll2.h: Likewise.
48147         * io/bits/fcntl2.h: Likewise.
48148         * io/fcntl.h: Likewise.
48149         * io/sys/poll.h: Likewise.
48150         * misc/bits/syslog.h: Likewise.
48151         * misc/bits/syslog-ldbl.h: Likewise.
48152         * misc/sys/syslog.h: Likewise.
48153         * socket/bits/socket2.h: Likewise.
48154         * socket/sys/socket.h: Likewise.
48155         * debug/tst-chk1.c: Likewise.
48156         * wcsmbs/bits/wchar2.h: Likewise.
48157         * wcsmbs/bits/wchar-ldbl.h: Likewise.
48158         * wcsmbs/wchar.h: Likewise.
48160 2012-04-29  Andreas Jaeger  <aj@suse.de>
48162         * Makerules (tests): Remove enable-check-abi protection.
48163         (check-abi-warn): Remove.
48164         (check-abi-%): Remove check-abi-warn usage.
48166         * configure.in: Remove check-abi configure option.
48167         * configure: Regenerated.
48168         * config.make.in (enable-check-abi): Remove.
48170 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
48172         [BZ #14033]
48173         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
48174         double functions to double *_finite functions.
48176         [BZ #13941]
48177         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
48178         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
48179         LDBL_MIN_EXP.
48180         * stdio-common/Makefile (tests): Add tst-sprintf3.
48181         * stdio-common/tst-sprintf3.c: New file.
48183         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
48184         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
48186 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
48188         * conform/conformtest.pl: Remove duplicate typed-constant
48189         handling.
48191 2012-04-28  David S. Miller  <davem@davemloft.net>
48193         * Makerules (%.abilist): Add vpath on sysdep_dirs.
48194         (check-abi-%): Remove AWK script prerequisite and explicit
48195         abilist directory.
48196         (check-abi): Rewrite to just diff the symlist with the abilist.
48197         (config-tls, config-abi-config): Delete, no longer used.
48198         (update-abi-%): Remove AWK script and explicit abilist directory.
48199         (update-abi): Rewrite to simply compare and conditionally copy the
48200         symlist and the sysdep abilist file.  Remove update-abi-config
48201         checks.
48202         * abilist/ld.abilist: Remove.
48203         * abilist/libBrokenLocale.abilist: Remove.
48204         * abilist/libanl.abilist: Remove.
48205         * abilist/libcrypt.abilist: Remove.
48206         * abilist/libdl.abilist: Remove.
48207         * abilist/librt.abilist: Remove.
48208         * abilist/libthread_db.abilist: Remove.
48209         * abilist/libutil.abilist: Remove.
48210         * scripts/extract-abilist.awk: Remove.
48211         * scripts/merge-abilist.awk: Remove.
48212         * sysdeps/generic/libcidn.abilist: New file.
48213         * sysdeps/generic/libnss_compat.abilist: New file.
48214         * sysdeps/generic/libnss_db.abilist: New file.
48215         * sysdeps/generic/libnss_dns.abilist: New file.
48216         * sysdeps/generic/libnss_files.abilist: New file.
48217         * sysdeps/generic/libnss_hesiod.abilist: New file.
48218         * sysdeps/generic/libnss_nis.abilist: New file.
48219         * sysdeps/generic/libnss_nisplus.abilist: New file.
48220         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
48221         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
48222         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
48223         file.
48224         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
48225         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
48226         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
48227         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
48228         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
48229         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
48230         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
48231         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
48232         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
48233         file.
48234         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
48235         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
48236         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
48237         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
48238         file.
48239         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
48240         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
48241         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
48242         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
48243         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
48244         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
48245         file.
48246         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
48247         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
48248         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
48249         file.
48250         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
48251         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
48252         New file.
48253         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
48254         New file.
48255         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
48256         New file.
48257         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
48258         New file.
48259         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
48260         New file.
48261         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
48262         New file.
48263         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
48264         New file.
48265         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
48266         New file.
48267         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
48268         New file.
48269         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
48270         New file.
48271         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
48272         New file.
48273         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
48274         New file.
48275         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
48276         New file.
48277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
48278         file.
48279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
48280         New file.
48281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
48282         New file.
48283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
48284         file.
48285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
48286         New file.
48287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
48288         New file.
48289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
48290         file.
48291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
48292         New file.
48293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48294         New file.
48295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
48296         New file.
48297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
48298         New file.
48299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
48300         New file.
48301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
48302         New file.
48303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
48304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
48305         file.
48306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48307         New file.
48308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
48309         file.
48310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
48311         file.
48312         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
48313         file.
48314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
48315         file.
48316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
48317         file.
48318         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48319         New file.
48320         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
48321         file.
48322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
48323         file.
48324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48325         New file.
48326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
48327         file.
48328         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
48329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
48330         file.
48331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48332         New file.
48333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
48334         file.
48335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
48336         file.
48337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
48338         file.
48339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
48340         file.
48341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
48342         file.
48343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48344         New file.
48345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
48346         file.
48347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
48348         file.
48349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48350         New file.
48351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
48352         file.
48353         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48354         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
48355         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
48356         file.
48357         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
48358         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
48359         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
48360         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
48361         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
48362         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
48363         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
48364         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
48365         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
48366         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
48367         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
48368         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
48369         file.
48370         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48371         New file.
48372         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
48373         file.
48374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
48375         file.
48376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
48377         file.
48378         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
48379         file.
48380         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
48381         file.
48382         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48383         New file.
48384         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48385         New file.
48386         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
48387         file.
48388         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48389         New file.
48390         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
48391         file.
48392         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
48393         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
48394         file.
48395         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48396         New file.
48397         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
48398         file.
48399         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
48400         file.
48401         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
48402         file.
48403         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
48404         file.
48405         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
48406         file.
48407         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48408         New file.
48409         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48410         New file.
48411         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
48412         file.
48413         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48414         New file.
48415         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
48416         file.
48418 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
48420         * conform/conformtest.pl: Fix typo in handling typed-constant from
48421         allow-header.
48423 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
48425         * README: Cut down references to pre-2.6 Linux kernels and
48426         Linuxthreads.  Update lists of configurations in libc and ports
48427         and sort alphabetically.  Say "or newer" with Linux kernel version
48428         requirements.
48430         * config.h.in [IS_IN_build]: Allow compiling without optimization.
48432 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48434         [BZ #887]
48435         * math/libm-test.inc (logb_test_downward): New test to expose
48436         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
48437         rounding mode.
48439 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
48441         [BZ #14027]
48442         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
48443         to be done.
48444         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
48445         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
48447 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
48449         * sysdeps/unix/i386/brk.S: Remove file.
48450         * sysdeps/unix/i386/dl-brk.S: Likewise.
48451         * sysdeps/unix/i386/pipe.S: Likewise.
48452         * sysdeps/unix/i386/sigreturn.S: Likewise.
48453         * sysdeps/unix/i386/syscall.S: Likewise.
48454         * sysdeps/unix/i386/vfork.S: Likewise.
48455         * sysdeps/unix/i386/wait.S: Likewise.
48457         * sysdeps/unix/common/tcsendbrk.c: Move to ...
48458         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
48460         * configure.in (arm*-none*): Do not allow without
48461         --enable-hacker-mode.
48462         (netbsd*): Remove case setting base_os.
48463         (386bsd*): Likewise.
48464         (freebsd*): Likewise.
48465         (bsdi*): Likewise.
48466         (osf*): Likewise.
48467         (sunos*): Likewise.
48468         (ultrix*): Likewise.
48469         (newsos*): Likewise.
48470         (dynix*): Likewise.
48471         (*bsd*): Likewise.
48472         (sysv*): Likewise.
48473         (isc*): Likewise.
48474         (esix*): Likewise.
48475         (sco*): Likewise.
48476         (minix*): Likewise.
48477         (irix4*): Likewise.
48478         (irix6*): Likewise.
48479         (solaris[2-9]*): Likewise.
48480         (none): Likewise.
48481         * configure: Regenerated.
48483 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48485         [BZ #11521]
48486         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
48487         overflow or cancellation in calculating denominator.
48488         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
48489         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
48490         down expression to avoid unexpected rounding in newer GCCs.
48491         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
48493 2012-04-26  David S. Miller  <davem@davemloft.net>
48495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
48496         long-double compat symbols.
48497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
48501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48502         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
48503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
48504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
48505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
48506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
48507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
48508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
48509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48511 2012-04-25  David S. Miller  <davem@davemloft.net>
48513         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
48514         HWCAP_* values only after the memory barriers have been defined.
48515         (atomic_full_barrier): Define.
48516         (atomic_read_barrier): Define.
48517         (atomic_write_barrier): Define.
48519 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48521         * shlib-versions: Add libgcc_s version information.
48522         * sysdeps/generic/libgcc_s.h: Remove.
48523         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
48524         libgcc_s.h.
48525         * sysdeps/gnu/unwind-resume.c: Likewise.
48526         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
48528 2012-04-25  David S. Miller  <davem@davemloft.net>
48530         * sysdeps/unix/sparc/brk.S: Delete.
48531         * sysdeps/unix/sparc/dl-brk.S: Delete.
48532         * sysdeps/unix/sparc/pipe.S: Delete.
48533         * sysdeps/unix/sparc/sysdep.S: Delete.
48534         * sysdeps/unix/sparc/sysdep.h: Delete.
48535         * sysdeps/unix/sparc/vfork.S: Delete.
48536         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
48537         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
48538         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
48539         (ret_ERRVAL, r0, r1, MOVE): Define.
48540         (JUMPTARGET): Remove.
48541         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
48542         sysdeps/unix/sparc/sysdep.h
48543         (ENTRY, END): Remove.
48544         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48546 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
48548         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
48549         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
48550         -DIS_IN_build.
48552         * timezone/README: Update upstream location and email address for
48553         tzcode and tzdata.
48554         * timezone/zdump.c: Update from tzcode 2012b.
48555         * timezone/zic.c: Likewise.
48557         * configure.in (libc_cv_as_needed): Remove test.
48558         * configure: Regenerated.
48559         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
48560         conditional definition.
48561         [$(have-as-needed) != yes] (no-as-needed): Likewise.
48562         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
48563         * config.make.in (have-as-needed): Remove variable.
48565 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48566             Paul Pluzhnikov  <ppluzhnikov@google.com>
48568         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
48569         strings correctly.
48571 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
48573         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
48574         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
48575         * sysdeps/sh/strlen.S: Likewise.
48577 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
48579         * sysdeps/unix/fork.S: Remove file.
48580         * sysdeps/unix/i386/fork.S: Likewise.
48581         * sysdeps/unix/sparc/fork.S: Likewise.
48583         * sysdeps/unix/system.c: Remove file.
48584         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
48586         * sysdeps/unix/getegid.S: Remove file.
48587         * sysdeps/unix/geteuid.S: Likewise.
48589 2012-04-24  Roland McGrath  <roland@hack.frob.com>
48591         * scripts/check-localplt.awk: New file.
48592         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
48593         of diff.
48594         * scripts/data/localplt-generic.data: Add a comment.
48596         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
48597         NODE when __dir_mkfile failed.
48598         * sysdeps/mach/hurd/symlinkat.c: Likewise.
48599         Reported by Ludovic Courtès <ludo@gnu.org>.
48601 2012-04-24  Andreas Jaeger  <aj@suse.de>
48603         * Makerules (common-clean): Also remove gen-as-const-headers
48604         files.
48606 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
48608         * Makerules (native-compile): Do not change working directory for
48609         build.  Use $(OUTPUT_OPTION) in command.
48610         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
48612 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48614         [BZ #13886]
48615         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
48616         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
48617         * math/libm-test.inc (floor_test): Add more tests.
48618         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
48620 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
48622         * sysdeps/unix/getdents.c: Remove file.
48623         * sysdeps/unix/sysv/getdents.c: Likewise.
48624         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
48626         * sysdeps/unix/syscalls.list (madvise): Add syscall from
48627         sysdeps/unix/mman/syscalls.list.
48628         (mmap): Likewise.
48629         (mprotect): Likewise.
48630         (msync): Likewise.
48631         (munmap): Likewise.
48632         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
48633         * sysdeps/unix/mman/syscalls.list: Remove.
48634         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
48636         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
48637         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
48638         * configure: Regenerated.
48639         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
48640         $(libgcc_s_suffix).
48641         * config.make.in (libgcc_s_suffix): Remove variable.
48643 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
48645         * sysdeps/unix/sysv/gethostname.c: Move to ...
48646         * sysdeps/posix/gethostname.c: ... here.
48648         * sysdeps/unix/execve.S: Remove file.
48650         * sysdeps/unix/_exit.S: Remove file.
48652 2012-04-23  Andreas Jaeger  <aj@suse.de>
48654         [BZ #13739]
48655         * manual/Makefile: Remove make dist support, there's no
48656         need for a stand-alone documentation tar ball.
48657         (TEXI2DVI): Define always, it's not in Makeconfig.
48658         (dist): Removed.
48659         (tar-it): Removed.
48660         (edition): Removed.
48661         (glibc-doc-$(edition).tar): Removed
48662         (%.Z): Removed.
48663         (%.gz): Removed.
48664         (%.uu): Removed.
48665         (ETAGS): Remove, it's in Makeconfig.
48666         (move-if-change): Remove, it's in Makeconfig.
48668 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
48670         [BZ #13970]
48671         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
48672         (strtod, strtof, strtold, strtol, strtoul, strtoq)
48673         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
48674         (strtod_l, strtof_l, strtold_l): Remove __wur.
48675         It is not necessarily an error to ignore strtol's return value.
48676         One can reliably look at the stored endptr to decide whether
48677         the number had valid syntax.
48679 2012-04-21  Andreas Jaeger  <aj@suse.de>
48681         [BZ #13739]
48682         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
48684 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
48686         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
48687         * sysdeps/unix/sysv/Versions: Remove file.
48689 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
48691         [BZ #13927]
48692         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48694 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
48696         [BZ #7064]
48697         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
48698         version from __vm86.
48700 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
48702         * sysdeps/unix/common/lxstat.c: Remove file.
48703         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
48705         * sysdeps/unix/sysv/Makefile: Remove file.
48707         * sysdeps/unix/sysv/direct.h: Remove file.
48709         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
48710         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
48711         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
48712         * sysdeps/unix/sysv/bits/signum.h: Likewise.
48713         * sysdeps/unix/sysv/bits/stat.h: Likewise.
48714         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
48715         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
48717         * sysdeps/unix/sysv/setrlimit.c: Remove file.
48719         * sysdeps/unix/xmknod.c: Remove file.
48720         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
48722         * sysdeps/unix/sysv/settimeofday.c: Remove file.
48724         * sysdeps/unix/sysv/i386/time.S: Remove file.
48726         * sysdeps/unix/fxstat.c: Remove file.
48727         * sysdeps/unix/xstat.c: Likewise.
48728         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
48730         * sysdeps/unix/sysv/sigaction.c: Remove file.
48732         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
48733         (sysdep_headers): Remove variable.
48734         [termio.h not in sysdep_headers] (generated): Likewise.
48735         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
48736         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
48737         * sysdeps/unix/sysv/tcdrain.c: Likewise.
48738         * sysdeps/unix/sysv/tcflow.c: Likewise.
48739         * sysdeps/unix/sysv/tcflush.c: Likewise.
48740         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
48741         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
48742         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
48743         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
48744         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
48746         * sysdeps/unix/siglist.c: Remove file.
48748         * sysdeps/unix/getppid.S: Remove file.
48750         * sysdeps/unix/mkdir.c: Remove file.
48751         * sysdeps/unix/rmdir.c: Likewise.
48753 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
48755         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
48756         ERR_MAX value.
48757         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
48758         errlist-compat value.
48760 2012-04-18  David S. Miller  <davem@davemloft.net>
48762         * sysdeps/generic/memcopy.h (reg_char): Delete.
48763         * debug/strcat_chk.c: Use char, not reg_char.
48764         * debug/strcpy_chk.c: Likewise.
48765         * debug/strncat_chk.c: Likewise.
48766         * debug/strncpy_chk.c: Likewise.
48767         * string/memchr.c: Likewise.
48768         * string/memrchr.c: Likewise.
48769         * string/rawmemchr.c: Likewise.
48770         * string/strcat.c: Likewise.
48771         * string/strchr.c: Likewise.
48772         * string/strchrnul.c: Likewise.
48773         * string/strcmp.c: Likewise.
48774         * string/strcpy.c: Likewise.
48775         * string/strncat.c: Likewise.
48776         * string/strncmp.c: Likewise.
48777         * string/strncpy.c: Likewise.
48779 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
48781         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
48782         __builtin_memcopy is called when src and dest ranges are known to not
48783         overlap.
48785 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
48787         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
48788         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
48789         fwd_align_merge macro call.
48790         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
48791         bwd_align_merge macro call.
48792         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48794 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
48796         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
48797         bwd_align_merge macros.
48798         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
48799         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
48800         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48802 2012-04-18  David S. Miller  <davem@davemloft.net>
48804         * sysdeps/sparc/sparc64/memcopy.h: Delete.
48806 2012-04-18  Andreas Jaeger  <aj@suse.de>
48808         [BZ# 6794]
48809         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
48810         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
48811         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48813         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
48814         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
48815         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48817         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
48818         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
48819         Adjust for changed ldbl-128 files.
48821         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
48822         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
48823         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48825 2012-04-17  David S. Miller  <davem@davemloft.net>
48827         * sysdeps/sparc/sparc32/memcopy.h: Delete.
48829 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
48831         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
48832         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
48833         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
48834         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
48835         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48836         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
48838 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48840         [BZ #6794]
48841         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
48842         * math/libm-test.inc: Add ilogb errno and exception tests.
48843         * math/w_ilogb.c: New file: ilogb wrapper.
48844         * math/w_ilogbf.c: New file: ilogbf wrapper.
48845         * math/w_ilogbl.c: New file: ilogbl wrapper.
48846         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
48847         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
48848         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
48849         exception being thrown with 0.0 as argument.
48850         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
48851         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
48852         exception being thrown with 0.0 as argument.
48853         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
48854         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48855         exception being thrown with 0.0 as argument.
48856         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
48857         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48858         exception being thrown with 0.0 as argument.
48859         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
48860         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
48861         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
48862         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
48863         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
48864         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
48865         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
48866         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
48867         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
48869 2012-04-17  Petr Baudis  <pasky@ucw.cz>
48871         * include/sys/uio.h: Change __vector to __iovec to avoid clash
48872         with altivec.
48874 2012-04-16  Marek Polacek  <polacek@redhat.com>
48876         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
48878 2012-04-16  Marek Polacek  <polacek@redhat.com>
48880         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
48881         operands of fdivp instruction.
48883 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
48885         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
48886         * elf/tst-auditmod3b.c: Likewise.
48887         * elf/tst-auditmod4b.c: Likewise.
48888         * elf/tst-auditmod5b.c: Likewise.
48889         * elf/tst-auditmod6b.c: Likewise.
48890         * elf/tst-auditmod6c.c: Likewise.
48891         * elf/tst-auditmod7b.c: Likewise.
48892         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
48893         * sysdeps/x86_64/preconfigure.in: Likewise.
48894         * sysdeps/x86_64/preconfigure: Regenerated.
48896 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
48898         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
48899         __ILP32__.
48901 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
48903         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48904         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
48906 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
48908         [BZ #13973]
48909         * locale/iso-639.def: Fix gl language name. Spotted by
48910         Yaron Shahrabani.
48912 2012-04-12  Roland McGrath  <roland@hack.frob.com>
48914         [BZ #2074]
48915         * libio/libio.h (__io_write_fn): Update comment.
48917 2012-04-12  Petr Baudis  <pasky@ucw.cz>
48919         [BZ #2074]
48920         * stdio.texi (Hook Functions): The user provided writer function
48921         is not allowed to return -1.
48923 2012-04-11  David S. Miller  <davem@davemloft.net>
48925         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48927 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
48929         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
48930         Add a leading slash to rtkaio.
48932 2012-04-11  Jim Meyering  <meyering@redhat.com>
48934         [BZ #11959]
48935         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
48936         It is not necessarily an error to ignore fwrite's return
48937         value.  One can reliably use ferror to test for errors after
48938         the fact.
48940 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
48942         * bits/types.h (__snseconds_t): New type.
48943         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
48945         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
48946         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48947         (__SNSECONDS_T_TYPE): Likewise.
48948         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48949         (__SNSECONDS_T_TYPE): Likewise.
48950         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48951         (__SNSECONDS_T_TYPE): Likewise.
48953 2012-04-10  Andreas Jaeger  <aj@suse.de>
48955         [BZ #2636]
48956         * manual/time.texi (Processor Time): Return type of times is
48957         elapsed real time since an arbitrary point in the past.
48958         (CPU Time): Move CLK_TCK from here...
48959         (Processor Time): ...to here.  Correct description.
48960         * manual/conf.texi (Constants for Sysconf): Correct description of
48961         _SC_CLK_TCK.
48963 2012-04-10  David S. Miller  <davem@davemloft.net>
48965         [BZ #13967]
48966         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
48967         where the is a gap between DT_REL(A) and DT_JMPREL.
48969 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
48971         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
48972         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48973         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48975 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48977         * elf/dl-support.c (_dl_inhibit_cache): New variable.
48978         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
48979         (dl_main): Handle --inhibit-cache.
48980         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
48981         _dl_inhibit_cache.
48982         * elf/dl-load.c (_dl_map_object): Use it.
48983         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
48985 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
48987         [BZ #13872]
48988         * sysdeps/i386/fpu/e_powl.S (p78): New object.
48989         (__ieee754_powl): Saturate large exponents rather than testing for
48990         overflow of y*log2(x).
48991         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48992         * math/libm-test.inc (pow_test): Do not permit spurious overflow
48993         exceptions.
48995         [BZ #11521]
48996         * math/s_ctan.c: Include <float.h>.
48997         (__ctan): Avoid internal overflow or cancellation in calculating
48998         denominator.
48999         * math/s_ctanf.c: Likewise.
49000         * math/s_ctanl.c: Likewise.
49001         * math/s_ctanh.c: Likewise.
49002         * math/s_ctanhf.c: Likewise.
49003         * math/s_ctanhl.c: Likewise.
49004         * math/libm-test.inc (ctan_test): Add more tests.
49005         (ctanh_test): Likewise.
49006         * sysdeps/i386/fpu/libm-test-ulps: Update.
49007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49009 2012-04-09  Andreas Jaeger  <aj@suse.de>
49011         [BZ #6894]
49012         * manual/filesys.texi (Directory Entries): Mention that d_namlen
49013         is an optional BSD extension.
49015         [BZ #10254]
49016         * manual/stdio.texi (Opening Streams): Document additional fopen
49017         parameters.
49019 2012-04-09  Roland McGrath  <roland@hack.frob.com>
49021         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
49022         %eax without telling the compiler.
49024 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
49026         [BZ # 13963]
49027         * manual/install.texi: Use sourceware.org.
49029 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
49031         [BZ #13873]
49032         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
49033         (__ieee754_pow): Generate overflow and underflow using huge*huge
49034         and tiny*tiny rather than just returning constant infinity or zero
49035         for large exponents.
49036         * math/libm-test.inc (pow_test): Require overflow exceptions for
49037         applicable cases of large exponents.
49039         [BZ #706]
49040         * sysdeps/i386/fpu/e_pow.S (p10): New object.
49041         (__ieee754_pow): Use iterative multiplication algorithm only for
49042         integer exponents with absolute value below 1024.  Check for odd
49043         integer exponents when using algorithm for real exponents.
49044         * math/libm-test.inc (pow_test): Add more tests.
49045         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49047 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
49049         [BZ #13705]
49050         * math/libm-test.inc (exp_test): Do not allow overflow exception
49051         on underflow test.
49053 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
49055         [BZ #13705]
49056         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
49057         instead of __kernel_standard_f.
49059 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
49061         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
49062         * sysdeps/x86_64/memset_chk.S: Likewise.
49064 2012-04-08  Andreas Jaeger  <aj@suse.de>
49066         [BZ #10153]
49067         * manual/startup.texi (Environment Access): Describe return value
49068         for putenv and setenv.
49070         [BZ #6895]
49071         * manual/filesys.texi (Directory Entries): Add description for
49072         DT_LNK.
49074         [BZ #6890]
49075         * manual/filesys.texi (Directory Entries): Clarify that it's file
49076         system not operating system in the description of DT_UNKNOWN.
49078         [BZ #6578]
49079         * manual/syslog.texi (closelog): Fix reference, it's openlog.
49081 2012-04-08  Stephen Compall  <s11@member.fsf.org>
49083         [BZ #6649]
49084         * manual/llio.texi (Opening and Closing Files): Add cross
49085         reference to explain mode argument.
49087 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
49089         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
49090         * sysdeps/x86_64/memset_chk.S: Likewise.
49092 2012-04-07  David S. Miller  <davem@davemloft.net>
49094         * elf/elf.h (R_SPARC_WDISP10): Define.
49095         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
49096         R_SPARC_SIZE32.
49097         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
49098         R_SPARC_SIZE64 and R_SPARC_H34.
49100 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
49102         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
49103         conditions and remove no longer applicable assertion.
49105 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
49107         * bits/byteswap.h: Include <features.h>.
49108         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49109         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49111 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
49113         * bits/byteswap.h (__bswap_16): Removed.
49114         Include <bits/byteswap-16.h> to get __bswap_16.
49115         * sysdeps/i386/bits/byteswap.h: Likewise.
49116         * sysdeps/s390/bits/byteswap.h: Likewise.
49117         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49118         * bits/byteswap-16.h: New file.
49119         * sysdeps/i386/bits/byteswap-16.h: Likewise.
49120         * sysdeps/s390/bits/byteswap-16.h: Likewise.
49121         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
49122         * string/Makefile (headers): Add bits/byteswap-16.h.
49124 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49126         [BZ #13895]
49127         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
49128         extra indirection.
49129         * nss/Makefile (tests-static, tests): Add tst-nss-static.
49130         * nss/tst-nss-static.c: New.
49132 2012-04-06  Robert Millan  <rmh@gnu.org>
49134         [BZ #6486]
49135         * manual/llio.texi (File Position Primitive): lseek
49136         refers to WHENCE when it really means OFFSET.
49138 2012-04-06  Andreas Jaeger  <aj@suse.de>
49140         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
49141         strncmp declarations.
49143         * abilist/libc.abilist: Add __poll and __ppoll.
49145 2012-04-05  David S. Miller  <davem@davemloft.net>
49147         * scripts/check-local-headers.sh: Accept a host triplet in the
49148         path matched by the exclude regexp.
49150         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
49151         definition.
49152         * sysdeps/powerpc/powerpc32/dl-machine.h
49153         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
49154         * sysdeps/s390/s390-32/dl-machine.h
49155         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49156         * sysdeps/sparc/sparc32/dl-machine.h
49157         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49158         * sysdeps/sparc/sparc64/dl-machine.h
49159         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49161         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
49162         lazy binding.
49163         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
49164         undefined symbol errors.
49166         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
49167         DT_NEEDED entries.
49169 2012-04-05  Michael Matz  <matz@suse.de>
49171         [BZ #13592]
49172         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
49174 2012-04-05  Andreas Jaeger  <aj@suse.de>
49176         [BZ #13908]
49177         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
49178         comment.
49180 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49182         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
49183         which ROUND is no valid rounding mode.
49185 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49187         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
49188         read again.
49189         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
49191 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49193         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
49194         an exception using FPU order intentionally.
49196 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49198         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
49199         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
49200         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
49201         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
49203 2012-04-05  Simon Josefsson  <simon@josefsson.org>
49205         [BZ #12340]
49206         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
49207         EINVAL when BUFLEN is too smal.
49209 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
49211         [BZ #13553]
49212         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
49213         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
49215 2012-04-03  Andreas Jaeger  <aj@suse.de>
49217         [BZ #13938]
49218         * manual/setjmp.texi (System V contexts): Fix sentence.
49220         [BZ #13926]
49221         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
49222         New macro for this case.
49223         [!__GNUC__] (__bswap_64): New inline function for this case.
49224         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49225         * bits/byteswap.h: Likewise.
49226         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
49227         ull, guard with __GLIBC_HAVE_LONG_LONG.
49229         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
49230         __GLIBC_HAVE_LONG_LONG.
49232         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
49233         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
49235 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49237         [BZ #13691]
49238         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
49239         inptr and inend, rather than using last_ch.
49241 2012-04-02  David S. Miller  <davem@davemloft.net>
49243         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
49244         * stdio-common/printf-parse.h (read_int): Change return type to
49245         'int', return -1 on INT_MAX overflow.
49246         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
49247         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
49248         overflows INT_MAX.  Check for overflow of in-format-string precision
49249         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
49250         SIZE_MAX not INT_MAX for integer overflow test.
49251         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
49252         skip the construct in the format string but do not record anything.
49253         * stdio-common/bug22.c: Adjust to test both width/prevision
49254         INT_MAX overflow as well as total length INT_MAX overflow.  Check
49255         explicitly for proper errno values.
49257 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
49259         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
49260         CHAR_MAX.
49261         * string/test-strcmp.c [! WIDE]: Likewise.
49262         * time/tst-mktime2.c: Likewise for INT_MAX.
49263         * string/test-string.h: #include <sys/param.h> for MIN.
49265         * csu/init-first.c (__libc_init_first): Call __ctype_init.
49266         * sysdeps/i386/init-first.c (init): Likewise.
49267         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
49268         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
49269         * sysdeps/sh/init-first.c (init): Likewise.
49271 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
49273         * po/ru.po: Update from translation team.
49274         * po/vi.po: Likewise.
49276 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49278         * resolv/nss_dns/dns-host.c: Merge copyright years.
49280 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49282         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49283         Optimize memcpy with prefetch if
49284         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
49285         src, dst pointers have unequal 16 byte alignments.
49287 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49289         [BZ #13928]
49290         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
49291         from a CNAME entry and return the minimum ttl for the query.
49292         (gaih_getanswer_slice): Likewise.
49294 2012-03-30  Jeff Law  <law@redhat.com>
49296         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
49297         due to long keys.
49298         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
49299         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
49301         * resolv/nss_dns/dns-host.c: Update copyright year.
49303 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
49305         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
49306         requests to save a system call.  Fix check that all bytes are sent.
49308         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
49309         comments for sendmmsg.
49311 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49313         [BZ #13691]
49314         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
49315         with only 1 character between 0x0041 and 0x01b0.
49316         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
49317         * wcsmbs/tst-mbsnrtowcs.c: New file.
49319 2012-03-29  David S. Miller  <davem@davemloft.net>
49321         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
49322         small copies by hand.
49324 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49326         [BZ #13761]
49327         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
49328         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
49329         group memberships.
49331 2012-03-28  David S. Miller  <davem@davemloft.net>
49333         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
49334         that branches into memcpy.
49335         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49336         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
49337         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49338         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
49339         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
49340         bits.
49341         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
49342         implementation too.
49343         * sysdeps/sparc/mempcpy.S: New file.
49345         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
49346         the IFUNC routine in the libc case.
49347         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49349         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
49350         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
49351         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
49352         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
49353         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
49354         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
49355         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
49356         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
49358         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
49359         loop to 256 bytes instead of 64 bytes and fix test signedness.
49361         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
49362         * sysdeps/sparc/sparc32/Makefile: rather than here...
49363         * sysdeps/sparc/sparc64/Makefile: and here.
49365 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
49367         * malloc/mallocbug.c: Avoid warnings about unused variables.
49369 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49371         [BZ #13760]
49372         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
49373         in the right place. Discard and retry query if response is
49374         larger than input buffer size.
49376 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
49378         [BZ #369]
49379         [BZ #2678]
49380         [BZ #3866]
49381         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
49382         x for large integer exponent.
49383         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49384         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
49385         sign of result as needed afterwards.
49386         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
49387         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
49388         result for underflowing pow the same as for overflow.
49389         (__kernel_standard_l): Handle powl overflow and underflow here
49390         rather than calling __kernel_standard.
49391         * math/libm-test.inc (pow_test): Add more tests.
49393         [BZ #3868]
49394         [BZ #13879]
49395         [BZ #13910]
49396         [BZ #13911]
49397         [BZ #13912]
49398         [BZ #13913]
49399         [BZ #13915]
49400         [BZ #13916]
49401         [BZ #13917]
49402         [BZ #13918]
49403         [BZ #13919]
49404         [BZ #13920]
49405         [BZ #13921]
49406         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
49407         * sysdeps/ieee754/k_standard.c: Include <float.h>.
49408         (__kernel_standard_l): New function.
49409         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
49410         __kernel_standard.
49411         * math/w_acosl.c (__acosl): Likewise.
49412         * math/w_asinl.c (__asinl): Likewise.
49413         * math/w_atan2l.c (__atan2l): Likewise.
49414         * math/w_atanhl.c (__atanhl): Likewise.
49415         * math/w_coshl.c (__coshl): Likewise.
49416         * math/w_exp10l.c (__exp10l): Likewise.
49417         * math/w_exp2l.c (__exp2l): Likewise.
49418         * math/w_fmodl.c (__fmodl): Likewise.
49419         * math/w_hypotl.c (__hypotl): Likewise.
49420         * math/w_j0l.c (__j0l, __y0l): Likewise.
49421         * math/w_j1l.c (__j1l, __y1l): Likewise.
49422         * math/w_jnl.c (__jnl, __ynl): Likewise.
49423         * math/w_lgammal.c (__lgammal): Likewise.
49424         * math/w_log10l.c (__log10l): Likewise.
49425         * math/w_log2l.c (__log2l): Likewise.
49426         * math/w_logl.c (__logl): Likewise.
49427         * math/w_powl.c (__powl): Likewise.
49428         * math/w_remainderl.c (__remainderl): Likewise.
49429         * math/w_scalbl.c (sysv_scalbl): Likewise.
49430         * math/w_sinhl.c (__sinhl): Likewise.
49431         * math/w_sqrtl.c (__sqrtl): Likewise.
49432         * math/w_tgammal.c (__tgammal): Likewise.
49433         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
49434         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
49435         * math/libm-test.inc (acos_test): Add more tests.
49436         (acosh_test): Likewise.
49437         (asin_test): Likewise.
49438         (atanh_test): Likewise.
49439         (exp_test): Likewise.
49440         (exp10_test): Likewise.
49441         (exp2_test): Likewise.
49442         (expm1_test): Likewise.
49443         (lgamma_test): Likewise.
49444         (log_test): Likewise.
49445         (log10_test): Likewise.
49446         (log1p_test): Likewise.
49447         (log2_test): Likewise.
49448         (pow_test): Do not allow some spurious overflow exceptions.
49449         (sqrt_test): Add more tests.
49450         (tgamma_test): Likewise.
49451         (y0_test): Likewise.
49452         (y1_test): Likewise.
49453         (yn_test): Likewise.
49455 2012-03-27  Anton Blanchard  <anton@samba.org>
49457         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
49458         MAP_HUGETLB.
49459         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49460         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49461         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49463 2012-03-27  David S. Miller  <davem@davemloft.net>
49465         * conform/Makefile: Run run-conformtest.sh using $(BASH).
49467         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
49468         have-as-vis3 check.
49470 2012-03-27  Andreas Jaeger  <aj@suse.de>
49472         * sysdeps/x86_64/elf/configure.in: Moved to ...
49473         * sysdeps/x86_64/configure.in: ... here.
49474         * sysdeps/x86_64/elf/start.S: Moved to ...
49475         * sysdeps/x86_64/start.S: ... here.
49476         * sysdeps/x86_64/elf/configure: Delete.
49478         * sysdeps/x86_64/configure.in: Merge contents from
49479         sysdeps/i386/configure.in (without i686 check).
49481         * sysdeps/i386/elf/Versions: Merge into ...
49482         * sysdeps/i386/Versions: ... this.
49483         * sysdeps/i386/elf/Versions: Delete file.
49484         * sysdeps/i386/elf/start.S: Moved to ...
49485         * sysdeps/i386/start.S: ...here.
49486         * sysdeps/i386/elf/configure.in: Merge into...
49487         * sysdeps/i386/configure.in: ...here.
49488         * sysdeps/i386/elf/configure.in: Delete file.
49489         * sysdeps/i386/elf/configure: Delete file.
49491         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
49492         * debug/backtracesyms.c: ... here.
49493         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
49494         * debug/backtracesymsfd.c: ... here.
49495         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
49496         * sysdeps/generic/ifunc-sel.h: ... here.
49498         * sysdeps/unix/i386/start.c: Delete file.
49499         * sysdeps/unix/sparc/start.c: Delete file.
49500         * sysdeps/unix/start.c: Delete file.
49502         * sysdeps/sh/elf/configure.in: Moved to ...
49503         * sysdeps/sh/configure.in: ... here.
49504         * sysdeps/sh/elf/start.S: Moved to ...
49505         * sysdeps/sh/start.S: ... here.
49506         * sysdeps/sh/elf/configure: Delete file.
49508         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
49509         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
49510         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
49511         * sysdeps/powerpc/powerpc64/entry.h: ... here.
49512         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
49513         * sysdeps/powerpc/powerpc64/start.S: here.
49514         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
49515         * sysdeps/powerpc/powerpc64/Makefile: ... this.
49516         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
49517         * sysdeps/powerpc/powerpc64/configure.in: ... this.
49518         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
49520         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
49521         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
49522         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
49523         * sysdeps/powerpc/powerpc32/start.S: ... here.
49524         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
49525         * sysdeps/powerpc/powerpc32/configure.in: ... this.
49526         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
49528         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
49529         * sysdeps/powerpc/ifunc-sel.h: ... here.
49530         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
49531         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
49533         * sysdeps/sparc/elf/configure.in: Moved to ...
49534         * sysdeps/sparc/configure.in: ... here.
49535         * sysdeps/sparc/elf/configure: Delete file.
49536         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
49537         * sysdeps/sparc/sparc32/start.S: ... here.
49538         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
49539         * sysdeps/sparc/sparc64/start.S: ... here.
49540         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
49541         * sysdeps/sparc/sparc32/Makefile: ... this.
49542         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
49543         * sysdeps/sparc/sparc64/Makefile: ... this.
49545         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
49546         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
49547         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
49548         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
49549         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
49550         * sysdeps/s390/s390-32/setjmp.S: ... here.
49551         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
49552         * sysdeps/s390/s390-32/configure.in: ... here.
49553         * sysdeps/s390/s390-32/elf/configure: Delete file.
49554         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
49555         * sysdeps/s390/s390-32/start.S: ... here.
49557         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
49558         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
49559         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
49560         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
49561         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
49562         * sysdeps/s390/s390-64/setjmp.S: ... here.
49563         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
49564         * sysdeps/s390/s390-64/configure.in: ... here
49565         * sysdeps/s390/s390-64/elf/configure: Delete file.
49566         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
49567         * sysdeps/s390/s390-64/start.S: ... here.
49568         * sysdeps/s390/s390-64/elf/configure: Delete.
49570         * configure.in: Remove support for elf directories in sysdeps.
49572         * configure: Regenerated.
49573         * sysdeps/i386/configure: Regenerated.
49574         * sysdeps/powerpc/powerpc32/configure: Regenerated.
49575         * sysdeps/powerpc/powerpc64/configure: Regenerated.
49576         * sysdeps/s390/s390-32/configure: Regenerated.
49577         * sysdeps/s390/s390-64/configure: Regenerated.
49578         * sysdeps/sh/configure: Regenerated.
49579         * sysdeps/sparc/configure: Regenerated.
49580         * sysdeps/x86_64/configure: Regenerated.
49582 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
49584         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49586         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
49587         denormal result into account.
49589 2012-03-25  Roland McGrath  <roland@hack.frob.com>
49591         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
49592         Reported by Allan McRae <allan@archlinux.org>.
49594 2012-03-23  Jeff Law  <law@redhat.com>
49596         * nss/getnssent.c (__nss_getent): Fix typo.
49598 2012-03-23  David S. Miller  <davem@davemloft.net>
49600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49602 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
49604         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
49605         to pad to uint64_t for each field.
49606         (dl_tls_index): Replace unsigned long with uint64_t.
49608 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
49609         Paul Pluzhnikov  <ppluzhnikov@google.com>
49611         [BZ #6528]
49612         * grp/Makefile (otherlibs): Don't set it.
49613         * inet/Makefile (otherlibs): Likewise.
49614         * login/Makefile (otherlibs): Likewise.
49615         * nscd/Makefile (otherlibs): Likewise.
49616         * posix/Makefile (otherlibs): Likewise.
49617         * pwd/Makefile (otherlibs): Likewise.
49618         * rt/Makefile (otherlibs): Likewise.
49619         * sunrpc/Makefile (otherlibs): Likewise.
49620         * nss/Makefile (otherlibs): Likewise.
49621         Add libnss_files to routines and static-only-routines.
49622         ($(objpfx)getent): Remove rule.
49623         * resolv/Makefile: Add libnss_dns and libresolv to routines and
49624         static-only-routines.
49626 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
49628         [BZ #13892]
49629         * math/s_cexp.c: Include <float.h>.
49630         (__cexp): Handle exp result overflowing not necessarily
49631         overflowing both real and imaginary parts of result.
49632         * math/s_cexpf.c: Likewise.
49633         * math/s_cexpl.c: Likewise.
49634         * math/libm-test.inc (cexp_test): Add more tests.
49635         * sysdeps/i386/fpu/libm-test-ulps: Update.
49636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49638 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
49640         * include/link.h (ELFW): New macro.
49641         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
49642         Replace ELF64_R_TYPE with ELFW(R_TYPE).
49644 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
49646         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
49647         with uint64_t.
49649 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
49651         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
49652         declaration.
49653         (struct La_x32_retval): Likewise.
49655 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
49657         * sysdeps/x86_64/preconfigure.in: New file.
49658         * sysdeps/x86_64/preconfigure: New generated file.
49660 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
49662         [BZ #13824]
49663         * math/e_exp2l.c: Include <float.h>.
49664         (__ieee754_exp2l): Handle overflow and underflow cases
49665         separately.  Only pass fractional part of argument to
49666         __ieee754_expl.
49667         * math/libm-test.inc (exp2_test): Add more tests.
49669         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
49670         negating x to take absolute value.
49671         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
49672         Likewise.
49673         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49674         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
49675         Likewise.
49676         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
49677         computing low part if x was negated.
49678         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49680 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
49682         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
49683         la_x32_gnu_pltexit.
49684         (pltexit): Cast int_retval to ptrdiff_t.
49685         * elf/tst-auditmod3b.c: Likewise.
49686         * elf/tst-auditmod4b.c: Likewise.
49687         * elf/tst-auditmod5b.c: Likewise.
49688         * elf/tst-auditmod6b.c: Likewise.
49689         * elf/tst-auditmod6c.c: Likewise.
49690         * elf/tst-auditmod7b.c: Likewise.
49692         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
49693         and x32_gnu_pltexit.
49695         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
49696         __ELF_NATIVE_CLASS.
49697         (La_x32_regs): New macro.
49698         (La_x32_retval): Likewise.
49699         (la_x32_gnu_pltenter): New function prototype.
49700         (la_x32_gnu_pltexit): Likewise.
49702 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
49704         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
49705         exponent.
49707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49709         * configure.in (libc_cv_cc_nofma): Check for option to disable
49710         generation of FMA instructions.
49711         * configure: Regenerate.
49712         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
49713         * sysdeps/ieee754/dbl-64/Makefile: New file.
49714         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
49715         Remove brandred-fma4.
49716         (CFLAGS-brandred-fma4.c): Remove.
49717         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
49718         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
49719         define.
49720         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
49721         define.
49723 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
49725         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49726         LLONG_MAX != LONG_MAX.
49727         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49728         (_fitoa_word): Likewise.
49729         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
49730         LLONG_MAX != LONG_MAX.
49731         * stdio-common/_itowa.h: Include <_itoa.h>.
49732         (_itowa_word): Use _ITOA_WORD_TYPE on value.
49733         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
49734         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
49735         only if not defined.
49736         (_ITOA_WORD_TYPE): Likewise.
49737         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49738         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
49740 2012-03-21  David S. Miller  <davem@davemloft.net>
49742         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49744 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
49746         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
49747         of x86_64 when setting libc_cv_slibdir, libdir and
49748         libc_cv_localedir.
49749         * sysdeps/unix/sysv/linux/configure: Regenerated.
49751 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
49753         * manual/lang.texi (Old Varargs): Remove section.
49754         (How Variadic): Update menu.
49755         (va_start): Do not mention varargs.h.
49757 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
49758             Joseph Myers  <joseph@codesourcery.com>
49760         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
49761         link test.
49762         * configure: Regenerated.
49764 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
49766         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
49767         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
49768         conformtest.pl
49770 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
49772         * NOTES: Remove.
49773         * Makefile (files-for-dist): Remove NOTES.
49774         (NOTES): Remove rule.
49775         * README: Don't refer to NOTES.
49776         * manual/creature.texi: Don't include macros.texi.
49777         * manual/intro.texi (creature.texi): Remove comment referring to
49778         NOTES.
49780         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
49781         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
49782         * configure: Regenerated.
49783         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
49784         LIBC_TRY_CC_OPTION.
49785         (libc_cv_as_i686): Likewise.
49786         (libc_cv_cc_avx): Likewise.
49787         (libc_cv_cc_sse2avx): Likewise.
49788         (libc_cv_cc_fma4): Likewise.
49789         (libc_cv_cc_novzeroupper): Likewise.
49790         * sysdeps/i386/configure: Regenerated.
49792         [BZ #13883]
49793         * sysdeps/i386/fpu/s_cexp.S: Remove.
49794         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49795         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49796         * math/libm-test.inc (cexp_test): Add more tests.
49797         * sysdeps/i386/fpu/libm-test-ulps: Update.
49798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49800 2012-03-21  Allan McRae  <allan@archlinux.org>
49802         * timezone/Makefile: Do not install iso3166.tab and zone.tab
49804 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
49806         [BZ #13871]
49807         * math/w_exp2.c: Do not include <float.h>.
49808         (o_threshold, u_threshold): Remove.
49809         (__exp2): Calculate result before checking finiteness and calling
49810         __kernel_standard.
49811         * math/w_exp2f.c: Likewise.
49812         * math/w_exp2l.c: Likewise.
49813         * math/libm-test.inc (exp2_test): Require overflow exception for
49814         1e6 input.
49816         [BZ #3866]
49817         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
49818         range of signed 64-bit integers before using fistpll.  Remove
49819         checks for whether integers fit in mantissa bits.
49820         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
49821         the range of signed 32-bit integers before using fistpl.  Remove
49822         checks for whether integers fit in mantissa bits.
49823         * sysdeps/i386/fpu/e_powl.S (p64): New object.
49824         (__ieee754_powl): Test for y outside the range of signed 64-bit
49825         integers before using fistpll.  Reduce 64-bit values to 63-bit
49826         ones as needed.
49827         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
49828         divide-by-zero is raised for zero to large negative powers.
49829         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
49830         (__ieee754_powl): Test for y outside the range of signed 64-bit
49831         integers before using fistpll.  Reduce 64-bit values to 63-bit
49832         ones as needed.
49833         * math/libm-test.inc (pow_test): Add more tests.
49835 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49837         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
49838         <stdio-common/_itoa.h>.
49839         * debug/segfault.c: Likewise.
49840         * elf/dl-cache.c: Likewise.
49841         * elf/dl-minimal.c: Likewise.
49842         * elf/dl-misc.c: Likewise.
49843         * elf/dl-sysdep.c: Likewise.
49844         * elf/dl-version.c: Likewise.
49845         * elf/rtld.c: Likewise.
49846         * hurd/hurdsock.c: Likewise.
49847         * hurd/lookup-retry.c: Likewise.
49848         * malloc/malloc.c: Likewise.
49849         * malloc/mtrace.c: Likewise.
49850         * nscd/nscd_getgr_r.c: Likewise.
49851         * nscd/nscd_getpw_r.c: Likewise.
49852         * nscd/nscd_getserv_r.c: Likewise.
49853         * posix/getopt_init.c: Likewise.
49854         * posix/wordexp.c: Likewise.
49855         * stdio-common/_itoa.c: Likewise.
49856         * stdio-common/printf_fphex.c: Likewise.
49857         * stdio-common/vfprintf.c: Likewise.
49858         * string/_strerror.c: Likewise.
49859         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
49860         * sysdeps/i386/i686/hp-timing.h: Likewise.
49861         * sysdeps/mach/_strerror.c: Likewise.
49862         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
49863         * sysdeps/mach/hurd/sethostid.c: Likewise.
49864         * sysdeps/mach/hurd/xmknodat.c: Likewise.
49865         * sysdeps/mach/xpg-strerror.c: Likewise.
49866         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49867         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49868         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
49869         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
49870         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49871         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
49872         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
49873         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
49874         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
49875         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
49876         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
49877         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49878         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
49879         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49880         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49881         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
49882         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
49883         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
49884         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
49885         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
49886         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
49888         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
49890         * stdio-common/_itoa.h: Moved to ...
49891         * sysdeps/generic/_itoa.h: Here.
49893         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
49895         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
49896         instead of "_itoa.h" and "_itowa.h".
49897         * stdio-common/vfprintf.: Likewise.
49899 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49901         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
49902         <bits/wordsize.h>.
49903         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
49904         (__signbit): Likwise.
49905         (llrintf): Likwise.
49906         (llrint): Likwise.
49908 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49910         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
49911         __WORDSIZE != 64.
49913 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
49915         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
49916         OVERFLOW_EXCEPTION_OK.
49917         * math/libm-test.inc ("Philosophy"): Update comment about
49918         exception testing.
49919         (OVERFLOW_EXCEPTION): Define.
49920         (OVERFLOW_EXCEPTION_OK): Likewise.
49921         (INVALID_EXCEPTION_OK): Renumber.
49922         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49923         (IGNORE_ZERO_INF_SIGN): Likewise.
49924         (test_exceptions): Handle FE_OVERFLOW.
49925         (exp10_test): Expect overflow exceptions.
49926         (exp2_test): Likewise.
49927         (expm1_test): Likewise.
49928         (nextafter_test): Likewise.
49929         (pow_test): Likewise.
49930         (scalbn_test): Likewise.
49931         (scalbln_test): Likewise.
49933 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49935         * sysdeps/x86_64/bits/atomic.h
49936         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
49937         64bit integer.
49938         (atomic_exchange_acq): Likewise.
49939         (__arch_exchange_and_add_body): Likewise.
49940         (__arch_add_body): Likewise.
49941         (atomic_add_negative): Likewise.
49942         (atomic_add_zero): Likewise.
49944 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49946         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
49947         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
49949 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49951         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
49952         Check __x86_64__ instead of __WORDSIZE.
49954 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49956         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
49958 2012-03-19  David S. Miller  <davem@davemloft.net>
49960         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49962         * sysdeps/sparc/fpu/fenv_private.h: New file.
49963         * sysdeps/sparc/fpu/math_private.h: Use it.
49964         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
49965         Remove.
49966         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
49967         (libc_feholdexcept_setroundl): Remove.
49968         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
49969         Remove.
49970         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
49971         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
49973 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49975         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
49976         int64_t instead of long int.
49977         (INSERT_WORDS64): Likwise.
49979 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49981         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
49982         _Unwind_GetCFA return to _Unwind_Ptr first.
49984 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
49986         [BZ #13629]
49987         * math/s_clog.c: Include <float.h>.
49988         (__clog): Scale large or subnormal inputs.
49989         * math/s_clogf.c: Likewise.
49990         * math/s_clogl.c: Likewise.
49991         * math/s_clog10.c: Include <float.h>.
49992         (M_LOG10_2): Define.
49993         (__clog10): Scale large or subnormal inputs.
49994         * math/s_clog10f.c: Likewise.
49995         * math/s_clog10l.c: Likewise.
49996         * math/libm-test.inc (clog_test): Add more tests.
49997         (clog10_test): Likewise.
49998         * sysdeps/i386/fpu/libm-test-ulps: Update.
49999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50001         [BZ #11451]
50002         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
50003         x and y.
50004         * math/libm-test.inc (atan2_test): Add another test.
50006         * Makerules (common-objdir-compile): Remove.
50007         * sysdeps/unix/Makefile (config-generated): Do not add
50008         $(unix-generated) to variable.
50009         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
50010         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
50011         Remove rule.
50012         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
50013         Likewise.
50014         [generic bits/local_lim.h] (before-compile): Do not append to
50015         variable.
50016         [generic bits/local_lim.h] (common-generated): Likewise.
50017         [generic sys/param.h] (before-compile): Do not append to variable.
50018         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
50019         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
50020         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
50021         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
50022         include.
50023         [generic sys/param.h] (sys/param.h-includes): Remove variable.
50024         [generic sys/param.h] (sys/param.h-includes): Remove rule.
50025         [generic sys/param.h] ($(addprefix
50026         $(common-objpfx),$(sys/param.h-includes))): Likewise.
50027         [generic sys/param.h] (common-generated): Do not append to
50028         variable.
50029         [generic sys/param.h] (sysdep_headers): Likewise.
50030         [generic bits/errno.h] (before-compile): Do not append to
50031         variable.
50032         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
50033         rule.
50034         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
50035         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
50036         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
50037         [generic bits/errno.h] (common-generated): Do not append to
50038         variable.
50039         [generic bits/ioctls.h] (before-compile): Do not append to
50040         variable.
50041         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
50042         rule.
50043         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
50044         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
50045         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
50046         rule.
50047         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
50048         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
50049         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
50050         [generic bits/ioctls.h] (common-generated): Do not append to
50051         variable.
50052         [generic sys/syscall.h] (syscall.h): Remove variable.
50053         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
50054         rule.
50055         [generic sys/syscall.h] (before-compile): Do not append to
50056         variable.
50057         [generic sys/syscall.h] (common-generated): Likewise.
50058         * sysdeps/unix/errnos-tmpl.c: Remove file.
50059         * sysdeps/unix/errnos.awk: Likewise.
50060         * sysdeps/unix/ioctls-tmpl.c: Likewise.
50061         * sysdeps/unix/ioctls.awk: Likewise.
50062         * sysdeps/unix/mk-local_lim.c: Likewise.
50063         * sysdeps/unix/snarf-ioctls: Likewise.
50065 2012-03-19  Richard Henderson  <rth@twiddle.net>
50067         * sysdeps/i386/fpu/fenv_private.h: New file.
50068         * sysdeps/i386/fpu/math_private.h: Use it.
50069         (math_opt_barrier, math_force_eval): Remove.
50070         (libc_feholdexcept_setround_53bit): Remove.
50071         (libc_feupdateenv_53bit): Remove.
50072         * sysdeps/x86_64/fpu/math_private.h: Likewise.
50073         (math_opt_barrier, math_force_eval): Remove.
50074         (libc_feholdexcept): Remove.
50075         (libc_feholdexcept_setround): Remove.
50076         (libc_fetestexcept, libc_fesetenv): Remove.
50077         (libc_feupdateenv_test): Remove.
50078         (libc_feupdateenv, libc_feholdsetround): Remove.
50079         (libc_feresetround): Remove.
50081         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
50082         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
50084         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
50085         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
50086         (libc_feupdateenv_testl): New.
50087         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
50088         (libc_feupdateenv_testf): New.
50089         (libc_feupdateenv): Use libc_feupdateenv_test.
50090         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
50091         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
50093         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
50094         (libc_feholdsetroundf, libc_feholdsetroundl): New.
50095         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
50096         (libc_feresetround_noex): New.
50097         (libc_feresetround_noexf): New.
50098         (libc_feresetround_noexl): New.
50099         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
50100         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
50101         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
50102         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
50103         SET_RESTORE_ROUND.
50104         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50105         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
50106         (__cos): Likewise.
50107         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
50108         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
50109         SET_RESTORE_ROUND_NOEX.
50110         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
50111         SET_RESTORE_ROUND_NOEXF.
50112         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
50113         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
50114         (libc_feholdsetroundf): New.
50115         (libc_feresetround, libc_feresetroundf): New.
50117         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
50118         (libc_feholdexcept_setround_53bit): Convert from macro to function.
50119         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
50121         * sysdeps/generic/math_private.h: Include <fenv.h>.
50122         (default_libc_feholdexcept): New.
50123         (default_libc_feholdexcept_setround): New.
50124         (default_libc_fesetenv, default_libc_feupdateenv): New.
50125         (libc_feholdexcept): Only define if undefined.
50126         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
50127         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
50128         (libc_feholdexcept_setroundl): Likewise.
50129         (libc_feholdexcept_setround_53bit): Likewise.
50130         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
50131         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
50132         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
50133         (libc_feupdateenv_53bit): Likewise.
50134         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
50135         (libc_feholdexcept): Convert from macro to inline function.
50136         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
50137         (libc_fesetenv, libc_feupdateenv): Likewise.
50139         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
50140         not previously defined.
50141         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
50142         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
50143         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
50144         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
50145         * sysdeps/ieee754/flt-32/math_private.h: New file.
50146         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
50147         math_private.h below SET_FLOAT_WORD.
50148         (__isnan, __isinf_ns, __finite): Remove.
50149         (__isnanf, __isinf_nsf, __finitef): Remove.
50151 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
50153         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50155 2012-03-17  David S. Miller  <davem@davemloft.net>
50157         [BZ #6471]
50158         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
50159         for 2.16.
50161 2012-03-16  David S. Miller  <davem@davemloft.net>
50163         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
50164         warnings.
50166         [BZ #6471]
50167         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
50168         properly.
50169         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
50170         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
50171         sysdep_routines when subdir is sysvipc.
50172         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
50173         __getshmlba helper.
50175         * sysdeps/sparc/fpu/libm-test/ulps: Update.
50177 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50179         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
50180         [__LP64__].
50182 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50184         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
50185         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
50186         (__lround): Renamed to ...
50187         (__llround): This.  Replace long int with long long int.
50188         Define lround functions as aliases of llround functions.
50189         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
50191 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50193         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
50194         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
50195         adresses to uintptr_t.  Replace "long int" and "unsigned long
50196         int" with "greg_t" on va_arg.
50198 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50200         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
50201         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
50203         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
50204         Move e_machine check before EI_CLASS check.  Handle x32
50205         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
50206         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
50207         SKIP_EM_IA_64 and include
50208         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
50210         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
50211         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
50212         (add_system_dir): New macro.
50214         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
50215         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
50217 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
50219         [BZ #2551]
50220         [BZ #2552]
50221         [BZ #2553]
50222         [BZ #2554]
50223         [BZ #2562]
50224         [BZ #2563]
50225         [BZ #2565]
50226         [BZ #2566]
50227         [BZ #2576]
50228         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
50229         (y0): Likewise.
50230         * math/w_j0f.c (j0f): Likewise.
50231         (y0f): Likewise.
50232         * math/w_j0l.c (__j0l): Likewise.
50233         (__y0l): Likewise.
50234         * math/w_j1.c (j1): Likewise.
50235         (y1): Likewise.
50236         * math/w_j1f.c (j1f): Likewise.
50237         (y1f): Likewise.
50238         * math/w_j1l.c (__j1l): Likewise.
50239         (__y1l): Likewise.
50240         * math/w_jn.c (jn): Likewise.
50241         (yn): Likewise.
50242         * math/w_jnf.c (jnf): Likewise.
50243         (ynf): Likewise.
50244         * math/w_jnl.c (__jnl): Likewise.
50245         (__ynl): Likewise.
50246         * math/libm-test.inc (j0_test): Add more tests.
50247         (j1_test): Likewise.
50248         (jn_test): Likewise.  Add trailing semicolon to existing test.
50249         (y0_test): Likewise.
50250         (y1_test): Likewise.
50251         * sysdeps/i386/fpu/libm-test-ulps: Update.
50252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50254         [BZ #13851]
50255         [BZ #13854]
50256         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
50257         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
50258         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
50259         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
50260         (__tanl): Set errno for infinite argument.
50261         * sysdeps/i386/fpu/mptan.c: Remove.
50262         * sysdeps/i386/fpu/s_tan.S: Likewise.
50263         * sysdeps/i386/fpu/s_tanl.S: Likewise.
50264         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
50265         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
50266         * math/libm-test.inc (tan_test): Add more tests and enable more
50267         tests for double and long double.
50268         * sysdeps/i386/fpu/libm-test-ulps: Update.
50269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50271 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
50273         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
50274         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
50276 2012-03-16  Roland McGrath  <roland@hack.frob.com>
50278         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
50279         * configure.in: Use it for both main tree and add-ons.
50280         * configure: Regenerated.
50282 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50284         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
50286 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
50288         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
50289         in comment.
50291         [BZ #13851]
50292         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
50293         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
50294         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
50295         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
50296         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
50297         infinite argument.
50298         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
50299         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
50300         != 0 for prec == 2.
50301         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
50302         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
50303         * sysdeps/i386/fpu/s_cosl.S: Likewise.
50304         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
50305         * sysdeps/i386/fpu/s_sinl.S: Likewise.
50306         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
50307         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
50308         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
50309         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
50310         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
50311         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
50312         * math/libm-test.inc (cos_test): Add more tests and enable more
50313         tests for long double.
50314         (sin_test): Likewise.
50315         (sincos_test): Likewise.
50316         * sysdeps/i386/fpu/libm-test-ulps: Update.
50317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50319 2012-03-16  David S. Miller  <davem@davemloft.net>
50321         * sysdeps/sparc/fpu/math_private.h: New file.
50323 2012-03-15  David S. Miller  <davem@davemloft.net>
50325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
50326         file.
50327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
50328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
50329         file.
50330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
50331         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
50332         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
50333         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
50334         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
50335         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
50336         sysdep routines.
50337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50339         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
50340         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
50342         * sysdeps/sparc/sparc-ifunc.h: New file.
50343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
50344         sparc-ifunc.h
50345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
50347         Likewise.
50348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
50349         Likewise.
50350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
50351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
50352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50354         Likewise.
50355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
50357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
50359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
50360         Likewise.
50361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
50362         Likewise.
50363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
50365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
50366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
50367         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50368         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50369         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
50370         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
50371         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50372         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50373         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
50374         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
50375         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
50376         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
50377         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
50378         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
50379         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
50380         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
50381         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
50382         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
50383         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
50384         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
50385         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
50386         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
50388 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
50390         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
50391         scaling.
50392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50394 2012-03-15  Andreas Jaeger  <aj@suse.de>
50396         [BZ #13852]
50397         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
50398         ieee754/flt-32 implementation for sin, cos and sincos.
50399         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
50400         * sysdeps/i386/fpu/s_cosf.S: Likewise.
50401         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
50402         * sysdeps/i386/fpu/s_sinf.S: Likewise.
50403         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
50404         ieee754/flt-32 implementation for tan.
50406         * math/libm-test.inc (cos_test): Enable some large input tests for
50407         float as well
50408         (sin_test): Likewise.
50409         (sincos_test): Likewise.
50410         (tan_test): Add tests for large input.
50412         * sysdeps/i386/fpu/libm-test-ulps: Update.
50414 2012-03-15  Andreas Jaeger  <aj@suse.de>
50416         [BZ #13658]
50417         * math/libm-test.inc (cos_test): Add more test cases.
50418         (sin_test): Likewise.
50419         (sincos_test): Likewise.
50421 2012-03-15  Andreas Jaeger  <aj@suse.de>
50423         [BZ #13837]
50424         * math/libm-test.inc (cos_test): Add a test case for large input
50425         value.
50426         (sin_test): Likewise.
50427         (sincos_test): Likewise.
50429 2012-03-15  Andreas Jaeger  <aj@suse.de>
50430             Joseph Myers  <joseph@codesourcery.com>
50432         [BZ #13658]
50433         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
50434         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
50435         * sysdeps/i386/fpu/branred.c: Likewise.
50436         * sysdeps/i386/fpu/dosincos.c: Likewise.
50437         * sysdeps/i386/fpu/mpa.c: Likewise.
50438         * sysdeps/i386/fpu/s_cos.S: Likewise.
50439         * sysdeps/i386/fpu/s_sin.S: Likewise.
50440         * sysdeps/i386/fpu/s_sincos.S: Likewise.
50441         * sysdeps/i386/fpu/sincos32.c: Likewise.
50443         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
50444         Define.
50445         (libc_feupdateenv_53bit): Define.
50446         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
50447         Define.
50448         (libc_feupdateenv_53bit): Define.
50450         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
50451         53 bit (without extend i386 double precision).
50453         * math/libm-test.inc (sincos_test): Add tests for large input.
50454         (sin): Likewise.
50455         (cos): Likewise.
50457         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
50459 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
50461         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50463 2012-03-15  David S. Miller  <davem@davemloft.net>
50465         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
50466         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
50467         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
50468         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
50469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
50470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
50471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
50472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
50473         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
50474         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
50475         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
50476         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
50477         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
50478         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
50479         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
50480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
50481         file.
50482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
50483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
50484         file.
50485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
50486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
50487         file.
50488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
50489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
50490         file.
50491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
50492         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
50493         fmin/fmax sysdep routines.
50494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50496 2012-03-14  David S. Miller  <davem@davemloft.net>
50498         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
50499         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
50500         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
50501         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
50502         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
50503         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
50504         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
50505         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
50506         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
50507         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
50508         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
50509         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
50510         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
50511         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
50512         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
50513         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
50514         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
50515         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
50516         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
50517         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
50518         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
50519         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
50520         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
50521         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
50522         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
50523         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
50524         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
50525         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
50526         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
50527         routines.
50528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
50529         file.
50530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
50531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
50532         file.
50533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
50534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
50535         file.
50536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
50537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
50538         file.
50539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
50540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
50541         file.
50542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
50543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
50544         file.
50545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
50546         file.
50547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
50548         file.
50549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
50550         file.
50551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
50552         New file.
50553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
50554         file.
50555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
50556         file.
50557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
50558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
50559         file.
50560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
50561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
50562         file.
50563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
50564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
50565         file.
50566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
50567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
50568         VIS3 routines.
50570         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
50571         New file.
50573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50575         * sysdeps/sparc/configure.in: New file.
50576         * sysdeps/sparc/configure: Generate.
50577         * configure.in (libc_cv_sparc_as_vis3): Substitute.
50578         * configure: Regenerate.
50579         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
50580         * config.make.in (have-as-vis3): New.
50581         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
50582         available use -Av9d instead of -Av9a.
50583         * sysdeps/sparc/sparc64/Makefile: Likewise.
50584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
50585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
50586         New file.
50587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
50588         file.
50589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
50590         New file.
50591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
50592         file.
50593         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
50594         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
50595         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
50596         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
50597         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
50599         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
50600         fzeros/fnegs to load 0x80000000 into a float register instead of
50601         using the stack.
50602         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
50604 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
50606         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50607         bits/syscall.h.
50608         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
50609         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
50610         ($(inst_includedir)/bits/syscall.h): Remove rule.
50611         ($(objpfx)bits/syscall.d): Include instead of
50612         $(objpfx)syscall-list.d.
50613         (generated): Change syscall-list.h and syscall-list.d to
50614         bits/syscall.h and bits/syscall.d.
50616 2012-03-14  Roland McGrath  <roland@hack.frob.com>
50618         [BZ #13846]
50619         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
50621 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
50623         [BZ #13841]
50624         * math/s_csqrt.c: Include <float.h>.
50625         (__csqrt): Scale large or subnormal inputs.
50626         * math/s_csqrtf.c: Likewise.
50627         * math/s_csqrtl.c: Likewise.
50628         * math/libm-test.inc (csqrt_test): Add more tests.
50629         * sysdeps/i386/fpu/libm-test-ulps: Update.
50630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50632         [BZ #13840]
50633         * math/libm-test.inc (hypot_test): Add more tests.
50635 2012-03-13  David S. Miller  <davem@davemloft.net>
50637         [BZ #13840]
50638         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
50639         double-precision for the calculation instead of scaling.
50641 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
50643         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
50644         manipulate bits before adding and subtracting TWO52[sx].
50645         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
50646         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
50647         Likewise.
50648         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
50650 2012-03-13  David S. Miller  <davem@davemloft.net>
50652         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
50653         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
50654         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
50655         rtld-global-offsets.h
50656         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50658         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
50659         large parameters.
50661         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
50663         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
50664         'err' in the ifdef scope in which it is actually used.
50666         * nss/nss_db/db-init.c: Include string.h
50668 2012-03-12  David S. Miller  <davem@davemloft.net>
50670         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50671         masking out of the most significant byte of random value used.
50672         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50673         Fix coding style in previous change.
50675         * sysdeps/unix/sysv/linux/kernel-features.h
50676         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
50677         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
50678         expression.
50679         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
50680         later.
50682 2012-03-11  David S. Miller  <davem@davemloft.net>
50684         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50685         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
50686         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
50687         for 'resultvar' otherwise things get truncated on 64-bit.
50689         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50690         Fix masking out of the most significant byte of random value used.
50692         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50694 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
50696         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50698 2012-03-09  David S. Miller  <davem@davemloft.net>
50700         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
50701         variables with appropriate CPP guards.
50702         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
50703         from the frame pointer, not the stack pointer.  Correct layout
50704         comments.  Fix test on resulting framesize and the management of
50705         the outregs buffer for pltexit.  Preserve floating point return
50706         values across _dl_call_pltexit call.
50707         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
50708         framesize and the management of the outregs buffer for pltexit.
50709         Preserve floating point return values across _dl_call_pltexit
50710         call.
50711         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
50712         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
50713         (la_sparc64_gnu_pltexit): New functions.
50714         (print_exit): Fix format string for return register value.
50716 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
50718         * sunrpc/Makefile (others): Add rpcgen.
50719         ($(objpfx)rpcgen): Remove special build rule and dependency on
50720         libc.
50721         * sunrpc/rpcgen.c: New file.
50723 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
50725         [BZ #13673]
50726         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
50727         * stdio-common/bug-vfprintf-nargs.c: Likewise.
50728         * sysdeps/i386/crti.S: Likewise.
50729         * sysdeps/i386/crtn.S: Likewise.
50730         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
50731         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
50732         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
50733         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
50734         * sysdeps/sh/crti.S: Likewise.
50735         * sysdeps/sh/crtn.S: Likewise.
50736         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
50738         [BZ #13673]
50739         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
50740         with URL.
50741         * locale/programs/locfile-kw.gperf: Likewise.
50742         * locale/programs/charmap-kw.h: Regenerated.
50743         * locale/programs/locfile-kw.h: Likewise.
50745         [BZ #13673]
50746         * intl/plural.y: Replace FSF snail mail address with URL.
50747         * intl/plural.c: Regenerated.
50749 2012-03-09  Richard Henderson  <rth@twiddle.net>
50751         * include/math_private.h: Remove file.
50752         * math/math_private.h: Move file ...
50753         * sysdeps/generic/math_private.h: ... here.
50755         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
50756         * sysdeps/powerpc/fpu/math_private.h: Likewise.
50757         * sysdeps/x86_64/fpu/math_private.h: Likewise.
50759         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
50760         and <math_private.h>.
50761         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50762         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50763         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50764         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50765         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50766         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
50767         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50768         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50769         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50770         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50771         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50772         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50773         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50774         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50775         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50776         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50777         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50778         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50779         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50780         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50781         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50782         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50783         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50784         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50785         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50786         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50787         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50788         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50789         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50790         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50791         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50792         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50793         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
50794         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50795         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50796         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50797         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50798         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50799         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50800         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50801         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
50802         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50803         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50804         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
50805         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
50806         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50807         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
50808         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
50809         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50810         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50811         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
50812         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
50813         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
50814         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50815         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
50816         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50817         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50818         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50819         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
50820         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
50821         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50822         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
50823         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50824         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50825         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
50826         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50827         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50828         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50829         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
50830         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
50831         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50832         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50833         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50834         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50835         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
50836         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
50837         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
50838         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50839         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
50840         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
50841         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50842         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
50843         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50844         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50845         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50846         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50847         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
50848         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
50849         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50850         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50851         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50852         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50853         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50854         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50855         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50856         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50857         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50858         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50859         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50860         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50861         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50862         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50863         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50864         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50865         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50866         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50867         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50868         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50869         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50870         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50871         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50872         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50873         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50874         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50875         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
50876         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50877         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50878         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50879         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50880         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50881         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50882         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50883         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50884         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
50885         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50886         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50887         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50888         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
50889         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50890         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
50891         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
50892         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50893         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50894         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
50895         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
50896         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50897         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50898         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50899         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
50900         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50901         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50902         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50903         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50904         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
50905         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
50906         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50907         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50908         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50909         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
50910         * sysdeps/ieee754/k_standard.c: Likewise.
50911         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50912         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50913         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50914         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50915         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50916         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50917         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50918         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50919         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50920         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50921         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50922         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50923         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50924         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50925         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50926         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50927         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50928         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50929         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50930         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
50931         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
50932         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
50933         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50934         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50935         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50936         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
50937         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50938         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50939         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50940         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50941         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50942         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50943         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50944         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50945         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50946         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50947         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50948         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
50949         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
50950         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50951         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50952         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50953         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50954         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50955         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50956         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50957         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50958         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50959         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50960         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50961         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50962         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50963         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50964         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
50965         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50966         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50967         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
50968         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
50969         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50970         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50971         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50972         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50973         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50974         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50975         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50976         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50977         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50978         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50979         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50980         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50981         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50982         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50983         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50984         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50985         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50986         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50987         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
50988         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50989         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50990         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50991         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50992         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50993         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50994         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50995         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
50996         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50997         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50998         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
50999         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
51000         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51001         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
51002         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51003         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
51004         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
51005         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51006         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51007         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
51008         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
51009         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
51010         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
51011         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51012         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51013         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51014         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51015         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
51016         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51017         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51018         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
51019         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
51020         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51021         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51022         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51023         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51024         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51025         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51026         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51027         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51028         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51029         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51030         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51031         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51032         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51033         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51034         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51035         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51036         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
51037         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51038         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51039         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51040         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51041         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51042         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51043         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51044         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
51045         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51046         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51047         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
51048         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
51049         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51050         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
51051         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
51052         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51053         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
51054         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
51055         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51056         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51057         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51058         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51059         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51060         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
51061         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51062         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51063         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51064         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51065         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
51066         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
51067         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51068         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51069         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51070         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
51071         * sysdeps/ieee754/s_lib_version.c: Likewise.
51072         * sysdeps/ieee754/s_matherr.c: Likewise.
51073         * sysdeps/ieee754/s_signgam.c: Likewise.
51074         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51075         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51076         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
51077         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
51078         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
51079         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
51080         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
51081         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
51082         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
51083         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
51084         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
51085         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
51086         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51087         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51088         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
51089         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
51090         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51091         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
51092         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51093         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51094         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51096 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
51098         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
51099         * sunrpc/rpc_main.c: Likewise.
51100         * sunrpc/rpc_svcout.c: Likewise.
51102 2012-03-09  David S. Miller  <davem@davemloft.net>
51104         * include/math_private.h: New file.
51106 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
51108         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
51109         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
51110         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
51111         from <bits/socket_type.h>.
51112         (enum __socket_type): Don't define here.
51113         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
51114         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51115         bits/socket_type.h.
51117         [BZ #13566]
51118         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
51119         checking __USE_GNU.
51121         * Makerules ($(inst_includedir)/%.h): New rule.
51122         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
51123         (install-others): Remove variable setting.
51124         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
51126 2012-03-08  Richard Henderson  <rth@twiddle.net>
51128         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
51129         from macro to inline function; merge with the
51130         !__LIBC_INTERNAL_MATH_INLINES version.
51131         (__ieee754_sqrtf): Likewise.
51133         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
51134         to inline function.
51135         (__rintf, __floor, __floorf): Likewise.
51137         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
51138         macro to inline function.
51139         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
51141         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
51142         not <math/math_private.h>.
51144 2012-03-08  David S. Miller  <davem@davemloft.net>
51146         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
51147         copyright year.
51148         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
51150 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
51152         * resolv/gai_misc.c (handle_requests): Fix struct timespec
51153         normalization.
51154         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
51155         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
51157 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
51159         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
51160         be defined individually, they must be defined as a block.  Define
51161         S for printing a string instead of hidint the different by using a
51162         macro for adding the 'l'.
51163         * stdio-common/tst-fphex-wide.c: Adjust.
51165 2012-03-07  Marek Polacek  <polacek@redhat.com>
51167         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
51169 2012-03-08  Marek Polacek  <polacek@redhat.com>
51171         [BZ #13806]
51172         * stdio-common/Makefile (tests): Add tst-fphex-wide.
51173         * stdio-common/tst-fphex.c: Define a few macros to make the
51174         test reusable.  Use them.
51175         * stdio-common/tst-fphex-wide.c: New file.
51177 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
51179         [BZ #6911]
51180         * manual/macros.texi (gnusystems): New macro.
51181         (nongnusystems): Likewise.
51182         (gnulinuxhurdsystems): Likewise.
51183         (gnuhurdsystems): Likewise..
51184         (gnulinuxsystems): Likewise.
51185         * manual/charset.texi: Use new macros or @theglibc{} to refer to
51186         variants of the GNU system, not "GNU system".
51187         * manual/conf.texi: Likewise.
51188         * manual/errno.texi: Likewise.  Update example of errno macro
51189         expansion.
51190         * manual/filesys.texi: Likewise.
51191         (getumask): Document as specific to GNU/Hurd.
51192         * manual/install.texi: Likewise.  Reword some references to
51193         GNU/Linux.
51194         * manual/intro.texi: Likewise.
51195         * manual/io.texi: Likewise.
51196         (File Name Portability): Detail which constraints are inapplicable
51197         to all GNU systems and which are only inapplicable to GNU/Hurd.
51198         * manual/job.texi: Likewise.
51199         * manual/llio.texi: Likewise.
51200         (O_NOCTTY): Document as present on GNU/Linux.
51201         * manual/maint.texi: Likewise.
51202         * manual/memory.texi: Likewise.
51203         * manual/pattern.texi: Likewise.
51204         * manual/pipe.texi: Likewise.
51205         * manual/process.texi: Likewise.
51206         * manual/resource.texi: Likewise.
51207         (RUSAGE_CHILDREN): Remove statement about specifying a particular
51208         child on GNU/Hurd.
51209         * manual/setjmp.texi: Likewise.
51210         * manual/signal.texi: Likewise.
51211         * manual/startup.texi: Likewise.
51212         * manual/stdio.texi: Likewise.
51213         * manual/terminal.texi: Likewise.
51214         (ONLCR): Document as POSIX.
51215         (OXTABS): Document availability on GNU/Linux as XTABS.
51216         (ONOEOT): Document availability separately from other bits.
51217         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
51218         * manual/time.texi: Likewise.
51219         * manual/users.texi: Likewise.
51220         * INSTALL: Regenerated.
51221         * sysdeps/gnu/errlist.c: Regenerated.
51223         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
51224         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
51225         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
51226         puts.
51227         * configure: Regenerated.
51229 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
51231         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
51232         default includes instead of AC_HEADER_CHECK.
51233         * sysdeps/i386/configure: Regenerated.
51235         [BZ #10716]
51236         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
51237         * math/s_cacoshf.c (__cacoshf): Likewise.
51238         * math/s_cacoshl.c (__cacoshl): Likewise.
51239         * math/s_casinh.c (__casinh): Set signs of result from argument.
51240         * math/s_casinhf.c (__casinhf): Likewise.
51241         * math/s_casinhl.c (__casinhl): Likewise.
51242         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
51243         (casinh_test): Add more tests.
51244         * sysdeps/i386/fpu/libm-test-ulps: Update.
51245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51247 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
51249         * po/zh_TW.po: Update from translation team.
51251         * login/Makefile (distribute): Remove variable.
51252         * catgets/Makefile: Likewise.
51253         * mach/Makefile: Likewise.
51254         * malloc/Makefile: Likewise.
51255         * misc/Makefile: Likewise.
51256         * iconv/Makefile: Likewise.
51257         * nscd/Makefile: Likewise.
51258         * hurd/Makefile: Likewise.
51259         * manual/Makefile: Likewise.
51260         * locale/Makefile: Likewise.
51261         * intl/Makefile: Likewise.
51262         * conform/Makefile: Likewise.
51263         * nss/Makefile: Likewise.
51264         * time/Makefile: Likewise.
51265         * soft-fp/Makefile: Likewise.
51266         * dirent/Makefile: Likewise.
51267         * gmon/Makefile: Likewise.
51268         * po/Makefile: Likewise.
51269         * rt/Makefile: Likewise.
51270         * socket/Makefile: Likewise.
51271         * math/Makefile: Likewise.
51272         * signal/Makefile: Likewise.
51273         * debug/Makefile: Likewise.
51274         * elf/Makefile: Likewise.
51275         * timezone/Makefile: Likewise.
51276         * stdlib/Makefile: Likewise.
51277         * iconvdata/Makefile: Likewise.
51278         * sunrpc/Makefile: Likewise.
51279         * io/Makefile: Likewise.
51280         * argp/Makefile: Likewise.
51281         * inet/Makefile: Likewise.
51282         * hesiod/Makefile: Likewise.
51283         * grp/Makefile: Likewise.
51284         * csu/Makefile: Likewise.
51285         * wctype/Makefile: Likewise.
51286         * crypt/Makefile: Likewise.
51287         * libio/Makefile: Likewise.
51288         * string/Makefile: Likewise.
51289         * nis/Makefile: Likewise.
51290         * resolv/Makefile: Likewise.
51291         * stdio-common/Makefile: Likewise.
51292         * wcsmbs/Makefile: Likewise.
51293         * dlfcn/Makefile: Likewise.
51294         * posix/Makefile: Likewise.
51296         [BZ #6959]
51297         * timezone/Makefile: Don't install timezone files, just the programs
51298         and scripts.
51300 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
51302         * nss/databases.def: Add missing gshadow entry.
51304         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
51306 2012-03-06  Marek Polacek  <polacek@redhat.com>
51308         [BZ #13726]
51309         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
51310         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51311         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
51312         * stdio-common/tst-long-dbl-fphex.c: New file.
51314 2012-03-06  David S. Miller  <davem@davemloft.net>
51316         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51317         (set_obp_int): New function.
51318         (get_obp_int): New function.
51319         (__get_clockfreq_via_dev_openprom): Likewise.
51320         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
51321         Avoid unused variable warnings on 'val' and use builtin_expect.
51322         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
51323         __builtin_expect.
51324         (INLINE_CLONE_SYSCALL): Likewise.
51326 2012-03-05  David S. Miller  <davem@davemloft.net>
51328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51330 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
51332         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51334         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
51335         only for |x| >= 40.
51336         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51338 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
51340         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
51341         Replace gettimeofday with __vdso_gettimeofday.
51343         * sysdeps/unix/sysv/linux/x86_64/init-first.c
51344         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
51345         __vdso_clock_gettime and __vdso_getcpu.
51347         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
51348         time with __vdso_time.
51350 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
51352         * manual/lang.texi (size_t): Note types to which size_t may be
51353         equivalent with the GNU C Library, but do not describe when
51354         differences between them are significant.
51356 2012-03-05  Andreas Jaeger  <aj@suse.de>
51358         * sysdeps/i386/fpu/libm-test-ulps: Update.
51360 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
51362         [BZ #3976]
51363         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
51364         (__ieee754_pow): Save and restore rounding mode and use
51365         round-to-nearest for main computations.
51366         * math/libm-test.inc (pow_test_tonearest): New function.
51367         (pow_test_towardzero): Likewise.
51368         (pow_test_downward): Likewise.
51369         (pow_test_upward): Likewise.
51370         (main): Call the new functions.
51371         * sysdeps/i386/fpu/libm-test-ulps: Update.
51372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51374         [BZ #3976]
51375         * math/libm-test.inc (cosh_test_tonearest): New function.
51376         (cosh_test_towardzero): Likewise.
51377         (cosh_test_downward): Likewise.
51378         (cosh_test_upward): Likewise.
51379         (sinh_test_tonearest): Likewise.
51380         (sinh_test_towardzero): Likewise.
51381         (sinh_test_downward): Likewise.
51382         (sinh_test_upward): Likewise.
51383         (main): Call the new functions.
51384         * sysdeps/i386/fpu/libm-test-ulps: Update.
51385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51387 2012-03-05  Tom de Vries  <tom@codesourcery.com>
51389         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
51390         default stack guard is set in last bytes.
51391         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
51393 2012-03-05  Kees Cook  <keescook@chromium.org>
51395         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
51397         [BZ #13656]
51398         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
51399         possibly allocate from heap instead of stack.
51400         * stdio-common/bug-vfprintf-nargs.c: New file.
51401         * stdio-common/Makefile (tests): Add nargs overflow test.
51403 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
51405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51407 2012-03-03  Marek Polacek  <polacek@redhat.com>
51409         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
51410         * math/math_private.h: Likewise.
51411         * stdlib/tst-strtod.c: Likewise.
51412         * sysdeps/i386/i486/bits/atomic.h: Likewise.
51413         * sysdeps/x86_64/bits/atomic.h: Likewise.
51415 2012-03-02  David S. Miller  <davem@davemloft.net>
51417         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
51418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
51419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
51420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
51421         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
51422         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
51423         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
51424         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
51426 2012-03-02  Roland McGrath  <roland@hack.frob.com>
51428         [BZ #13792]
51429         * manual/examples/README: New file, says the example source files
51430         can be used under GPL>=2.
51431         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
51432         line containing just "*/".
51433         * manual/examples/add.c: Add copyright header (GPL>=2).
51434         * manual/examples/argp-ex1.c: Likewise.
51435         * manual/examples/argp-ex2.c: Likewise.
51436         * manual/examples/argp-ex3.c: Likewise.
51437         * manual/examples/argp-ex4.c: Likewise.
51438         * manual/examples/atexit.c: Likewise.
51439         * manual/examples/db.c: Likewise.
51440         * manual/examples/dir.c: Likewise.
51441         * manual/examples/dir2.c: Likewise.
51442         * manual/examples/execinfo.c: Likewise.
51443         * manual/examples/filecli.c: Likewise.
51444         * manual/examples/filesrv.c: Likewise.
51445         * manual/examples/fmtmsgexpl.c: Likewise.
51446         * manual/examples/genpass.c: Likewise.
51447         * manual/examples/inetcli.c: Likewise.
51448         * manual/examples/inetsrv.c: Likewise.
51449         * manual/examples/isockad.c: Likewise.
51450         * manual/examples/longopt.c: Likewise.
51451         * manual/examples/memopen.c: Likewise.
51452         * manual/examples/memstrm.c: Likewise.
51453         * manual/examples/mkfsock.c: Likewise.
51454         * manual/examples/mkisock.c: Likewise.
51455         * manual/examples/mygetpass.c: Likewise.
51456         * manual/examples/pipe.c: Likewise.
51457         * manual/examples/popen.c: Likewise.
51458         * manual/examples/rprintf.c: Likewise.
51459         * manual/examples/search.c: Likewise.
51460         * manual/examples/select.c: Likewise.
51461         * manual/examples/setjmp.c: Likewise.
51462         * manual/examples/sigh1.c: Likewise.
51463         * manual/examples/sigusr.c: Likewise.
51464         * manual/examples/stpcpy.c: Likewise.
51465         * manual/examples/strdupa.c: Likewise.
51466         * manual/examples/strftim.c: Likewise.
51467         * manual/examples/strncat.c: Likewise.
51468         * manual/examples/subopt.c: Likewise.
51469         * manual/examples/swapcontext.c: Likewise.
51470         * manual/examples/termios.c: Likewise.
51471         * manual/examples/testopt.c: Likewise.
51472         * manual/examples/testpass.c: Likewise.
51473         * manual/examples/timeval_subtract.c: Likewise.
51475         [BZ #13792]
51476         * manual/time.texi (Elapsed Time): Move timeval_subtract example
51477         function to ...
51478         * manual/timeval_subtract.c.texi: ... here, new file.
51480 2012-03-02  David S. Miller  <davem@davemloft.net>
51482         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
51484 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
51486         [BZ #3976]
51487         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
51488         (__sin): Save and restore rounding mode and use round-to-nearest
51489         for all computations.
51490         (__cos): Save and restore rounding mode and use round-to-nearest
51491         for all computations.
51492         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
51493         <fenv.h>.
51494         (tan): Save and restore rounding mode and use round-to-nearest for
51495         all computations.
51496         * math/libm-test.inc (cos_test_tonearest): New function.
51497         (cos_test_towardzero): Likewise.
51498         (cos_test_downward): Likewise.
51499         (cos_test_upward): Likewise.
51500         (sin_test_tonearest): Likewise.
51501         (sin_test_towardzero): Likewise.
51502         (sin_test_downward): Likewise.
51503         (sin_test_upward): Likewise.
51504         (tan_test_tonearest): Likewise.
51505         (tan_test_towardzero): Likewise.
51506         (tan_test_downward): Likewise.
51507         (tan_test_upward): Likewise.
51508         (main): Call the new functions.
51509         * sysdeps/i386/fpu/libm-test-ulps: Update.
51510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51512         [BZ #10135]
51513         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
51514         small n, then large n, before computing and testing k+n.
51515         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51516         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
51517         Likewise.
51518         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
51519         Likewise.
51520         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
51521         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
51522         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
51523         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
51524         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51525         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51526         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
51527         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
51528         * math/libm-test.inc (scalbn_test): Add more tests.
51529         (scalbln_test): Likewise.
51531         * manual/filesys.texi (mode_t): Describe constraints on size and
51532         signedness, not exact equivalence to a particular type.
51533         (ino_t): Likewise.
51534         (ino64_t): Likewise.
51535         (dev_t): Likewise.
51536         (nlink_t): Likewise.
51537         (blkcnt_t): Likewise.
51538         (blkcnt64_t): Likewise.
51539         * manual/llio.texi (off_t): Likewise.
51541         [BZ #3976]
51542         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
51543         (__ieee754_exp): Save and restore rounding mode and use
51544         round-to-nearest for all computations.
51545         * math/libm-test.inc (exp_test_tonearest): New function.
51546         (exp_test_towardzero): Likewise.
51547         (exp_test_downward): Likewise.
51548         (exp_test_upward): Likewise.
51549         (main): Call the new functions.
51550         * sysdeps/i386/fpu/libm-test-ulps: Update.
51551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51553 2012-03-01  Chris Demetriou  <cgd@google.com>
51555         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
51556         have predictable order.
51558 2012-03-01  David S. Miller  <davem@davemloft.net>
51560         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
51562         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
51563         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
51564         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
51565         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
51567         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
51568         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
51569         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
51570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
51571         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
51572         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
51573         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
51574         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
51575         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
51577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51579         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
51580         * sysdeps/sparc/fpu/libm-test-ulps: to here.
51581         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
51583         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
51584         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51585         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51586         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
51587         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
51588         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
51589         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
51590         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51591         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51592         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
51593         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
51594         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51595         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51596         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51597         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51598         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51599         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
51600         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
51601         * sysdeps/sparc/elf/configure: Regenerated.
51603 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
51605         * configure.in (AS, LD): Require binutils 2.20 or later.
51606         * configure: Regenerated.
51607         * manual/install.texi (Tools for Compilation): Give binutils 2.20
51608         as required minimum version.
51609         * INSTALL: Regenerated.
51611         [BZ #2541]
51612         [BZ #4108]
51613         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
51614         before squaring exponent.
51615         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
51616         bottom long double and 27 bits of top long double before squaring
51617         exponent.
51618         * math/libm-test.inc (erfc_test): Add more tests.
51619         * sysdeps/i386/fpu/libm-test-ulps: Update.
51620         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51623 2012-03-01  Kai Tietz  <ktietz@redhat.com>
51625         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
51626         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
51627         containing bit-fields.
51628         * soft-fp/extended.h (_FP_UNION_E): Likewise.
51629         * soft-fp/single.h (_FP_UNION_S): Likewise.
51630         * soft-fp/double.h (_FP_UNION_D): Likewise.
51632 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
51634         [BZ #13786]
51635         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
51636         not include ../strcmp.S.
51637         [USE_AS_STRNCASECMP_L]: Likewise.
51638         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
51639         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
51640         * sysdeps/i386/i686/multiarch/strncase_l-c.c
51641         (__strncasecmp_l_ia32): Define as alias to
51642         __strncasecmp_l_nonascii.
51644         [BZ #5794]
51645         * math/libm-test.inc (expm1_test): Add test for bug 5794.
51646         * sysdeps/i386/fpu/libm-test-ulps: Update.
51647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51649         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
51650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51652 2012-02-29  Jeff Law  <law@redhat.com>
51654         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
51655         out of bounds read.
51657 2012-02-29  Marek Polacek  <polacek@redhat.com>
51659         [BZ #13706]
51660         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
51661         * elf/Makefile: Add rules to run tst-unused-dep.out.
51663 2012-02-28  David S. Miller  <davem@davemloft.net>
51665         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
51666         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
51667         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
51668         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
51669         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
51670         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
51672 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
51674         * math/libm-test.inc (llround_test): Move one test from
51675         lround_test.  Use TEST_f_L in moved test.
51676         (lround_test): Move misplaced test to llround_test.  Add testcase
51677         from bug 2561.
51679 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
51681         * sysdeps/x86_64/fpu/e_expf.S: New file.
51682         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
51684 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
51686         [BZ #13637]
51687         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
51688         of remain_len that may cause incomplete multi-byte character and
51689         false match.
51690         * posix/bug-regex33.c: New file.
51691         * posix/Makefile (tests): Add bug-regex33.
51693 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
51695         * manual/macros.texi: New file.
51696         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
51697         * manual/libc.texinfo: Include macros.texi.
51698         * manual/creatute.texi: Likewise.
51699         * manual/install.texi: Likewise.
51700         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
51701         @glibcadj{} in references to the GNU C Library.
51702         * manual/charset.texi: Likewise.
51703         * manual/conf.texi: Likewise.
51704         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
51705         when not using those macros.
51706         * manual/creature.texi: Likewise.
51707         * manual/crypt.texi: Likewise.
51708         * manual/errno.texi: Likewise.
51709         * manual/filesys.texi: Likewise.
51710         * manual/header.texi: Likewise.
51711         * manual/install.texi: Likewise.
51712         * manual/intro.texi: Likewise.
51713         * manual/io.texi: Likewise.
51714         * manual/job.texi: Likewise.
51715         * manual/lang.texi: Likewise.
51716         * manual/libc.texiinfo: Likewise.
51717         * manual/llio.texi: Likewise.
51718         * manual/locale.texi: Likewise.
51719         * manual/maint.texi: Likewise.
51720         * manual/math.texi: Likewise.
51721         * manual/memory.texi: Likewise.
51722         * manual/message.texi: Likewise.
51723         * manual/nss.texi: Likewise.
51724         * manual/pattern.texi: Likewise.
51725         * manual/process.texi: Likewise.
51726         * manual/resource.texi: Likewise.
51727         * manual/search.texi: Likewise.
51728         * manual/setjmp.texi: Likewise.
51729         * manual/signal.texi: Likewise.
51730         * manual/socket.texi: Likewise.
51731         * manual/startup.texi: Likewise.
51732         * manual/stdio.texi: Likewise.
51733         * manual/string.texi: Likewise.
51734         * manual/sysinfo.texi: Likewise.
51735         * manual/syslog.texi: Likewise.
51736         * manual/terminal.texi: Likewise.
51737         * manual/time.texi: Likewise.
51738         * manual/users.texi: Likewise.
51739         * INSTALL: Regenerated.
51740         * NOTES: Regenerated.
51741         * sysdeps/gnu/errlist.c: Regenerated.
51743 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
51745         * include/dirent.h: Include <dirstream.h> before
51746         <dirent/dirent.h>.
51748 2012-02-28  David S. Miller  <davem@davemloft.net>
51750         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
51751         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
51752         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
51753         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
51755 2012-02-27  David S. Miller  <davem@davemloft.net>
51757         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
51758         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
51759         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
51760         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
51762         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
51763         frame pointer instead of stack pointer relative arg slot.
51764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51765         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51766         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51768 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
51770         [BZ #3992]
51771         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
51773 2012-02-27  David S. Miller  <davem@davemloft.net>
51775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
51776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
51779         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51780         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51781         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
51782         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
51784 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
51786         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
51787         later.  Allow versions 5-9.
51788         * configure: Regenerated.
51789         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
51790         required minimum version and 4.6 as recommended version.  Do not
51791         mention bugs in GCC 2.7 and 2.8.
51792         * INSTALL: Regenerated.
51794 2012-02-27  David S. Miller  <davem@davemloft.net>
51796         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
51797         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
51798         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
51799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
51800         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
51801         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
51802         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
51803         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
51805         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
51806         manipulate bits before adding and subtracting TWO112[sx].
51807         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
51809 2012-02-27  Roland McGrath  <roland@hack.frob.com>
51811         [BZ #13775]
51812         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
51813         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
51814         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
51815         being in POSIX, because they are in 1003.1-2008.
51817         * rt/tst-aio.c: Include <fcntl.h>.
51818         * rt/tst-aio7.c: Likewise.
51819         * rt/tst-aio64.c: Likewise.
51821         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
51823 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
51825         * manual/install.texi (--with-headers): Describe headers as
51826         interface headers, not private headers.
51827         (Specific advice for GNU/Linux systems): Describe use of headers
51828         from "make headers_install", not private headers from older
51829         kernels.
51830         * INSTALL: Regenerated.
51831         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
51832         Change to 2.6.19.
51833         * sysdeps/unix/sysv/linux/configure: Regenerated.
51835         * manual/llio.texi (fclean): Remove documentation.
51837         * manual/Makefile (libc-texi-generated): New variable.  Include
51838         version.texi.
51839         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
51840         $(libc-texi-generated), not duplicated list of files.
51841         (version.texi, stamp-version): New rules.
51842         (realclean): Remove $(libc-texi-generated), not individual files
51843         from that list.  Do not remove dir-add.texinfo.
51844         * manual/libc.texinfo: Comment out uses of edition numbers and
51845         references to printed manual.  Remove last-updated dates.
51846         (EDITION): Comment out.
51847         (ISBN): Likewise.
51848         (VERSION, UPDATED): Remove.
51849         (version.texi): Include.
51851 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
51853         * sysdeps/posix/spawni.c: Include <signal.h>.
51854         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
51855         * sysdeps/pthread/aio_fsync.c: Likewise.
51857 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
51859         * conform/Makefile (tests): Run only when not cross-compiling and
51860         when fast-check is not defined.
51862         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
51863         * conform/data/limits.h-data: Fixes for POSIX2008.
51864         * conform/run-conformtest.sh: Run all tests.
51865         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
51866         headers.
51867         * include/bits/dlfcn.h: Likewise.
51868         * include/langinfo.h: Likewise.
51869         * include/monetary.h: Likewise.
51870         * include/sys/poll.h: Likewise.
51872         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
51873         for __USE_GNU.
51874         * posix/spawn.h: Define __need_sigset_t.
51875         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
51876         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
51877         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
51878         to get sigevent_t only.
51879         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
51880         only for __USE_GNU.
51881         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51882         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51883         process_vm_writev only for __USE_GNU.
51884         * termios/termios.h: Declare tcgetsid also for POSIX2008.
51886         * conform/Makefile: For now ignore errors from run-conformtest.
51887         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
51888         POSIX to avoid namespace pollution.  Don't prepend headers.
51889         * conform/data/aio.h-data: Fixes for POSIX testing.
51890         * conform/data/fcntl.h-data: Likewise.
51891         * conform/data/glob.h-data: Likewise.
51892         * conform/data/grp.h-data: Likewise.
51893         * conform/data/pthread.h-data: Likewise.
51894         * conform/data/pwd.h-data: Likewise.
51895         * conform/data/signal.h-data: Likewise.
51896         * conform/data/spawn.h-data: Likewise.
51897         * conform/data/stdio.h-data: Likewise.
51898         * conform/data/stdlib.h-data: Likewise.
51899         * conform/data/stropts.h-data: Likewise.
51900         * conform/data/sys/mman.h-data: Likewise.
51901         * conform/data/sys/stat.h-data: Likewise.
51902         * conform/data/sys/types.h-data: Likewise.
51903         * conform/data/sys/wait.h-data: Likewise.
51904         * conform/data/time.h-data: Likewise.
51905         * conform/data/unistd.h-data: Likewise.
51906         * conform/data/utime.h-data: Likewise.
51908         * io/sys/stat.h: fchmod was always in POSIX.
51909         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
51910         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
51911         * rt/aio.h: Define __need_timespec before including <time.h>.
51912         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
51913         struct.  Add forward declaration of pthread_attr_t and use it in
51914         sigevent.
51915         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51916         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51917         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
51918         always remove CLK_TCK definition.
51920 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
51922         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
51924 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
51926         * conform/run-conformtest.sh: New file.
51927         * conform/Makefile: Run run-conformtest for tests.
51928         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
51929         support.
51931         * conform/data/uchar.h-data: New file.
51932         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
51933         * conform/data/arpa/inet.h-data: Likewise.
51934         * conform/data/assert.h-data: Likewise.
51935         * conform/data/complex.h-data: Likewise.
51936         * conform/data/cpio.h-data: Likewise.
51937         * conform/data/ctype.h-data: Likewise.
51938         * conform/data/dirent.h-data: Likewise.
51939         * conform/data/dlfcn.h-data: Likewise.
51940         * conform/data/errno.h-data: Likewise.
51941         * conform/data/fcntl.h-data: Likewise.
51942         * conform/data/float.h-data: Likewise.
51943         * conform/data/fmtmsg.h-data: Likewise.
51944         * conform/data/fnmatch.h-data: Likewise.
51945         * conform/data/ftw.h-data: Likewise.
51946         * conform/data/glob.h-data: Likewise.
51947         * conform/data/grp.h-data: Likewise.
51948         * conform/data/iconv.h-data: Likewise.
51949         * conform/data/inttypes.h-data: Likewise.
51950         * conform/data/langinfo.h-data: Likewise.
51951         * conform/data/libgen.h-data: Likewise.
51952         * conform/data/limits.h-data: Likewise.
51953         * conform/data/locale.h-data: Likewise.
51954         * conform/data/math.h-data: Likewise.
51955         * conform/data/monetary.h-data: Likewise.
51956         * conform/data/mqueue.h-data: Likewise.
51957         * conform/data/ndbm.h-data: Likewise.
51958         * conform/data/net/if.h-data: Likewise.
51959         * conform/data/netdb.h-data: Likewise.
51960         * conform/data/netinet/in.h-data: Likewise.
51961         * conform/data/nl_types.h-data: Likewise.
51962         * conform/data/poll.h-data: Likewise.
51963         * conform/data/pthread.h-data: Likewise.
51964         * conform/data/pwd.h-data: Likewise.
51965         * conform/data/regex.h-data: Likewise.
51966         * conform/data/sched.h-data: Likewise.
51967         * conform/data/search.h-data: Likewise.
51968         * conform/data/semaphore.h-data: Likewise.
51969         * conform/data/setjmp.h-data: Likewise.
51970         * conform/data/signal.h-data: Likewise.
51971         * conform/data/spawn.h-data: Likewise.
51972         * conform/data/stdarg.h-data: Likewise.
51973         * conform/data/stdio.h-data: Likewise.
51974         * conform/data/stdlib.h-data: Likewise.
51975         * conform/data/string.h-data: Likewise.
51976         * conform/data/strings.h-data: Likewise.
51977         * conform/data/stropts.h-data: Likewise.
51978         * conform/data/sys/ipc.h-data: Likewise.
51979         * conform/data/sys/mman.h-data: Likewise.
51980         * conform/data/sys/msg.h-data: Likewise.
51981         * conform/data/sys/resource.h-data: Likewise.
51982         * conform/data/sys/select.h-data: Likewise.
51983         * conform/data/sys/sem.h-data: Likewise.
51984         * conform/data/sys/shm.h-data: Likewise.
51985         * conform/data/sys/socket.h-data: Likewise.
51986         * conform/data/sys/stat.h-data: Likewise.
51987         * conform/data/sys/statvfs.h-data: Likewise.
51988         * conform/data/sys/time.h-data: Likewise.
51989         * conform/data/sys/timeb.h-data: Likewise.
51990         * conform/data/sys/times.h-data: Likewise.
51991         * conform/data/sys/types.h-data: Likewise.
51992         * conform/data/sys/uio.h-data: Likewise.
51993         * conform/data/sys/un.h-data: Likewise.
51994         * conform/data/sys/utsname.h-data: Likewise.
51995         * conform/data/sys/wait.h-data: Likewise.
51996         * conform/data/syslog.h-data: Likewise.
51997         * conform/data/tar.h-data: Likewise.
51998         * conform/data/termios.h-data: Likewise.
51999         * conform/data/utime.h-data: Likewise.
52000         * conform/data/utmpx.h-data: Likewise.
52001         * conform/data/varargs.h-data: Likewise.
52002         * conform/data/wchar.h-data: Likewise.
52003         * conform/data/wctype.h-data: Likewise.
52004         * conform/data/wordexp.h-data: Likewise.
52006         * include/stropts.h: New file.
52007         * include/uchar.h: New file.
52008         * include/aio.h: Changes to allow conformtest.pl to use the headers.
52009         * include/assert.h: Likewise.
52010         * include/ctype.h: Likewise.
52011         * include/dirent.h: Likewise.
52012         * include/dlfcn.h: Likewise.
52013         * include/fcntl.h: Likewise.
52014         * include/fnmatch.h: Likewise.
52015         * include/glob.h: Likewise.
52016         * include/grp.h: Likewise.
52017         * include/libio.h: Likewise.
52018         * include/locale.h: Likewise.
52019         * include/math.h: Likewise.
52020         * include/net/if.h: Likewise.
52021         * include/netdb.h: Likewise.
52022         * include/netinet/in.h: Likewise.
52023         * include/pthread.h: Likewise.
52024         * include/pwd.h: Likewise.
52025         * include/regex.h: Likewise.
52026         * include/sched.h: Likewise.
52027         * include/search.h: Likewise.
52028         * include/setjmp.h: Likewise.
52029         * include/signal.h: Likewise.
52030         * include/stdio.h: Likewise.
52031         * include/stdlib.h: Likewise.
52032         * include/string.h: Likewise.
52033         * include/sys/cdefs.h: Likewise.
52034         * include/sys/mman.h: Likewise.
52035         * include/sys/msg.h: Likewise.
52036         * include/sys/resource.h: Likewise.
52037         * include/sys/select.h: Likewise.
52038         * include/sys/socket.h: Likewise.
52039         * include/sys/stat.h: Likewise.
52040         * include/sys/statvfs.h: Likewise.
52041         * include/sys/time.h: Likewise.
52042         * include/sys/times.h: Likewise.
52043         * include/sys/uio.h: Likewise.
52044         * include/sys/utsname.h: Likewise.
52045         * include/sys/wait.h: Likewise.
52046         * include/termios.h: Likewise.
52047         * include/time.h: Likewise.
52048         * include/ulimit.h: Likewise.
52049         * include/unistd.h: Likewise.
52050         * include/utime.h: Likewise.
52051         * include/wchar.h: Likewise.
52052         * include/wctype.h: Likewise.
52053         * include/wordexp.h: Likewise.
52055         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
52057         * time/time.h: TIME_UTC must be a macro.
52058         Make timespec_get available for ISO C11 only as well.
52060 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
52062         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
52063         Reported by Peng Haitao <penght@cn.fujitsu.com>.
52065 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52067         * configure.in: Use -o not -a in test for unsupported multi-arch.
52069 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52071         * manual/texinfo.tex: Update to version 2012-01-19.16.
52073 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52075         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
52077 2012-02-24  Roland McGrath  <roland@hack.frob.com>
52079         [BZ #13738]
52080         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
52081         * manual/fdl-1.3.texi: New file.
52082         * manual/fdl-1.1.texi: File removed.
52084         [BZ #13738]
52085         * manual/libc.texinfo (FDL_VERSION): New @set.
52086         Use it for mention of FDL in cover text.
52087         (Documentation License): Use it in @include file name.
52089 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52090             Roland McGrath  <roland@hack.frob.com>
52092         [BZ #5461]
52093         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
52094         (not LONG_LONG_MAX and LONG_LONG_MIN.
52095         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
52096         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
52097         name.
52098         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
52100 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52102         [BZ #2547]
52103         [BZ #11365]
52104         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
52105         manipulate bits before adding and subtracting TWO23[sx].
52106         * math/libm-test.inc (nearbyint_test): Add more tests.
52108 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52110         [BZ #2548]
52111         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
52112         bits before adding and subtracting TWO23[sx].
52113         * math/libm-test.inc (rint_test): Add more tests.
52114         (rint_test_tonearest): Likewise.
52115         (rint_test_towardzero): Likewise.
52116         (rint_test_downward): Likewise.
52117         (rint_test_upward: Likewise.
52119 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52121         [BZ #10110]
52122         * include/stdc-predef.h: New file.  Extracted from features.h.
52123         * include/features.h: Include stdc-predef.h.
52124         * Makefile (headers): Add stdc-predef.h.
52125         * CONFORMANCE (Compiler limitations): Update.
52127 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52129         * manual/libc.texinfo (VERSION, UPDATED): Revert.
52131 2012-02-21  David S. Miller  <davem@davemloft.net>
52133         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
52134         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52136 2012-02-20  David S. Miller  <davem@davemloft.net>
52138         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
52139         using a normal save/restore sequence, rather than allocating a
52140         dummy stack frame just to store a frame pointer and restore.
52141         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52143 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52145         * manual/install.texi: Fix stray word in line-wrapped comment.
52147 2012-02-20  David S. Miller  <davem@davemloft.net>
52149         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
52150         both binutils and gcc support GOTDATA.
52152         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
52153         "rd %pc" in the PIC register setup sequences.
52155         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
52156         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
52157         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52158         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
52159         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52160         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52161         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52162         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52163         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
52164         (SYSCALL_ERROR_HANDLER): Likewise.
52165         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52166         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52167         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
52168         (SYSCALL_ERROR_HANDLER): Likewise.
52170         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
52171         (HAVE_GCC_GOTDATA): New.
52172         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
52173         relocation support in both binutils and gcc.
52174         * sysdeps/sparc/elf/configure: Regenerate.
52176         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
52177         * sysdeps/sparc/sparc32/elf/configure: Delete.
52178         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
52179         * sysdeps/sparc/sparc64/elf/configure: Delete.
52180         * sysdeps/sparc/elf/configure.in: New file.
52181         * sysdeps/sparc/elf/configure: Generate.
52183         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
52184         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
52185         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52186         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
52187         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
52189 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52191         * manual/install.texi: Do not mention specific glibc version
52192         numbers.
52193         * manual/libc.texinfo (VERSION, UPDATED): Update.
52194         (@copying): Use @copyright{} and range of years.
52196 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52198         [BZ #13695]
52199         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
52200         [crti.S not in sysdirs] (generated): Do not append.
52201         [crti.S not in sysdirs] (omit-deps): Likewise.
52202         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
52203         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
52204         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
52205         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
52206         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
52207         Likewise.
52208         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
52209         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
52210         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
52211         * csu/defs.awk: Remove file.
52212         * sysdeps/generic/initfini.c: Likewise.
52213         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
52214         variable.
52215         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
52216         Likewise.
52218 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52220         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
52221         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
52222         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
52223         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
52224         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52225         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
52226         <bits/epoll.h>.
52227         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
52228         (__EPOLL_PACKED): Define to empty if not defined by
52229         <bits/epoll.h>.
52230         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
52231         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52232         bits/epoll.h.
52234 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52236         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
52237         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
52238         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
52239         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
52240         <bits/timerfd.h>.
52241         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
52242         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52243         bits/timerfd.h.
52245 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52247         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
52248         in C locale.
52249         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52250         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52251         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
52252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52254 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
52256         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52257         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52259 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
52261         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
52262         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
52263         defined.
52264         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
52265         Likewise.
52266         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
52267         entry for 2.16.
52269 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
52271         * math/w_acos.c: Use non-signaling floating-point comparisons.
52272         * math/w_acosf.c: Likewise.
52273         * math/w_acosh.c: Likewise.
52274         * math/w_acoshf.c: Likewise.
52275         * math/w_acoshl.c: Likewise.
52276         * math/w_acosl.c: Likewise.
52277         * math/w_asin.c: Likewise.
52278         * math/w_asinf.c: Likewise.
52279         * math/w_asinl.c: Likewise.
52280         * math/w_atanh.c: Likewise.
52281         * math/w_atanhf.c: Likewise.
52282         * math/w_atanhl.c: Likewise.
52283         * math/w_exp2.c: Likewise.
52284         * math/w_exp2f.c: Likewise.
52285         * math/w_exp2l.c: Likewise.
52286         * math/w_j0.c: Likewise.
52287         * math/w_j0f.c: Likewise.
52288         * math/w_j0l.c: Likewise.
52289         * math/w_j1.c: Likewise.
52290         * math/w_j1f.c: Likewise.
52291         * math/w_j1l.c: Likewise.
52292         * math/w_jn.c: Likewise.
52293         * math/w_jnf.c: Likewise.
52294         * math/w_log.c: Likewise.
52295         * math/w_log10.c: Likewise.
52296         * math/w_log10f.c: Likewise.
52297         * math/w_log10l.c: Likewise.
52298         * math/w_log2.c: Likewise.
52299         * math/w_log2f.c: Likewise.
52300         * math/w_log2l.c: Likewise.
52301         * math/w_logf.c: Likewise.
52302         * math/w_logl.c: Likewise.
52303         * math/w_sqrt.c: Likewise.
52304         * math/w_sqrtf.c: Likewise.
52305         * math/w_sqrtl.c: Likewise.
52306         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52307         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
52308         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52309         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52310         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52312 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52314         [BZ #9739]
52315         * manual/string.texi (strnlen): Use correct parameter name in
52316         equivalent expression.
52318 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52320         [BZ #11174]
52321         * manual/users.texi (seteuid): Consistently use neweuid for
52322         argument name.
52324 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52326         [BZ #13704]
52327         * manual/nss.texi (Services in the NSS configuration): Correct
52328         list of services in example configuration file.
52330 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
52332         [BZ #11322]
52333         * manual/arith.texi: Remove statements about negative zero
52334         behaving identically to zero.
52336 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
52338         [BZ #5993]
52339         * manual/install.texi: Do not document upgrading from libc5.
52341 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
52343         [BZ #4596]
52344         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
52346 2012-02-18  David S. Miller  <davem@davemloft.net>
52348         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
52349         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
52350         %o7 across the call.
52351         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
52352         instead.
52353         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
52354         SETUP_PIC_REG_LEAF.
52355         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52356         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
52357         * sysdeps/sparc/crtn.S: Likewise.
52359 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
52361         * aout/Makefile: Remove.
52363 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
52365         [BZ #13058]
52366         * manual/examples/argp-ex1.c (main): Format definition in GNU
52367         style.
52368         * manual/examples/argp-ex2.c (main): Likewise.
52369         * manual/examples/argp-ex3.c (main): Likewise.
52370         * manual/examples/argp-ex4.c (main): Likewise.
52371         * manual/examples/longopt.c (main): Use new-style prototype
52372         definition.
52373         * manual/examples/strncat.c (main): Specify return type and use
52374         (void) for arguments.
52375         * manual/examples/subopt.c (main): Use char **argv argument.
52377 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52379         [BZ #5077]
52380         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
52381         rounding modes.
52383 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
52385         [BZ #6907]
52386         * manual/string.texi (strchr): Change when strchrnul is
52387         recommended.
52389 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
52391         [BZ #174]
52392         * manual/locale.texi (setlocale): Document LOCPATH.
52394 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52396         [BZ #10210]
52397         * manual/process.texi (execle): Move @dots{} before last argument.
52399 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
52401         [BZ #12047]
52402         * manual/charset.texi (Generic Charset Conversion): Fix typo
52403         (LC_TYPE -> LC_CTYPE).
52405 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
52407         [BZ #5805]
52408         * manual/arith.texi (scalbn): Use @var{} on parameter names.
52409         (scalbnf): Likewise.
52410         (scalbnl): Likewise.
52411         (scalbln): Likewise.
52412         (scalblnf): Likewise.
52413         (scalblnl): Likewise.
52414         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
52415         (vwarnx): Likewise.
52416         (verr): Likewise.
52417         (verrx): Likewise.
52418         * manual/filesys.texi (telldir): Use braces around return type.
52419         * manual/llio.texi (mmap): Add space after comma.
52420         (mmap64): Likewise.
52421         * manual/math.texi (jn): Use @var{} on parameter names.
52422         (jnf): Likewise.
52423         (jnl): Likewise.
52424         (yn): Likewise.
52425         (ynf): Likewise.
52426         (ynl): Likewise.
52427         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
52428         line.
52429         * manual/resource.texi (ulimit): Use @dots{} instead of literal
52430         "...".
52431         (sched_get_priority_min): Remove semicolon on @deftypefun line.
52432         (sched_get_priority_max): Likewise.
52433         * manual/signal.texi (sigvec): Add space after comma.
52434         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
52435         names.
52436         (if_indextoname): Likewise.
52437         (if_freenameindex): Likewise.
52438         (sendto): Use ',' instead of '.' in prototype.
52439         * manual/startup.texi (syscall): Use @dots{} instead of literal
52440         "...".
52441         * manual/stdio.texi (__fpending): Separate initial words of
52442         paragraph from @deftypefun line.
52443         * manual/syslog.texi (syslog): Use @dots{} instead of literal
52444         "...".
52445         (vsyslog): Use @var{} on parameter names.
52446         * manual/terminal.texi (stty): Use @var{} on parameter names.
52447         * manual/users.texi (getutmp): Use @var{} on parameter names.
52448         (getutmpx): Likewise.
52450 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52452         [BZ #6884]
52453         * manual/stdio.texi (fopen): Fix typos in description of
52454         ",ccs=STRING".
52456 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
52458         [BZ #4026]
52459         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
52460         get clock_id definition.
52462 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
52464         [BZ #4822]
52465         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
52466         (madvise): Cast every argument to void on its own.
52468 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52470         [BZ #9902]
52471         * manual/startup.texi (Exit Status): Fix typo.
52473 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52475         [BZ #10140]
52476         * manual/examples/argp-ex1.c: Include <stdlib.h>.
52477         * manual/examples/argp-ex2.c: Likewise.
52478         * manual/examples/argp-ex3.c: Likewise.
52480 2012-02-16  Richard Henderson  <rth@redhat.com>
52482         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
52483         * sysdeps/s390/s390-32/initfini.c: Remove.
52484         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
52485         * sysdeps/s390/s390-64/initfini.c: Remove.
52487 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52489         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
52490         compiler output for sysdeps/generic/initfini.c.
52491         * sysdeps/sh/elf/initfini.c: Remove file.
52493 2012-02-16  David S. Miller  <davem@davemloft.net>
52495         [BZ #11494]
52496         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
52498         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
52499         * sysdeps/sparc/crti.S: New file.
52500         * sysdeps/sparc/crtn.S: New file.
52501         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
52502         * sysdeps/sparc/sparc64/Makefile: Likewise.
52504 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
52506         [BZ #3335]
52507         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
52509 2012-02-15  Roland McGrath  <roland@hack.frob.com>
52511         [BZ #4822]
52512         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
52514         * mach/devstream.c (cookie_io_functions_t): Macro removed.
52515         (write, read, close): Likewise.
52516         Patch by Aurelien Jarno <aurelien@aurel32.net>.
52518 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
52520         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
52521         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
52522         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
52523         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
52524         <bits/signalfd.h>.
52525         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
52526         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52527         bits/signalfd.h.
52529 2012-02-14  Marek Polacek  <polacek@redhat.com>
52531         * sysdeps/x86_64/crti.S: New file.
52532         * sysdeps/x86_64/crtn.S: New file.
52533         * sysdeps/x86_64/elf/initfini.c: Remove file.
52535 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
52537         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
52538         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
52539         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
52540         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
52541         <bits/inotify.h>.
52542         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
52543         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52544         bits/inotify.h.
52546 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
52548         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
52549         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
52550         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
52551         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
52552         <bits/eventfd.h>.
52553         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
52554         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52555         bits/eventfd.h.
52557 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
52559         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
52560         __feraiseexcept instead of feraiseexcept.
52562         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
52563         nanosleep invocations.
52564         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
52565         strings, and add error checking for a nanosleep invocations.
52567 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
52569         Replace FSF snail mail address with URLs, as per GNU coding standards.
52570         Most of the snail mail addresses were wrong anyway, and omitting
52571         them makes the source code easier to maintain.  Almost all of the
52572         changes are to license notices and to locale LC_IDENTIFICATION
52573         addresses, except for this one:
52574         * manual/libc.texinfo: In "Published by", give the FSF's URL,
52575         not its snail mail address.
52577 2012-02-09  Richard Henderson  <rth@twiddle.net>
52579         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
52580         of kernel-features.h.
52582         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
52584 2012-02-08  Marek Polacek  <polacek@redhat.com>
52586         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
52587         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
52588         * sysdeps/gnu/_G_config.h: Likewise.
52589         * sysdeps/generic/_G_config.h: Likewise.
52591 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
52593         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
52594         tests.
52595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52597         * sysdeps/powerpc/powerpc32/crti.S: New file.
52598         * sysdeps/powerpc/powerpc32/crtn.S: New file.
52599         * sysdeps/powerpc/powerpc64/crti.S: New file.
52600         * sysdeps/powerpc/powerpc64/crtn.S: New file.
52602         * Makeconfig (have-initfini): Don't set.
52603         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
52604         * configure.in (nopic_initfini): Don't substitute.
52605         * config.h.in (HAVE_INITFINI): Don't #undef.
52606         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
52607         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
52609 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
52611         Support crti.S and crtn.S provided directly by architectures.
52612         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
52613         [crti.S in sysdirs] (omit-deps): Likewise.
52614         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
52615         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
52616         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
52617         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
52618         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
52619         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
52620         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
52621         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
52622         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
52623         compiler output for sysdeps/generic/initfini.c.
52624         * sysdeps/i386/elf/Makefile: Remove file.
52625         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
52627 2012-02-07  Marek Polacek  <polacek@redhat.com>
52629         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
52630         * sysdeps/gnu/_G_config.h: Likewise.
52631         * sysdeps/mach/hurd/_G_config.h: Likewise.
52633 2012-02-07  Marek Polacek  <polacek@redhat.com>
52635         * math/Makefile (tests): Add tst-CMPLX2.
52636         * math/tst-CMPLX2.c: New file.
52638 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
52640         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52642         * math/libm-test.inc (jn_test): Add missing L suffix.
52644 2012-02-06  Marek Polacek  <polacek@redhat.com>
52646         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
52647         * sysdeps/i386/fpu/e_powf.S: Likewise.
52648         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52649         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52650         * sysdeps/i386/fpu/e_acosh.S: Likewise.
52651         * sysdeps/i386/fpu/e_pow.S: Likewise.
52652         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52653         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52654         * sysdeps/i386/fpu/s_expm1.S: Likewise.
52655         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52656         * sysdeps/i386/fpu/e_log2.S: Likewise.
52657         * sysdeps/i386/fpu/e_log2l.S: Likewise.
52658         * sysdeps/i386/fpu/e_scalb.S: Likewise.
52659         * sysdeps/i386/fpu/e_powl.S: Likewise.
52660         * sysdeps/i386/fpu/s_log1p.S: Likewise.
52661         * sysdeps/i386/fpu/e_log10f.S: Likewise.
52662         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52663         * sysdeps/i386/fpu/e_logl.S: Likewise.
52664         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52665         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
52666         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52667         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52668         * sysdeps/i386/fpu/e_log2f.S: Likewise.
52669         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52670         * sysdeps/i386/fpu/e_log.S: Likewise.
52671         * sysdeps/i386/fpu/s_cexp.S: Likewise.
52672         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52673         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
52674         * sysdeps/i386/fpu/e_logf.S: Likewise.
52675         * sysdeps/i386/fpu/e_log10l.S: Likewise.
52676         * sysdeps/i386/fpu/e_atanh.S: Likewise.
52677         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
52678         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52679         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52680         * sysdeps/i386/fpu/e_log10.S: Likewise.
52681         * sysdeps/i386/fpu/s_frexp.S: Likewise.
52682         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52683         * sysdeps/i386/fpu/s_asinh.S: Likewise.
52684         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52685         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52686         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52687         * sysdeps/i386/asm-syntax.h: Likewise.
52688         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52689         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52690         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52691         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
52692         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
52693         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52694         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52695         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52696         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52697         * sysdeps/powerpc/sysdep.h: Likewise.
52698         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
52699         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52701 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
52703         [BZ #411]
52704         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
52706 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
52708         * sysdeps/i386/sysdep.h: Include <features.h>.
52709         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
52710         version.
52712 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
52714         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
52715         Define.
52716         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
52717         LOAD_PIC_REG_STR.
52719 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
52721         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
52722         (SETUP_PIC_REG): Use GET_PC_THUNK.
52723         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
52724         macro.
52726 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
52728         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
52729         for non-PIC compilation.
52730         (SETUP_PIC_REG): Add .p2align directive.
52731         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
52732         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
52733         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52734         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52735         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
52736         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52737         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
52738         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52739         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52740         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52741         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52742         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52743         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52744         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52745         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52746         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
52747         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
52748         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52749         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52750         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52751         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52752         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
52753         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52754         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52755         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
52756         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
52757         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52758         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
52759         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52760         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52761         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52762         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52763         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52764         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52765         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52766         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52767         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52768         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52769         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52770         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52771         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52773 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
52775         * math/tst-CMPLX.c: Include <stdio.h>.
52777 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
52779         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
52780         float.
52781         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52782         * sysdeps/sparc/bits/mathdef.h: Likewise.
52784 2012-01-31  Marek Polacek  <polacek@redhat.com>
52786         * libio/libio.h: Don't define _PARAMS.
52787         * locale/programs/config.h: Don't define PARAMS.
52788         * stdlib/strtol_l.c: Likewise.
52789         (__strtol_l): Remove PARAMS from the prototype.
52791 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
52793         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
52794         names.  Just use the correct names.  Remove unnecessary wrapper
52795         functions.
52796         * malloc/arena.c: Likewise.
52797         * malloc/hooks.c: Likewise.
52799         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
52800         ARENA_TEST says not to.  Simplify test for creation of a new arena.
52801         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
52803 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
52805         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
52806         into tail calls.
52807         (update_get_addr): New function.
52808         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
52809         GET_ADDR_MODULE parameter.
52811 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
52813         * crypt/cert.c: Remove __STDC__ conditionals.
52814         * crypt/crypt-entry.c: Likewise.
52815         * crypt/crypt_util.c: Likewise.
52816         * libio/filedoalloc.c: Likewise.
52817         * libio/fileops.c: Likewise.
52818         * libio/genops.c: Likewise.
52819         * libio/iofclose.c: Likewise.
52820         * libio/iofdopen.c: Likewise.
52821         * libio/iofopen.c: Likewise.
52822         * libio/iofopen64.c: Likewise.
52823         * libio/iogetdelim.c: Likewise.
52824         * libio/iopopen.c: Likewise.
52825         * libio/obprintf.c: Likewise.
52826         * libio/oldfileops.c: Likewise.
52827         * libio/oldiofclose.c: Likewise.
52828         * libio/oldiofdopen.c: Likewise.
52829         * libio/oldiofopen.c: Likewise.
52830         * libio/oldiopopen.c: Likewise.
52831         * libio/wfiledoalloc.c: Likewise.
52832         * libio/wgenops.c: Likewise.
52833         * locale/programs/xmalloc.c: Likewise.
52834         * misc/syslog.c: Likewise.
52835         * stdio-common/xbug.c: Likewise.
52836         * string/memchr.c: Likewise.
52837         * string/memcmp.c: Likewise.
52838         * string/memrchr.c: Likewise.
52839         * string/rawmemchr.c: Likewise.
52840         * sysdeps/posix/getcwd.c: Likewise.
52841         * time/strftime_l.c: Likewise.
52843 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
52845         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
52846         * config.make.in (config-cflags-sse2avx): Define.
52847         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
52848         Fix typo.
52850 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
52852         * scripts/config.guess: Update from upstream config git repository.
52853         * scripts/config.sub: Likewise.
52855 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
52857         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
52858         (EM_NUM): Update.
52859         (R_TILEPRO_*, R_TILEGX_*): New macros.
52861         * scripts/firstversions.awk: Fix bug in version range handling.
52863         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
52865         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
52867         * include/sys/epoll.h: New file.
52868         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
52869         libc_hidden_def.
52871 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
52873         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
52874         Avoid unnecessary __WORDSIZE == 64 test.
52875         (fmaxf): Use VEX format if possible.
52876         (fmax): Likewise.
52877         (fminf): Likewise.
52878         (fmin): Likewise.
52880         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
52881         * math/math_private.h: Remove libc_fegetround* and
52882         libc_fesetround*.
52883         * sysdeps/i386/configure.in: Check for -msse2avx.
52884         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
52885         also if SSE2AVX is defined.
52886         Remove libc_fegetround* and libc_fesetround*.
52887         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
52888         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
52889         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
52890         of HAS_YMM_USABLE.
52891         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52892         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52893         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52894         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52895         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52897         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
52899 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52901         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
52902         size is not set.
52903         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52905 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
52907         [BZ #13618]
52908         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
52909         relocation.
52910         * Makeconfig (libm): Define.
52911         * elf/Makefile: Add rules to build and run tst-relsort1.
52912         * elf/tst-relsort1.c: New file.
52913         * elf/tst-relsort1mod1.c: New file.
52914         * elf/tst-relsort1mod2.c: New file.
52916 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
52918         * math/s_ldexp.c: Remove __STDC__ conditionals.
52919         * math/s_ldexpf.c: Likewise.
52920         * math/s_ldexpl.c: Likewise.
52921         * math/s_nextafter.c: Likewise.
52922         * math/s_nexttowardf.c: Likewise.
52923         * math/s_significand.c: Likewise.
52924         * math/s_significandf.c: Likewise.
52925         * math/s_significandl.c: Likewise.
52926         * math/w_jnl.c: Likewise.
52927         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52928         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52929         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52930         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52931         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52932         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52933         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
52934         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52935         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52936         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52937         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52938         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52939         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52940         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52941         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52942         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52943         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52944         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52945         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52946         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52947         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52948         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52949         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52950         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52951         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52952         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52953         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52954         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52955         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52956         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52957         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52958         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52959         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52960         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52961         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52962         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52963         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52964         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52965         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52966         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52967         * sysdeps/ieee754/k_standard.c: Likewise.
52968         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52969         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52970         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52971         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52972         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52973         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52974         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52975         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52976         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52977         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52978         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52979         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52980         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52981         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52982         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52983         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52984         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52985         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52986         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52987         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52988         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52989         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52990         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52991         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52992         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52993         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52994         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52995         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52996         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52997         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52998         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52999         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
53000         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53001         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53002         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53003         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53004         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
53005         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53006         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53007         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
53008         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
53009         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53010         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
53011         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
53012         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53013         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
53014         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
53015         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53016         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53017         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
53018         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
53019         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53020         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53021         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53022         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53023         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53024         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
53025         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53026         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53027         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53028         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53029         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53030         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53031         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53032         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53033         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53034         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53035         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53036         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53037         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53038         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53039         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53040         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53041         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53042         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53043         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53044         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53045         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53046         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53047         * sysdeps/ieee754/s_matherr.c: Likewise.
53048         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53049         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53050         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53051         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53053 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
53055         * crypt/md5.h: Remove __STDC__ conditionals.
53056         * libio/libioP.h: Likewise.
53057         * locale/programs/config.h: Likewise.
53058         * sysdeps/generic/sysdep.h: Likewise.
53059         * sysdeps/i386/asm-syntax.h: Likewise.
53060         * sysdeps/s390/asm-syntax.h: Likewise.
53061         * sysdeps/unix/sysdep.h: Likewise.
53062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
53063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53065 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
53067         * libio/libio.h: Remove __STDC__ conditionals.
53068         * malloc/obstack.h: Likewise.
53069         * math/complex.h: Likewise.
53070         * math/math.h: Likewise.
53071         * sysdeps/generic/_G_config.h: Likewise.
53072         * sysdeps/gnu/_G_config.h: Likewise.
53073         * sysdeps/mach/hurd/_G_config.h: Likewise.
53074         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53075         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53076         * sysdeps/sparc/bits/mathdef.h: Likewise.
53078 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
53080         [BZ #13583]
53081         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
53082         Clean up HAS_* macros.
53083         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
53084         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
53085         possible.
53086         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
53087         HAS_AVX.
53088         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53089         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53090         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53091         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53092         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53094 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
53096         * elf/tst-unique3.cc (gets): Remove declaration.
53097         * elf/tst-unique3lib.cc (gets): Likewise.
53098         * elf/tst-unique3lib2.cc (gets): Likewise.
53099         * elf/tst-unique4.cc (gets): Likewise.
53101 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
53103         * include/stdio.h: Add C++ protection.  Add gets declarations and
53104         definitions.
53105         * debug/tst-chk1.c: Don't declare gets here.
53106         * stdio-common/tst-gets.c: Likewise.
53108 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
53110         * posix/glob: Remove directory.
53112 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
53114         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
53116 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
53118         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
53119         of the non-standard EPFNOSUPPORT.
53121 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53123         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
53124         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
53125         ANYWHERE set to 1 only on KERN_NO_SPACE error.
53127 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
53129         * wcsmbs/uchar.h: Test __STDC_VERSION__.
53131 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
53133         * nscd/aicache.c (addhstaiX): Do not cache negative results of
53134         transient errors.
53135         * nscd/grpcache.c (cache_addgr): Likewise.
53136         * nscd/hstcache.c (cache_addhst): Likewise.
53137         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53138         * nscd/pwdcache.c (cache_addpw): Likewise.
53139         * nscd/servicescache.c (cache_addserv): Likewise.
53141 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
53143         * malloc/malloc.c: Various cleanups.
53144         * malloc/hooks.c: Likewise.
53146         * stdlib/Makefile (tests): Add bug-fmtmsg1.
53147         * stdlib/bug-fmtmsg1.c: New file.
53149         * stdlib/fmtmsg.c (init): Add missing unlock.
53150         Patch by Peng Haitao <penght@cn.fujitsu.com>.
53152 2012-01-12  Marek Polacek  <polacek@redhat.com>
53154         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
53155         and _GNU_SOURCE.
53157 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
53159         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
53160         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
53161         macro to ensure uniqueness of label name.
53162         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53163         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53165 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
53167         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
53169         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
53170         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53171         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53172         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
53174 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
53176         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
53178         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
53179         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53180         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53182         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
53184         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
53185         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53186         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53187         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
53189         * math/bits/math-finite.h: Add ldexp support.
53191 2012-01-10  Marek Polacek  <polacek@redhat.com>
53193         * locale/programs/localedef.h (show_archive_content): Add noreturn
53194         attribute.
53196 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
53198         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
53200 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53202         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
53204         * io/Makefile (headers): Add bits/poll2.h.
53206 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
53208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
53209         typo #include statement.
53211 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53213         * include/sys/cdefs.h: Define __attribute_alloc_size.
53214         * catgets/gencat.c: Add alloc_size attribute and apply consistently
53215         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
53216         * elf/pldd.c: Likewise.
53217         * iconv/iconv_charmap.c: Likewise.
53218         * iconv/iconvconfig.c: Likewise.
53219         * iconv/strtab.c: Likewise.
53220         * locale/programs/locale.c: Likewise.
53221         * locale/programs/localedef.h: Likewise.
53222         * locale/programs/simple-hash.c: Likewise.
53223         * nscd/nscd.h: Likewise.
53224         * nss/makedb.c: Likewise.
53225         * sysdeps/generic/ldconfig.h: Likewise.
53226         * locale/programs/localedef.c: Remove xmalloc prototype.
53227         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
53229 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53231         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
53232         appropriate.
53234 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53236         * math/Makefile (tests): Add tst-CMPLX.
53237         * math/tst-CMPLX.c: New file.
53239         * math/complex.h (CMPLXL): Fix typo.
53241         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
53242         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
53243         GLIBC_2.16.
53244         * debug/tst-chk1.c: Add poll and ppoll tests.
53245         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
53246         * include/sys/poll.h: Add hidden proto for ppoll.
53247         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
53248         * sysdeps/mach/hurd/ppoll.c: Likewise.
53249         * io/ppoll.c: Likewise.
53250         * debug/poll_chk.c: New file.
53251         * debug/ppoll_chk.c: New file.
53252         * include/bits/poll2.h: New file.
53253         * io/bits/poll2.h: New file.
53255         [BZ #1350]
53256         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
53258         * configure.in: static is always set to yes.  Remove.
53259         * config.make.in: Don't set build-static.
53260         * Makeconfig: Remove use of build-static.
53261         * dlfcn/Makefile: Likewise.
53262         * elf/Makefile: Likewise.
53263         * math/Makefile: Likewise.
53264         * misc/Makefile: Likewise.
53265         * nptl/Makefile: Likewise.
53266         * sysdeps/mach/hurd/Makefile: Likewise.
53268         * configure.in: PWD_P is not used anymore.
53269         * config.make.in: Remove PWD_P entry.
53271         * configure.in: Remove last remnants of RANLIB.
53272         No need to check for signed size_t anymore.
53273         Don't set libc_commonpagesize and libc_relro_required here for Alpha
53274         and IA-64.
53275         Remove __builtin_expect test because we require at least gcc 3.4.
53276         * aclocal.m4: Likewise.
53278         * wcsmbs/mbrtoc16.c: Implement using towc function.
53279         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
53280         * wcsmbs/wcsmbsload.c: Likewise.
53281         * iconv/gconv_simple.c: Likewise.
53282         * iconv/gconv_int.h: Likewise.
53283         * iconv/gconv_builtin.h: Likewise.
53284         * iconv/iconv_prog.c: Remove CHAR16 handling.
53286         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
53288         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
53290         * configure.in: Remove --with-elf and --enable-bounded options.
53291         Dont set base_machine for ia64.  More non-ELF conditions removed.
53292         Remove testing and setting of leading underscore information.
53293         * config.make.in (build-bounded): Set to no.
53294         * config.h.in: Remove NO_UNDERSCORES entry.
53295         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
53296         them.
53297         * csu/start.c: Remove !NO_UNDERSCORE code.
53298         * locale/localeinfo.h: Likewise.
53299         * sysdeps/generic/machine-gmon.h: Likewise.
53300         * sysdeps/generic/sysdep.h: Likewise.
53301         * sysdeps/i386/sysdep.h: Likewise.
53302         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53303         * sysdeps/mach/sysdep.h: Likewise.
53304         * sysdeps/s390/s390-32/sysdep.h: Likewise.
53305         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53306         * sysdeps/sh/sysdep.h: Likewise.
53307         * sysdeps/sparc/sparc32/alloca.S: Likewise.
53308         * sysdeps/unix/i386/sysdep.S: Likewise.
53309         * sysdeps/unix/sparc/start.c: Likewise.
53310         * sysdeps/unix/sparc/sysdep.S: Likewise.
53311         * sysdeps/unix/sparc/sysdep.h: Likewise.
53312         * sysdeps/unix/start.c: Likewise.
53313         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53314         * sysdeps/x86_64/sysdep.h: Likewise.
53316 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
53318         [BZ #13553]
53319         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
53320         for non-gcc.
53321         * argp/argp-fmtstream.h: Use const instead __const.
53322         * argp/argp.h: Likewise.
53323         * assert/assert.h: Likewise.
53324         * bits/fenv.h: Likewise.
53325         * bits/sched.h: Likewise.
53326         * bits/sigset.h: Likewise.
53327         * bits/sigthread.h: Likewise.
53328         * catgets/nl_types.h: Likewise.
53329         * conform/data/pthread.h-data: Likewise.
53330         * crypt/crypt-private.h: Likewise.
53331         * crypt/crypt.h: Likewise.
53332         * crypt/crypt_util.c: Likewise.
53333         * ctype/ctype.h: Likewise.
53334         * debug/execinfo.h: Likewise.
53335         * debug/mbsnrtowcs_chk.c: Likewise.
53336         * debug/mbsrtowcs_chk.c: Likewise.
53337         * debug/wcsnrtombs_chk.c: Likewise.
53338         * debug/wcsrtombs_chk.c: Likewise.
53339         * debug/wcstombs_chk.c: Likewise.
53340         * dirent/dirent.h: Likewise.
53341         * dlfcn/dlfcn.h: Likewise.
53342         * elf/neededtest4.c: Likewise.
53343         * grp/grp.h: Likewise.
53344         * gshadow/gshadow.h: Likewise.
53345         * iconv/gconv.h: Likewise.
53346         * iconv/gconv_int.h: Likewise.
53347         * iconv/gconv_simple.c: Likewise.
53348         * iconv/iconv.h: Likewise.
53349         * iconv/loop.c: Likewise.
53350         * iconv/skeleton.c: Likewise.
53351         * include/aio.h: Likewise.
53352         * include/aliases.h: Likewise.
53353         * include/argz.h: Likewise.
53354         * include/arpa/inet.h: Likewise.
53355         * include/assert.h: Likewise.
53356         * include/dirent.h: Likewise.
53357         * include/dlfcn.h: Likewise.
53358         * include/execinfo.h: Likewise.
53359         * include/fcntl.h: Likewise.
53360         * include/fenv.h: Likewise.
53361         * include/glob.h: Likewise.
53362         * include/grp.h: Likewise.
53363         * include/libintl.h: Likewise.
53364         * include/mntent.h: Likewise.
53365         * include/netdb.h: Likewise.
53366         * include/pwd.h: Likewise.
53367         * include/rpc/netdb.h: Likewise.
53368         * include/sched.h: Likewise.
53369         * include/search.h: Likewise.
53370         * include/shadow.h: Likewise.
53371         * include/signal.h: Likewise.
53372         * include/stdio.h: Likewise.
53373         * include/stdlib.h: Likewise.
53374         * include/string.h: Likewise.
53375         * include/sys/socket.h: Likewise.
53376         * include/sys/stat.h: Likewise.
53377         * include/sys/statfs.h: Likewise.
53378         * include/sys/statvfs.h: Likewise.
53379         * include/sys/syslog.h: Likewise.
53380         * include/sys/time.h: Likewise.
53381         * include/sys/uio.h: Likewise.
53382         * include/time.h: Likewise.
53383         * include/unistd.h: Likewise.
53384         * include/utmp.h: Likewise.
53385         * include/wchar.h: Likewise.
53386         * include/wctype.h: Likewise.
53387         * inet/aliases.h: Likewise.
53388         * inet/arpa/inet.h: Likewise.
53389         * inet/netinet/ether.h: Likewise.
53390         * inet/netinet/in.h: Likewise.
53391         * intl/libintl.h: Likewise.
53392         * io/bits/fcntl2.h: Likewise.
53393         * io/fcntl.h: Likewise.
53394         * io/ftw.h: Likewise.
53395         * io/sys/poll.h: Likewise.
53396         * io/sys/stat.h: Likewise.
53397         * io/sys/statfs.h: Likewise.
53398         * io/sys/statvfs.h: Likewise.
53399         * io/utime.h: Likewise.
53400         * libio/bits/stdio.h: Likewise.
53401         * libio/bits/stdio2.h: Likewise.
53402         * libio/libio.h: Likewise.
53403         * libio/libioP.h: Likewise.
53404         * libio/stdio.h: Likewise.
53405         * locale/lc-ctype.c: Likewise.
53406         * locale/locale.h: Likewise.
53407         * login/utmp.h: Likewise.
53408         * malloc/arena.c: Likewise.
53409         * malloc/malloc.c: Likewise.
53410         * malloc/malloc.h: Likewise.
53411         * malloc/mcheck.c: Likewise.
53412         * malloc/mtrace.c: Likewise.
53413         * math/bits/mathcalls.h: Likewise.
53414         * math/fenv.h: Likewise.
53415         * math/math_private.h: Likewise.
53416         * misc/bits/error.h: Likewise.
53417         * misc/bits/syslog.h: Likewise.
53418         * misc/err.h: Likewise.
53419         * misc/error.h: Likewise.
53420         * misc/fstab.h: Likewise.
53421         * misc/mntent.h: Likewise.
53422         * misc/regexp.h: Likewise.
53423         * misc/search.h: Likewise.
53424         * misc/sgtty.h: Likewise.
53425         * misc/sys/mman.h: Likewise.
53426         * misc/sys/syslog.h: Likewise.
53427         * misc/sys/uio.h: Likewise.
53428         * misc/sys/xattr.h: Likewise.
53429         * misc/ttyent.h: Likewise.
53430         * nis/rpcsvc/ypclnt.h: Likewise.
53431         * nss/nss.h: Likewise.
53432         * posix/bits/unistd.h: Likewise.
53433         * posix/fnmatch.h: Likewise.
53434         * posix/glob.h: Likewise.
53435         * posix/sched.h: Likewise.
53436         * posix/spawn.h: Likewise.
53437         * posix/sys/wait.h: Likewise.
53438         * posix/unistd.h: Likewise.
53439         * posix/wordexp.h: Likewise.
53440         * pwd/pwd.h: Likewise.
53441         * resolv/netdb.h: Likewise.
53442         * resource/sys/resource.h: Likewise.
53443         * rt/aio.h: Likewise.
53444         * rt/bits/mqueue2.h: Likewise.
53445         * rt/mqueue.h: Likewise.
53446         * shadow/shadow.h: Likewise.
53447         * signal/signal.h: Likewise.
53448         * socket/send.c: Likewise.
53449         * socket/sendto.c: Likewise.
53450         * socket/sys/socket.h: Likewise.
53451         * stdio-common/printf.h: Likewise.
53452         * stdlib/bits/stdlib.h: Likewise.
53453         * stdlib/fmtmsg.h: Likewise.
53454         * stdlib/monetary.h: Likewise.
53455         * stdlib/stdlib.h: Likewise.
53456         * stdlib/ucontext.h: Likewise.
53457         * streams/stropts.h: Likewise.
53458         * string/argz.h: Likewise.
53459         * string/bits/string2.h: Likewise.
53460         * string/string.h: Likewise.
53461         * string/strings.h: Likewise.
53462         * sunrpc/rpc/auth.h: Likewise.
53463         * sunrpc/rpc/auth_des.h: Likewise.
53464         * sunrpc/rpc/clnt.h: Likewise.
53465         * sunrpc/rpc/netdb.h: Likewise.
53466         * sunrpc/rpc/pmap_clnt.h: Likewise.
53467         * sunrpc/rpc/xdr.h: Likewise.
53468         * sysdeps/generic/inttypes.h: Likewise.
53469         * sysdeps/generic/net/if.h: Likewise.
53470         * sysdeps/generic/sys/swap.h: Likewise.
53471         * sysdeps/gnu/net/if.h: Likewise.
53472         * sysdeps/gnu/utmpx.h: Likewise.
53473         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
53474         * sysdeps/i386/i486/bits/string.h: Likewise.
53475         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
53476         * sysdeps/s390/bits/string.h: Likewise.
53477         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
53478         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
53479         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
53480         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
53481         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
53482         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
53483         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
53484         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
53485         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
53486         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
53487         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
53488         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
53489         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
53490         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
53491         * sysdeps/unix/sysv/linux/readv.c: Likewise.
53492         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
53493         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53494         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53495         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
53496         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
53497         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53498         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
53499         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
53500         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
53501         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
53502         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
53503         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
53504         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53505         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
53506         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
53507         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
53508         * sysvipc/sys/ipc.h: Likewise.
53509         * sysvipc/sys/msg.h: Likewise.
53510         * sysvipc/sys/sem.h: Likewise.
53511         * sysvipc/sys/shm.h: Likewise.
53512         * termios/termios.h: Likewise.
53513         * time/sys/time.h: Likewise.
53514         * time/time.h: Likewise.
53515         * wcsmbs/bits/wchar2.h: Likewise.
53516         * wcsmbs/uchar.h: Likewise.
53517         * wcsmbs/wchar.h: Likewise.
53518         * wctype/wctype.h: Likewise.
53520         [BZ #13551]
53521         * Makeconfig: Remove all but ELF support including AIX support.
53522         * Makerules: Likewise.
53523         * config.h.in: Likewise.
53524         * config.make.in: Likewise.
53525         * configure: Likewise.
53526         * configure.in: Likewise.
53527         * csu/Makefile: Likewise.
53528         * csu/version.c: Likewise.
53529         * debug/Makefile: Likewise.
53530         * dlfcn/Makefile: Likewise.
53531         * elf/Makefile: Likewise.
53532         * extra-lib.mk: Likewise.
53533         * iconv/Makefile: Likewise.
53534         * include/libc-symbols.h: Likewise.
53535         * include/shlib-compat.h: Likewise.
53536         * resolv/Makefile: Likewise.
53537         * resolv/res_libc.c: Likewise.
53538         * rt/Makefile: Likewise.
53539         * sysdeps/i386/asm-syntax.h: Likewise.
53540         * sysdeps/i386/sysdep.h: Likewise.
53541         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53542         * sysdeps/mach/sysdep.h: Likewise.
53543         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
53544         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
53545         * sysdeps/s390/asm-syntax.h: Likewise.
53546         * sysdeps/s390/s390-32/sysdep.h: Likewise.
53547         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53548         * sysdeps/sh/sysdep.h: Likewise.
53549         * sysdeps/unix/sparc/sysdep.h: Likewise.
53550         * sysdeps/wordsize-32/divdi3.c: Likewise.
53551         * sysdeps/x86_64/sysdep.h: Likewise.
53553         * argp/Versions: Remove _argp_unlock_xxx.
53555         [BZ #13559]
53556         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
53557         * abilist/libBrokenLocale.abilist: Likewise.
53558         * abilist/libanl.abilist: Likewise.
53559         * abilist/libc.abilist: Likewise.
53560         * abilist/libcrypt.abilist: Likewise.
53561         * abilist/libdl.abilist: Likewise.
53562         * abilist/libm.abilist: Likewise.
53563         * abilist/libnsl.abilist: Likewise.
53564         * abilist/libpthread.abilist: Likewise.
53565         * abilist/libresolv.abilist: Likewise.
53566         * abilist/librt.abilist: Likewise.
53567         * abilist/libthread_db.abilist: Likewise.
53568         * abilist/libutil.abilist: Likewise.
53569         * abilist/libnss_db.abilist: New file.
53571         * scripts/abilist.awk: Add support for indirect functions.
53573         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
53575         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
53577         * shlib-versions: Remove entries for ports architectures.
53579         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
53580         files in ports.
53581         * elf/stackguard-macros.h: Remove support for IA-64.
53582         * elf/tst-auditmod1.c: Likewise.
53583         * sysdeps/generic/ldsodefs.h: Likewise.
53585         * sysdeps/unix/sysv/linux/configure.in: Ports should define
53586         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
53587         configure files.
53589         [BZ #13552]
53590         * configure.in: Remove --enable-omitfp support.
53591         * FAQ.in: Adjust.
53592         * config.make.in: Likewise.
53593         * Makeconfig: Likewise.
53594         * manual/install.texi: Likewise.
53596         In case anyone cares, the IA-64 architecture could move to ports.
53597         * sysdeps/ia64/*: Removed.
53598         * sysdeps/unix/sysv/linux/ia64/*: Removed.
53599         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
53601         [BZ #13555]
53602         * configure.in: Remove entries for unsupported architectures.
53604         [BZ #13533]
53605         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
53606         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
53607         routines.
53608         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
53609         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
53610         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
53611         fall back to using wcrtomb.
53612         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
53613         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
53614         renaming.
53615         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
53616         * wcsmbs/tst-c16c32-1.c: New file.
53618         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
53619         local variable.
53621         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
53623         * elf/tst-unique3.cc: Add explicit declaration of gets.
53624         * elf/tst-unique3lib.cc: Likewise.
53625         * elf/tst-unique3lib2.cc: Likewise.
53626         * elf/tst-unique4.cc: Likewise.
53628         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
53630 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
53632         [BZ #13566]
53633         * assert/assert.h (static_assert): Don't define for C++.
53634         * libio/stdio.h (gets): Do declare for C++ <= C++11.
53635         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
53637 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
53639         * iconv/loop.c (single loop): Fix assertion in storing of
53640         remaining bytes.
53642         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
53644 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
53646         * posix/getconf.c: Update copyright year.
53647         * nss/getent.c: Likewise.
53648         * nss/makedb.c: Likewise.
53649         * iconv/iconvconfig.c: Likewise.
53650         * iconv/iconv_prog.c: Likewise.
53651         * elf/ldconfig.c: Likewise.
53652         * elf/pldd.c: Likewise.
53653         * elf/sotruss.ksh: Likewise.
53654         * catgets/gencat.c: Likewise.
53655         * csu/version.c: Likewise.
53656         * elf/ldd.bash.in: Likewise.
53657         * elf/sprof.c (print_version): Likewise.
53658         * locale/programs/locale.c: Likewise.
53659         * locale/programs/localedef.c: Likewise.
53660         * login/programs/pt_chown.c: Likewise.
53661         * nscd/nscd.c (print_version): Likewise.
53662         * debug/xtrace.sh: Likewise.
53663         * malloc/memusage.sh: Likewise.
53664         * malloc/mtrace.pl: Likewise.
53665         * debug/catchsegv.sh: Likewise.
53667 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
53669         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
53670         pure attribute.
53672 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
53674         [BZ #13533]
53675         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
53676         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
53677         transformations.
53678         * iconv/gconv_int.h: Likewise.
53679         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
53680         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
53681         from libc for GLIBC_2.16.
53682         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
53683         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
53684         * wcsmbs/uchar.h: Really define mbstate_t.
53685         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
53686         * wcsmbs/c16rtomb.c: New file.
53687         * wcsmbs/mbrtoc16.c: New file.
53688         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
53689         for C/POSIX locale.
53690         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
53691         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
53693         * wcsmbs/wchar.h: Add missing __restrict.
53695 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
53697         [BZ #13532]
53698         * time/Makefile (routines): Add timespec_get.
53699         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
53700         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
53701         timespec for ISO C11.
53702         * time/timespec_get.c: New file.
53703         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
53704         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
53706         [BZ #13531]
53707         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
53708         * stdlib/stdlib.h: Declare aligned_alloc.
53709         * Versions.def: Add GLIBC_2.16 for libc.
53710         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
53712         [BZ 13527]
53713         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
53714         ISO C11.
53716         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
53717         code.
53719         [BZ #13528]
53720         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
53722         [BZ #13529]
53723         * assert/assert.h (static_assert): Define.
53725         * version.h: Update for 2.16 development version.
53727         [BZ #13526]
53728         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
53729         _ISOC11_SOURCE.
53731         * version.h (RELEASE): Bump for 2.15 release.
53732         * include/features.h (__GLIBC_MINOR__): Bump to 15.
53734         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
53735         Patch by Marek Polacek <mpolacek@redhat.com>.
53737         * bits/byteswap.h: Protect long long constants with __extension__.
53738         * sysdeps/i386/bits/byteswap.h: Likewise.
53739         * sysdeps/ia64/bits/byteswap.h: Likewise.
53740         * sysdeps/s390/bits/byteswap.h: Likewise.
53741         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53743 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53745         [BZ #13540]
53746         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
53747         destination buffer.
53748         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
53750 2011-12-23  Marek Polacek  <polacek@redhat.com>
53752         * elf/dl-addr.c (determine_info): Add inline keyword.
53753         * elf/tst-auditmod4b.c (check_avx): Likewise.
53754         * elf/tst-auditmod6b.c (check_avx): Likewise.
53755         * elf/tst-auditmod6c.c (check_avx): Likewise.
53756         * elf/tst-auditmod7b.c (check_avx): Likewise.
53758 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
53760         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
53761         !__SSE_MATH__.
53763 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53765         [BZ #13540]
53766         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
53767         processing for last bytes.
53769 2011-08-06  Bruno Haible  <bruno@clisp.org>
53771         [BZ #13061]
53772         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
53773         U+0385, not to U+1FEE.
53775         [BZ #13062]
53776         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
53777         entry for U+00A5 U+0301.
53779 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
53781         [BZ #13166]
53782         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
53783         buffer for the output is too small.
53785         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
53786         optimization.
53788         [BZ #13185]
53789         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
53790         SSE flags if possible.
53792 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53794         [BZ #13540]
53795         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
53796         processing for last bytes.
53798 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
53800         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
53801         (syscall-list-default-options, syscall-list-default-condition)
53802         (syscall-list-includes): Define.
53803         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
53804         list of ABIs and options and #if conditions for each ABI.  Do not
53805         handle common syscalls between ABIs specially.
53806         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
53807         Remove.
53808         (syscall-list-variants, syscall-list-32bit-options)
53809         (syscall-list-32bit-condition, syscall-list-64bit-options)
53810         (syscall-list-64bit-condition): Define.
53811         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
53812         (syscall-list-variants, syscall-list-32bit-options)
53813         (syscall-list-32bit-condition, syscall-list-64bit-options)
53814         (syscall-list-64bit-condition): Define.
53815         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
53816         Remove.
53817         (syscall-list-variants, syscall-list-32bit-options)
53818         (syscall-list-32bit-condition, syscall-list-64bit-options)
53819         (syscall-list-64bit-condition): Define.
53820         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
53821         Remove.
53822         (syscall-list-variants, syscall-list-32bit-options)
53823         (syscall-list-32bit-condition, syscall-list-64bit-options)
53824         (syscall-list-64bit-condition): Define.
53826 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
53828         * locale/iso-639.def: Add brx entry.
53830         [BZ #13328]
53831         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
53832         Proposed by Mariusz_Cukr <marcukr@op.pl>.
53834         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
53835         __feraiseexcept_renamed.
53837 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
53839         [BZ #13538]
53840         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
53841         EPOLLET with unsigned values.
53842         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53843         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53845         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
53846         to large cancellation.
53847         * math/s_cacoshf.c: Likewise.
53848         * math/s_cacoshl.c: Likewise.
53850 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
53852         [BZ #13305]
53853         [BZ #12786]
53854         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
53855         * math/s_cacoshf.c: Likewise.
53856         * math/s_cacoshl.c: Likewise.
53858 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
53860         [BZ #13439]
53861         * iconv/gconv.h: Define __GCONV_SWAP.
53862         * iconvdata/unicode.c: The swap bit must be stored in __flags.
53863         * iconvdata/utf-16.c: Likewise.
53864         * iconvdata/utf-32.c: Likewise.
53866 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
53868         [BZ #13524]
53869         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
53870         numerator after shifting it by one limb.
53872 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
53874         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
53875         under [__USE_EXTERN_INLINES].
53877 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
53879         [BZ #13446]
53880         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
53882 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53884         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
53885         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
53886         optimized code.
53887         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
53888         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
53889         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
53890         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
53891         for strncasecmp/strncasecmp_l compilation.
53892         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
53893         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
53895 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
53897         [BZ #13484]
53898         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
53899         of __asm__.
53901 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
53903         [BZ #13506]
53904         * time/tzfile.c (__tzfile_read): Check values from file header.
53906 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
53908         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
53909         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
53910         * powerpc/powerpc32/dl-start.S: Likewise.
53911         * powerpc/powerpc32/elf/start.S: Likewise.
53912         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53913         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
53914         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
53915         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
53916         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
53917         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
53918         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
53919         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53920         * powerpc/powerpc32/fpu/s_round.S: Likewise.
53921         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
53922         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
53923         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
53924         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
53925         * powerpc/powerpc32/memset.S: Likewise.
53926         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
53927         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53928         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53929         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53930         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53931         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
53932         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
53933         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
53934         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
53935         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
53936         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
53937         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53938         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53940 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53942         * math/libm-test.inc: Added more nearbyint tests.
53943         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
53944         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
53945         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
53946         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
53948 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
53950         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
53951         FD_CLOEXEC.
53953 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53955         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
53956         Add wcscpy-ssse3 wcscpy-c.
53957         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
53958         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
53959         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
53960         * sysdeps/x86_64/wcschr.S: New file.
53961         * sysdeps/x86_64/wcsrchr.S: New file.
53962         * string/test-strcmp.c: Remove checking of wcscmp function for
53963         wrong alignments.
53964         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
53965         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
53966         wcsrchr-sse2 wcsrchr-c.
53967         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
53968         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
53969         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
53970         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
53971         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
53972         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
53973         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
53974         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
53975         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
53976         * wcsmbc/wcschr.c (WCSCHR): New macro.
53978 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53980         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
53981         * wcsmbs/test-wcsrchr.c: New file.
53982         * string/test-strrchr.c: Add wcsrchr support.
53983         (WIDE): New macro.
53984         * wcsmbs/test-wcscpy.c: New file.
53985         * string/test-strcpy.c: Add wcscpy support.
53986         (WIDE): New macro.
53988 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
53990         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
53991         the inner loop.
53993 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
53995         [BZ #13472]
53996         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
53998 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
54000         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
54001         Minor optimizations.
54003         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
54004         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
54005         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
54007 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
54009         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
54010         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
54011         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
54012         for gcc to avoid warnings.
54013         * inet/Makefile (tests): Add tst-checks.
54014         * inet/tst-checks.c: New file.
54016         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
54017         warning.
54019         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
54020         __wmemcmp_sse2.
54022         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
54023         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
54025         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
54027 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
54029         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
54030         problem.
54032         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
54034 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
54036         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
54037         conditional on GCC version.
54038         (__arch_compare_and_exchange_val_8_acq)
54039         (__arch_compare_and_exchange_val_16_acq)
54040         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
54041         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
54042         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
54044 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
54046         * sysdeps/sh/backtrace.c: New file.
54048 2011-12-02  Andreas Schwab  <schwab@redhat.com>
54050         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
54051         parenthesis.
54053 2011-12-01  Andreas Schwab  <schwab@redhat.com>
54055         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
54056         falling back to utime.
54058 2011-11-30  Andreas Schwab  <schwab@redhat.com>
54060         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
54061         expectations for float.
54063 2011-11-29  Andreas Schwab  <schwab@redhat.com>
54065         * locale/weight.h (findidx): Add parameter len.
54066         * locale/weightwc.h (findidx): Likewise.
54067         * posix/fnmatch_loop.c (FCT): Adjust caller.
54068         * posix/regcomp.c (build_equiv_class): Likewise.
54069         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
54070         * posix/regexec.c (check_node_accept_bytes): Likewise.
54071         * string/strcoll_l.c (STRCOLL): Likewise.
54072         * string/strxfrm_l.c (STRXFRM): Likewise.
54074 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
54076         * Makefile.in: Remove CVSOPT handling.
54077         * configure.in: Remove use of AC_REVISION.
54078         * iconvdata/Makefile (distribute): No need to filter out CVS.
54079         * scripts/list-sources.sh: Remove CVS, subversion and monotone
54080         handling.
54082 2011-11-16  Andreas Schwab  <schwab@redhat.com>
54084         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
54085         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
54086         [USE_AS_STRNCASECMP_L]: Likewise.
54087         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
54088         NO_TLS_DIRECT_SEG_REFS.
54089         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
54090         Fix argument offsets for non-PIC.
54091         [USE_AS_STRNCASECMP_L]: Likewise.
54092         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
54093         NO_TLS_DIRECT_SEG_REFS.
54095 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
54097         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
54098         O_CLOEXEC.
54099         * locale/loadlocale.c (_nl_load_locale): Likewise.
54101 2011-11-15  Andreas Schwab  <schwab@redhat.com>
54103         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
54104         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
54105         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
54106         (SYSCALL_GETTIME): Set errno on error.
54108         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
54109         count references to noai6ai_cached.
54111 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
54113         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
54115         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
54116         FD_CLOEXEC for /proc/self/maps.
54118         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
54119         FD_CLOEXEC for /proc/meminfo.
54121         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
54122         gai.conf.
54124         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
54125         FD_CLOEXEC for given file.
54127         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
54129         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
54130         FD_CLOEXEC for /etc/hosts.
54131         (_gethtent): Likewise.
54133         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
54135         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
54136         cancellation and set FD_CLOEXEC for /etc/netgroup.
54138         * nss/nss_files/files-key.c (search): Don't allow cancellation when
54139         reading /etc/publickey.
54141         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
54142         allow cancellation when reading /etc/group.
54144         * nss/nss_files/files-alias.c (internal_setent): Don't allow
54145         cancellation.
54146         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
54148         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
54149         when using data file.
54151         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
54153         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
54154         (write_nis_obj): Use "c" and "e" in fopen.
54156         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
54158         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
54160         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
54162         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
54164         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
54165         locale.alias.
54167         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
54169         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
54171         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
54173         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
54174         file parsing and set FD_CLOEXEC.
54176 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
54178         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
54180 2011-11-14  Andreas Schwab  <schwab@redhat.com>
54182         * malloc/arena.c (arena_get2): Don't call reused_arena when
54183         _int_new_arena failed.
54185 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
54187         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
54188         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
54189         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
54190         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54191         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54192         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
54193         to compile strcasecmp and strncasecmp.
54194         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
54195         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
54197         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
54199 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
54201         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
54202         locale-defines.sym to gen-as-const-headers.
54203         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
54204         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
54205         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
54206         to compile strcasecmp and strncasecmp.
54207         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
54208         strcasecmp_l and strncasecmp_l.
54209         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
54210         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
54211         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
54212         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
54213         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
54214         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
54215         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
54216         * sysdeps/i386/i686/multiarch/strncase.S: New file.
54217         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
54218         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
54219         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
54221 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
54223         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
54224         result of SYSDEP_GETTIME_CPU to retval.
54225         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
54226         parameter list to macro.  Remove trailing semicolon.  Adjust users.
54228         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
54229         variable.
54231         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
54232         mantissa words.
54233         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
54235         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
54236         from unused variable.
54238         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
54239         DWARF definitions.
54240         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
54241         for assembling.
54243         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
54244         over namespaces.
54246         * sunrpc/rpc_prot.c (rejected): Fix case value.
54248         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
54249         unsigned long long int to avoid warnings in shift.
54251         * posix/regex_internal.c (re_string_reconstruct): Actually use result
54252         of use of trans.
54253         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
54254         variable tmp.
54256         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
54257         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
54258         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
54260         * nis/nis_table.c (nis_list): Use variable of correct type for
54261         result of __follow_path call.
54263 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54265         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
54266         of math functions ceil, trunc, floor, round, and sqrt, when
54267         avaliable on the platform.
54268         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
54269         name clash.
54270         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54271         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54272         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54274 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
54276         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
54277         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54279 2011-11-11  Roland McGrath  <roland@hack.frob.com>
54281         * include/unistd.h: Fix __readlink return type.
54282         Reported by Chris Metcalf <cmetcalf@tilera.com>.
54284 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
54286         * stdlib/ucontext.h: Undo last change for makecontext.
54288 2011-11-11  Andreas Schwab  <schwab@redhat.com>
54290         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
54292         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
54293         * setjmp/setjmp.h: Mark functions as non-leaf.
54294         * setjmp/bits/setjmp2.h: Likewise.
54295         * stdlib/ucontext.h: Likewise.
54297 2011-11-10  Andreas Schwab  <schwab@redhat.com>
54299         * malloc/arena.c (_int_new_arena): Don't increment narenas.
54300         (reused_arena): Don't check arena limit.
54301         (arena_get2): Atomically check arena limit.
54303 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
54305         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
54306         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
54308         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
54309         instructions.
54311 2011-11-07  Andreas Schwab  <schwab@redhat.com>
54313         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
54314         handler when locking.
54316         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54317         Fix size of allocated buffer.
54319 2011-11-04  Andreas Schwab  <schwab@redhat.com>
54321         [BZ #10103]
54322         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
54323         declarations for long double functions.
54324         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
54326         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
54328 2011-11-03  Andreas Schwab  <schwab@redhat.com>
54330         * nscd/nscd.c (main): Don't start AVC thread until credentials are
54331         installed.
54333         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
54334         is disabled.
54336 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54338         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
54340 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54342         * include/alloca.h (stackinfo_alloca_round): Define.
54343         (extend_alloca): Use it.
54344         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
54345         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
54346         here.
54348         * scripts/check-local-headers.sh: Ignore libaudit.h.
54350         * nscd/Makefile (extra-objs): Make recursively expanded.
54352 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
54354         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
54355         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
54357         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
54358         * posix/tst-rfc3484-2.c: Likewise.
54359         * posix/tst-rfc3484-3.c: Likewise.
54361         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54362         process_vm_writev.
54363         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
54364         process_vm_writev.
54365         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
54366         process_vm_writev from libc using GLIBC_2.15 version.
54368         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
54370 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
54372         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
54373         stack usage.
54375 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
54377         [BZ #13367]
54378         * nss/getent.c (initgroups_keys): Show error message in case no group
54379         names are given.
54381         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
54382         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
54383         __bump_nl_timestamp.
54384         * nscd/connections (nscd_init): When host database is served open
54385         netlink socket and request notification about configuration changes.
54386         (main_loop_poll): Track netlink file descriptor and bump timestamp
54387         in case data becomes available.
54388         (main_loop_epoll): Likewise.
54389         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
54390         (database_pers_head): Add extra_data fileds.
54391         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
54392         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
54393         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
54394         Adjust caller.
54395         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
54396         in6ai data, call __free_in6ai.
54397         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
54398         Add -DHAVE_NETLINK.
54399         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
54400         interface information.  Reuse previous data if netlink timestamp
54401         is not changed.
54402         (__bump_nl_timestamp): New function.
54403         (__free_in6ai): New function.
54405 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
54407         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
54408         close_not_cancel_no_status here.
54409         (__check_pf): Reorganize code a bit to not call close twice if OOM.
54411 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
54413         [BZ #13276]
54414         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
54415         return value.
54417         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
54418         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
54419         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
54421 2011-07-03  Andreas Jaeger  <aj@suse.de>
54423         [BZ #10709]
54424         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
54425         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
54426         * math/libm-test.inc (sin_test): Add test case.
54428 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
54430         [BZ #13337]
54431         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
54432         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54434         * elf/chroot_canon.c (chroot_canon): Cleanups.
54436         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
54438         [BZ #13335]
54439         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
54440         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54442         * string/test-strchr.c: Make usable for strchrnul testing.
54443         * string/test-strchrnul.c: New file.
54444         * string/Makefile (strop-tests): Add strchrnul.
54446         * po/it.po: Update from translation team.
54447         * po/es.po: Likewise.
54449 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
54451         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
54452         the three constants needed as parameters.  Drop the others.
54453         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
54454         __m128i_strloadu_tolower.
54455         Create and initialize variable zero and use it in all the places
54456         where _mm_setzero_si128 was used.
54458         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
54459         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
54460         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
54461         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
54462         anymore.
54463         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
54464         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
54465         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
54466         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
54467         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
54468         __mpranred, __mptan.
54469         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
54470         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
54471         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
54472         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
54473         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
54474         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
54475         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
54476         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
54477         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
54479 2011-10-28  Andreas Schwab  <schwab@redhat.com>
54481         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
54482         redefine if SHARED.
54483         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
54485         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
54486         wide char related routines to wcsmbs subdir.
54488 2011-10-27  Andreas Schwab  <schwab@redhat.com>
54490         [BZ #13344]
54491         * misc/sys/cdefs.h (__THROWNL): Define.
54492         * posix/unistd.h: Use __THREADNL instead of __THREAD
54493         for memory synchronization functions.
54495 2011-10-26  Roland McGrath  <roland@hack.frob.com>
54497         [BZ #13349]
54498         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
54499         doesn't exist.
54500         * manual/stdio.texi (Obstack Streams): Node removed.
54502 2011-10-26  Andreas Schwab  <schwab@redhat.com>
54504         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
54505         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54506         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54508         * math/math_private.h (math_force_eval): Allow non-addressable
54509         arguments.
54510         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
54512 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
54514         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
54515         file is not needed.
54517         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
54518         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
54519         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54520         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54521         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54522         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54523         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54524         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
54525         Add AVX variants.
54526         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
54527         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
54528         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
54529         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
54530         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
54531         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
54532         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
54533         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
54534         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
54535         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
54536         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
54537         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
54538         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
54539         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
54540         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
54541         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
54542         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
54543         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
54544         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
54546         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
54547         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
54549         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
54550         place.  Use VEX encoding when compiling for AVX.
54552 2011-10-25  Andreas Schwab  <schwab@redhat.com>
54554         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
54555         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54557         * string/test-strchr.c (do_test): Don't generate NUL bytes.
54559 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
54561         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
54562         useless if() expression.
54563         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54564         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54565         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54566         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54567         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54568         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54569         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54570         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54571         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54572         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54573         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54574         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54575         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54576         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54577         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54578         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54579         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54580         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54581         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54583         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
54585 2011-10-25  Andreas Schwab  <schwab@redhat.com>
54587         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
54588         condition.
54589         * elf/dl-fini.c (_dl_sort_fini): Likewise.
54591 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
54593         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
54594         .text section.  Avoid duplicate constants.
54595         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54596         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54597         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54598         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54599         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54600         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54601         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54602         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54603         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54604         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
54605         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54606         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54607         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54608         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54609         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54610         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54611         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54612         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54613         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54614         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54615         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54616         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54617         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54618         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
54619         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
54620         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
54621         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
54622         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
54623         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
54624         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
54625         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
54626         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
54627         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54628         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
54629         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
54630         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
54631         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
54632         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
54633         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
54634         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
54635         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
54636         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
54637         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
54638         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
54639         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
54641 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
54643         * sysdeps/x86_64/dla.h: Move to ...
54644         * sysdeps/x86_64/fpu/dla.h: ...here.
54645         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
54646         situations.  Use __builtin_fma only for gcc 4.6 and up.
54648         * config.make.in: Add have-mfma4 entry.
54649         * configure.in: Substitute libc_cv_cc_fma4.
54650         * math/Makefile (dbl-only-routines): Add sincostab.
54651         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
54652         Use __sincostab not sincos.
54653         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
54654         name is a macro.
54655         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54656         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54657         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54658         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
54659         using __copysign.
54660         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
54661         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
54662         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
54663         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
54664         and __inv.
54665         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
54666         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
54667         __copysign.
54668         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
54669         define aliases when function name is a macro.
54670         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
54671         sysdeps/ieee754/dbl-64/sincos.tbl.
54672         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
54673         fma4-enabled routines.
54674         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
54675         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
54676         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
54677         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
54678         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
54679         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
54680         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
54681         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
54682         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
54683         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
54684         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
54685         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
54686         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
54687         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
54688         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
54689         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
54690         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
54691         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
54692         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
54693         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
54694         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
54695         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
54696         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
54697         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
54698         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
54699         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
54700         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
54701         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
54702         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
54703         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
54705         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
54706         rename.
54707         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54708         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54709         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54710         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54711         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54712         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54713         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54714         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54716 2011-10-24  Andreas Schwab  <schwab@redhat.com>
54718         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
54720 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
54722         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
54724         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
54725         prediction.
54726         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
54728         * string/strnlen.c: Don't define STRNLEN, reverse logic.
54729         Remove unused variable magic_bits.
54730         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
54732         * string/strnlen.c: Define and use STRNLEN macro.
54733         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
54734         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
54735         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
54736         * wcsmbs/wcslen.c: Define and use WCSLEN.
54737         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
54738         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
54739         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
54740         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
54741         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
54742         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
54743         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54745 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54747         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54748         strnlen-sse2-no-bsf.
54749         Rename strlen-no-bsf to strlen-sse2-no-bsf.
54750         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
54751         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
54752         Add strnlen support.
54753         (USE_AS_STRNLEN): New macro.
54754         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
54755         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
54756         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
54757         * sysdeps/x86_64/wcslen.S: New file.
54759 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
54761         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54762         XMM-moves are used for copying on small sizes.
54764 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54766         * wcsmbs/Makefile (strop-tests): Add wcschr.
54767         * wcsmbs/test-wcschr.c: New file.
54768         * string/test-strchr.c: Update.
54769         Add wcschr support.
54770         (WIDE): New macro.
54772 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54774         * wcsmbs/Makefile (strop-tests): Add wcslen.
54775         * wcsmbs/test-wcslen.c: New file.
54776         * string/test-strlen.c: Update.
54777         Add wcslen support.
54778         (WIDE): New macro.
54780 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
54782         * po/it.po: Update from translation team.
54784 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54786         * sysdeps/x86_64/wcscmp.S: Update.
54787         Fix wrong comparison semantics.
54788         wcscmp shall use signed comparison not unsigned.
54789         Don't use substraction to avoid overflow bug.
54790         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
54791         * wcsmbc/wcscmp.c: Likewise.
54792         * string/test-strcmp.c: Likewise.
54793         Add new tests to check cases with negative values.
54795 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
54797         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
54798         * sysdeps/x86_64/dla.h: ...here.  New file.
54799         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
54800         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54801         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54802         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54803         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54804         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54805         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54806         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54807         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54809 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
54811         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
54812         __ynl_finite aliases.
54814 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
54816         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54818         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
54819         define DLA_FMA.
54820         [DLA_FMA] (EMULV): Use DLA_FMA.
54821         [DLA_FMA] (MUL12): Use EMULV.
54822         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
54823         that are not needed.
54824         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54825         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54826         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54827         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54828         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54829         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54830         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54832 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
54834         * math/s_nan.c: Undef __nan.
54835         * math/s_nanf.c: Undef __nanf.
54836         * math/s_nanl.c: Undef __nanl.
54837         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
54838         "math_private.h".
54840 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
54842         * math/s_catan.c: Add branch predictions.
54843         * math/s_catanf.c: Likewise.
54844         * math/s_catanh.c: Likewise.
54845         * math/s_catanhf.c: Likewise.
54846         * math/s_catanhl.c: Likewise.
54847         * math/s_catanl.c: Likewise.
54848         * math/s_cexp.c: Likewise.
54849         * math/s_cexpf.c: Likewise.
54850         * math/s_cexpl.c: Likewise.
54851         * math/s_clog.c: Likewise.
54852         * math/s_clog10.c: Likewise.
54853         * math/s_clog10f.c: Likewise.
54854         * math/s_clog10l.c: Likewise.
54855         * math/s_clogf.c: Likewise.
54856         * math/s_clogl.c: Likewise.
54857         * math/s_csqrt.c: Likewise.
54858         * math/s_csqrtf.c: Likewise.
54859         * math/s_csqrtl.c: Likewise.
54860         * math/s_ctanf.c: Likewise.
54861         * math/s_ctanh.c: Likewise.
54862         * math/s_ctanhf.c: Likewise.
54863         * math/s_ctanhl.c: Likewise.
54864         * math/s_ctanl.c: Likewise.
54866         * math/math_private.h: Define __nan, __nanf, __nanl.
54867         * math/s_cacosh.c: Include <math_private.h>.
54868         * math/s_cacoshl.c: Likewise.
54869         * math/s_casinh.c: Likewise.
54870         * math/s_casinhf.c: Likewise.
54871         * math/s_casinhl.c: Likewise.
54872         * math/s_ccos.c: Rely entire on ccosh.
54873         * math/s_ccosf.c: Rely entire on ccoshf.
54874         * math/s_ccosl.c: Rely entirely on ccoshl.
54875         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
54876         Remove tests for FE_INVALID.
54877         * math/s_ccoshf.c: Likewise.
54878         * math/s_ccoshl.c: Likewise.
54879         * math/s_csin.c: Likewise.
54880         * math/s_csinf.c: Likewise.
54881         * math/s_csinh.c Likewise.
54882         * math/s_csinhf.c: Likewise.
54883         * math/s_csinhl.c: Likewise.
54884         * math/s_csinl.c: Likewise.
54885         * math/s_ctan.c: Likewise.
54886         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
54887         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
54888         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
54890 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
54892         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
54893         compilation problems.
54895         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
54896         __builtin_expect.
54898 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
54900         * sysdeps/i386/configure.in: Test for -mfma4 option.
54901         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
54902         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
54903         COMMON_CPUID_INDEX_80000001.
54904         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
54905         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
54906         use it if FMA3 is not supported.
54907         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
54909         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
54910         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54912 2011-10-20  Andreas Schwab  <schwab@redhat.com>
54914         [BZ #12892]
54915         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
54916         it would create a cycle with a link time dependency.
54918 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
54920         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
54921         instruction.
54922         * string/Makefile (strop-tests): Add rawmemchr.
54923         * string/test-rawmemchr.c: New file.
54925         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
54926         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
54927         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
54928         when compiling str{,n}casecmp and when AVX is available.  Hook up
54929         new optimized code in initializers.
54931 2011-10-19  Andreas Schwab  <schwab@redhat.com>
54933         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
54934         __feraiseexcept instead of feraiseexcept.
54936 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
54938         * math/math_private.h: Define defaults for libc_fetestexcept and
54939         libc_feupdateenv.
54940         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
54941         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
54942         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54943         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54944         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54945         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54946         libc_fetestexcept and libc_feupdateenv.
54948         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
54949         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
54950         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
54951         * sysdeps/x86_64/fpu/math_private.h: Define special version of
54952         libc_feholdexcept_setround.
54954         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
54955         Add s_nearbyint-c and s_nearbyintf-c.
54956         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
54957         nearbyintf inlines.
54958         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
54959         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
54960         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
54961         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
54963         * math/math_private.h: Define defaults for libc_fegetround,
54964         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
54965         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
54966         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
54967         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
54968         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
54969         standard functions.
54970         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54971         Remove comments and hacks for old compiler versions.
54972         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54973         libc_fegetround, libc_fesetround, libc_feholdexcept, and
54974         libc_feholdexceptl.
54976 2011-10-18  Andreas Schwab  <schwab@redhat.com>
54978         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
54979         (__feraiseexcept_renamed): Add __NTH.
54980         (feraiseexcept): Add __NTH.  Rename local variables to fix
54981         namespace violations.
54983 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
54985         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
54987         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
54989         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
54990         recently added interfaces.
54991         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
54993         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
54994         about macro parameter expansion.
54996         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
54997         __NO_MATH_INLINES is defined.  Cleanups.
54999         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
55000         and __floorf is target has SSE4.1.
55001         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
55002         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
55003         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
55004         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
55006         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
55007         name.
55008         (floorf): Likewise.
55010         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
55012 2011-10-17  Andreas Schwab  <schwab@redhat.com>
55014         * misc/sys/cdefs.h: Fix last change.
55016         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
55017         database lookup.
55019 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
55021         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
55023         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
55024         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55025         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55026         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55027         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55028         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55029         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55030         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55031         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55032         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
55033         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
55034         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
55035         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
55036         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
55037         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
55038         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
55039         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
55040         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
55041         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
55042         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
55043         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
55044         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
55046         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
55047         ceil, ceilf, floor, floorf.
55049         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
55050         Perform IRELATIVE relocations last.
55052         * elf/do-rel.h: Add another parameter nrelative, replacing the
55053         local variable with the same name.  Change name of the function
55054         to end in Rel or Rela (uppercase).
55055         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
55056         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
55057         elf_dynamic_do_##reloc function.
55059 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
55061         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
55062         is sufficient, at least on modern CPUs.
55064         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
55066         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
55067         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
55069         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
55070         __expl_finite.
55071         * math/bits/math-finite.h: Add entries for exp.
55072         * math/e_expl.c: Add __*_finite alias.
55073         * sysdeps/i386/fpu/e_exp.S: Likewise.
55074         * sysdeps/i386/fpu/e_expf.S: Likewise.
55075         * sysdeps/i386/fpu/e_expl.c: Likewise.
55076         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55077         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55078         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55079         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55080         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
55081         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55082         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55084         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
55085         is sufficient, at least on modern CPUs.
55087         * ctype/ctype-info.c (__ctype_init): Define.
55088         * include/ctype.h (__ctype_init): Declare.
55089         (__ctype_b_loc): The variable is always initialized.
55090         (__ctype_toupper_loc): Likewise.
55091         (__ctype_tolower_loc): Likewise.
55092         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
55093         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
55095 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
55097         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
55099         * configure.in: Also look in $cxxmachine/include for C++ system
55100         headers.
55102 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55104         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
55105         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
55106         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
55107         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
55108         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
55109         (USE_AS_WMEMCMP): New macro.
55110         Fixing indents.
55111         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
55112         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
55113         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
55114         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
55115         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55116         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
55117         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
55118         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
55119         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
55120         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
55121         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
55122         (USE_AS_WMEMCMP): New macro.
55123         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
55124         * sysdeps/string/test-memcmp.c: Update.
55125         Fix simple_wmemcmp.
55126         Add new tests.
55127         * wcsmbs/wmemcmp.c: Update.
55128         (WMEMCMP): New macro.
55129         Fix overflow bug.
55131 2011-10-12  Andreas Jaeger  <aj@suse.de>
55133         [BZ #13268]
55134         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
55136 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
55138         * libio/iofwide.c (do_length): Avoid warning.
55140         * ctype/ctype.h (__isctype_f): Add missing __THROW.
55142 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
55144         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
55146         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
55147         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
55148         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
55149         * sysdeps/i386/i686/fpu/e_log.S: New file.
55150         * sysdeps/i386/i686/fpu/e_logf.S: New file.
55151         * sysdeps/i386/i686/fpu/e_logl.S: New file.
55153         * ctype/ctype.h: Add support for inlined isXXX functions when
55154         compiling C++ code.
55156 2011-10-14  Andreas Schwab  <schwab@redhat.com>
55158         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55160         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
55162 2011-10-13  Roland McGrath  <roland@hack.frob.com>
55164         [BZ #13291]
55165         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
55167 2011-10-13  Andreas Schwab  <schwab@redhat.com>
55169         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
55170         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
55171         feraiseexcept.
55173         * sysdeps/x86_64/memrchr.S: Check for zero size.
55175         * string/stratcliff.c: Add memrchr tests.
55177 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55179         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55180         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
55181         rawmemchr-sse2 rawmemchr-sse2-bsf.
55182         * sysdeps/i386/i686/multiarch/memchr.S: New file.
55183         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
55184         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
55185         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
55186         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
55187         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
55188         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
55189         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
55190         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
55191         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
55192         * string/memrchr.c (MEMRCHR): New macro.
55194 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
55196         Add integration with gcc's -ffinite-math-only and optimize wrapper
55197         functions in libm.
55198         * Versions.def: Define GLIBC_2.15 version for libm.
55199         * math/Makefile (headers): Add bits/math-finite.h.
55200         * math/bits/math-finite.h: New file.
55201         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
55202         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
55203         * math/e_acoshl.c: Add __*_finite alias.
55204         * math/e_acosl.c: Likewise.
55205         * math/e_asinl.c: Likewise.
55206         * math/e_atan2l.c: Likewise.
55207         * math/e_atanhl.c: Likewise.
55208         * math/e_coshl.c: Likewise.
55209         * math/e_exp10.c: Likewise.
55210         * math/e_exp10f.c: Likewise.
55211         * math/e_exp10l.c: Likewise.
55212         * math/e_exp2l.c: Likewise.
55213         * math/e_fmodl.c: Likewise.
55214         * math/e_gammal_r.c: Likewise.
55215         * math/e_hypotl.c: Likewise.
55216         * math/e_j0l.c: Likewise.
55217         * math/e_j1l.c: Likewise.
55218         * math/e_jnl.c: Likewise.
55219         * math/e_lgammal_r.c: Likewise.
55220         * math/e_log10l.c: Likewise.
55221         * math/e_log2l.c: Likewise.
55222         * math/e_logl.c: Likewise.
55223         * math/e_powl.c: Likewise.
55224         * math/e_sinhl.c: Likewise.
55225         * math/e_sqrtl.c: Likewise.
55226         * math/e_scalb.c: Completely rewritten and optimized.
55227         * math/e_scalbf.c: Likewise.
55228         * math/e_scalbl.c: Likewise.
55229         * math/w_acos.c: Likewise.
55230         * math/w_acosf.c: Likewise.
55231         * math/w_acosl.c: Likewise.
55232         * math/w_acosh.c: Likewise.
55233         * math/w_acoshf.c: Likewise.
55234         * math/w_acoshl.c: Likewise.
55235         * math/w_asin.c: Likewise.
55236         * math/w_asinf.c: Likewise.
55237         * math/w_asinl.c: Likewise.
55238         * math/w_atan2.c: Likewise.
55239         * math/w_atan2f.c: Likewise.
55240         * math/w_atan2l.c: Likewise.
55241         * math/w_atanh.c: Likewise.
55242         * math/w_atanhf.c: Likewise.
55243         * math/w_atanhl.c: Likewise.
55244         * math/w_exp10.c: Likewise.
55245         * math/w_exp10f.c: Likewise.
55246         * math/w_exp10l.c: Likewise.
55247         * math/w_fmod.c: Likewise.
55248         * math/w_fmodf.c: Likewise.
55249         * math/w_fmodl.c: Likewise.
55250         * math/w_j0.c: Likewise.
55251         * math/w_j0f.c: Likewise.
55252         * math/w_j0l.c: Likewise.
55253         * math/w_j1.c: Likewise.
55254         * math/w_j1f.c: Likewise.
55255         * math/w_j1l.c: Likewise.
55256         * math/w_jn.c: Likewise.
55257         * math/w_jnf.c: Likewise.
55258         * math/w_log.c: Likewise.
55259         * math/w_logf.c: Likewise.
55260         * math/w_logl.c: Likewise.
55261         * math/w_log10.c: Likewise.
55262         * math/w_log10f.c: Likewise.
55263         * math/w_log10l.c: Likewise.
55264         * math/w_log2.c: Likewise.
55265         * math/w_log2f.c: Likewise.
55266         * math/w_log2l.c: Likewise.
55267         * math/w_pow.c: Likewise.
55268         * math/w_powf.c: Likewise.
55269         * math/w_powl.c: Likewise.
55270         * math/w_remainder.c: Likewise.
55271         * math/w_remainderf.c: Likewise.
55272         * math/w_remainderl.c: Likewise.
55273         * math/w_scalb.c: Likewise.
55274         * math/w_scalbf.c: Likewise.
55275         * math/w_scalbl.c: Likewise.
55276         * math/w_sqrt.c: Likewise.
55277         * math/w_sqrtf.c: Likewise.
55278         * math/w_sqrtl.c: Likewise.
55279         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
55280         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
55281         used.
55282         * math/math_private.h: Declare __kernel_standard_f.
55283         * math/w_cosh.c: Remove cruft and optimize a bit.
55284         * math/w_coshf.c: Likewise.
55285         * math/w_coshl.c: Likewise.
55286         * math/w_exp2.c: Likewise.
55287         * math/w_exp2f.c: Likewise.
55288         * math/w_exp2l.c: Likewise.
55289         * math/w_hypot.c: Likewise.
55290         * math/w_hypotf.c: Likewise.
55291         * math/w_hypotl.c: Likewise.
55292         * math/w_lgamma.c: Likewise.
55293         * math/w_lgamma_r.c: Likewise.
55294         * math/w_lgammaf.c: Likewise.
55295         * math/w_lgammaf_r.c: Likewise.
55296         * math/w_lgammal.c: Likewise.
55297         * math/w_lgammal_r.c: Likewise.
55298         * math/w_sinh.c: Likewise.
55299         * math/w_sinhf.c: Likewise.
55300         * math/w_sinhl.c: Likewise.
55301         * math/w_tgamma.c: Likewise.
55302         * math/w_tgammaf.c: Likewise.
55303         * math/w_tgammal.c: Likewise.
55304         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55305         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55306         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
55307         Minor optimizations.  Pretty printing.  Remove cruft.
55308         * sysdeps/i386/fpu/e_acosf.S: Likewise.
55309         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55310         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55311         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55312         * sysdeps/i386/fpu/e_acosl.c: Likewise.
55313         * sysdeps/i386/fpu/e_asin.S: Likewise.
55314         * sysdeps/i386/fpu/e_asinf.S: Likewise.
55315         * sysdeps/i386/fpu/e_atan2.S: Likewise.
55316         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
55317         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
55318         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55319         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55320         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55321         * sysdeps/i386/fpu/e_exp10.S: Likewise.
55322         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
55323         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
55324         * sysdeps/i386/fpu/e_exp2.S: Likewise.
55325         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
55326         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
55327         * sysdeps/i386/fpu/e_fmod.S: Likewise.
55328         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
55329         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
55330         * sysdeps/i386/fpu/e_hypot.S: Likewise.
55331         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
55332         * sysdeps/i386/fpu/e_log.S: Likewise.
55333         * sysdeps/i386/fpu/e_log10.S: Likewise.
55334         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55335         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55336         * sysdeps/i386/fpu/e_log2.S: Likewise.
55337         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55338         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55339         * sysdeps/i386/fpu/e_logf.S: Likewise.
55340         * sysdeps/i386/fpu/e_logl.S: Likewise.
55341         * sysdeps/i386/fpu/e_pow.S: Likewise.
55342         * sysdeps/i386/fpu/e_powf.S: Likewise.
55343         * sysdeps/i386/fpu/e_powl.S: Likewise.
55344         * sysdeps/i386/fpu/e_remainder.S: Likewise.
55345         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
55346         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
55347         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55348         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55349         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55350         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
55351         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
55352         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
55353         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55354         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55355         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55356         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55357         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55358         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55359         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55360         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55361         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55362         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55363         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55364         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55365         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55366         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55367         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55368         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55369         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55370         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55371         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55372         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55373         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55374         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55375         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55376         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55377         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55378         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55379         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55380         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55381         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
55382         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55383         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55384         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55385         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55386         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55387         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55388         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55389         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55390         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55391         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55392         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55393         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55394         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55395         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55396         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55397         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55398         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55399         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55400         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55401         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55402         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
55403         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55404         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55405         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55406         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55407         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55408         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55409         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55410         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55411         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55412         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55413         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55414         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55415         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55416         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55417         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55418         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55419         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55420         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55421         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
55422         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55423         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55424         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55425         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55426         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55427         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55428         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55429         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55430         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55431         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55432         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55433         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55434         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55435         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
55436         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55437         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55438         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55439         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55440         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55441         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55442         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55443         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55444         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55445         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55446         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55447         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55448         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55449         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55450         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
55451         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
55452         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
55453         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
55454         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
55455         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
55456         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
55457         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55458         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55459         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55460         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55461         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
55462         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55463         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
55464         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
55465         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
55466         (__isnanf): Likewise.
55467         (__isinf_ns): Likewise.
55468         (__isinf_nsf): Likewise.
55469         (__finite): Likewise.
55470         (__finitef): Likewise.
55471         (__ieee754_sqrt): Define as macro.
55472         (__ieee754_sqrtf): Define as macro.
55473         (__ieee754_sqrtl): Define as macro.
55474         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
55475         inlined copy.
55476         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
55477         __FINITE_MATH_ONLY__ consistent.
55478         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
55480 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
55482         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
55483         of rawmemchr.
55485         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
55487 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
55489         * po/ja.po: Update from translation team.
55491 2011-10-08  Roland McGrath  <roland@hack.frob.com>
55493         * locale/programs/locarchive.c (prepare_address_space): New function.
55494         (create_archive, enlarge_archive, open_archive): Use it.
55496         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
55497         inside [SHARED], where it is used.
55499         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
55501         * nss/getent.c (netgroup_keys): Remove unused variable.
55502         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55504 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
55506         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
55507         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
55508         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
55509         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
55510         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
55511         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
55512         * math/Makefile (libm-calls): Add s_isinf_ns.
55513         * math/divtc3.c: Use __isinf_nsl instead of isinf.
55514         * math/multc3.c: Likewise.
55515         * math/s_casin.c: Likewise.
55516         * math/s_casinf.c: Likewise.
55517         * math/s_casinl.c: Likewise.
55518         * math/s_ccos.c: Likewise.
55519         * math/s_ccosf.c: Likewise.
55520         * math/s_ccosl.c: Likewise.
55521         * math/s_ctan.c: Likewise.
55522         * math/s_ctanf.c: Likewise.
55523         * math/s_ctanh.c: Likewise.
55524         * math/s_ctanhf.c: Likewise.
55525         * math/s_ctanhl.c: Likewise.
55526         * math/s_ctanl.c: Likewise.
55527         * math/w_fmod.c: Likewise.
55528         * math/w_fmodf.c: Likewise.
55529         * math/w_fmodl.c: Likewise.
55530         * math/w_remainder.c: Likewise.
55531         * math/w_remainderf.c: Likewise.
55532         * math/w_remainderl.c: Likewise.
55533         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
55534         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
55535         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
55536         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
55537         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
55538         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
55539         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
55540         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
55542         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
55543         of the number.
55544         * stdio-common/printf_fphex.c: Likewise.
55545         * stdio-common/printf_size.c: Likewise.
55547         * math/e_exp10.c: Include math_private.h using <...> not "...".
55548         * math/e_exp10f.c: Likewise.
55549         * math/e_exp10l.c: Likewise.
55550         * math/e_exp2l.c: Likewise.
55551         * math/e_j0l.c: Likewise.
55552         * math/e_j1l.c: Likewise.
55553         * math/e_jnl.c: Likewise.
55554         * math/e_lgammal_r.c: Likewise.
55555         * math/e_rem_pio2l.c: Likewise.
55556         * math/e_scalb.c: Likewise.
55557         * math/e_scalbf.c: Likewise.
55558         * math/e_scalbl.c: Likewise.
55559         * math/k_cosl.c: Likewise.
55560         * math/k_sinl.c: Likewise.
55561         * math/k_tanl.c: Likewise.
55562         * math/s_cacoshf.c: Likewise.
55563         * math/s_catan.c: Likewise.
55564         * math/s_catanf.c: Likewise.
55565         * math/s_catanh.c: Likewise.
55566         * math/s_catanhf.c: Likewise.
55567         * math/s_catanhl.c: Likewise.
55568         * math/s_catanl.c: Likewise.
55569         * math/s_ccosh.c: Likewise.
55570         * math/s_ccoshf.c: Likewise.
55571         * math/s_ccoshl.c: Likewise.
55572         * math/s_cexp.c: Likewise.
55573         * math/s_cexpf.c: Likewise.
55574         * math/s_cexpl.c: Likewise.
55575         * math/s_clog.c: Likewise.
55576         * math/s_clog10.c: Likewise.
55577         * math/s_clog10f.c: Likewise.
55578         * math/s_clog10l.c: Likewise.
55579         * math/s_clogf.c: Likewise.
55580         * math/s_clogl.c: Likewise.
55581         * math/s_csin.c: Likewise.
55582         * math/s_csinf.c: Likewise.
55583         * math/s_csinh.c: Likewise.
55584         * math/s_csinhf.c: Likewise.
55585         * math/s_csinhl.c: Likewise.
55586         * math/s_csinl.c: Likewise.
55587         * math/s_csqrt.c: Likewise.
55588         * math/s_csqrtf.c: Likewise.
55589         * math/s_csqrtl.c: Likewise.
55590         * math/s_ctan.c: Likewise.
55591         * math/s_ctanf.c: Likewise.
55592         * math/s_ctanh.c: Likewise.
55593         * math/s_ctanhf.c: Likewise.
55594         * math/s_ctanhl.c: Likewise.
55595         * math/s_ctanl.c: Likewise.
55596         * math/s_ldexp.c: Likewise.
55597         * math/s_ldexpf.c: Likewise.
55598         * math/s_ldexpl.c: Likewise.
55599         * math/s_significand.c: Likewise.
55600         * math/s_significandf.c: Likewise.
55601         * math/s_significandl.c: Likewise.
55602         * math/w_acos.c: Likewise.
55603         * math/w_acosf.c: Likewise.
55604         * math/w_acosh.c: Likewise.
55605         * math/w_acoshf.c: Likewise.
55606         * math/w_acoshl.c: Likewise.
55607         * math/w_acosl.c: Likewise.
55608         * math/w_asin.c: Likewise.
55609         * math/w_asinf.c: Likewise.
55610         * math/w_asinl.c: Likewise.
55611         * math/w_atan2.c: Likewise.
55612         * math/w_atan2f.c: Likewise.
55613         * math/w_atan2l.c: Likewise.
55614         * math/w_atanh.c: Likewise.
55615         * math/w_atanhf.c: Likewise.
55616         * math/w_atanhl.c: Likewise.
55617         * math/w_cosh.c: Likewise.
55618         * math/w_coshf.c: Likewise.
55619         * math/w_coshl.c: Likewise.
55620         * math/w_dremf.c: Likewise.
55621         * math/w_exp10.c: Likewise.
55622         * math/w_exp10f.c: Likewise.
55623         * math/w_exp10l.c: Likewise.
55624         * math/w_exp2.c: Likewise.
55625         * math/w_exp2f.c: Likewise.
55626         * math/w_fmod.c: Likewise.
55627         * math/w_fmodf.c: Likewise.
55628         * math/w_fmodl.c: Likewise.
55629         * math/w_hypot.c: Likewise.
55630         * math/w_hypotf.c: Likewise.
55631         * math/w_hypotl.c: Likewise.
55632         * math/w_j0.c: Likewise.
55633         * math/w_j0f.c: Likewise.
55634         * math/w_j0l.c: Likewise.
55635         * math/w_j1.c: Likewise.
55636         * math/w_j1f.c: Likewise.
55637         * math/w_j1l.c: Likewise.
55638         * math/w_jn.c: Likewise.
55639         * math/w_jnf.c: Likewise.
55640         * math/w_jnl.c: Likewise.
55641         * math/w_lgamma.c: Likewise.
55642         * math/w_lgamma_r.c: Likewise.
55643         * math/w_lgammaf.c: Likewise.
55644         * math/w_lgammaf_r.c: Likewise.
55645         * math/w_lgammal.c: Likewise.
55646         * math/w_lgammal_r.c: Likewise.
55647         * math/w_log.c: Likewise.
55648         * math/w_log10.c: Likewise.
55649         * math/w_log10f.c: Likewise.
55650         * math/w_log10l.c: Likewise.
55651         * math/w_log2.c: Likewise.
55652         * math/w_log2f.c: Likewise.
55653         * math/w_log2l.c: Likewise.
55654         * math/w_logf.c: Likewise.
55655         * math/w_logl.c: Likewise.
55656         * math/w_pow.c: Likewise.
55657         * math/w_powf.c: Likewise.
55658         * math/w_powl.c: Likewise.
55659         * math/w_remainder.c: Likewise.
55660         * math/w_remainderf.c: Likewise.
55661         * math/w_remainderl.c: Likewise.
55662         * math/w_scalb.c: Likewise.
55663         * math/w_scalbf.c: Likewise.
55664         * math/w_scalbl.c: Likewise.
55665         * math/w_sinh.c: Likewise.
55666         * math/w_sinhf.c: Likewise.
55667         * math/w_sinhl.c: Likewise.
55668         * math/w_sqrt.c: Likewise.
55669         * math/w_sqrtf.c: Likewise.
55670         * math/w_sqrtl.c: Likewise.
55671         * math/w_tgamma.c: Likewise.
55672         * math/w_tgammaf.c: Likewise.
55673         * math/w_tgammal.c: Likewise.
55675         * po/ja.po: Update from translation team.
55677 2011-09-29  Andreas Jaeger  <aj@suse.de>
55679         [BZ #13179]
55680         * sunrpc/netname.c (netname2host): Fix logic.
55682         [BZ #6779]
55683         [BZ #6783]
55684         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
55685         correctly.
55686         * math/w_remainder.c (__remainder): Likewise.
55687         * math/w_remainderf.c (__remainderf): Likewise.
55688         * math/libm-test.inc (remainder_test): Add test cases.
55690 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55692         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
55693         sdiv_qrnnd.
55695 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
55697         * string/test-memcmp.c: Avoid unncessary #defines.
55698         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55700 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55702         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
55703         Use new sse2 version for core i3 - i7 as it's faster
55704         than sse42 version.
55705         (bit_Prefer_PMINUB_for_stringop): New.
55706         * sysdeps/x86_64/rawmemchr.S: Update.
55707         Replace with faster SSE2 version.
55708         * sysdeps/x86_64/memrchr.S: New file.
55709         * sysdeps/x86_64/memchr.S: Update.
55710         Replace with faster SSE2 version.
55712 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
55714         * elf/dl-load.c (lose): Add cast to avoid warning.
55716 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
55718         * po/ca.po: Update from translation team.
55720         * inet/getnetgrent_r.c: Hook up nscd.
55721         * nscd/Makefile (routines): Add nscd_netgroup.
55722         (nscd-modules): Add netgroupcache.
55723         (CFLAGS-netgroupcache.c): Define.
55724         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
55725         (cache_search): Add const to second parameter.
55726         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
55727         INNETGR.
55728         (dbs): Add netgrdb entry.
55729         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
55730         (verify_persistent_db): Handle netgrdb.
55731         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
55732         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
55733         GETFDNETGR.
55734         (netgroup_response_header): Define.
55735         (innetgroup_response_header): Define.
55736         (datahead): Add netgroup_response_header and innetgroup_response_header
55737         elements.
55738         * nscd/nscd.conf: Add entries for netgroup cache.
55739         * nscd/nscd.h (dbtype): Add netgrdb.
55740         (_PATH_NSCD_NETGROUP_DB): Define.
55741         (netgroup_iov_disabled): Declare.
55742         (xmalloc, xcalloc, xrealloc): Move declarations here.
55743         (cache_search): Adjust prototype.
55744         Add netgroup-related prototypes.
55745         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
55746         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
55747         (__nscd_innetgr): Declare.
55748         * nscd/selinux.c (perms): Use access_vector_t as element type and
55749         add netgroup-related initializers.
55750         * nscd/netgroupcache.c: New file.
55751         * nscd/nscd_netgroup.c: New file.
55752         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
55753         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
55754         For four parameters use innetgr.
55755         * nss/nss_files/files-init.c: Add definition and callback for netgr.
55756         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
55757         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
55758         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
55760         * nscd/connections.c (register_traced_file): Don't register file
55761         for disabled databases.
55763 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
55765         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
55767         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
55768         from tree and freeing node.
55770 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
55772         * nss/nsswitch.c (__nss_database_lookup): Handle
55773         nss_parse_service_list out of memory case.
55775 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
55777         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
55778         out of memory case.
55780 2011-10-04  Andreas Schwab  <schwab@redhat.com>
55782         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
55783         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
55784         pass it down.
55785         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
55786         elf_machine_rela, elf_machine_lazy_rel.
55787         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
55788         (ELF_DYNAMIC_DO_REL): Likewise.
55789         (ELF_DYNAMIC_DO_RELA): Likewise.
55790         (ELF_DYNAMIC_RELOCATE): Likewise.
55791         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
55792         to ELF_DYNAMIC_DO_REL.
55793         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
55794         (dl_main): In trace mode always set __RTLD_NOIFUNC.
55795         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
55796         elf_machine_rela.
55797         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
55798         skip_ifunc, don't call ifunc function if non-zero.
55799         (elf_machine_rela): Likewise.
55800         (elf_machine_lazy_rel): Likewise.
55801         (elf_machine_lazy_rela): Likewise.
55802         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
55803         (elf_machine_lazy_rel): Likewise.
55804         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
55805         Likewise.
55806         (elf_machine_lazy_rel): Likewise.
55807         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55808         Likewise.
55809         (elf_machine_lazy_rel): Likewise.
55810         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
55811         (elf_machine_lazy_rel): Likewise.
55812         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
55813         (elf_machine_lazy_rel): Likewise.
55814         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55815         (elf_machine_lazy_rel): Likewise.
55816         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
55817         (elf_machine_lazy_rel): Likewise.
55818         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
55819         (elf_machine_lazy_rel): Likewise.
55820         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55821         (elf_machine_lazy_rel): Likewise.
55823 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
55825         * nss/nss_files/files-init.c (_nss_files_init): Use static
55826         initialization for all the *_traced_file variables.
55828 2011-09-28  Andreas Schwab  <schwab@redhat.com>
55830         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55832 2011-09-27  Roland McGrath  <roland@hack.frob.com>
55834         [BZ #13226]
55835         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
55837 2011-09-27  Andreas Schwab  <schwab@redhat.com>
55839         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55840         Reread the line before reparsing it.
55842 2011-09-26  Andreas Schwab  <schwab@redhat.com>
55844         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
55846 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
55847             Maxim Kuvyrkov  <maxim@codesourcery.com>
55848             Joseph Myers  <joseph@codesourcery.com>
55850         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
55851         if needed for __stack_chk_guard.
55853 2011-09-19  Roland McGrath  <roland@hack.frob.com>
55855         * sysdeps/posix/spawni.c (script_execute): Always define it.
55856         It will be optimized away if unused.
55857         (maybe_script_execute): New function.
55858         (__spawni): Call it.
55860         * Makerules: Don't include tls.make.
55861         (config-tls): Always set to thread.
55862         * tls.make.c: File removed.
55864 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
55866         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
55867         * config.make.in (CPPFLAGS-config): New substituted variable.
55869 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
55871         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
55873         [BZ #13192]
55874         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
55875         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
55877 2011-09-15  Roland McGrath  <roland@hack.frob.com>
55879         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
55880         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
55881         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55882         (CALL_FAIL): Likewise.
55883         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
55884         (CALL_FAIL): Macro removed.
55885         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
55887 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
55889         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
55890         for __FINITE_MATH_ONLY__ == 1.
55892 2011-09-15  Andreas Schwab  <schwab@redhat.com>
55894         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
55895         __ieee754_sqrt instead of sqrt.
55896         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
55897         __ieee754_sqrtf instead of sqrtf.
55898         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
55899         __floorf instead of floorf.
55900         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
55901         __floorf, __truncf instead of floorf, truncf.
55903 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
55905         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
55907         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
55908         __extern_always_inline.
55909         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
55910         32-bit.
55912 2011-09-14  Andreas Schwab  <schwab@redhat.com>
55914         * elf/rtld.c (dl_main): Also relocate in dependency order when
55915         doing symbol dependency testing.
55917 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
55919         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55920         Always define `refsym'.
55922 2011-09-13  Andreas Schwab  <schwab@redhat.com>
55924         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
55925         (__FD_ELT): Renamed from __FDELT.
55926         * misc/bits/select2.h (__FD_ELT): Likewise.
55927         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
55928         __FD_MASK instead of __FDELT, __FDMASK.
55929         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55930         Likewise.
55931         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55932         Likewise.
55934         * elf/Makefile (gen-ldd): Fix pattern.
55936         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
55937         (init_tls): Likewise.
55939 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
55941         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
55943 2011-09-12  Andreas Schwab  <schwab@redhat.com>
55945         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
55946         `struct cmsghdr *' instead of `void *'.
55947         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
55948         Likewise.
55950 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
55952         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
55953         if non-absolute.
55954         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
55955         ldd_rewrite_script.
55957 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
55959         * configure.in: Remove --with-tls option.
55960         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
55961         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
55962         out in case it is missing.
55963         * sysdeps/ia64/elf/configure.in: Likewise.
55964         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
55965         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
55966         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
55967         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
55968         * sysdeps/sh/elf/configure.in: Likewise.
55969         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
55970         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55971         * sysdeps/x86_64/elf/configure.in: Likewise.
55972         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
55973         * sysdeps/mach/hurd/tls.h: Likewise.
55975         [BZ #13067]
55976         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
55978         [BZ #13090]
55979         * configure.in: Fix use of AC_INIT.
55981         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
55983 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
55985         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
55986         __set_errno.
55987         * malloc/hooks.c: Likewise.
55989         [BZ #11929]
55990         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
55991         variables statically.
55992         (narenas): Initialize.
55993         (list_lock): Initialize.
55994         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
55995         initializtion of main_arena and list_lock.  Small cleanups.
55996         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
55997         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
55998         Add initializers to main_arena and mp_.
55999         (malloc_state): Remove pagesize member.  Change all users to use
56000         GLRO(dl_pagesize).
56002         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
56003         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
56004         is always initialized.
56006         * malloc/malloc.c: Removed unused configurations and dead code.
56007         * malloc/arena.c: Likewise.
56008         * malloc/hooks.c: Likewise.
56009         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
56011         * include/tls.h: Removed.  USE___THREAD must always be defined.
56012         * bits/libc-tsd.h: Don't handle !USE___THREAD.
56013         * elf/dl-libc.c: Likewise.
56014         * elf/dl-tsd.c: Likewise.
56015         * include/errno.h: Likewise.
56016         * include/netdb.h: Likewise.
56017         * include/resolv.h: Likewise.
56018         * inet/herrno-loc.c: Likewise.
56019         * inet/herrno.c: Likewise.
56020         * malloc/arena.c: Likewise.
56021         * malloc/hooks.c: Likewise.
56022         * malloc/malloc.c: Likewise.
56023         * resolv/res-state.c: Likewise.
56024         * resolv/res_libc.c: Likewise.
56025         * sysdeps/i386/dl-machine.h: Likewise.
56026         * sysdeps/ia64/dl-machine.h: Likewise.
56027         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
56028         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56029         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
56030         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
56031         * sysdeps/sh/dl-machine.h: Likewise.
56032         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56033         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56034         * sysdeps/unix/i386/sysdep.S: Likewise.
56035         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
56036         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
56037         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
56038         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
56039         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
56040         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
56041         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
56042         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56043         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56044         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
56045         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56046         * sysdeps/x86_64/dl-machine.h: Likewise.
56047         * tls.make.c: Likewise.
56049         * configure.in: Remove --with-__thread option.  Make tests for
56050         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
56051         tls_model attribute fail if no support is available.  Remove
56052         USE_IN_LIBIO.
56053         * Makeconfig: Adjust for dropped configure option.  All features are
56054         now mandatory.
56055         * Makerules: Likewise.
56056         * Versions.def: Likewise.
56057         * argp/argp-fmtstream.c: Likewise.
56058         * argp/argp-fmtstream.h: Likewise.
56059         * argp/argp-help.c: Likewise.
56060         * assert/assert.c: Likewise.
56061         * config.h.in: Likewise.
56062         * config.make.in: Likewise.
56063         * configure: Likewise.
56064         * configure.in: Likewise.
56065         * csu/Versions: Likewise.
56066         * csu/init.c: Likewise.
56067         * elf/tst-audit2.c: Likewise.
56068         * elf/tst-tls10.c: Likewise.
56069         * elf/tst-tls10.h: Likewise.
56070         * elf/tst-tls11.c: Likewise.
56071         * elf/tst-tls12.c: Likewise.
56072         * elf/tst-tls14.c: Likewise.
56073         * elf/tst-tlsmod11.c: Likewise.
56074         * elf/tst-tlsmod12.c: Likewise.
56075         * elf/tst-tlsmod13.c: Likewise.
56076         * elf/tst-tlsmod13a.c: Likewise.
56077         * elf/tst-tlsmod14a.c: Likewise.
56078         * elf/tst-tlsmod15b.c: Likewise.
56079         * elf/tst-tlsmod16a.c: Likewise.
56080         * elf/tst-tlsmod16b.c: Likewise.
56081         * elf/tst-tlsmod7.c: Likewise.
56082         * elf/tst-tlsmod8.c: Likewise.
56083         * elf/tst-tlsmod9.c: Likewise.
56084         * gmon/gmon.c: Likewise.
56085         * grp/fgetgrent_r.c: Likewise.
56086         * grp/putgrent.c: Likewise.
56087         * hurd/fopenport.c: Likewise.
56088         * include/libc-symbols.h: Likewise.
56089         * include/tls.h: Likewise.
56090         * intl/gettextP.h: Likewise.
56091         * intl/loadinfo.h: Likewise.
56092         * locale/global-locale.c: Likewise.
56093         * locale/localeinfo.h: Likewise.
56094         * mach/devstream.c: Likewise.
56095         * malloc/arena.c: Likewise.
56096         * malloc/set-freeres.c: Likewise.
56097         * misc/err.c: Likewise.
56098         * misc/getttyent.c: Likewise.
56099         * misc/mntent_r.c: Likewise.
56100         * posix/getopt.c: Likewise.
56101         * posix/wordexp.c: Likewise.
56102         * pwd/fgetpwent_r.c: Likewise.
56103         * resolv/Versions: Likewise.
56104         * resolv/res_hconf.c: Likewise.
56105         * shadow/fgetspent_r.c: Likewise.
56106         * shadow/putspent.c: Likewise.
56107         * stdio-common/printf_fphex.c: Likewise.
56108         * stdio-common/tmpfile.c: Likewise.
56109         * stdlib/abort.c: Likewise.
56110         * stdlib/fmtmsg.c: Likewise.
56111         * sunrpc/auth_unix.c: Likewise.
56112         * sunrpc/clnt_perr.c: Likewise.
56113         * sunrpc/clnt_tcp.c: Likewise.
56114         * sunrpc/clnt_udp.c: Likewise.
56115         * sunrpc/clnt_unix.c: Likewise.
56116         * sunrpc/openchild.c: Likewise.
56117         * sunrpc/svc_simple.c: Likewise.
56118         * sunrpc/svc_tcp.c: Likewise.
56119         * sunrpc/svc_udp.c: Likewise.
56120         * sunrpc/svc_unix.c: Likewise.
56121         * sunrpc/xdr.c: Likewise.
56122         * sunrpc/xdr_array.c: Likewise.
56123         * sunrpc/xdr_rec.c: Likewise.
56124         * sunrpc/xdr_ref.c: Likewise.
56125         * sunrpc/xdr_stdio.c: Likewise.
56127 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56129         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56131 2011-07-03  Andreas Jaeger  <aj@suse.de>
56133         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
56134         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
56135         regenerate with gen-libm-tests.pl.
56137 2010-05-12  Petr Baudis  <pasky@suse.cz>
56139         [BZ #11589]
56140         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
56141         around j0() zero points by switching to j1().
56142         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56143         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56144         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56145         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56147 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56149         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
56150         instead of 0.
56151         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
56152         instead of 0.
56153         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56154         Patch in part by Pavel Roskin <proski@gnu.org>.
56156         [BZ #13138]
56157         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
56158         realloc.
56159         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
56160         Free memory block if necessary.
56162         [BZ #12847]
56163         * libio/genops.c (INTDEF): For string streams the _lock pointer can
56164         be NULL.  Don't lock in this case.
56166 2011-09-09  Roland McGrath  <roland@hack.frob.com>
56168         * elf/elf.h (ELFOSABI_GNU): New macro.
56169         (ELFOSABI_LINUX): Define to that.
56171 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
56173         * string/strncat.c (strncat): Undef the symbol in case it has been
56174         defined in bits/string.h.
56176 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56178         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
56180         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
56181         link map.
56183 2011-08-17  Andreas Jaeger  <aj@suse.de>
56185         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
56187 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
56188             Ian Lance Taylor  <iant@google.com>
56190         * math/libm-test.inc (lround_test): New testcase.
56191         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
56193 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
56195         * Makefile: Remove support for automatic cvs check-ins.
56196         * Makerules: Likewise.
56197         * config.make.in: Likewise.
56198         * configure.in: Likewise.
56199         * intl/Makefile: Likewise.
56200         * locale/Makefile: Likewise.
56201         * po/Makefile: Likewise.
56202         * posix/Makefile: Likewise.
56203         * sysdeps/gnu/Makefile: Likewise.
56204         * sysdeps/mach/hurd/Makefile: Likewise.
56205         * sysdeps/sparc/sparc32/Makefile: Likewise.
56207         [BZ #13118]
56208         * posix/Makefile (bug-regex32-ENV): Define.
56209         Patch by John Stanley <jpsinthemix@verizon.net>.
56211         * misc/Makefile (headers): Add bits/select2.h.
56212         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
56213         * misc/bits/select2.h: New file.
56214         * include/bits/select2.h: New file.
56215         * debug/Makefile (routines): Add fdelt_chk.
56216         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
56217         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
56218         FD_ISSET.
56219         * debug/fdelt_chk.c: New file.
56221         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
56222         * wcsmbs/test-wmemcmp.c: Likewise.
56223         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
56224         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
56226 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56228         * string/Makefile (strop-tests): Add memcmp.
56229         * string/test-wmemcmp.c: New file.
56230         * string/test-memcmp.c: Add wmemcmp support.
56232 2011-09-08  Roland McGrath  <roland@hack.frob.com>
56234         [BZ #13153]
56235         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
56236         2011-07-19 change.
56238         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
56239         garbage value in a __mach_port_mod_refs call in the cases of the
56240         task-self and thread-self ports.
56242 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56244         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
56246 2011-09-08  Andreas Schwab  <schwab@redhat.com>
56248         * elf/dl-load.c (lose): Check for non-null L.
56250 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
56252         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
56254         * elf/dl-libc.c (dlerror_run): Pass back error code from
56255         dl_catch_error.
56257         [BZ #13123]
56258         * elf/dl-load.c (lose): Free l_origin if it is valid.
56260         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
56261         names.
56262         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
56263         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56264         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56265         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56266         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
56267         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
56269 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56271         * sysdeps/powerpc/fpu/e_hypot.c: New file.
56272         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
56273         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
56274         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
56275         * sysdeps/powerpc/fpu/k_cosf.c: New file.
56276         * sysdeps/powerpc/fpu/k_sinf.c: New file.
56277         * sysdeps/powerpc/fpu/s_cosf.c: New file.
56278         * sysdeps/powerpc/fpu/s_sinf.c: New file.
56279         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
56280         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
56282 2011-08-15  Alan Modra  <amodra@gmail.com>
56284         [BZ #13092]
56285         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
56286         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
56287         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
56288         ppc_mcount to static-only-routines.
56289         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
56290         __mcount_internal.
56291         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
56292         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
56294 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
56296         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
56297         for finite and infinity parameters.
56299 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56301         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
56302         and add nop instructions for throughput optimization.
56303         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56305 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
56307         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
56308         aligned copy for power7 with vector-scalar instructions.
56309         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56311 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
56313         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
56314         AVX check.
56316 2011-09-07  Andreas Schwab  <schwab@redhat.com>
56318         [BZ #13144]
56319         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
56320         last change.
56322 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
56324         * sysdeps/unix/sysv/linux/x86_64/init-first.c
56325         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
56326         syscall wrapper around clock_gettime in __vdso_clock_gettime.
56327         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
56328         clock_gettime.
56330 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
56332         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
56333         Forgot to demangle the pointer.
56335         * sysdeps/i386/sysdep.h: Define atom_text_section.
56336         * sysdeps/x86_64/sysdep.h: Likewise.
56337         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
56338         section with atom_text_section.
56339         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56340         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56341         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
56342         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56343         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
56345         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
56346         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
56347         already be defined.  Change to take two parameters and don't assign
56348         result to variable.  Adjust all users.
56349         Define INTERNAL_GETTIME if not already defined.
56350         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
56351         call.
56352         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
56353         HAVE_CLOCK_GETTIME_VSYSCALL.
56354         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
56356         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
56357         gettimeofday vsyscall, just use time.
56359 2011-09-06  Andreas Schwab  <schwab@redhat.com>
56361         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
56362         <errno.h>.
56364 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
56366         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
56367         syscall on x86-64.
56368         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
56369         syscall.
56370         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
56371         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
56372         syscall if possible.
56374 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
56376         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
56377         e_ident.  Don't pass to find_mapsXX.
56378         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
56380 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56382         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56383         strchr-sse2-no-bsf strrchr-sse2-no-bsf
56384         * sysdeps/x86_64/multiarch/strchr.S: Update.
56385         Check bit_slow_BSF bit.
56386         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56387         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
56388         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
56390 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
56392         [BZ #13134]
56393         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
56394         before glibc 2.15.
56395         (tryshell): Define.
56396         (__spawni): Change last parameter to be flag.  Test
56397         SPAWN_XFLAGS_USE_PATH flag to use path or not.
56398         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
56399         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
56400         * posix/spawni.c: Likewise.
56401         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
56402         * posix/spawnp.c: Likewise.  Change normal version to use
56403         SPAWN_XFLAGS_USE_PATH.
56404         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
56405         SPAWN_XFLAGS_TRY_SHELL.
56407         [BZ #13150]
56408         * posix/glob.h: Remove gcc 1.x support.
56410         [BZ #13068]
56411         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
56413 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56415         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56416         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
56417         strrchr-sse2-bsf
56418         * sysdeps/i386/i686/multiarch/strchr.S: New file.
56419         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
56420         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
56421         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
56422         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
56423         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
56425 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56427         * sysdeps/x86_64/wcscmp.S: New file.
56429         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
56430         wcscmp-c wcscmp-sse2
56431         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
56432         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
56433         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
56434         * wcsmbs/wcscmp.c: Allow renaming.
56436 2011-09-05  David S. Miller  <davem@davemloft.net>
56438         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
56439         stack slot, rather than the struct return pointer slot.
56440         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
56441         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
56442         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
56443         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
56445 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
56447         * po/ja.po: Update from translation team.
56449         [BZ #13144]
56450         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
56451         kernel in 64-bit binaries.
56453 2011-09-01  David S. Miller  <davem@davemloft.net>
56455         * elf/elf.h (HWCAP_SPARC_*): Move to..
56456         * sysdeps/sparc/sysdep.h: this new file and add new values.
56457         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
56458         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
56459         _DL_HWCAP_COUNT to 24.
56460         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56461         entries.
56462         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
56463         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
56464         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
56465         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
56466         instead of magic constants.
56467         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56469 2011-08-31  David S. Miller  <davem@davemloft.net>
56471         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
56472         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
56473         Reimplement to do errno handling inline.
56474         (SYSCALL_ERROR_HANDLER): New macro.
56475         (__SYSCALL_STRING): Do not do errno handling in asm.
56476         (__CLONE_SYSCALL_STRING): Delete.
56477         (__INTERNAL_SYSCALL_STRING): Delete.
56478         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
56479         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
56480         (PSEUDO): Reimplement to do errno handling inline.
56481         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
56482         (SYSCALL_ERROR_HANDLER): New macro.
56483         (__SYSCALL_STRING): Do not do errno handling in asm.
56484         (__CLONE_SYSCALL_STRING): Delete.
56485         (__INTERNAL_SYSCALL_STRING): Delete.
56486         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
56487         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
56488         i386.
56489         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
56490         (inline_syscall*): Add 'err' argument.
56491         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
56492         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
56493         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
56494         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
56496         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
56497         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
56499 2011-08-30  Andreas Schwab  <schwab@redhat.com>
56501         * elf/rtld.c (dl_main): Relocate objects in dependency order.
56503 2011-08-29  Jiri Olsa <jolsa@redhat.com>
56505         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
56506         directive.
56508 2011-08-24  David S. Miller  <davem@davemloft.net>
56510         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
56512 2011-08-24  Andreas Schwab  <schwab@redhat.com>
56514         * elf/Makefile: Add rules to build and run unload8 test.
56515         * elf/unload8.c: New file.
56516         * elf/unload8mod1.c: New file.
56517         * elf/unload8mod1x.c: New file.
56518         * elf/unload8mod2.c: New file.
56519         * elf/unload8mod3.c: New file.
56521         * elf/dl-close.c (_dl_close_worker): Reset private search list if
56522         it wasn't used.
56524 2011-08-23  David S. Miller  <davem@davemloft.net>
56526         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
56527         subtract stack bias.
56528         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
56529         %sp not %fp in calculations.
56530         (_JMPBUF_UNWINDS_ADJ): Likewise.
56532         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
56533         (aio_suspend): Call it to force an exception region around the
56534         AIO_MISC_WAIT() invocation.
56536 2011-08-23  Andreas Schwab  <schwab@redhat.com>
56538         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
56539         backslash.
56541 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
56543         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
56544         protection macro.
56545         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
56546         and <dl-machine.h>.
56547         (Elf64_FuncDesc): Remove.
56549 2011-08-22  David S. Miller  <davem@davemloft.net>
56551         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
56552         sigaltstack check, add missing cfi directives.
56553         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
56554         missing cfi directives, and sigaltstack handling.
56556 2011-08-16  Andreas Schwab  <schwab@redhat.com>
56558         [BZ #11724]
56559         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
56560         object is seen twice.
56561         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56563         * elf/Makefile (distribute): Add tst-initorder2.c.
56564         (tests): Add tst-initorder2.
56565         (modules-names): Add tst-initorder2a tst-initorder2b
56566         tst-initorder2c tst-initorder2d.  Add rules to build them.
56567         ($(objpfx)tst-initorder2.out): New rule.
56568         * elf/tst-initorder2.c: New file.
56569         * elf/tst-initorder2.exp: New file.
56571 2011-08-22  Andreas Schwab  <schwab@redhat.com>
56573         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
56575         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
56576         dependencies back to end of function.
56578         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56579         $(elfobjdir)/ld.so.
56581 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
56583         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
56584         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
56585         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
56586         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
56587         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
56588         of __vdso_gettimeofday.
56589         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
56590         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
56591         attribute_hidden.
56592         (_libc_vdso_platform_setup): Remove initialization of
56593         __vdso_gettimeofday and __vdso_time.
56595 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
56597         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
56598         and fgetc_unlocked.
56599         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
56600         getc_unlocked.
56602         * elf/dl-open.c (add_to_global): Report additions to the global scope
56603         for LD_DEBUG=scopes.
56604         (dl_open_worker): Also print scope of newly loaded dependencies.
56605         (_dl_show_scope): Indicate if there is no scope.
56607         [BZ #13114]
56608         * stdio-common/Makefile (tests): Add bug24.
56609         * stdio-common/bug24.c: New file.
56611 2011-08-19  Andreas Jaeger  <aj@suse.de>
56613         [BZ #13114]
56614         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
56615         non-existant file when using close-on-exec mode.
56617 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
56619         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
56620         the very first instruction.
56622         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
56623         the CFI state in the end.
56624         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
56625         inclusion of dl-trampoline.h.
56626         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
56628 2011-08-19  Andreas Schwab  <schwab@redhat.com>
56630         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
56631         expectations for long double.
56633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
56634         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
56636 2011-08-14  David S. Miller  <davem@davemloft.net>
56638         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
56639         artificual limit depends upon the system page size.
56641 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
56643         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
56644         * resolv/Makefile: Define CFLAGS-libresolv.
56646 2011-08-17  Andreas Schwab  <schwab@redhat.com>
56648         * nss/makedb.c (compute_tables): Make variables used in nested
56649         function static.
56651 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
56653         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
56654         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
56655         if buffer was too small.
56657         * elf/pldd.c (main): Attach to all threads in the process.
56658         Rewrite /proc handling to use *at functions.
56660 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
56662         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
56663         specifies first scope to show.
56664         (dl_open_worker): Update callers.  Move printing scope of new
56665         object to before the relocation.
56666         * elf/rtld.c (dl_main): Update _dl_show_scope call.
56667         * sysdeps/generic/ldsodefs.h: Update declaration.
56669         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
56670         string for the scope number.
56672 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
56674         * nscd/servicescache.c (cache_addserv): Make sure written is always
56675         initialized.
56677 2011-08-14  Roland McGrath  <roland@hack.frob.com>
56679         * sysdeps/i386/i486/bits/atomic.h
56680         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
56681         statement expression, so as to suppress "set but not used" warning.
56682         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
56684         * string/strncat.c (STRNCAT): Use prototype definition.
56686         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
56687         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
56688         -Iprograms here.
56689         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
56690         (localedef-modules): Add localedef.
56691         (locale-modules): Add locale.
56693         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
56694         * elf/rtld.c (dl_main): Invert order of assignment in last change,
56695         to avoid a warning.
56697 2011-08-14  David S. Miller  <davem@davemloft.net>
56699         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
56700         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
56702 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
56704         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
56705         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
56706         * elf/rtld.c (dl_main): Set l_name of vDSO.
56707         Call _dl_show_scope when DL_DEBUG_SCOPES.
56708         (process_dl_debug): Recognize scopes flag and also set it for all.
56709         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
56710         Declare _dl_show_scope.
56712         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
56713         (do_dlopen): Pass caller_dlopen to dl_open.
56714         (__libc_dlopen_mode): Initialize caller_dlopen.
56716         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
56717         of libc.  Make tolower call locale-independent.  Optimize a bit by
56718         using isdigit instead of isalnum.
56719         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
56721 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
56723         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
56724         was a dependency or dynamically loaded.
56726 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
56728         * intl/l10nflist.c: Allow architecture-specific pop function.
56729         * sysdeps/x86_64/l10nflist.c: New file.
56731         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
56732         classification.
56734 2011-08-10  Andreas Schwab  <schwab@redhat.com>
56736         * include/dirent.h: Add libc_hidden_proto for scandirat and
56737         scandirat64.  Don't declare __scandirat64.
56738         * dirent/scandirat.c: Add libc_hidden_def.
56739         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
56740         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
56742 2011-08-10  David S. Miller  <davem@davemloft.net>
56744         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
56745         enum.
56746         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56747         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56748         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56750 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
56752         * Versions.def [libc]: Add GLIBC_2.15.
56753         * dirent/Makefile (routines): Add scandirat and scandirat64.
56754         * dirent/Versions [libc]: Export scandirat and scandirat64 for
56755         GLIBC_2.15.
56756         * dirent/dirent.h: Declare scandirat and scandirat64.
56757         * dirent/scandirat.c: New file.
56758         * dirent/scandirat64.c: New file.
56759         * sysdeps/wordsize-64/scandirat.c: New file.
56760         * sysdeps/wordsize-64/scandirat64.c: New file.
56761         * dirent/opendir.c: Define opendirat.
56762         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
56763         using scandirat.
56764         * dirent/scandir64.c: Adjust for scandir.c change.
56765         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
56766         __scandirat64, and __scandir_cancel_handler.
56767         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
56768         additional parameter and use openat instead of open (outside of ld.so).
56769         Add new __opendir as wrapper around __opendirat.
56770         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
56771         here without requiring old scandirat implementation.
56773 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
56775         * dirent/scandir.c (cancel_handler): Renamed to
56776         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
56777         defined.  Adjust users.
56778         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
56779         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
56781 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
56783         * string/test-string.h (IMPL): Use __STRING to expand name and then
56784         stringify it.
56786         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
56787         of cleanups.
56789 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56791         * string/Makefile: Update.
56792         (strop-tests): Append strncat.
56793         * string/test-wcscmp.c: New file.
56794         New comprehensive test for wcscmp.
56795         * string/test-strcmp.c: Update.
56796         (WIDE): New define.
56798 2011-07-22  Andreas Schwab  <schwab@redhat.com>
56800         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
56801         line.
56803 2011-07-26  Andreas Schwab  <schwab@redhat.com>
56805         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56806         encoding to ACE if AI_IDN.
56808 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
56810         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
56811         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
56813 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56815         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
56816         Fix overflow bug in strncat.
56817         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
56819         * string/test-strncat.c: Update.
56820         Add new tests for checking overflow bugs.
56822 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56824         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56825         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
56826         * sysdeps/i386/i686/multiarch/strcat.S: New file.
56827         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
56828         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
56829         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
56830         * sysdeps/i386/i686/multiarch/strncat.S: New file.
56831         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
56832         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
56834         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
56835         (USE_AS_STRCAT): Define.
56836         Add strcat and strncat support.
56837         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56839 2011-07-25  Andreas Schwab  <schwab@redhat.com>
56841         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
56842         __n bigger than INT_MAX+1.
56843         (__strncmp_g): Likewise.
56845 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
56847         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
56848         * libio/stido.h: Likewise.
56850         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
56851         (AF_NFC): Define.
56852         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
56853         (AF_NFC): Define.
56855         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
56856         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56857         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56858         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
56859         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56861         [BZ #13021]
56862         * scripts/test-installation.pl: Don't expect libnss_test1 to be
56863         installed.
56865         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
56866         typo.
56867         (_dl_x86_64_save_sse): Likewise.
56869 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
56871         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
56872         OSXSAVE.
56873         (_dl_x86_64_save_sse): Likewise.
56875         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
56877         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
56879 2011-07-21  Andreas Schwab  <schwab@redhat.com>
56881         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
56882         change.
56883         (_dl_x86_64_save_sse): Use correct AVX check.
56885 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56887         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
56888         bug in strncpy/strncat.
56889         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
56891 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
56893         * string/tester.c (test_strcat): Add tests for different alignments
56894         of source and destination.
56895         (test_strncat): Likewise.
56897 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
56899         [BZ #12852]
56900         * posix/glob.c (glob): Check passed in values before using them in
56901         expressions to avoid some overflows.
56902         (glob_in_dir): Likewise.
56904         [BZ #13007]
56905         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
56906         check for AVX enablement so that we don't crash with old kernels and
56907         new hardware.
56908         * elf/tst-audit4.c: Add same checks here.
56909         * elf/tst-audit6.c: Likewise.
56911         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
56913 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
56915         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
56917 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
56919         * po/cs.po: Update from translation team.
56920         * po/bg.po: Likewise.
56922 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
56924         * misc/sys/cdefs.h: Add support for const attribute.
56925         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
56926         to gnu_dev_{major,minor,makedev} functions.
56928 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
56930         * intl/dcigettext.c (get_output_charset): Add missing bracket.
56932 2011-07-20  Andreas Schwab  <schwab@redhat.com>
56934         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
56935         strlen results.
56937 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56939         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
56940         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
56941         register in order to avoid conflicts with the soft frame pointer
56942         being held in r11 when necessary.
56943         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
56944         (INTERNAL_VSYSCALL_NCS): Likewise.
56946 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
56948         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
56949         * elf/dl-fini.c (_dl_fini): Adjust caller.
56950         * elf/dl-close.c (_dl_close_worker): Likewise.
56951         * sysdeps/generic/ldsodefs.h: Adjust declaration.
56953 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
56955         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
56956         "aux_cache->nlibs < 0".
56958         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
56959         in the reload-count case.
56961 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56963         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56964         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
56965         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
56966         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
56967         * sysdeps/x86_64/multiarch/strcat.S: New file.
56968         * sysdeps/x86_64/multiarch/strncat.S: New file.
56969         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
56970         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
56971         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
56972         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
56973         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
56974         (USE_AS_STRCAT): Define.
56975         Add strcat and strncat support.
56976         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56977         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56978         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
56979         * string/strncat.c: Update.
56980         (USE_AS_STRNCAT): Define.
56981         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56982         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
56983         and i7.
56984         * sysdeps/x86_64/multiarch/init-arch.h
56985         (bit_Prefer_PMINUB_for_stringop): New.
56986         (index_Prefer_PMINUB_for_stringop): Likewise.
56987         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
56988         bit_Prefer_PMINUB_for_stringop.
56990 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
56992         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
56993         buffer64.
56994         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
56995         of casting of buffer.
56996         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
56997         buffer32 and buffer64.
56998         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
56999         writes instead of casting of buffer.
57000         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
57001         buffer32.
57002         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
57003         casting of buffer.
57005 2011-07-19  Andreas Schwab  <schwab@redhat.com>
57007         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
57009 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
57011         * nscd/nscd.c (termination_handler): Don't do anything for a database
57012         if it has not yet been initialized.
57014 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
57016         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57018 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
57020         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57022 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
57024         * po/nl.po: Update from translation team.
57025         * po/sv.po: Likewise.
57027 2011-07-16  Roland McGrath  <roland@hack.frob.com>
57029         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
57030         now disallowed by GCC.
57032         * configure.in (use-default-link): Default to yes if a test -shared
57033         link meets our qualifications.
57034         * configure: Regenerated.
57036         * config.make.in (output-format): New variable.
57037         * configure.in: Check for ld --print-output-format support.
57038         * configure: Regenerated.
57039         * Makerules ($(common-objpfx)format.lds)
57040         [$(output-format) != unknown]: Just use $(output-format),
57041         instead of the linker-script munging.
57043 2011-07-14  Roland McGrath  <roland@hack.frob.com>
57045         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
57046         of $(common-objpfx)shlib.lds.
57047         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
57049         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
57050         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
57052         * configure.in (-z relro check): Adjust test code to add a large
57053         writable data section after it.
57054         * configure: Regenerated.
57056 2011-07-11  Roland McGrath  <roland@hack.frob.com>
57058         * configure.in (-z relro check): Fix test code to make the variable
57059         truly const.
57060         * configure: Regenerated.
57062 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
57064         * nscd/nscd.h (struct traced_file): Define.
57065         (struct database_dyn): Remove inotify_descr, reset_res, and filename
57066         elements.  Add traced_files.
57067         (inotify_fd): Declare.
57068         (register_traced_file): Declare.
57069         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
57070         (inotify_fd): Export.
57071         (resolv_conf_descr): Remove.
57072         (nscd_init): Move inotify descriptor creation to main.
57073         Don't register files for notification here.
57074         (register_traced_file): New function.
57075         (invalidate_cache): Don't use reset_res to determine whether to call
57076         res_init, go through the list of registered files.
57077         (main_loop_poll): The inotify descriptors are now stored in the
57078         structures for the traced files.
57079         (main_loop_epoll): Likewise
57080         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
57081         to __nss_disable_nscd.
57082         * nscd/cache.c (prune_cache): There is no single inotify descriptor
57083         for a database anymore.  Check the records for all the registered
57084         files instead.
57085         * nss/Makefile (libnss_files-routines): Add files-init.
57086         (libnss_db-routines): Add db-init.
57087         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
57088         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
57089         * nss/nss_db/db-init.c: New file.
57090         * nss/nss_files/files-init.c: New file.
57091         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
57092         __nss_lookup_function.
57093         (__nss_lookup_function): Call nss_load_library.
57094         (nss_load_all_libraries): New function.
57095         (__nss_disable_nscd): Take parameter with callback function for files
57096         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
57097         used for the cached services.
57098         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
57099         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
57100         options for features to all the files in nscd.
57102         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
57104 2011-07-10  Roland McGrath  <roland@hack.frob.com>
57106         * csu/elf-init.c (__libc_csu_init): Comment typo.
57108 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
57110         * po/pl.po: Update from translation team.
57111         * po/ja.po: Likewise.
57112         * po/ru.po: Likewise.
57113         * po/ko.po: Likewise.
57114         * po/fr.po: Likewise.
57116 2011-07-09  Roland McGrath  <roland@hack.frob.com>
57118         * configure.in (.ctors/.dtors header and trailer check):
57119         Use an empirical test on a built program.
57120         * configure: Regenerated.
57122         * configure.in (-z relro check): Use an empirical test on a built DSO.
57123         Detect, but do not require, on ia64.
57124         * configure: Regenerated.
57126         * configure.in (READELF): Find it with AC_CHECK_TOOL.
57127         Update tests that use readelf to use $READELF instead.
57128         * configure: Regenerated.
57130 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
57132         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
57133         if the result is not used.
57135 2011-07-05  Andreas Jaeger  <aj@suse.de>
57137         [BZ#9696]
57138         * stdlib/tst-strtod.c: Add testcase.
57140 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
57142         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
57143         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
57144         The latter has a higher limit.  Take additional parameter to pass to
57145         the new function.
57146         (__pathconf): Pass file to __statfs_link_max.
57147         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
57148         __statfs_link_max.
57149         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
57150         __statfs_link_max.
57152         [BZ #12868]
57153         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
57154         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57155         Handle Lustre.
57156         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
57157         (__statfs_filesize_max): Likewise.
57158         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
57160 2011-07-05  Andreas Jaeger  <aj@suse.de>
57162         * resolv/res_comp.c (dn_skipname): Remove unused variable.
57164 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
57166         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
57167         `status' variable.
57168         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
57169         Likewise.
57171 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
57173         * Makefile (strop-tests): Add strncat.
57174         * string/test-strncat.c: New file.
57176 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
57178         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
57180 2011-06-21  Andreas Jaeger  <aj@suse.de>
57182         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
57183         Copy rule from iconvdata/Makefile.
57185 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
57187         [BZ #12922]
57188         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
57189         but no long options are defined, just return 'W'.
57191 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
57193         [BZ #9696]
57194         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
57196 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
57198         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
57199         netgroups to read.
57200         (innetgr): Likewise.
57202 2011-07-05  Roland McGrath  <roland@hack.frob.com>
57204         * config.make.in (install_root): Default to $(DESTDIR).
57206 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
57208         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
57210 2011-07-02  Roland McGrath  <roland@hack.frob.com>
57212         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
57214         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
57215         containing directory rather than embedding absolute directory names.
57217         * scripts/check-local-headers.sh: Rewritten using awk.
57218         Match by word, not by line.  Print error messages for matches.
57219         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
57221         * Makerules [shlib-lds-flags empty]:
57222         ($(common-objpfx)libc_pic.opts): New target.
57223         ($(common-objpfx)libc_pic.os.clean): New target.
57224         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
57226         * config.make.in (OBJCOPY): New variable.
57227         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
57228         * configure: Regenerated.
57230         * config.make.in (use-default-link): New variable.
57231         * configure.in (use_default_link): Grok --with-default-link to set it.
57232         * configure: Regenerated.
57233         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
57234         (shlib-lds, shlib-lds-flags): Define to empty.
57236         * Makerules (shlib-lds): New variable.
57237         (shlib-lds-flags): New variable.
57238         (build-shlib, build-moduile, build-module-asneeded): Use it.
57239         ($(common-objpfx)libc.so): Use $(shlib-lds).
57240         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
57241         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
57243         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
57244         DT_FLAGS/DT_FLAGS_1 with zero flags.
57246         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
57247         linker script munging.
57249 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
57251         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
57252         as 128-bit value.
57253         * crypt/sha512.c (sha512_process_block): Perform total addition using
57254         128-bit if possible.
57255         (__sha512_finish_ctx): Likewise.
57256         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
57257         as 64-bit value.
57258         * crypt/sha256.c (SWAP64): Define.
57259         (sha256_process_block): Perform total addition using 64-bit if
57260         possible.
57261         (__sha256_finish_ctx): Likewise.
57263 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
57265         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
57266         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57267         * nscd/hstcache.c (cache_addhst): Likewise.
57268         * nscd/grpcache.c (cache_addgr): Likewise.
57269         * nscd/aicache.c (addhstaiX): Likewise
57270         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
57272 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
57274         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
57275         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57276         * nscd/hstcache.c (cache_addhst): Likewise.
57277         * nscd/grpcache.c (cache_addgr): Likewise.
57278         * nscd/aicache.c (addhstaiX): Likewise
57280 2011-07-01  Andreas Schwab  <schwab@redhat.com>
57282         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
57283         domain only when needed.
57285 2011-06-30  Andreas Schwab  <schwab@redhat.com>
57287         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
57288         is always restored.
57290 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
57292         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
57293         are re-adding the entry.
57294         * nscd/servicescache.c (cache_addserv): Likewise.
57296 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
57298         * sysdeps/generic/dl-irel.h: fix protection against multiple
57299         inclusions.
57300         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
57302 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
57304         [BZ #12935]
57305         * malloc/memusage.sh: Fix quoting in message.
57306         * debug/xtrace.sh: Likewise.
57308         * configure.in: Remove support for --experimental-malloc option, make
57309         it the default.
57310         * config.make.in: Likewise.
57311         * malloc/Makefile: Likewise.
57313 2011-06-27  Andreas Schwab  <schwab@redhat.com>
57315         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
57316         two-byte characters.
57318 2011-06-27  Roland McGrath  <roland@hack.frob.com>
57320         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
57321         AC_CACHE_CHECK invocation.
57322         * configure: Regenerated.
57324         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
57326 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
57328         [BZ #12350]
57329         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
57330         bit from old_res_options.
57332         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
57334         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
57335         value type for setfct.
57337 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
57339         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57340         __gettimeofday instead of gettimeofday.
57342 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
57344         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
57346 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
57348         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
57350         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
57351         info.
57353 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
57355         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57356         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57357         strcpy-sse2-unaligned strncpy-sse2-unaligned
57358         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
57359         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
57360         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
57361         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
57362         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
57363         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
57364         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
57365         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
57366         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
57367         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
57368         (STRCPY): Support SSE2 and SSSE3 versions.
57370 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
57372         [BZ #12874]
57373         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
57374         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
57375         kernels which artificially limit size of requests.
57377 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
57379         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57380         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57381         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
57382         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
57383         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
57384         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
57385         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
57386         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
57387         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
57388         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
57389         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
57390         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
57391         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
57392         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
57393         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
57394         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57395         Enable unaligned load optimization for Intel Core i3, i5 and i7
57396         processors.
57397         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
57398         Define.
57399         (index_Fast_Unaligned_Load): Define.
57400         (HAS_FAST_UNALIGNED_LOAD): Define.
57402 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
57404         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
57406 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
57408         [BZ #12907]
57409         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
57410         until it is clear that the information is realy needed.
57411         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
57413 2011-06-22  Andreas Schwab  <schwab@redhat.com>
57415         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
57417 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
57419         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57420         /sys/devices/system/cpu/online if it is usable.
57422         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
57423         reading the information from the /proc filesystem to once a second.
57425 2011-06-21  Andreas Jaeger  <aj@suse.de>
57427         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
57428         NULL after inclusion of kernel headers.
57430 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
57432         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
57433         calls to internal_setent.
57435         [BZ #12885]
57436         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
57437         addresses using gethostbyname4_r ignore IPv4 addresses.
57439         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
57440         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
57442         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
57444 2011-06-20  David S. Miller  <davem@davemloft.net>
57446         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
57447         inclusions.
57448         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
57450         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
57451         (elf_irel): Use it.
57452         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
57453         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
57454         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
57455         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
57456         * sysdeps/x86_64/dl-irel.h: Likewise.
57458         * elf/dl-runtime.c: Use elf_ifunc_invoke.
57459         * elf/dl-sym.c: Likewise.
57461 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
57463         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
57464         need to dereference resplen2.
57466 2011-06-14  Andreas Schwab  <schwab@redhat.com>
57468         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
57470 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
57472         * Makeconfig: Define vardbdir and inst_vardbdir.
57473         * nss/Makefile: Add rules to install db-Makefile.
57475         * nss/nss_db/db-XXX.c: Cleanup.
57477         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
57478         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
57479         GLIBC_PRIVATE.
57480         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
57481         * nss/makedb.c: Implement -g option to specify that value strings
57482         are generated and should not be added to table iterated over for
57483         get*ent calls.
57484         * nss/nss_db/db-initgroups.c: New file.
57486         * nss/getent.c: Add support for initgroups lookups through getgrouplist
57487         interface.
57489         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
57490         (internal_getgrouplist): Adjust to name change.
57491         Update use_initgroups_entry if this is not the first call.
57492         * nss/databases.def: Add initgroups entry.
57494         * nss/makedb.c (compute_tables): Check result of multiple hash table
57495         sizes to minimize maximum chain length.
57497 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
57499         * Versions.def: Add entry for libnss_db.
57500         * shlib-versions: Likewise.
57501         * nss/Makefile: Add rules to build libnss_db.
57502         * nss/Versions: Add libnss_db information.  Organize libnss_files
57503         entries better.
57504         * nss/db-Makefile: Add gshadow support.  Change rules for the new
57505         makedb progra.  Some minor improvements to generate smaller files.
57506         * nss/nss_db/nss_db.h: Move NSS database header data structures to
57507         here from...
57508         * nss/makedb.c: ...here.
57509         Improve database format to be smaller and require less memory at
57510         runtime.
57511         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
57512         db anymore.
57513         * nss/nss_db/db-netgrp.c: Likewise.
57514         * nss/nss_db/db-open.c: Likewise.
57515         * nss/nss_files/flies-XXX.x: Adjust comments.
57516         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
57517         * nss/nss_files/files-grp.c: Likewise.
57518         * nss/nss_files/files-hosts.c: Likewise.
57519         * nss/nss_files/files-network.c: Likewise.
57520         * nss/nss_files/files-proto.c: Likewise.
57521         * nss/nss_files/files-pwd.c: Likewise.
57522         * nss/nss_files/files-rpc.c: Likewise.
57523         * nss/nss_files/files-service.c: Likewise.
57524         * nss/nss_files/files-sgrp.c: Likewise.
57525         * nss/nss_files/files-spwd.c: Likewise.
57526         * nss/nss_db/db-alias.c: Removed.
57527         * nss/nss_db/dummy-db.h: Removed.
57529 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
57531         * nss/makedb.c: Rewritten to not use database library.
57532         * nss/Makefile: Update to build new makedb program.
57534 2011-06-14  Andreas Jaeger  <aj@suse.de>
57536         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
57537         memset declaration.
57539 2011-06-10  Andreas Schwab  <schwab@redhat.com>
57541         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
57542         tmpbuf.
57544 2011-06-10  Roland McGrath  <roland@hack.frob.com>
57546         * Makerules (shlib.lds): Fail if the linker script comes out empty.
57547         * elf/Makefile ($(objpfx)ld.so): Likewise.
57549         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
57550         Don't list ld.so twice in dependencies.
57552         * posix/bug-regex31.c: Include <stdlib.h>.
57554         * nscd/hstcache.c (cache_addhst): Remove unused variable.
57556         * nis/nss_compat/compat-spwd.c
57557         (getspent_next_nss_netgr): Remove unused variable.
57558         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
57560         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
57561         nonmembers" output to use the right array.
57563         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
57565         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
57567         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
57568         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
57569         * catgets/gencat.c (read_input_file): Likewise.
57570         * locale/programs/locarchive.c (enlarge_archive): Likewise.
57572         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
57573         variable definition inside #if's controlling its use.
57575         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
57577         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
57579         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
57581         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
57582         unreachable code.
57584         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
57586         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
57587         * configure: Regenerated.
57589         * Makerules: Revert last change.
57590         * elf/Makefile: Likewise.
57592 2011-06-09  Roland McGrath  <roland@hack.frob.com>
57594         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
57595         * elf/Makefile ($(objpfx)librtld.os): Likewise.
57596         (reloc-link): Likewise.
57598 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
57600         * elf/Makefile: Add rules to build pldd.
57601         * elf/pldd.c: New file.
57602         * elf/pldd-xx.c: New file.
57604 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
57606         * version.h: Update for 2.15 development version.
57608 2011-06-07  David S. Miller  <davem@davemloft.net>
57610         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
57611         ifuncs.
57612         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
57613         elf_machine_lazy_rel): Likewise.
57614         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57615         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
57616         elf_machine_lazy_rel): Likewise.
57617         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
57618         dl_hwcap via passed in argument.
57619         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
57620         Likewise.
57622 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57624         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
57626 2011-06-06  Roland McGrath  <roland@hack.frob.com>
57628         [BZ #12849]
57629         * manual/fdl-1.1.texi: New file, verbatim from:
57630         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
57631         * manual/lgpl-2.1.texi: New file, verbatim from:
57632         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
57633         * manual/Makefile (licenses): New variable, list those new file names.
57634         (texis): Use it.
57635         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
57637         * manual/fdl.texi: File removed.
57638         * manual/lesser.texi: File removed.
57639         * manual/libc.texinfo (Copying, Documentation License):
57640         Use new @include file names, put @appendix directive before @include.
57642 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
57644         [BZ #12841]
57645         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
57646         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
57647         (mq_open): Add __NTH.
57649 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
57651         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57652         Assume Intel Core i3/i5/i7 processor if AVX is available.
57654 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
57656         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
57657         typo.
57659 2011-05-31  Andreas Schwab  <schwab@redhat.com>
57661         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
57662         memory.  Use alloca_account.  Fix memory leak when retrying.
57664 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
57666         * version.h (RELEASE): Bump for 2.14 release.
57667         * include/features.h (__GLIBC_MINOR__): Bump to 14.
57669         * config.make.in (RANLIB): Remove entry.
57671 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
57673         * po/Makefile (po-sed-cmd): Add ksh to extensions.
57674         (libc.pot): Work around missing support for .ksh extension in xgettext.
57676         [BZ #12684]
57677         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
57678         if both request failed.
57679         (send_dg): In case of server errors clear resplen or *resplen2.
57681         [BZ #12454]
57682         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
57683         when there are multiple maps.
57684         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
57685         (_dl_fini): Remove test here.
57687         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
57689 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
57691         [BZ #12350]
57692         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
57693         bit from old_res_options.
57694         (gaih_inet): Likewise.
57696         [BZ #11099]
57697         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
57698         as signed.
57700         * resolv/res_init.c (res_setoptions): Make the code more compact.
57702         [BZ #11558]
57703         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
57704         set RES_USEVC.
57706         [BZ #11634]
57707         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
57709         * malloc/malloc.h: Mark malloc hook variables as deprecated.
57711         [BZ #11781]
57712         * malloc/malloc.h: Declare malloc hook variables as volatile.
57714         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
57715         in last patch.
57717         [BZ #11799]
57718         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
57719         raise in the comment.
57720         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57721         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57722         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
57724 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
57726         [BZ #12811]
57727         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
57728         grow the buffers more if it already has to be sufficient.
57729         (build_wcs_upper_buffer): Likewise.
57730         * posix/regexec.c (check_matching): Likewise.
57731         (clean_state_log_if_needed): Likewise.
57732         (extend_buffers): Don't enlarge buffers beyond size of the input
57733         buffer.
57734         Patches mostly by Emil Wojak <emil@wojak.eu>.
57735         * posix/bug-regex32.c: New file.
57736         * posix/Makefile (tests): Add bug-regex32.
57738         * locale/findlocale.c (_nl_find_locale): Return right away if
57739         _nl_explode_name failed.
57740         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
57742         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
57744         * debug/xtrace.sh: Unify messages.
57745         * malloc/memusage.sh: Likewise.
57747         [BZ #12813]
57748         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
57749         time symbol from vDSO.  Substitute with vsyscall if not available.
57750         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
57751         __vdso_time.
57753         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
57754         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
57755         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
57756         Add sendmmsg and internal_sendmmsg.
57757         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
57758         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
57759         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
57761         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
57762         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
57763         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
57765 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
57767         [BZ #12813]
57768         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
57769         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
57770         available.
57771         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
57772         __vdso_getcpu.
57774         [BZ #12814]
57775         * iconvdata/Makefile (tests): Add bug-iconv9.
57776         * iconvdata/bug-iconv9.c: New file.
57778 2011-05-27  Andreas Schwab  <schwab@redhat.com>
57780         [BZ #12814]
57781         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
57783 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
57785         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57786         (struct user_regs_struct): Change intcs field back to cs.
57788 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
57790         * po/ja.po: Update from translation team.
57792 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
57794         [BZ #12795]
57795         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
57796         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
57798 2011-05-20  Andreas Schwab  <schwab@redhat.com>
57800         * stdlib/longlong.h: Update from GCC.
57802 2011-05-23  Andreas Schwab  <schwab@redhat.com>
57804         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
57805         parameter name.
57806         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
57807         Add parameter name.
57808         (__sysconf): Pass it down.
57810 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
57812         [BZ #12671]
57813         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
57814         some situations.
57815         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57816         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
57817         add in in __libc_use_alloca calls.  Adjust callers.
57818         (glob): Use malloc in some situations.
57820         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
57821         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
57822         pltexit.
57824 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
57826         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
57827         and CLOCK_BOOTTIME_ALARM.
57829         [BZ #12782]
57830         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
57831         is returned.
57833         * string/_strerror.c (__strerror_r): Print negative errors as signed
57834         numbers.
57836         [BZ #12777]
57837         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
57838         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
57839         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
57841         * configure.in: Fix typo in redirection and correct removal of test
57842         files in two cases.
57844         [BZ #12788]
57845         * locale/setlocale.c (new_composite_name): Fix test to check for
57846         identical name of all categories.
57848         [BZ #12792]
57849         * libio/filedoalloc.c (local_isatty): New function.
57850         (_IO_file_doallocate): Use local_isatty.
57851         * stdio-common/perror.c (perror): In case a new stream is used
57852         forward the stream error.
57853         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
57854         error flag.
57856 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
57858         [BZ #11869]
57859         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
57860         alloca.
57861         * include/alloca.h (extend_alloca_account): Define.
57863         [BZ #11857]
57864         * posix/regex.h: Fix comments with documentation of user-accessible
57865         fields after compilation and describe correct free'ing of pattern
57866         after re_compile_pattern.
57867         Patch by Reuben Thomas <rrt@sc3d.org>.
57869 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
57871         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
57872         and -mno-altivec to prevent the compiler from using Altivec and/or
57873         VSX instructions when the corresponding registers are not available.
57875 2011-05-19  Andreas Schwab  <schwab@redhat.com>
57877         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
57879 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
57881         * libio/freopen.c (freopen): Use __dup2, not dup2.
57882         * libio/freopen64.c (freopen64): Likewise.
57884 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57886         [BZ #12775]
57887         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
57888         * math/Makefile (tests): Add test-powl.
57889         (CFLAGS-test-powl.c): Define.
57890         * math/test-powl.c: New file.
57892 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57894         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
57896 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
57898         [BZ #11837]
57899         * iconvdata/gb18030.c: Update to GB18020-2005.
57901 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
57903         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
57904         RE_SYNTAX_POSIX_AWK): Update to match recent development.
57905         Patch by Aharon Robbins <arnold@skeeve.com>.
57907         [BZ #11892]
57908         * stdlib/putenv.c (putenv): Don't always create copy of the variable
57909         on the stack.
57911         [BZ #11895]
57912         * misc/pselect.c (__pselect): Handle timeout value errors hidden
57913         through underflows.
57915         [BZ #12766]
57916         * misc/error.c (error_at_line): Ensure file_name and old_file_name
57917         point to strings before performing equality test for error_one_per_line
57918         mode.
57920         [BZ #11697]
57921         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
57923         [BZ #11820]
57924         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57925         (struct user_fpregs_struct): Avoid __uint*_t types.
57927         [BZ #6420]
57928         * malloc/mtrace.c (tr_where): Add additional parameter to point to
57929         symbol info.  Use it instead of calling _dl_addr locally.
57930         (lock_and_info): New function.
57931         (tr_freehook): Call lock_and_info and pass symbol info as additional
57932         parameter to tr_where.
57933         (tr_mallochook): Likewise.
57934         (tr_reallochook): Likewise.
57935         (tr_memalignhook): Likewise.
57937         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
57938         used and couldn't be at all thread-safe.
57940 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
57942         * libio/freopen.c (freopen): Don't close old file descriptor
57943         before the new one is opened.  Instead dup the new file descriptor
57944         to the old one after the new stream is created.
57945         * libio/freopen64.c (freopen64): Likewise.
57946         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
57947         * libio/fileops.c (_IO_new_file_close_it): Handle new
57948         _IO_FLAGS2_NOCLOSE flag.
57949         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
57950         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
57951         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
57952         _IO_FLAGS2_NOCLOSE flag.
57953         * include/unistd.h: Add hidden_proto for dup3.
57954         Define __have_dup3.
57955         * io/dup3.c: Define hidden symbol.
57956         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
57958         [BZ #7101]
57959         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
57960         when an incomplete long option is used.
57961         * posix/tst-getopt_long1.c: New file.
57962         * posix/Makefile (tests): Add tst-getopt_long1.
57964         [BZ #10138]
57965         * scripts/config.guess: Update from autoconf-2.68.
57966         * scripts/config.sub: Likewise.
57968         [BZ #10157]
57969         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
57970         tests into ...
57971         (has_cpuclock): ...this.  New function.
57972         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
57973         macro here based on has_cpuclock code.
57975         [BZ #10149]
57976         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57977         First byte (not low byte) is now always NUL.
57978         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
57980         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57981         Use non-cancelable interfaces.
57983         [BZ #9809]
57984         * locale/iso-639.def: Add entry for Sorani.
57986         [BZ #11901]
57987         * include/stdlib.h: Move include protection to the right place.
57988         Define abort_msg_s.  Declare __abort_msg with it.
57989         * stdlib/abort.c (__abort_msg): Adjust type.
57990         * assert/assert.c (__assert_fail_base): New function.  Majority
57991         of code from __assert_fail.  Allocate memory for __abort_msg with
57992         mmap.
57993         (__assert_fail): Now call __assert_fail_base.
57994         * assert/assert-perr.c: Remove bulk of implementation.  Use
57995         __assert_fail_base.
57996         * include/assert.hL Declare __assert_fail_base.
57997         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
57998         mmap.
57999         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
58001 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
58003         [BZ #11952]
58004         [BZ #12453]
58005         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
58006         until all modules are registered in the DTV.
58007         * elf/Makefile: Add rules to build and run tst-tls19.
58008         * elf/tst-tls19.c: New file.
58009         * elf/tst-tls19mod1.c: New file.
58010         * elf/tst-tls19mod2.c: New file.
58011         * elf/tst-tls19mod3.c: New file.
58012         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
58014         [BZ #12083]
58015         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
58016         correctly.
58018         [BZ #12601]
58019         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
58020         two-byte sequence errors.
58021         * iconvdata/Makefile (tests): Add bug-iconv8.
58022         * iconvdata/bug-iconv8.c: New file.
58024         [BZ #12626]
58025         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
58026         buf2 definition.
58028         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
58030         [BZ #12432]
58031         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
58032         (dummy_getcfa): New function.
58033         (init): Get _Unwind_GetCFA address, use dummy if not found.
58034         (backtrace_helper): In recursion check, also check whether CFA changes.
58035         (__backtrace): Completely initialize arg.
58037         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
58038         storing incomplete byte sequence in state object.  Avoid testing for
58039         guaranteed too small input if we know there is enough data available.
58041 2011-05-11  Andreas Schwab  <schwab@redhat.com>
58043         * Makeconfig (+link-pie): Indent.
58044         * Rules (binaries-pie): Define if $(have-fpie) and
58045         $(build-shared).
58046         (binaries-shared): Also filter out $(binaries-pie).
58047         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
58048         * nscd/Makefile (others-pie): Add nscd.
58049         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
58050         ($(objpfx)nscd): Remove command override.
58051         * login/Makefile (others-pie): Add pt_chown.
58052         ($(objpfx)pt_chown): Remove command override.
58053         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
58054         remove command overrides.
58056 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
58058         * libio/tst_putwc.c: Fix error messages.
58060         [BZ #12724]
58061         * libio/fileops.c (_IO_new_file_close_it): Always flush when
58062         currently writing and seek to current position when not.
58063         * libio/Makefile (tests): Add bug-fclose1.
58064         * libio/bug-fclose1.c: New file.
58066 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
58068         [BZ #12511]
58069         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
58070         don't set DF_1_NODELETE here.
58071         (do_lookup_x): When entering new entry test for copy relocation
58072         and if necessary set DF_1_NODELETE flag.
58073         * elf/tst-unique4.cc: New file.
58074         * elf/tst-unique4.h: New file.
58075         * elf/tst-unique4lib.cc: New file.
58076         * elf/Makefile: Add rules to build and run tst-unique4.
58077         Patch by Piotr Bury <pbury@goahead.com>.
58079 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
58081         [BZ #12052]
58082         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
58084         [BZ #12625]
58085         * misc/mntent_r.c (addmntent): Flush the stream after the output
58087         [BZ #12393]
58088         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
58089         (is_trusted_path_normalize): Skip initial colon.  Append slash
58090         to empty buffer.  Duplicate is_trusted_path code but allow
58091         constructed patch to be prefix.
58092         (is_dst): Allow $ORIGIN followed by /.
58093         (_dl_dst_substitute): Correct clearing of check_for_trusted.
58094         Correct testing of result of is_trusted_path_normalize
58095         (decompose_rpath): Fix warning.
58097 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
58099         [BZ #11257]
58100         * grp/initgroups.c (internal_getgrouplist): When we found the service
58101         list through the initgroups entry in nsswitch.conf do not always
58102         continue on a successful lookup.  Don't always use the
58103         __nss_group_database value if it is set.
58104         * nss/nsswitch.conf (initgroups): Change action for successful db
58105         lookup to continue for compatibility.
58107 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
58109         [BZ #11532]
58110         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
58111         and CP774 modules.
58112         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
58113         and CP774 modules.
58114         * iconvdata/tst-tables.sh: Likewise.
58115         * iconvdata/cp770.c: New file.
58116         * iconvdata/cp771.c: New file.
58117         * iconvdata/cp772.c: New file.
58118         * iconvdata/cp773.c: New file.
58119         * iconvdata/cp774.c: New file.
58120         * iconvdata/testdata/CP770: New file.
58121         * iconvdata/testdata/CP770..UTF8: New file.
58122         * iconvdata/testdata/CP771: New file.
58123         * iconvdata/testdata/CP771..UTF8: New file.
58124         * iconvdata/testdata/CP772: New file.
58125         * iconvdata/testdata/CP772..UTF8: New file.
58126         * iconvdata/testdata/CP773: New file.
58127         * iconvdata/testdata/CP773..UTF8: New file.
58128         * iconvdata/testdata/CP774: New file.
58129         * iconvdata/testdata/CP774..UTF8: New file.
58131         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
58132         END CHARMAP line.
58133         * iconvdata/gen-8bit-gap.sh: Likewise.
58134         * iconvdata/gen-8bit.sh: Likewise.
58136         * locale/iso-639.def: Add ary entry.
58138         [BZ #11258]
58139         * locale/C-translit.h.in: Add U20A1 transliteration.
58141         [BZ #12178]
58142         * locale/iso-639.def: Add wae entry.
58143         Patch by Kevin Bortis <bortis@translate-wae.ch>.
58145         [BZ #12545]
58146         * locale/programs/localedef.c (construct_output_path): Use ssize_t
58147         for n.
58149         [BZ #12711]
58150         * locale/C-translit.h.in: Add entry for U20B9.
58151         Patch by pravin.d.s@gmail.com.
58153 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
58155         [BZ #12713]
58156         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
58157         ENAMETOOLONG use generic getcwd.
58158         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
58159         in rtld.  Use *stat64.
58160         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
58161         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
58162         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
58163         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
58164         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
58165         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
58166         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
58167         __fstatat64 macros.
58168         * include/dirent.h: Add libc_hidden_proto for rewinddir.
58169         * dirent/rewinddir.c: Add libc_hidden_def.
58170         * sysdeps/mach/hurd/rewinddir.c: Likewise.
58171         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
58173         * include/dirent.h (__alloc_dir): Add flags parameter.
58174         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
58175         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
58176         __alloc_dir.
58177         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
58178         from fdopendir if O_CLOEXEC is already set.
58180 2011-03-15  Alan Modra  <amodra@gmail.com>
58182         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
58183         l_tls_firstbyte_offset non-zero.  Save padding offset in
58184         l_tls_firstbyte_offset for later use.
58185         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
58186         freeing static tls block.
58188 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
58190         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
58191         where #ifdef was intended.  The intent is to prevent ARG_MAX from
58192         being defined by the kernel headers.
58194 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
58196         [BZ #12734]
58197         * resolv/resolv.h: Define RES_NOTLDQUERY.
58198         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
58199         no-tld-query and set RES_NOTLDQUERY.
58200         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
58201         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
58202         modern BIND to search name as TLD unless forbidden.
58204 2011-05-07  Petr Baudis  <pasky@suse.cz>
58205             Ulrich Drepper  <drepper@gmail.com>
58207         [BZ #12393]
58208         * elf/dl-load.c (fillin_rpath): Move trusted path check...
58209         (is_trusted_path): ...to here.
58210         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
58211         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
58212         using is_trusted_path_normalize() in setuid scripts.
58214 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
58216         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
58217         __BEGIN/__END_DECLS.
58219 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
58221         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
58222         NSS_STATUS_NOTFOUND if no record was found.
58224 2011-05-05  Andreas Schwab  <schwab@redhat.com>
58226         * sunrpc/Makefile (headers): Add rpc/netdb.h.
58227         (headers-not-in-tirpc): Remove rpc/netdb.h
58228         * resolv/netdb.h: Revert last change.
58230 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
58232         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
58233         circular dependency between libgcc.a and libc.a.
58235 2011-05-05  Andreas Schwab  <schwab@redhat.com>
58237         * resolv/netdb.h: Don't include <rpc/netdb.h>.
58238         * nis/Makefile: Don't install rpcsvc/*.
58239         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
58240         instead of <rpc/types.h>.
58241         (MAXHOSTNAMELEN): Define.
58243 2011-05-03  Andreas Schwab  <schwab@redhat.com>
58245         * elf/ldconfig.c (add_dir): Don't crash on empty path.
58247 2011-04-28  Maciej Babinski  <mbabinski@google.com>
58249         [BZ #12714]
58250         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
58251         gethostbyname4_r when IPv6 results are possible.
58253 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
58255         [BZ #12723]
58256         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
58257         _PC_PIPE_BUF handling.
58259 2011-04-30  Bruno Haible  <bruno@clisp.org>
58261         [BZ #12717]
58262         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
58263         * resolv/netdb.h (getnameinfo): Change type of flags parameter
58264         to 'int'.
58265         * inet/getnameinfo.c (getnameinfo): Likewise.
58267 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
58269         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
58270         to groups setting in database lookup.
58271         * nss/nsswitch.conf: Add initgroups entry.
58273 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
58275         [BZ #12685]
58276         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
58277         mode string.
58278         Patch by Eric Blake <eblake@redhat.com>.
58280 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
58282         * sunrpc/Makefile (need-export-routines): Add svc_run.
58283         (routines): Remove svc_run.
58284         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
58285         * sunrpc/clnt_perr.c (clnt_perrno): Export.
58286         * sunrpc/svc_run.c (svc_run): Likewise.
58287         * sunrpc/svc_udp.c (svcudp_create): Likewise.
58289 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
58291         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
58292         problem in reallocation in last patch.
58294 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
58296         * sunrpc/Makefile: Move inclusion of Rules.
58298 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
58300         * nss/nss_files/files-initgroups.c: New file.
58301         * nss/Makefile (libnss_files-routines): Add files-initgroups.
58302         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
58303         _nss_files_initgroups_dyn.
58305 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
58307         * elf/elf.h (R_ARM_IRELATIVE): Define.
58309 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
58311         * po/ru.po: Update from translation team.
58313 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
58315         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
58316         dependencies.
58318 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
58320         [BZ #12653]
58321         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
58322         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
58323         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58324         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58325         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58327 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
58329         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
58330         differing bytes.
58331         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58332         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58333         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58335 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
58337         [BZ #12420]
58338         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
58339         storing it.
58340         * stdlib/bug-getcontext.c: New file.
58341         * stdlib/Makefile: Add rules to build and run bug-getcontext.
58343 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58345         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
58346         instructions into .machine "z9-109".
58347         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
58348         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
58350 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58352         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
58353         between environment variables and auxiliary vector.
58355 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
58357         * Makefile: Add rules to build linkobj/libc.so.
58358         * include/libc-symbols.h: Define libc_hidden_nolink.
58359         * include/rpc/auth.h: Mark functions which are to be hidden.
58360         * include/rpc/auth_des.h: Likewise.
58361         * include/rpc/auth_unix.h: Likewise.
58362         * include/rpc/clnt.h: Likewise.
58363         * include/rpc/des_crypt.h: Likewise.
58364         * include/rpc/key_prot.h: Likewise.
58365         * include/rpc/pmap_clnt.h: Likewise.
58366         * include/rpc/pmap_prot.h: Likewise.
58367         * include/rpc/pmap_rmt.h: Likewise.
58368         * include/rpc/rpc_msg.h: Likewise.
58369         * include/rpc/svc.h: Likewise.
58370         * include/rpc/svc_auth.h: Likewise.
58371         * include/rpc/xdr.h: Likewise.
58372         * nis/Makefile: Link all DSOs against linkobj/libc.so.
58373         * nss/Makefile: Likewise.
58374         * sunrpc/Makefile: Don't install headers.  Build library with normal
58375         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
58376         * sunrpc/auth_des.c: Hide exported symbols by default, export some
58377         for the compat linking library.  Remove use of INTDEF/INTUSE.
58378         * sunrpc/auth_none.c: Likewise.
58379         * sunrpc/auth_unix.c: Likewise.
58380         * sunrpc/authdes_prot.c: Likewise.
58381         * sunrpc/authuxprot.c: Likewise.
58382         * sunrpc/clnt_gen.c: Likewise.
58383         * sunrpc/clnt_perr.c: Likewise.
58384         * sunrpc/clnt_raw.c: Likewise.
58385         * sunrpc/clnt_simp.c: Likewise.
58386         * sunrpc/clnt_tcp.c: Likewise.
58387         * sunrpc/clnt_udp.c: Likewise.
58388         * sunrpc/clnt_unix.c: Likewise.
58389         * sunrpc/des_crypt.c: Likewise.
58390         * sunrpc/des_soft.c: Likewise.
58391         * sunrpc/get_myaddr.c: Likewise.
58392         * sunrpc/key_call.c: Likewise.
58393         * sunrpc/key_prot.c: Likewise.
58394         * sunrpc/netname.c: Likewise.
58395         * sunrpc/pm_getmaps.c: Likewise.
58396         * sunrpc/pm_getport.c: Likewise.
58397         * sunrpc/pmap_clnt.c: Likewise.
58398         * sunrpc/pmap_prot.c: Likewise.
58399         * sunrpc/pmap_prot2.c: Likewise.
58400         * sunrpc/pmap_rmt.c: Likewise.
58401         * sunrpc/publickey.c: Likewise.
58402         * sunrpc/rpc_cmsg.c: Likewise.
58403         * sunrpc/rpc_common.c: Likewise.
58404         * sunrpc/rpc_dtable.c: Likewise.
58405         * sunrpc/rpc_prot.c: Likewise.
58406         * sunrpc/rpc_thread.c: Likewise.
58407         * sunrpc/rtime.c: Likewise.
58408         * sunrpc/svc.c: Likewise.
58409         * sunrpc/svc_auth.c: Likewise.
58410         * sunrpc/svc_authux.c: Likewise.
58411         * sunrpc/svc_raw.c: Likewise.
58412         * sunrpc/svc_run.c: Likewise.
58413         * sunrpc/svc_simple.c: Likewise.
58414         * sunrpc/svc_tcp.c: Likewise.
58415         * sunrpc/svc_udp.c: Likewise.
58416         * sunrpc/svc_unix.c: Likewise.
58417         * sunrpc/svcauth_des.c: Likewise.
58418         * sunrpc/xcrypt.c: Likewise.
58419         * sunrpc/xdr.c: Likewise.
58420         * sunrpc/xdr_array.c: Likewise.
58421         * sunrpc/xdr_float.c: Likewise.
58422         * sunrpc/xdr_intXX_t.c: Likewise.
58423         * sunrpc/xdr_mem.c: Likewise.
58424         * sunrpc/xdr_rec.c: Likewise.
58425         * sunrpc/xdr_ref.c: Likewise.
58426         * sunrpc/xdr_sizeof.c: Likewise.
58427         * sunrpc/xdr_stdio.c: Likewise.
58429 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
58431         [BZ #12650]
58432         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
58433         * sysdeps/ia64/dl-tls.h: Likewise.
58434         * sysdeps/powerpc/dl-tls.h: Likewise.
58435         * sysdeps/s390/dl-tls.h: Likewise.
58436         * sysdeps/sh/dl-tls.h: Likewise.
58437         * sysdeps/sparc/dl-tls.h: Likewise.
58438         * sysdeps/x86_64/dl-tls.h: Likewise.
58439         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
58441 2011-03-14  Andreas Schwab  <schwab@redhat.com>
58443         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
58444         rpath element also skip the following colon.
58445         (expand_dynamic_string_token): Add is_path parameter and pass
58446         down to DL_DST_REQUIRED and _dl_dst_substitute.
58447         (decompose_rpath): Call expand_dynamic_string_token with
58448         non-zero is_path.  Ignore empty rpaths.
58449         (_dl_map_object_from_fd): Call expand_dynamic_string_token
58450         with zero is_path.
58452 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
58454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58455         Make cancelable.
58457 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
58459         [BZ #12655]
58460         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
58461         Patch by Filipe David Manana <fdmanana@apache.org>.
58463 2011-04-07  Andreas Schwab  <schwab@redhat.com>
58465         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
58466         Maintain aligned stack.
58467         (CHECK_RSP): Remove unused macro.
58469 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
58471         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
58472         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
58474 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
58476         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
58478         * include/features.h: Mention __USE_XOPEN2K8 in comment.
58480 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
58482         [BZ #12518]
58483         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
58484         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
58485         * sysdeps/x86_64/memmove.c: New file.
58486         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
58487         (memcpy): Renamed to ...
58488         (__new_memcpy): This.
58489         (memcpy): Provide GLIBC_2_14 memcpy.
58490         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
58491         (memcpy): Provide GLIBC_2_2_5 memcpy.
58493 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
58495         [BZ #12631]
58496         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
58498 2011-03-30  Andreas Schwab  <schwab@redhat.com>
58500         * misc/syncfs.c: New file.
58501         * misc/Makefile (routines): Add syncfs.
58502         * posix/unistd.h: Declare syncfs.
58503         * sysdeps/unix/syscalls.list: Add syncfs.
58505 2011-04-01  Andreas Schwab  <schwab@redhat.com>
58507         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
58508         open_by_handle_at.
58509         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58510         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58511         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58512         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58513         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58514         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
58515         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58517 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
58519         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
58520         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58521         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
58522         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58523         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58524         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58525         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58527         * io/Makefile: Compile fallocate.c, fallocate64.c, and
58528         sync_file_range.c with -fexceptions.
58529         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
58530         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
58531         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
58532         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
58533         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
58534         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58535         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
58536         sync_file_range as cancellation point
58537         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
58538         now a wrapper around __call_sync_file_range with cancellation handling.
58539         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
58540         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
58541         function name to __call_sync_file_range.
58542         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
58543         Add call_sync_file_range.
58545 2011-04-01  Andreas Schwab  <schwab@redhat.com>
58547         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58548         bits/timex.h.
58550 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
58552         * iconv/iconv.h: Fix typo in comment.
58553         * io/fcntl.h: Likewise.
58554         * libio/stdio.h: Likewise.
58555         * posix/spawn.h: Likewise.
58556         * posix/unistd.h: Likewise.
58557         * stdlib/stdlib.h: Likewise.
58558         * time/time.h: Likewise.
58559         * wcsmbs/wchar.h: Likewise.
58561         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
58562         open_by_handle): Add.
58563         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
58564         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
58565         Augment a few comments.
58566         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58567         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58568         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58569         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58570         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58571         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
58572         open_by_handle.
58574         * io/fcntl.h (AT_EMPTY_PATH): Define.
58576 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
58578         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
58579         * sysdeps/unix/sysv/linux/bits/time.h: New file.
58580         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
58581         to...
58582         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
58583         * Versions.def: Add GLIBC_2.14.
58584         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
58585         Export.
58587 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
58589         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
58590         round counter.
58591         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58593 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58595         [BZ #12597]
58596         * string/test-strncmp.c (do_page_test): New function.
58597         (check2): Likewise.
58598         (test_main): Call check2.
58599         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
58601 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
58603         [BZ #12587]
58604         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
58605         Handle cache information in CPU leaf 4.
58606         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58608 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
58610         [BZ #12583]
58611         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
58612         character representation.
58613         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
58615 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
58617         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
58618         END(__isnan) to END(__isnanf) to match function entry point/label
58619         EALIGN(__isnanf,...).
58621 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
58623         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
58625 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
58627         [BZ #12510]
58628         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
58629         copy from the symbol referenced in the relocation to initialize the
58630         used variable.
58631         Patch by Piotr Bury <pbury@goahead.com>.
58632         * elf/Makefile: Add rules to build and tst-unique3.
58633         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
58634         * elf/tst-unique3.cc: New file.
58635         * elf/tst-unique3.h: New file.
58636         * elf/tst-unique3lib.cc: New file.
58637         * elf/tst-unique3lib2.cc: New file.
58639         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
58641 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
58643         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
58644         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
58645         to _start.
58647 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
58649         * elf/dl-load.c (_dl_map_object): If we are looking for the first
58650         to-be-loaded object along a path to loader is ld.so.
58652 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
58653             Ulrich Drepper  <drepper@gmail.com>
58655         * sysdeps/x86_64/memset.S: After aligning destination, code
58656         branches to different locations depending on the value of
58657         misalignment, when multiarch is enabled. Fix this.
58659 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
58661         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
58662         Set _x86_64_preferred_memory_instruction for AMD processsors.
58663         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58664         Set bit_Prefer_SSE_for_memop for AMD processors.
58666 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
58668         * libio/fmemopen.c (fmemopen): Optimize a bit.
58670 2011-03-03  Andreas Schwab  <schwab@redhat.com>
58672         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
58674 2011-03-03  Roland McGrath  <roland@redhat.com>
58676         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
58678 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
58680         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
58681         __bzero_ultra1 instead of __memset_ultra1.
58683 2011-02-23  Andreas Schwab  <schwab@redhat.com>
58684             Ulrich Drepper  <drepper@gmail.com>
58686         [BZ #12509]
58687         * include/link.h (struct link_map): Add l_orig_initfini.
58688         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
58689         returning unsuccessfully.
58690         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
58691         close of a file loaded at startup, restore the original l_initfini
58692         list.
58693         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
58694         list, store the pointer.
58695         * elf/Makefile ($(objpfx)noload-mem): New rule.
58696         (noload-ENV): Define.
58697         (tests): Add $(objpfx)noload-mem.
58698         * elf/noload.c: Include <memcheck.h>.
58699         (main): Call mtrace.  Close all opened handles.
58701 2011-02-17  Andreas Schwab  <schwab@redhat.com>
58703         [BZ #12454]
58704         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
58705         dependencies are missing.
58707 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58709         Fix __if_freereq crash: Unlike the generic version which uses free,
58710         Hurd needs munmap.
58711         * sysdeps/mach/hurd/ifreq.h: New file.
58713 2011-01-27  Petr Baudis  <pasky@suse.cz>
58714             Ulrich Drepper  <drepper@gmail.com>
58716         [BZ 12445]#
58717         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
58718         to extend_alloca().
58719         * stdio-common/bug23.c: New file.
58720         * stdio-common/Makefile (tests): Add bug23.
58722 2010-09-28  Andreas Schwab  <schwab@redhat.com>
58723             Ulrich Drepper  <drepper@gmail.com>
58725         [BZ #12489]
58726         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
58727         before performing relro protection.  At old place add assertion
58728         to make sure nothing changed.
58730 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
58731             Glauber de Oliveira Costa  <glommer@gmail.com>
58733         * elf/elf.h: Add new ARM TLS relocs.
58735 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
58737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
58738         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
58739         cast from r3.
58740         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
58741         'tests' variable.
58742         * sysdeps/wordsize-64/tst-writev.c: New file.
58744 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
58746         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
58747         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
58748         insns in _dl_start to prevent a TOC reference before relocs are
58749         resolved.
58751 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
58753         [BZ #12469]
58754         * Makeconfig: Remove RANLIB definition.
58755         * Makerules: Don't use RANLIB.
58756         * aclocal.m4: Remove ranlib test.
58757         * configure.in: No need to check for ranlib.
58758         * elf/rtld-Rules: Don't use RANLIB.
58760 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58762         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
58763         protection macro.
58764         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
58765         inclusion protection macro.
58767         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
58768         SIGRTMIN and SIGRTMAX and print information in that case only when
58769         SIGRTMIN is defined.
58771 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
58773         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
58774         arginfo fn returning -1.
58776         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
58777         and thousands string is zero terminated.
58779 2011-02-03  Andreas Schwab  <schwab@redhat.com>
58781         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
58782         sysdeps/unix/sysv/linux/bits/socket.h.
58784 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58786         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
58787         (__CPU_COUNT): Remove old macros.
58788         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
58789         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
58790         (__CPU_ALLOC, __CPU_FREE): Add macros.
58791         (__sched_cpualloc, __sched_cpufree): Add declarations.
58793 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
58795         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
58796         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
58797         * nscd/aicache.c (addhstaiX): Return timeout of added value.
58798         (readdhstai): Return value of addhstaiX call.
58799         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
58800         (addgrbyX): Return value returned by cache_addgr.
58801         (readdgrbyname): Return value returned by addgrbyX.
58802         (readdgrbygid): Likewise.
58803         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
58804         (addpwbyX): Return value returned by cache_addpw.
58805         (readdpwbyname): Return value returned by addhstbyX.
58806         (readdpwbyuid): Likewise.
58807         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
58808         (addservbyX): Return value returned by cache_addserv.
58809         (readdservbyname): Return value returned by addservbyX:
58810         (readdservbyport): Likewise.
58811         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
58812         (addhstbyX): Return value returned by cache_addhst.
58813         (readdhstbyname): Return value returned by addhstbyX.
58814         (readdhstbyaddr): Likewise.
58815         (readdhstbynamev6): Likewise.
58816         (readdhstbyaddrv6): Likewise.
58817         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
58818         (readdinitgroups): Return value returned by addinitgroupsX.
58819         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
58820         (prune_cache): Keep track of timeout value of re-added entries.
58821         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
58822         * nscd/nscd.h: Adjust prototypes of readd* functions.
58824 2011-02-04  Roland McGrath  <roland@redhat.com>
58826         * nis/nis_server.c (nis_servstate): Use the right name for 0.
58827         (nis_stats): Likewise.
58828         * nis/nis_modify.c (nis_modify): Likewise.
58829         * nis/nis_remove.c (nis_remove): Likewise.
58830         * nis/nis_add.c (nis_add): Likewise.
58832         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
58834         * posix/fnmatch_loop.c: Add some consts.
58836         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
58838 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
58840         [BZ #12460]
58841         * config.make.in (config-cflags-novzeroupper): Define.
58842         * configure.in: Substitute libc_cv_cc_novzeroupper.
58843         * elf/Makefile (AVX-CFLAGS): Define.
58844         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
58845         (CFLAGS-tst-auditmod4a.c): Likewise.
58846         (CFLAGS-tst-auditmod4b.c): Likewise.
58847         (CFLAGS-tst-auditmod6b.c): Likewise.
58848         (CFLAGS-tst-auditmod6c.c): Likewise.
58849         (CFLAGS-tst-auditmod7b.c): Likewise.
58850         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
58852 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
58854         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
58855         function to the callback.
58856         Patch partly by Jiri Olsa <jolsa@redhat.com>.
58858 2011-02-02  Andreas Schwab  <schwab@redhat.com>
58860         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
58861         of errno.
58863 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
58865         [BZ #11724]
58866         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
58867         of constructors.
58868         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
58869         of destructors.
58870         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
58872         [BZ #11724]
58873         * elf/Makefile: Add rules to build and run new test.
58874         * elf/tst-initorder.c: New file.
58875         * elf/tst-initorder.exp: New file.
58876         * elf/tst-initordera1.c: New file.
58877         * elf/tst-initordera2.c: New file.
58878         * elf/tst-initordera3.c: New file.
58879         * elf/tst-initordera4.c: New file.
58880         * elf/tst-initorderb1.c: New file.
58881         * elf/tst-initorderb2.c: New file.
58882         * elf/tst-order-a1.c: New file.
58883         * elf/tst-order-a2.c: New file.
58884         * elf/tst-order-a3.c: New file.
58885         * elf/tst-order-a4.c: New file.
58886         * elf/tst-order-b1.c: New file.
58887         * elf/tst-order-b2.c: New file.
58888         * elf/tst-order-main.c: New file.
58889         New test case by George Gensure <werkt0@gmail.com>.
58891 2010-10-01  Andreas Schwab  <schwab@redhat.com>
58893         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58894         decoding ACE if AI_CANONIDN.
58896 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
58898         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
58900 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
58902         * version.h (RELEASE): Bump for 2.13 release.
58903         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
58905         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
58907         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
58908         MADV_NOHUGEPAGE.
58909         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
58910         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58911         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58912         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
58913         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58914         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58916         * posix/getconf.c: Update copyright year.
58917         * catgets/gencat.c: Likewise.
58918         * csu/version.c: Likewise.
58919         * debug/catchsegv.sh: Likewise.
58920         * debug/xtrace.sh: Likewise.
58921         * elf/ldconfig.c: Likewise.
58922         * elf/ldd.bash.in: Likewise.
58923         * elf/sprof.c (print_version): Likewise.
58924         * iconv/iconv_prog.c: Likewise.
58925         * iconv/iconvconfig.c: Likewise.
58926         * locale/programs/locale.c: Likewise.
58927         * locale/programs/localedef.c: Likewise.
58928         * malloc/memusage.sh: Likewise.
58929         * malloc/mtrace.pl: Likewise.
58930         * nscd/nscd.c (print_version): Likewise.
58931         * nss/getent.c: Likewise.
58933         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
58934         PF_CAIF, and PF_ALG.
58935         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58937 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
58939         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
58940         (modules-names): Use them.
58941         (ifunc-test-modules, ifunc-pie-tests): Define.
58942         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
58943         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
58944         (test-extras): Likewise.
58945         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
58946         $(compile-command.c).
58947         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
58948         (all-built-dso): Define.
58949         (check-textrel.out, check-execstack.out): Depend on it.
58951         * configure.in: Don't override --enable-multi-arch.
58953 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
58955         [BZ #6812]
58956         * nscd/hstcache.c (tryagain): Define.
58957         (cache_addhst): Return tryagain not notfound for temporary errors.
58958         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
58959         failed.
58961 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
58963         [BZ #10563]
58964         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
58965         to make the syscall.
58966         * sysdeps/unix/sysv/linux/setgroups.c: New file.
58968         [BZ #12378]
58969         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
58970         and fall back to matching as normal character if the string ends before
58971         the matching ']' is found.  This is what POSIX requires.
58972         * posix/testfnm.c: Adjust test result.
58973         * posix/globtest.sh: Adjust test result.  Add new test.
58974         * posix/tst-fnmatch.input: Likewise.
58975         * posix/tst-fnmatch2.c: Add new test.
58977 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
58979         * elf/Makefile (check-execstack): Revert last change.  Depend on
58980         check-execstack.h.
58981         (check-execstack.h): New target.
58982         (generated): Add check-execstack.h.
58983         * elf/check-execstack.c: Include "check-execstack.h".
58984         (main): Revert last change.
58985         (handle_file): Return zero if GNU_STACK is absent and
58986         DEFAULT_STACK_PERMS doesn't include PF_X.
58988 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
58990         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
58991         in child fails because the descriptor is already closed.
58992         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
58993         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
58994         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
58996         [BZ #12397]
58997         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
58998         syscall.
59000         [BZ #10484]
59001         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
59002         temporary buffer used to handle multi lookups locally.
59003         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
59005 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
59007         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
59008         loader is ld.so.
59010 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
59012         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
59013         alignment for SSE2.
59015 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
59017         [BZ #12394]
59018         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
59019         characters.  When rounding increased number of integer digits recompute
59020         number of groups.
59021         * stdio-common/tst-grouping.c: New file.
59022         * stdio-common/Makefile: Add rules to build and run tst-grouping.
59024 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
59026         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
59027         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
59029         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
59030         void.
59031         * bits/select.h: Likewise.
59033 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
59035         * po/ja.po: Update from translation team.
59037 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
59039         [BZ #11155]
59040         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
59041         implementation just like for lxstat, fxstatat, et al.
59043 2010-12-27  Jim Meyering  <meyering@redhat.com>
59045         [BZ #12348]
59046         * posix/regexec.c (build_trtable): Return failure indication upon
59047         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
59049 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
59051         [BZ #12201]
59052         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
59053         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
59054         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
59055         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
59057         [BZ #12207]
59058         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
59060         [BZ #12204]
59061         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
59062         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
59064 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
59066         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
59067         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
59068         script has SORT_BY_INIT_PRIORITY.
59069         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
59070         NO_CTORS_DTORS_SECTIONS is defined.
59071         * elf/soinit.c: Likewise.
59072         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
59073         NO_CTORS_DTORS_SECTIONS is defined.
59074         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
59075         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
59076         * sysdeps/sh/init-first.c: Likewise.
59077         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
59079 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
59081         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
59082         always use the slow path.
59084 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
59086         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
59087         similar rule which adds the sysdep directories to the header search in
59088         order to pick up the correct platform stackinfo.h.
59089         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
59090         perform test if it is, otherwise return successfully without testing.
59091         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
59092         DEFAULT_STACK_PERMS define in stackinfo.h.
59093         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
59094         defined in stackinfo.h.
59095         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
59096         DEFAULT_STACK_PERMS defined in stackinfo.h.
59097         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
59098         * sysdeps/ia64/stackinfo.h: Likewise.
59099         * sysdeps/s390/stackinfo.h: Likewise.
59100         * sysdeps/sh/stackinfo.h: Likewise.
59101         * sysdeps/sparc/stackinfo.h: Likewise.
59102         * sysdeps/x86_64/stackinfo.h: Likewise.
59103         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
59104         PF_X for powerpc64.  Retain PF_X for powerpc32.
59106 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
59108         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
59109         accurately.
59110         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
59111         GETDENTS_64BIT_ALIGNED.
59113 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
59115         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
59117 2010-12-10  Andreas Schwab  <schwab@redhat.com>
59119         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
59120         _GNU_SOURCE.
59122         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
59123         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
59124         Remove __restrict.
59125         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
59126         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
59128 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
59130         [BZ #11655]
59131         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
59132         are initialized.
59134 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
59136         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
59138 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
59140         * po/it.po: Update from translation team.
59142 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
59144         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
59145         unused codes.
59147 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
59149         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
59151 2010-11-24  Andreas Schwab  <schwab@redhat.com>
59153         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
59154         specially.
59155         (gaih_getanswer_slice): Likewise.
59157 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
59159         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
59161 2010-05-31  Petr Baudis  <pasky@suse.cz>
59163         [BZ #11149]
59164         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
59165         silently even in the chroot mode.
59167 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
59169         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
59170         last patch a bit.  Pretty printing
59172 2010-05-31  Petr Baudis <pasky@suse.cz>
59174         [BZ #10085]
59175         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
59176         initialization of skip_initgroups_dyn.
59178 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
59180         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
59181         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59183 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
59185         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
59187 2010-11-11  Andreas Schwab  <schwab@redhat.com>
59189         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
59190         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
59191         (tst-fnmatch-ENV): Set MALLOC_TRACE.
59192         ($(objpfx)tst-fnmatch-mem): New rule.
59193         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
59194         * posix/tst-fnmatch.c (main): Call mtrace.
59196 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
59198         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59199         Support Intel processor model 6 and model 0x2c.
59201 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
59203         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
59204           signed comparison.
59206 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
59208         [BZ #12205]
59209         * string/test-strncasecmp.c (check_result): New function.
59210         (do_one_test): Use it.
59211         (check1): New function.
59212         (test_main): Use it.
59213         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
59214         Support strcasecmp and strncasecmp.
59216 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
59218         [BZ #12194]
59219         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
59220         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59222 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
59224         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
59225         IFUNC support.
59226         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59227         memset-x86-64.
59228         * sysdeps/x86_64/multiarch/bzero.S: New file.
59229         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
59230         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
59231         * sysdeps/x86_64/multiarch/memset.S: New file.
59232         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
59233         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59234         Set bit_Prefer_SSE_for_memop for Intel processors.
59235         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
59236         Define.
59237         (index_Prefer_SSE_for_memop): Define.
59238         (HAS_PREFER_SSE_FOR_MEMOP): Define.
59240 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
59242         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
59243         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
59245 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
59247         [BZ #12191]
59248         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59249         (__x86_64_raw_data_cache_size_half): Likewise.
59250         (__x86_64_raw_shared_cache_size): Likewise.
59251         (__x86_64_raw_shared_cache_size_half): Likewise.
59253         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59254         (__x86_64_raw_data_cache_size_half): Likewise.
59255         (__x86_64_raw_shared_cache_size): Likewise.
59256         (__x86_64_raw_shared_cache_size_half): Likewise.
59257         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
59258         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
59259         and __x86_64_raw_shared_cache_size_half.  Round
59260         __x86_64_data_cache_size_half, __x86_64_data_cache_size
59261         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
59262         to multiple of 256 bytes.
59264 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
59266         [BZ #12167]
59267         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
59268         of inacessible symlinks.  Verify result of symlink before returning it.
59269         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
59270         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
59272 2010-10-28  Erich Ritz  <erichritz@gmail.com>
59274         * math/math.h (isinf): Fix typo in comment.
59276 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
59278         * po/da.po: Update from translation team.
59280 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
59282         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
59283         is added to the list.
59285 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59286             Ulrich Drepper  <drepper@gmail.com>
59288         * elf/dl-object.c (_dl_new_object): Don't append the new object to
59289         the global list here.  Move code to...
59290         (_dl_add_to_namespace_list): ...here.  New function.
59291         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
59292         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
59293         * elf/dl-load.c (lose): Don't remove the element from the list.
59294         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
59295         (_dl_map_object): Likewise.
59297 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
59299         [BZ #12159]
59300         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
59301         into all bytes of SSE register.
59302         Patch by Richard Li <richardpku@gmail.com>.
59304 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
59306         [BZ #12140]
59307         * malloc/malloc.c (_int_free): Fill correct number of bytes when
59308         perturbing.
59310 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
59312         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
59313         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
59314         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
59315         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
59317         submachine.
59318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
59320 2010-10-22  Andreas Schwab  <schwab@redhat.com>
59322         * include/dlfcn.h (__RTLD_SECURE): Define.
59323         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
59324         mode & __RTLD_SECURE instead.
59325         (open_path): Rename preloaded parameter to secure.
59326         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
59327         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
59328         * elf/dl-deps.c (openaux): Likewise.
59329         * elf/rtld.c (struct map_args): Remove is_preloaded.
59330         (map_doit): Don't use it.
59331         (dl_main): Likewise.
59332         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
59333         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
59335 2010-09-09  Andreas Schwab  <schwab@redhat.com>
59337         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
59338         (sysd-rules-targets): Remove duplicates.
59339         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
59340         rtld-%.$o dependency.
59342 2010-10-18  Andreas Schwab  <schwab@redhat.com>
59344         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
59345         _dl_map_object do it.
59347 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
59349         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
59350         fast fma builtins, define the macros in the C99 standard.
59351         (FP_FAST_FMAF): Likewise.
59352         (FP_FAST_FMAL): Likewise.
59353         * sysdeps/x86_64/bits/mathdef.h: Likewise.
59355         * bits/mathdef.h: Update copyright year.
59356         * sysdeps/powerpc/bits/mathdef.h: Likewise.
59358 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
59360         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
59361         builtins, define the macros in the C99 standard.
59362         (FP_FAST_FMAF): Likewise.
59363         (FP_FAST_FMAL): Likewise.
59364         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
59365         multiply/add.
59366         (FP_FAST_FMAF): Likewise.
59368 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
59370         [BZ #3268]
59371         * math/libm-test.inc (fma_test): Some new testcases.
59372         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
59373         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
59374         y and infinite z.  Do multiplication by C already in long double.
59375         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
59376         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
59377         y and infinite z.  Do bitwise or of inexact bit into u.d.
59378         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
59379         * sysdeps/i386/fpu/s_fmaf.S: Removed.
59380         * sysdeps/i386/fpu/s_fma.S: Removed.
59381         * sysdeps/i386/fpu/s_fmal.S: Removed.
59383 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
59385         [BZ #3268]
59386         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
59387         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
59388         computation is not scheduled after fetestexcept.  Fix value
59389         of minimum denormal long double.
59391 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
59393         [BZ #3268]
59394         * math/libm-test.inc (fma_test): Add some more tests.
59395         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
59396         correctly.
59398 2010-10-15  Andreas Schwab  <schwab@redhat.com>
59400         * scripts/data/localplt-s390-linux-gnu.data: New file.
59401         * scripts/data/localplt-s390x-linux-gnu.data: New file.
59403 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
59405         [BZ #3268]
59406         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
59407         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
59408         instead of dbl-64.
59409         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
59410         inlines.
59411         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
59412         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
59413         if one of x and y is very large and the other is subnormal.
59414         * sysdeps/s390/fpu/s_fmaf.c: New file.
59415         * sysdeps/s390/fpu/s_fma.c: New file.
59416         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
59417         * sysdeps/powerpc/fpu/s_fma.S: New file.
59418         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
59419         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
59420         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
59422 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
59424         [BZ #3268]
59425         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
59426         fma tests.
59427         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
59428         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
59429         * sysdeps/i386/i686/multiarch/s_fma.c: Include
59430         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
59431         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
59432         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
59433         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
59435 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
59437         [BZ #12078]
59438         * posix/regcomp.c (parse_branch): One more memory leak plugged.
59439         * posix/bug-regex31.input: Add test case.
59441 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
59443         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
59444         * posix/bug-regex31.input: New file.
59446         [BZ #12078]
59447         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
59448         (parse_sub_exp): Fix last change, use postorder.
59450         * posix/bug-regex31.c: New file.
59451         * posix/Makefile: Add rules to build and run bug-regex31.
59453         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
59455         [BZ #12078]
59456         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
59458         [BZ #12108]
59459         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
59460         to have entries in sys_siglist.
59462         [BZ #12093]
59463         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
59464         be NULL.
59466 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
59468         [BZ #3268]
59469         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
59470         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
59471         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
59472         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
59473         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59474         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
59475         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
59476         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
59477         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
59478         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
59479         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
59480         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
59481         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
59482         * math/ftestexcept.c (fetestexcept): Likewise.
59483         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
59484         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
59485         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
59486         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
59487         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
59488         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
59489         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59491 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
59493         [BZ #12107]
59494         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
59495         newline.
59497 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
59499         * string/bug-strstr1.c: New file.
59500         * string/Makefile: Add rules to build and run bug-strstr1.
59502 2010-10-05  Eric Blake  <eblake@redhat.com>
59504         [BZ #12092]
59505         * string/str-two-way.h (two_way_long_needle): Always clear memory
59506         when skipping input due to the shift table.
59508 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
59510         [BZ #12005]
59511         * malloc/mcheck.c: Handle large requests.
59513         [BZ #12077]
59514         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
59515         for strncmp and strncasecmp.
59516         * string/stratcliff.c: Add tests for strcmp and strncmp.
59517         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
59519 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59521         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
59522         __set_fpscr.
59524 2010-09-30  Andreas Jaeger  <aj@suse.de>
59526         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
59527         (CGROUP_SUPER_MAGIC): Define.
59528         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59529         Handle btrfs and cgroup file systems.
59530         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59531         Likewise.
59533 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
59535         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
59536         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
59538 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59540         [BZ #12067]
59541         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
59542         trying to locate the ELF header.
59544 2010-09-27  Andreas Schwab  <schwab@redhat.com>
59546         [BZ #11611]
59547         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
59548         Mask out sign-bit copies when constructing f_fsid.
59550 2010-09-24  Petr Baudis <pasky@suse.cz>
59552         * debug/stack_chk_fail_local.c: Add missing licence exception.
59553         * debug/warning-nop.c: Likewise.
59555 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
59557         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
59558         implementing getdents64 using getdents syscall, set d_type if
59559         __ASSUME_GETDENTS32_D_TYPE.
59561 2010-09-16  Andreas Schwab  <schwab@redhat.com>
59563         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
59564         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
59566 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
59568         [BZ #12037]
59569         * posix/unistd.h: Undo change of feature selection for ftruncate from
59570         2010-01-11.
59572 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
59574         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
59575         detection.
59577 2010-09-20  Andreas Schwab  <schwab@redhat.com>
59579         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
59580         fanotify_mark.
59581         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59583 2010-09-14  Andreas Schwab  <schwab@redhat.com>
59585         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
59586         variables after CHECK_SP call.
59587         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
59589 2010-09-13  Andreas Schwab  <schwab@redhat.com>
59590             Ulrich Drepper  <drepper@redhat.com>
59592         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
59593         re-relocationg ld.so.
59594         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
59595         _dl_init_paths call.
59596         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
59597         here anymore.
59599 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
59601         * resolv/res_init.c (__res_vinit): Count the default server we added.
59603 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
59604             Ulrich Drepper  <drepper@redhat.com>
59606         [BZ #11968]
59607         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59608         (____longjmp_chk): Use %ebx for saving value across system call.
59609         Add unwind info.
59611 2010-09-06  Andreas Schwab  <schwab@redhat.com>
59613         * manual/Makefile: Don't mix pattern rules with normal rules.
59615 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
59617         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
59618         operation.
59619         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
59620         * libio/iofopncook.c (_IO_cookie_init): Likewise.
59621         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
59622         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
59623         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59624         Likewise.
59626 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
59628         [BZ #11979]
59629         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
59630         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
59632 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
59634         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
59635         * sysdeps/x86_64/addmul_1.S: Likewise.
59636         * sysdeps/x86_64/lshift.S: Likewise.
59637         * sysdeps/x86_64/mul_1.S: Likewise.
59638         * sysdeps/x86_64/rshift.S: Likewise.
59639         * sysdeps/x86_64/sub_n.S: Likewise.
59640         * sysdeps/x86_64/submul_1.S: Likewise.
59642 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59644         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
59645         Define __sched_param instead of SCHED_* and sched_param when
59646         <bits/sched.h> is included with __need_schedparam defined.
59647         * bits/sched.h [__need_schedparam]
59648         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
59649         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
59650         (__defined_schedparam): Define to 1.
59651         (__sched_param): New structure, identical to sched_param.
59652         (__need_schedparam): Undefine.
59654 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
59656         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
59657         (epoll_create1): Declare.
59659         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
59661 2010-08-31  Andreas Schwab  <schwab@redhat.com>
59663         [BZ #7066]
59664         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
59665         shifting retval into place.
59667 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
59669         * nis/rpcsvc/nis.h: Update copyright notice.
59670         * nis/rpcsvc/nis.x: Likewise.
59671         * nis/rpcsvc/nis_callback.h: Likewise.
59672         * nis/rpcsvc/nis_callback.x: Likewise.
59673         * nis/rpcsvc/nis_object.x: Likewise.
59674         * nis/rpcsvc/nis_tags.h: Likewise.
59675         * nis/rpcsvc/yp.h: Likewise.
59676         * nis/rpcsvc/yp.x: Likewise.
59677         * nis/rpcsvc/ypupd.h: Likewise.
59678         * nis/yp_xdr.c: Likewise.
59679         * nis/ypupdate_xdr.c: Likewise.
59681         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
59682         mainly the body of pmap_getport.  Add parameters to specify timeouts.
59683         (pmap_getport): Use __libc_rpc_getport.
59684         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
59685         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
59686         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
59688 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
59690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
59691         fanotify_mark.
59693 2010-08-27  Roland McGrath  <roland@redhat.com>
59695         * sysdeps/i386/i686/multiarch/Makefile
59696         (CFLAGS-varshift.c): New variable.
59698 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
59700         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
59701         * sysdeps/i386/i686/multiarch/varshift.c: New file.
59703         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
59705         * sysdeps/x86_64/strlen.S: Minimal code improvement.
59707 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
59709         * sysdeps/x86_64/strlen.S: Unroll the loop.
59710         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59711         strlen-sse2 strlen-sse2-bsf.
59712         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
59713         __strlen_no_bsf if bit_Slow_BSF is set.
59714         (__strlen_sse42): Removed.
59715         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
59716         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
59718 2010-08-25  Roland McGrath  <roland@redhat.com>
59720         * sysdeps/x86_64/multiarch/varshift.S: File removed.
59721         * sysdeps/x86_64/multiarch/varshift.c: New file.
59722         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
59723         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
59724         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
59725         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59727 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
59729         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59730         strlen-sse2 strlen-sse2-bsf.
59731         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
59732         __strlen_sse2_bsf if bit_Slow_BSF is unset.
59733         (__strlen_sse2): Removed.
59734         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
59735         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
59736         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
59737         bit_Slow_BSF for Atom.
59738         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
59739         (index_Slow_BSF): Define.
59740         (HAS_SLOW_BSF): Define.
59742 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
59744         [BZ #10851]
59745         * resolv/res_init.c (__res_vinit): When no server address at all
59746         is given default to loopback.
59748 2010-08-24  Roland McGrath  <roland@redhat.com>
59750         * configure.in: Remove config-name.h generation.
59751         * configure: Regenerated.
59752         * config-name.in: File removed.
59753         * scripts/config-uname.sh: New file.
59754         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
59755         ($(objdir)config-name.h): New target.
59757         * sunrpc/rpc_parse.h: Avoid nested comment.
59759 2010-08-24  Richard Henderson  <rth@redhat.com>
59760             Ulrich Drepper  <drepper@redhat.com>
59761             H.J. Lu  <hongjiu.lu@intel.com>
59763         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
59764         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
59765         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
59766         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
59767         _mm_alignr_epi8 with _mm_loadu_si128.
59768         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
59769         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
59770         (__m128i_shift_right): Removed.
59771         * sysdeps/i386/i686/multiarch/varshift.h: New file.
59772         * sysdeps/i386/i686/multiarch/varshift.S: New file.
59773         * sysdeps/x86_64/multiarch/varshift.h: New file.
59774         * sysdeps/x86_64/multiarch/varshift.S: New file.
59776 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
59778         * configure.in: Move assembler checks to before sysdep dir checking.
59780 2010-08-20  Petr Baudis  <pasky@suse.cz>
59782         * LICENSES: Sync the sunrpc license.
59784 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
59786         * sunrpc/auth_des.c: Update copyright notice once again.
59787         * sunrpc/auth_none.c: Likewise.
59788         * sunrpc/auth_unix.c: Likewise.
59789         * sunrpc/authdes_prot.c: Likewise.
59790         * sunrpc/authuxprot.c: Likewise.
59791         * sunrpc/bindrsvprt.c: Likewise.
59792         * sunrpc/clnt_gen.c: Likewise.
59793         * sunrpc/clnt_perr.c: Likewise.
59794         * sunrpc/clnt_raw.c: Likewise.
59795         * sunrpc/clnt_simp.c: Likewise.
59796         * sunrpc/clnt_tcp.c: Likewise.
59797         * sunrpc/clnt_udp.c: Likewise.
59798         * sunrpc/clnt_unix.c: Likewise.
59799         * sunrpc/des_crypt.c: Likewise.
59800         * sunrpc/des_soft.c: Likewise.
59801         * sunrpc/get_myaddr.c: Likewise.
59802         * sunrpc/getrpcport.c: Likewise.
59803         * sunrpc/key_call.c: Likewise.
59804         * sunrpc/key_prot.c: Likewise.
59805         * sunrpc/openchild.c: Likewise.
59806         * sunrpc/pm_getmaps.c: Likewise.
59807         * sunrpc/pm_getport.c: Likewise.
59808         * sunrpc/pmap_clnt.c: Likewise.
59809         * sunrpc/pmap_prot.c: Likewise.
59810         * sunrpc/pmap_prot2.c: Likewise.
59811         * sunrpc/pmap_rmt.c: Likewise.
59812         * sunrpc/rpc/auth.h: Likewise.
59813         * sunrpc/rpc/auth_unix.h: Likewise.
59814         * sunrpc/rpc/clnt.h: Likewise.
59815         * sunrpc/rpc/des_crypt.h: Likewise.
59816         * sunrpc/rpc/key_prot.h: Likewise.
59817         * sunrpc/rpc/netdb.h: Likewise.
59818         * sunrpc/rpc/pmap_clnt.h: Likewise.
59819         * sunrpc/rpc/pmap_prot.h: Likewise.
59820         * sunrpc/rpc/pmap_rmt.h: Likewise.
59821         * sunrpc/rpc/rpc.h: Likewise.
59822         * sunrpc/rpc/rpc_des.h: Likewise.
59823         * sunrpc/rpc/rpc_msg.h: Likewise.
59824         * sunrpc/rpc/svc.h: Likewise.
59825         * sunrpc/rpc/svc_auth.h: Likewise.
59826         * sunrpc/rpc/types.h: Likewise.
59827         * sunrpc/rpc/xdr.h: Likewise.
59828         * sunrpc/rpc_clntout.c: Likewise.
59829         * sunrpc/rpc_cmsg.c: Likewise.
59830         * sunrpc/rpc_common.c: Likewise.
59831         * sunrpc/rpc_cout.c: Likewise.
59832         * sunrpc/rpc_dtable.c: Likewise.
59833         * sunrpc/rpc_hout.c: Likewise.
59834         * sunrpc/rpc_main.c: Likewise.
59835         * sunrpc/rpc_parse.c: Likewise.
59836         * sunrpc/rpc_parse.h: Likewise.
59837         * sunrpc/rpc_prot.c: Likewise.
59838         * sunrpc/rpc_sample.c: Likewise.
59839         * sunrpc/rpc_scan.c: Likewise.
59840         * sunrpc/rpc_scan.h: Likewise.
59841         * sunrpc/rpc_svcout.c: Likewise.
59842         * sunrpc/rpc_tblout.c: Likewise.
59843         * sunrpc/rpc_util.c: Likewise.
59844         * sunrpc/rpc_util.h: Likewise.
59845         * sunrpc/rpcinfo.c: Likewise.
59846         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
59847         * sunrpc/rpcsvc/key_prot.x: Likewise.
59848         * sunrpc/rpcsvc/klm_prot.x: Likewise.
59849         * sunrpc/rpcsvc/mount.x: Likewise.
59850         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
59851         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
59852         * sunrpc/rpcsvc/rex.x: Likewise.
59853         * sunrpc/rpcsvc/rstat.x: Likewise.
59854         * sunrpc/rpcsvc/rusers.x: Likewise.
59855         * sunrpc/rpcsvc/sm_inter.x: Likewise.
59856         * sunrpc/rpcsvc/spray.x: Likewise.
59857         * sunrpc/rpcsvc/yppasswd.x: Likewise.
59858         * sunrpc/rtime.c: Likewise.
59859         * sunrpc/svc.c: Likewise.
59860         * sunrpc/svc_auth.c: Likewise.
59861         * sunrpc/svc_authux.c: Likewise.
59862         * sunrpc/svc_raw.c: Likewise.
59863         * sunrpc/svc_run.c: Likewise.
59864         * sunrpc/svc_simple.c: Likewise.
59865         * sunrpc/svc_tcp.c: Likewise.
59866         * sunrpc/svc_udp.c: Likewise.
59867         * sunrpc/svc_unix.c: Likewise.
59868         * sunrpc/svcauth_des.c: Likewise.
59869         * sunrpc/xcrypt.c: Likewise.
59870         * sunrpc/xdr.c: Likewise.
59871         * sunrpc/xdr_array.c: Likewise.
59872         * sunrpc/xdr_float.c: Likewise.
59873         * sunrpc/xdr_mem.c: Likewise.
59874         * sunrpc/xdr_rec.c: Likewise.
59875         * sunrpc/xdr_ref.c: Likewise.
59876         * sunrpc/xdr_sizeof.c: Likewise.
59877         * sunrpc/xdr_stdio.c: Likewise.
59879         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
59880         handling.
59882 2010-08-19  Andreas Schwab  <schwab@redhat.com>
59884         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
59886 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
59888         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
59889         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
59890         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
59891         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
59892         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
59893         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
59894         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
59895         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
59896         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
59897         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
59898         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
59899         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
59900         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
59901         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
59903 2010-07-26  Anton Blanchard  <anton@samba.org>
59905         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
59906         * malloc/arena.c (heap_trim): Likewise.
59908 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
59910         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
59911         here.  Not...
59912         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
59913         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
59915 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
59917         * sysdeps/i386/elf/Makefile: New file.
59919 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
59921         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
59922         from fanotify_init.
59923         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
59924         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59926 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
59928         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
59929         of strncasecmp_l.
59930         * sysdeps/multiarch/strcmp.S: Likewise.
59932 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
59934         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59935         strncase_l-nonascii.
59936         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59937         Add strncase_l-ssse3.
59938         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
59939         * sysdeps/x86_64/strcmp.S: Likewise.
59940         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
59941         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
59942         * sysdeps/x86_64/strncase.S: New file.
59943         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
59944         * sysdeps/x86_64/strncase_l.S: New file.
59945         * string/Makefile (strop-tests): Add strncasecmp.
59946         * string/test-strncasecmp.c: New file.
59948         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
59949         warning.
59951         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
59952         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
59954 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
59956         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
59958 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
59960         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
59961         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
59962         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
59964 2010-05-01  Alan Modra  <amodra@gmail.com>
59966         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
59967         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
59968         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
59969         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
59970         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
59971         tidying.  Don't tail-call __sigjmp_save for static lib.
59972         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
59973         save location.
59974         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
59975         (CALL_MCOUNT): Add eh info, and nop after bl.
59976         (TAIL_CALL_SYSCALL_ERROR): New macro.
59977         (PSEUDO_RET): Use it.
59978         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
59979         Correct save location of integer regs and cr.
59980         (_dl_profile_resolve): Correct cr save location.  Delete nops
59981         after bl when SHARED.  Reduce cfi size a little by better
59982         placement of cfi directives.
59983         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
59984         make a stack frame.  Instead use parm save area as a temp.
59985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
59986         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
59987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
59988         Don't make a stack frame for parent, use parm save area.
59989         Increase child stack frame to 112 bytes.  Don't save unused reg,
59990         and adjust reg usage.  Set up cfi on error recovery and
59991         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
59992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59993         (__makecontext): Add dummy nop after jump to exit.
59994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
59995         Use correct parm save area and cr save, reduce stack frame.
59996         Correct cfi for possible PSEUDO_RET frame setup.
59997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
59998         Branch to local label emitted by PSEUDO_RET rather than
59999         __syscall_error.
60001 2010-08-12  Andreas Schwab  <schwab@redhat.com>
60003         [BZ #11904]
60004         * locale/programs/locale.c (print_assignment): New function.
60005         (show_locale_vars): Use it.
60007 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
60009         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
60010         field.
60011         (struct statfs64): Likewise.
60012         (_STATFS_F_FLAGS): Define.
60013         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
60014         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60015         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
60016         (ST_VALID): Define locally.
60017         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
60018         __statvfs_getflags, use the provided value.
60019         * sysdeps/unix/sysv/linux/kernel-features.h: Define
60020         __ASSUME_STATFS_F_FLAGS.
60022         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
60024         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
60025         Add sys/fanotify.h.
60026         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
60027         fanotify_mask for GLIBC_2.13.
60028         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
60029         fanotify_init and fanotify_mark.
60030         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60031         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
60033         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
60034         Add prlimit.
60035         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
60036         prlimit64 for GLIBC_2.13.
60037         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
60038         prlimit64.
60039         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
60040         syscall.
60041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
60042         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60043         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
60044         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
60045         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
60046         add prlimit alias.
60047         * sysdeps/unix/sysv/linux/prlimit.c: New file.
60049         [BZ #11903]
60050         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
60051         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
60053         * nss/Makefile: Add rules to build and run tst-nss-test1.
60054         * shlib-versions: Add entry for libnss_test1.
60055         * nss/nss_test1.c: New file.
60056         * nss/tst-nss-test1.c: New file.
60058         * nss/nsswitch.c (__nss_database_custom): Define new variable.
60059         (__nss_configure_lookup): Set appropriate entry in
60060         __nss_configure_lookup to true.
60061         * nss/nsswitch.h: Define enum with indeces of databases in
60062         databases and __nss_database_custom arrays.  Declare
60063         __nss_database_custom.
60064         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
60065         to avoid using nscd when custom rules are installed.
60066         * nss/getXXbyYY_r.c: Likewise.
60067         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60069         * nss/nss_files/files-parse.c: Whitespace fixes.
60071 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
60073         [BZ #11883]
60074         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
60075         * posix/fnmatch_loop.c: Likewise.
60077 2010-07-17  Andi Kleen  <ak@linux.intel.com>
60079         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
60080         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
60081         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
60082         * Versions.def [GLIBC_2.13]: Add.
60084 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
60086         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60087         Also fail if tpwd after pwuid call is NULL.
60089 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60091         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
60092         when converting to ms.
60094 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60096         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
60097         EOPNOTSUPP errors with ENOTTY.
60098         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
60099         EOPNOTSUPP errors with ENOTTY.
60101 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
60103         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60104         Add strcasecmp_l-ssse3.
60105         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
60106         strcasecmp.
60107         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
60108         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
60109         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
60111 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
60113         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
60115         * string/Makefile (strop-tests): Add strcasecmp.
60116         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60117         strcasecmp_l-nonascii.
60118         (gen-as-const-headers): Add locale-defines.sym.
60119         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
60120         * sysdeps/x86_64/strcasecmp.S: New file.
60121         * sysdeps/x86_64/strcasecmp_l.S: New file.
60122         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
60123         * sysdeps/x86_64/locale-defines.sym: New file.
60124         * string/test-strcasecmp.c: New file.
60126         * string/test-strcasestr.c: Test both ends of the range of characters.
60127         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
60129 2010-07-29  Roland McGrath  <roland@redhat.com>
60131         [BZ #11856]
60132         * manual/locale.texi (Yes-or-No Questions): Fix example code.
60134 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
60136         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
60137         for ld.so.
60139 2010-07-27  Andreas Schwab  <schwab@redhat.com>
60141         * manual/memory.texi (Malloc Tunable Parameters): Document
60142         M_PERTURB.
60144 2010-07-26  Roland McGrath  <roland@redhat.com>
60146         [BZ #11840]
60147         * configure.in (-fgnu89-inline check): Set and substitute
60148         gnu89_inline, not libc_cv_gnu89_inline.
60149         * configure: Regenerated.
60150         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
60152 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
60154         * string/test-strnlen.c: New file.
60155         * string/Makefile (strop-tests): Add strnlen.
60156         * string/tester.c (test_strnlen): Add a few more test cases.
60157         * string/tst-strlen.c: Better error reporting.
60159         * sysdeps/x86_64/strnlen.S: New file.
60161 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
60163         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
60164         lower-latency instructions.
60166 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
60168         * string/test-strcasestr.c: New file.
60169         * string/test-strstr.c: New file.
60170         * string/Makefile (strop-tests): Add strstr and strcasestr.
60171         * string/str-two-way.h: Don't undefine MAX.
60172         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
60174 2010-07-21  Andreas Schwab  <schwab@redhat.com>
60176         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60177         strcasestr-nonascii.
60178         (CFLAGS-strcasestr-nonascii.c): Define.
60179         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
60180         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
60181         Remove unused attribute.
60183 2010-07-20  Roland McGrath  <roland@redhat.com>
60185         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
60186         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
60187         ld.so.cache was broken.  With it, there is no way to disable dsocaps
60188         like LD_HWCAP_MASK can disable hwcaps.
60190 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
60192         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
60194 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
60196         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
60197         call in strcasestr.
60198         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
60199         __strcasestr_sse42_nonascii.
60200         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
60201         strcasestr-nonascii.c.
60202         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
60204 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
60206         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
60207         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
60208         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
60209         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
60211 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
60213         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
60214         fcntl.
60216 2010-07-06  Andreas Schwab  <schwab@redhat.com>
60218         [BZ #11577]
60219         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
60220         dl_signal_cerror.
60222 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
60224         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
60225         _PC_PIPE_BUF using F_GETPIPE_SZ.
60227 2010-07-05  Roland McGrath  <roland@redhat.com>
60229         * manual/arith.texi (Rounding Functions): Fix rint description
60230         implicit in round description.
60232 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
60234         * elf/Makefile: Fix linking for a few tests to make recent linker
60235         happy.
60237 2010-06-30  Andreas Schwab  <schwab@redhat.com>
60239         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60240         $(common-objpfx)libc_nonshared.a.
60242 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
60244         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
60245         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
60246         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60247         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60248         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
60249         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
60250         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60251         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
60253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
60254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
60255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
60257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
60259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
60260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
60261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
60262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
60264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
60266         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
60267         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
60268         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
60269         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
60270         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
60271         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
60272         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
60273         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
60274         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
60275         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
60276         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
60277         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
60278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
60279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
60280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
60281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
60282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
60283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
60284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
60285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
60286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
60287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
60288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
60289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
60290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
60291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
60293 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
60295         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
60296         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
60297         * string/memmove.c (memmove): Renamed to ...
60298         (MEMMOVE): ...this.  Default to memmove.
60299         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
60300         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
60301         (END_CHK): Define.
60302         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60303         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
60304         mempcpy-ssse3-back memmove-ssse3-back.
60305         * sysdeps/x86_64/multiarch/bcopy.S: New file .
60306         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
60307         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
60308         * sysdeps/x86_64/multiarch/memcpy.S: New file.
60309         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
60310         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
60311         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
60312         * sysdeps/x86_64/multiarch/memmove.c: New file.
60313         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
60314         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
60315         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
60316         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
60317         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
60318         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
60319         Define.
60320         (index_Fast_Copy_Backward): Define.
60321         (HAS_ARCH_FEATURE): Define.
60322         (HAS_FAST_REP_STRING): Define.
60323         (HAS_FAST_COPY_BACKWARD): Define.
60325 2010-06-21  Andreas Schwab  <schwab@redhat.com>
60327         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60328         Restore proper fallback handling.
60330 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
60332         [BZ #11701]
60333         * posix/group_member.c (__group_member): Correct checking loop.
60335         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
60336         OOM in getpwuid_r correctly.  Return error number when the caller
60337         should return, otherwise -1.
60338         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
60339         call returning > 0 value.
60340         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
60342 2010-06-07  Andreas Schwab  <schwab@redhat.com>
60344         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
60345         libc_nonshared.a from targets in modules-names.
60347 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
60349         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
60350         requires it.
60352 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
60354         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
60355         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
60356         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
60357         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
60359 2010-06-02  Andreas Schwab  <schwab@redhat.com>
60361         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
60363 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
60365         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
60366         and F_GETPIPE_SZ.
60367         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60368         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60369         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60370         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60371         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60372         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
60374 2010-06-14  Roland McGrath  <roland@redhat.com>
60376         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
60378 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
60380         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
60381         __REDIRECT followed by __THROW.
60382         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
60383         * posix/getopt.h (getopt): Likewise.
60385 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
60387         * hurd/lookup-at.c (__file_name_lookup_at): Accept
60388         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
60389         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
60390         in AT_FLAGS.
60391         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
60392         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
60394 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
60396         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
60398 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
60400         [BZ #11640]
60401         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60402         Properly check family and model.
60404 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
60406         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
60408 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
60410         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
60412 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
60414         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
60415         symbol reference.
60417 2010-05-19  Andreas Schwab  <schwab@redhat.com>
60419         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
60420         symbol reference.
60422 2010-05-21  Andreas Schwab  <schwab@redhat.com>
60424         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
60425         and internal_recvmmsg.
60426         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
60427         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
60428         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
60429         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
60431         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
60432         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
60433         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
60435 2010-05-20  Andreas Schwab  <schwab@redhat.com>
60437         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
60439 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
60441         POWER7 optimizations.
60442         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
60443         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
60445 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
60447         * version.h: Update for 2.13 development version.
60449 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
60451         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
60452         exceptions.  Return 0.
60454 2010-05-07  Roland McGrath  <roland@redhat.com>
60456         * elf/ldconfig.c (main): Add a const.
60458 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
60460         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
60461         (args_options): Add no-idn option.
60462         (ahosts_keys_int): Add idn_flags to ai_flags.
60463         (parse_option): Handle 'i' option to clear idn_flags.
60465         * malloc/malloc.c (_int_free): Possible race in the most recently
60466         added check.  Only act on the data if no current modification
60467         happened.
60469 See ChangeLog.17 for earlier changes.