Fix grp.h endgrent, getgrent namespace (bug 18528).
[glibc.git] / ChangeLog
blobfa596163b381663563098baf3d7e09fbf40321ce
1 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #18528]
4         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
5         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
6         __USE_XOPEN2K8].
7         (getgrent): Likewise.
8         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
9         expect.
10         [XPG3 || POSIX2008] (endgrent): Likewise.
11         [XPG3] (setgrent): Likewise.
12         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
13         variable.
14         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
16         [BZ #18527]
17         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
18         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
19         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
20         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
21         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
22         * include/unistd.h (__getlogin_r): Declare.  Use
23         libc_hidden_proto.
24         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
25         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
26         variable.
27         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
29         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
31 2015-06-12  Martin Sebor  <msebor@redhat.com>
33         [BZ #18512]
34         * Makerules (check-install-supported): New target.
35         (install): Add check-install-supported as a dependency.
36         * manual/install.texi (Installing the C Library): Document
37         that overriding prefix and exec_prefix is not supported.
38         Mention DESTDIR.
39         * INSTALL: Regenerate from the above.
41 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
43         [BZ #18519]
44         * posix/Versions (libc): Export __libc_pread at version
45         GLIBC_PRIVATE.
46         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
47         instead of pread.
48         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
49         variable.
51         [BZ #18522]
52         * misc/efgcvt_r.c
53         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
54         (cvt_symbol): Use weak_alias instead of strong_alias.
55         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
56         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
57         Remove variable.
58         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
59         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
61         [BZ #18520]
62         * inet/herrno.c (h_errno): Rename to __h_errno.
63         (__libc_h_errno): Define as alias of __h_errno not h_errno.
64         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
65         to __h_errno instead of h_errno.
66         * nptl/herrno.c (h_errno): Rename to __h_errno.
67         (__h_errno_location): Refer to __h_errno not h_errno.
68         * resolv/Versions (h_errno): Rename to __h_errno.
69         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
70         Remove variable.
71         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
73 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
75         * configure.ac: More strict check for AVX512 assembler support.
76         * configure: Regenerated.
78         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
79         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
80         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
81         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
82         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
83         * sysdeps/x86_64/fpu/Versions: New versions added.
84         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
85         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
86         build of SSE, AVX2 and AVX512 IFUNC versions.
87         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
88         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
89         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
90         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
91         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
92         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
93         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
94         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
95         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
96         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
97         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
98         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
99         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin test.
100         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
101         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
102         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
103         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
104         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
105         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
106         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
107         * NEWS: Mention addition of x86_64 vector sin.
109 2015-06-11  Florian Weimer  <fweimer@redhat.com>
111         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
112         comment.
114 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
116         [BZ #18479]
117         * nptl/pt-interp.c: New file.
118         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
119         Add pt-interp.
120         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
121         $(common-objpfx)runtime-linker.h.
123 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
125         * Makeconfig (+interp): Remove unused variable.
126         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
127         only.  Depend on $(common-objpfx)runtime-linker.h instead of
128         $(elf-objpfx)runtime-linker.h.
129         ($(elf-objpfx)runtime-linker.h): Rename to
130         $(common-objpfx)runtime-linker.h and move ...
131         * Makerules [$(build-shared) = yes]: ... here.
132         * elf/interp.c: Include <runtime-linker.h> instead of
133         <elf/runtime-linker.h>.
135 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
137         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
138         (__gettimeofday_syscall): Remove vsyscall fallback.
139         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
140         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
141         Add syscall fallback function.
142         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
143         if vDSO is not present.
144         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
145         fallback function.
146         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
147         present.
148         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
149         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
151 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
153         [BZ #18497]
154         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
155         of wcscmp.
156         (wcscmp): Define as weak alias of WCSCMP.
157         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
158         wcscoll.
159         (USE_HIDDEN_DEF): Define.
160         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
161         __wcscoll.  Don't use libc_hidden_weak.
162         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
163         wcscmp.
164         * sysdeps/i386/i686/multiarch/wcscmp-c.c
165         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
166         __GI_wcscmp.
167         (weak_alias): Undefine and redefine.
168         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
169         __wcscmp and define as weak alias of __wcscmp.
170         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
171         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
172         (__wcscoll): Likewise.
173         (wcscmp): Don't use libc_hidden_proto.
174         (wcscoll): Likewise.
175         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
176         wcscoll.
177         * posix/regexec.c (check_node_accept_bytes): Likewise.
178         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
179         variable.
180         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
181         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
183         [BZ #18507]
184         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
185         __fstatvfs and define as weak alias of __fstatvfs.  Use
186         libc_hidden_weak.
187         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
188         and define as weak alias of __statvfs.  Use libc_hidden_weak.
189         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
190         Define as alias of __fstatvfs, not fstatvfs.
191         (fstatvfs64): Likewise.
192         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
193         Define as alias of __statvfs, not statvfs.
194         (statvfs64): Likewise.
195         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
196         Remove variable.
198 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
201         (HAVE_GETCPU_VSYSCALL): Define.
202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
203         (HAVE_GETCPU_VSYSCALL): Likewise.
204         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
205         * sysdeps/unix/sysv/linux/sched_getcpu.c
206         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
207         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
208         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
209         prototype.
210         * sysdeps/unix/sysv/linux/x86_64/init-first.c
211         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
212         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
213         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
214         Define.
215         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
216         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
217         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
218         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
220 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
222         * sysdeps/x86_64/fpu/Makefile: New file.
223         * sysdeps/x86_64/fpu/Versions: New file.
224         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
225         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
226         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
227         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
228         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
229         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
230         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
231         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
232         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
233         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
234         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
235         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
236         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
237         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
238         build of SSE, AVX2 and AVX512 IFUNC versions.
239         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
240         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
241         * sysdeps/x86_64/configure.ac: Options for libmvec build.
242         * sysdeps/x86_64/configure: Regenerated.
243         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
244         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
245         * manual/install.texi (Configuring and compiling): Document
246         --disable-mathvec.
247         * INSTALL: Regenerated.
248         * NEWS: Mention addition of libmvec and x86_64 vector cos.
250         * math/Makefile: Added rules for vector tests.
251         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
252         declaration under condition.
253         * math/test-double-vlen2.h: New file.
254         * math/test-double-vlen4.h: New file.
255         * math/test-double-vlen8.h: New file.
256         * math/test-vec-loop.h: Added initialization macro.
257         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
258         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
259         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
260         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
261         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
262         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
263         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
264         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
265         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
266         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
267         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
269         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
270         * sysdeps/x86_64/fpu/Versions: New versions added.
271         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
272         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
273         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
274         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
275         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
276         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
277         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
278         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
279         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
280         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
281         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
282         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
283         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
284         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
285         build of SSE, AVX2 and AVX512 IFUNC versions.
286         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
287         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
288         * NEWS: Mention addition of x86_64 vector cosf.
290         * math/Makefile: Added CFLAGS for new tests.
291         * math/test-float-vlen16.h: New file.
292         * math/test-float-vlen4.h: New file.
293         * math/test-float-vlen8.h: New file.
294         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
295         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
296         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
297         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
298         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
299         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
300         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
301         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
302         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
303         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
304         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
306 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
308         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
309         * locale/programs/ld-ctype.c: Likewise.
311 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
313         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
314         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
315         bit_ZMM16_31_state): New macro.
316         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
317         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
319 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
321         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
323 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
325         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
327 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
329         [BZ #18498]
330         * libio/memstream.c (open_memstream): Rename to __open_memstream
331         and define as weak alias of __open_memstream.
332         * include/stdio.h (__open_memstream): Declare.  Use
333         libc_hidden_proto.
334         (open_memstream): Don't use libc_hidden_proto.
335         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
336         open_memstream.
337         * posix/getopt.c (_getopt_internal_r): Likewise.
338         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
339         variable.
340         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
341         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
342         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
344         [BZ #18496]
345         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
346         instead of wcrtomb.
348         [BZ #18483]
349         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
350         [__USE_XOPEN2K8].  Remove redundant #endif.
351         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
352         Remove redundant #if.
353         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
354         Remove variable.
355         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
356         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
358         [BZ #18495]
359         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
360         (__iswlower): Likewise.
361         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
362         (__iswlower): Likewise.
363         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
364         instead of towlower.
365         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
366         instead of iswlower.  Call __towupper instead of towupper.
367         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
368         instead of iswalnum.
370 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
372         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
373         errors to stderr.
375 2015-06-05  Florian Weimer  <fweimer@redhat.com>
377         [BZ #15661]
378         [BZ #17322]
379         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
380         Check for overflow properly.  Check for O_APPEND.  Ignore large
381         file system block sizes.  Add comments about problems.
382         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
383         * manual/filesys.texi (Storage Allocation): New node.
385 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
387         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
388         cancellable syscalls.
389         (SYS_ify): Add guard to no redefine it.
390         (INLINE_SYSCALL): Likewise.
391         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
392         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
393         SYSCALL_CANCEL instead.
394         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
395         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
396         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
397         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
398         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
399         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
400         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
401         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
402         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
403         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
404         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
405         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
406         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
407         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
408         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
409         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
410         Likewise.
411         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
412         (__libc_pread64): Likewise.
413         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
414         (__libc_preadv): Likewise.
415         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
416         (__libc_readv64): Likewise.
417         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
418         (__libc_pwrite): Likewise.
419         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
420         (__libc_pwrite64): Likewise.
421         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
422         (__libc_pwritev): Likewise.
423         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
424         (__libc_pwritev64): Likewise.
425         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
426         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
427         (sync_file_range): Likewise.
428         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
429         Likewise.
430         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
431         Likewise.
432         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
433         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
434         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
435         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
436         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
437         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
438         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
439         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
441         Likewise.
442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
443         (__libc_read64): Likewise.
444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
445         Likewise.
446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
447         Likewise.
448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
449         Likewise.
450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
451         Likewise.
452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
453         (__libc_pread64): Likewise.
454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
455         Likewise.
456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
457         (__libc_pwrite64): Likewise.
458         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
459         (sync_file_range): Likewise.
460         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
461         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
462         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
463         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
464         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
465         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
466         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
467         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
468         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
469         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
470         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
471         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
472         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
473         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
474         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
475         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
476         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
477         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
478         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
479         Likewise.
480         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
481         Likewise.
482         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
483         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
484         Likewise.
485         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
486         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
487         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
488         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
489         Likewise.
490         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
491         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
492         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
493         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
494         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
496 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
498         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
499         Include dl-vdso.
500         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
501         Use VDSO routines for gettimeofday, clock_gettime if
502         available.
503         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
504         Declare VDSO symbols.
505         * sysdeps/unix/sysv/linux/arm/sysdep.h:
506         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
507         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
508         * sysdeps/unix/sysv/linux/arm/Versions: Add
509         __vdso_clock_gettime.
511 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
513         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
514         be an inline implementation regardless of library is built within.
515         (open_not_cancel_2): Likewise.
516         (__read_nocancel): Likewise.
517         (__write_nocancel): Likewise.
518         (openat_not_cancel): Likewise.
519         (openat_not_cancel_3): Likewise.
520         (openat64_not_cancel): Likewise.
521         (openat64_not_cancel_3): Likewise.
522         (__close_nocancel): Likewise.
523         (pause_not_cancel): Likewise.
524         (nanosleep_not_cancel): Likewise.
525         (sigsuspend_not_cancel): Likewise.
527 2015-06-04  Torvald Riegel  <triegel@redhat.com>
529         [BZ #14958]
530         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
531         wake-up.
532         (__pthread_rwlock_rdlock_slow): Likewise.
533         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
534         Likewise.
535         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
536         Likewise.
537         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
538         * nptl/tst-rwlock16.c: New file.
539         * nptl/Makefile (tests): Add new test.
541 2015-06-04  Torvald Riegel  <triegel@redhat.com>
543         [BZ #18324]
544         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
545         missing wake-up of readers.
546         * nptl/tst-rwlock15.c: New file.
547         * nptl/Makefile (tests): Add new test.
549 2015-06-03  Roland McGrath  <roland@hack.frob.com>
551         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
552         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
553         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
554         and __nacl_supply_interface_rtld.
555         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
556         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
557         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
558         Add __nacl_supply_interface_rtld.
559         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
561 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
563         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
564         isfinite.
565         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
566         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
568 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
570         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
571         __signbit* with standard C99 macros.
572         * math/e_exp10l.c: Likewise.
573         * math/e_exp2l.c: Likewise.
574         * math/e_scalb.c: Likewise.
575         * math/e_scalbf.c: Likewise.
576         * math/e_scalbl.c: Likewise.
577         * math/s_ldexp.c: Likewise.
578         * math/s_ldexpf.c: Likewise.
579         * math/s_ldexpl.c: Likewise.
580         * math/w_atan2.c: Likewise.
581         * math/w_atan2f.c: Likewise.
582         * math/w_atan2l.c: Likewise.
583         * math/w_cosh.c: Likewise.
584         * math/w_coshf.c: Likewise.
585         * math/w_coshl.c: Likewise.
586         * math/w_exp10.c: Likewise.
587         * math/w_exp10f.c: Likewise.
588         * math/w_exp10l.c: Likewise.
589         * math/w_exp2.c: Likewise.
590         * math/w_exp2f.c: Likewise.
591         * math/w_exp2l.c: Likewise.
592         * math/w_fmod.c: Likewise.
593         * math/w_fmodf.c: Likewise.
594         * math/w_fmodl.c: Likewise.
595         * math/w_hypot.c: Likewise.
596         * math/w_hypotf.c: Likewise.
597         * math/w_hypotl.c: Likewise.
598         * math/w_jnl.c: Likewise.
599         * math/w_lgamma.c: Likewise.
600         * math/w_lgamma_r.c: Likewise.
601         * math/w_lgammaf.c: Likewise.
602         * math/w_lgammaf_r.c: Likewise.
603         * math/w_lgammal.c: Likewise.
604         * math/w_lgammal_r.c: Likewise.
605         * math/w_pow.c: Likewise.
606         * math/w_powf.c: Likewise.
607         * math/w_powl.c: Likewise.
608         * math/w_remainder.c: Likewise.
609         * math/w_remainderf.c: Likewise.
610         * math/w_remainderl.c: Likewise.
611         * math/w_scalb.c: Likewise.
612         * math/w_scalbf.c: Likewise.
613         * math/w_scalbl.c: Likewise.
614         * math/w_scalbln.c: Likewise.
615         * math/w_scalblnf.c: Likewise.
616         * math/w_scalblnl.c: Likewise.
617         * math/w_sinh.c: Likewise.
618         * math/w_sinhf.c: Likewise.
619         * math/w_sinhl.c: Likewise.
620         * math/w_tgamma.c: Likewise.
621         * math/w_tgammaf.c: Likewise.
622         * math/w_tgammal.c: Likewise.
623         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
624         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
625         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
626         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
627         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
628         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
629         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
630         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
631         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
632         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
633         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
634         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
635         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
636         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
637         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
638         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
639         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
640         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
641         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
642         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
643         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
644         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
645         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
646         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
647         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
648         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
649         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
650         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
651         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
652         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
653         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
654         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
655         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
656         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
657         * stdio-common/printf_fp.c: Likewise.
658         * stdio-common/printf_fphex.c: Likewise.
659         * stdio-common/printf_size.c: Likewise.
661 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
663         [BZ #18470]
664         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
665         strnlen.
666         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
667         Remove variable.
668         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
669         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
670         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
671         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
672         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
673         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
674         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
675         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
676         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
677         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
679         [BZ #18468]
680         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
681         weak alias of __wmemchr.  Use libc_hidden_weak.
682         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
683         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
684         instead of wmemchr.
686 2015-06-02  Roland McGrath  <roland@hack.frob.com>
688         [BZ #18383]
689         * elf/tst-tlsalign-extern.c: New file.
690         * elf/tst-tlsalign-extern-static.c: New file.
691         * elf/tst-tlsalign-vars.c: New file.
692         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
693         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
694         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
695         ($(objpfx)tst-tlsalign-extern-static): Likewise.
696         (test-xfail-tst-tlsalign-extern-static): New variable.
698 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
700         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
701         Use variable name _sc_err instead of err.
702         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
703         instead of ret.
704         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
705         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
706         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
707         (INLINE_SYSCALL): Likewise.
709         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
710         * include/string.h (__strnlen): Use libc_hidden_proto.
711         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
712         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
713         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
714         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
715         (libc_hidden_def): Undefine and redefine.
716         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
717         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
718         __GI_strnlen.
719         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
720         libc_hidden_def.
721         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
723         [BZ #18469]
724         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
725         weak alias of __towlower.  Use libc_hidden_weak.
726         (towupper): Rename to __towupper and define as weak alias of
727         __towupper.  Use libc_hidden_weak.
728         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
729         (__towupper): Likewise.
730         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
731         __towlower instead of towlower.
733 2015-06-02  Roland McGrath  <roland@hack.frob.com>
735         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
736         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
738 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
740         * sysdeps/aarch64/libm-test-ulps: Update.
742 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
744         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
745         Define.
746         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
747         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
748         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
749         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
750         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
751         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
752         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
754 2015-06-01  Martin Sebor  <msebor@redhat.com>
756         [BZ #18116]
757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
758         (__setcontext): Use extended four-operand version of mtsf whenever
759         possible.
760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
761         (__novec_swapcontext): Likewise.
763 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
765         * benchtests/scripts/compare_bench.py: New file.
766         * benchtests/scripts/import_bench.py (mean): New function.
767         (split_list): Likewise.
768         (do_for_all_timings): Likewise.
769         (compress_timings): Likewise.
771         * benchtests/scripts/import_bench.py: New file.
772         * benchtests/scripts/validate_benchout.py: Import import_bench
773         instead of jsonschema.
774         (validate_bench): Remove function.
775         (main): Use import_bench.
777 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
779         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
780         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
782 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
786 2015-05-28  Roland McGrath  <roland@hack.frob.com>
788         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
789         set THREAD_SELF->tid to a magic value and futex-wake it.
790         Pass its address to the thread_exit system call.
791         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
792         bit is clear.
793         * sysdeps/nacl/lowlevellock.h: New file.
794         * sysdeps/nacl/lll_timedwait_tid.c: New file.
796         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
797         Add TIMEOUT to current time, don't subtract it.
799 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
801         [BZ #18422]
802         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
803         ($(objpfx)tst-audit2.out): Also depend on
804         $(objpfx)tst-auditmod9b.so.
805         * elf/tst-audit2.c: Include <dlfcn.h>.
806         (calloc_called): New.
807         (calloc): Allow to be called more than once.
808         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
810 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
812         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
813         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
815 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
817         * stdlib/monetary.h: Fix comment.
819 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
821         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
822         Avoid using variables in #defines that might cause shadowing.
823         (INTERNAL_VSYSCALL_CALL): Likewise.
825 2015-05-26  Roland McGrath  <roland@hack.frob.com>
827         * sysdeps/nacl/lll_timedlock_wait.c: New file.
829         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
830         * nptl/lll_timedlock_wait.c: ... to this new file.
831         * nptl/Makefile (libpthread-routines): Add it.
832         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
833         * nptl/lll_timedwait_tid.c: ... to this new file.
834         * nptl/Makefile (libpthread-routines): Add it.
835         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
836         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
837         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
838         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
839         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
840         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
841         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
842         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
843         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
844         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
846 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
848         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
849         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
850         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
851         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
852         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
853         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
854         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
855         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
856         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
857         * sysdeps/unix/sysv/linux/tile/sysdep.h
858         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
859         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
860         using vDSO syscall macro.
862 2015-05-26  Andriy Rysin  <arysin@gmail.com>
864         [BZ #17293]
865         * uk_UA: Fix sorting order for Ukrainian locale
867 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
869         * stdlib/monetary.h: Fix comment.
871 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
873         [BZ #18234]
874         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
875         st_mtim and st_ctim members.
876         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
877         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
878         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
879         (struct stat64): Likewise.
880         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
881         (struct stat64): Likewise.
882         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
883         (struct stat64): Likewise.
885 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
887         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
888         Define and include sysdep-vdso.h.
889         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
890         Likewise.
891         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
892         Likewise.
893         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
894         Define with VDSO_SYMBOL and use PTR_MANGLE.
895         (__vdso_clock_gettime): Likewise.
896         (__vdso_clock_getres): Likewise.
897         (_libc_vdso_platform_setup): Likewise.
898         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
899         Likewise.
900         (_libc_vdso_platform_setup): Likewise.
901         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
902         Likewise.
903         (__vdso_clock_gettime): Likewise.
904         (__vdso_clock_getres): Likewise.
905         (__vdso_get_tbfreq): Likewise.
906         (__vdso_getcpu): Likewise.
907         (__vdso_time): Likewise.
908         (__vdso_sigtramp_rt64): Likewise.
909         (__vdso_signtramp32): Likewise.
910         (__vdso_sigtramp_rt32): Likewise.
911         (_libc_vdso_platform_setup): Likewise.
912         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
913         Likewise.
914         (__vdso_clock_gettime): Likewise.
915         (__vdso_clock_getres): Likewise.
916         (_libc_vdso_platform_setup): Likewise.
917         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
918         Likewise.
919         (__vdso_clock_gettime): Likewise.
920         (_libc_vdso_platform_setup): Likewise.
921         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
922         Likewise.
923         (__vdso_getcpu): Likewise.
924         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
925         Use VDSO_SYMBOL macro to define.
926         (__vdso_clock_gettime): Likewise.
927         (__vdso_clock_getres): Likewise.
928         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
929         Likewise.
930         (__vdso_clock_gettime): Likewise.
931         (__vdso_clock_getres): Likewise.
932         (__vdso_get_tbfreq): Likewise.
933         (__vdso_getcpu): Likewise.
934         (__vdso_time): Likewise.
935         (__vdso_sigtramp_rt64): Likewise.
936         (__vdso_signtramp32): Likewise.
937         (__vdso_sigtramp_rt32): Likewise.
938         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
939         Likewise.
940         (__vdso_clock_gettime): Likewise.
941         (__vdso_clock_getres): Likewise.
942         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
943         Likewise.
944         (__vdso_clock_gettime): Likewise.
945         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
946         Likewise.
947         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
948         macro.
949         (INTERNAL_VSYSCALL): Likewise.
950         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
951         Remove macro.
952         (INTERNAL_VSYSCALL): Likewise.
953         (INTERNAL_VSYSCALL_NCS): Likewise.
954         (INTERNAL_VSYSCALL_CALL): New macro.
955         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
956         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
957         Likewise.
958         (INTERNAL_VSYSCALL): Likewise.
959         (INTERNAL_VSYSCALL_NCS): Likewise.
960         (INTERNAL_VSYSCALL_CALL): New macro.
961         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
963         (INLINE_VSYSCALL): Remove macro.
964         (INTERNAL_VSYSCALL): Remove macro.
965         (INTERNAL_VSYSCALL_NCS): Remove macro.
966         (INTERNAL_VSYSCALL_CALL): New macro.
967         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
968         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
969         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
970         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
971         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
973         (INLINE_VSYSCALL): Remove macro.
974         (INTERNAL_VSYSCALL): Likewise.
975         (INTERNAL_VSYSCALL_NCS): Likewise.
976         (INTERNAL_VSYSCALL_CALL): New macro.
977         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
978         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
979         PTR_DEMANGLE on vDSO pointer.
980         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
981         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
982         macro.
983         (INTERNAL_SYSCALL): Likewise.
984         (INTERNAL_VSYSCALL_NCS): Remove macro.
985         (INTERNAL_VSYSCALL_CALL): New macro.
986         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
987         Remove macro.
988         (INTERNAL_VSYSCALL): Likewise.
989         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
990         sysdep-vdso.h instead of libc-vdso.h.
991         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
992         definition.
993         (INLINE_VSYSCALL): Likewise.
994         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
995         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
996         definition.
997         (INLINE_VSYSCALL): Likewise.
998         (INTERNAL_VSYSCALL): Likewise.
999         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1000         * sysdeps/unix/sysv/linux/timespec_get.c
1001         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1002         (timespec_get): Use ANSI prototype.
1003         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
1004         and definition for Linux.
1006 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
1008         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
1009         * include/libc-symbols.h: libmvec_hidden_* macro series added.
1011 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1013         [BZ #18410]
1014         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
1015         for missing DT_PLTRELSZ.
1017 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
1019         Remove obsolete aliases that broke 'locale -a'
1020         [BZ #18412]
1021         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
1022         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
1023         breaking some applications that use 'locale -a' output.
1024         Change the encoding of this file from Latin-1 to ASCII to avoid
1025         other potential problems with people grepping this file.
1027 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1029         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
1030         -fasynchronous-unwind-tables.
1031         (CFLAGS-sendto.c): Likewise.
1032         (CFLAGS-sendmsg.c): Likewise.
1033         (CFLAGS-connect.c): Likewise.
1034         (CFLAGS-recvmsg.c): Likewise.
1035         (CFLAGS-recvfrom.c): Likewise.
1036         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
1037         (SOCKETCALL): New macro: non-cancellable socketcall.
1038         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
1039         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
1040         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
1041         * sysdeps/unix/sysv/linux/accept.c: New file.
1042         * sysdeps/unix/sysv/linux/bind.c: Likewise.
1043         * sysdeps/unix/sysv/linux/connect.c: Likewise.
1044         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
1045         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
1046         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
1047         * sysdeps/unix/sysv/linux/listen.c: Likewise.
1048         * sysdeps/unix/sysv/linux/recv.c: Likewise.
1049         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
1050         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1051         * sysdeps/unix/sysv/linux/send.c: Likewise.
1052         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1053         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
1054         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
1055         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
1056         * sysdeps/unix/sysv/linux/socket.c: Likewise.
1057         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
1058         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
1059         prototype.
1060         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
1061         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1062         instead of __internal_xxx function.
1063         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
1064         prototype.
1065         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
1066         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1067         instead of __internal_xxx function.
1068         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
1069         prototype.
1070         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
1071         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1072         instead of __internal_xxx function.
1073         * sysdeps/unix/sysv/linux/accept.S: Remove file.
1074         * sysdeps/unix/sysv/linux/bind.S: Likewise.
1075         * sysdeps/unix/sysv/linux/connect.S: Likewise.
1076         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
1077         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
1078         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
1079         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
1080         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
1081         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
1082         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
1083         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
1084         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1085         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
1086         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
1087         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
1088         * sysdeps/unix/sysv/linux/listen.S: Likewise.
1089         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
1090         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
1091         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
1092         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
1093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
1094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
1095         * sysdeps/unix/sysv/linux/recv.S: Likewise.
1096         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1097         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1098         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
1099         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1100         * sysdeps/unix/sysv/linux/send.S: Likewise.
1101         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1102         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1103         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
1104         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
1105         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
1106         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
1107         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
1108         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
1109         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1110         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
1111         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
1112         socketcall is implemented in GLIBC.
1114 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
1116         * soft-fp/fmadf4.c: Include <libc-internal.h>.
1117         (__fma): Ignore uninitialized warnings around packing.
1118         * soft-fp/fmasf4.c: Include <libc-internal.h>.
1119         (__fmaf): Ignore uninitialized warnings around packing.
1120         * soft-fp/fmatf4.c: Include <libc-internal.h>.
1121         (__fmal): Ignore uninitialized warnings around packing.
1123         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
1124         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1125         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
1126         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1128         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
1129         switch statement into default case.
1130         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
1132         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
1133         a conditional in forcing "inexact".
1134         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1135         Likewise.
1137 2015-05-22  Roland McGrath  <roland@hack.frob.com>
1139         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1140         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
1141         for each INTERNAL_SYSCALL use.
1143 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
1145         [BZ #438]
1146         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
1147         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
1148         variable.
1150         [BZ #18444]
1151         * string/basename.c (basename): Rename to __basename and define as
1152         weak alias of __basename.  Use libc_hidden_weak.
1153         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
1154         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
1155         __basename instead of basename.
1156         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
1157         Remove variable.
1158         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1160 2015-05-18  Florian Weimer  <fweimer@redhat.com>
1162         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
1163         (_IO_JUMPS_FILE_plus): New.
1164         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
1165         _IO_CAST_FIELD_ACCESS.
1166         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
1167         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
1168         * libio/freopen.c (freopen): Likewise.
1169         * libio/freopen64.c (freopen64): Likewise.
1170         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
1171         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
1172         * libio/iofwide.c (_IO_fwide): Likewise.
1173         * libio/memstream.c (open_memstream): Likewise.
1174         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1175         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1176         * libio/oldiopopen.c (_IO_old_popen): Likewise.
1178 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
1180         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
1181         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
1182         NADJ.
1183         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
1184         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
1185         NADJ.
1186         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
1187         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
1188         NADJ.
1190         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
1191         (p == 4) case.
1193         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
1194         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
1195         Remove variable.
1196         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1197         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1198         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1200 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1202         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
1203         Adjust jump table label generation macros.
1205 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1207         * stdio-common/vfprintf.c (vfprintf): Move local variables
1208         args_malloced, specs, specs_malloced, and the code after
1209         do_positional to the printf_positional function.
1210         (printf_positional): New function.
1212 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1214         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
1215         function.
1216         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
1217         STEP4_TABLE, process_arg): Move macro definitions
1218         out of the vfprintf function.  (Cosmetic change only.)
1220 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
1222         * benchtests/Makefile (stdio-common-bench): Define.
1223         (benchset): Add stdio-common-bench.
1224         * sprintf-inputs: New file.
1225         * sprintf-source.c: New file.
1227 2015-05-21  Andreas Schwab  <schwab@suse.de>
1229         [BZ #13028]
1230         [BZ #17053]
1231         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
1232         of struct __res_state.
1233         * resolv/res_send.c (__libc_res_nsend): Likewise.
1234         (get_nsaddr): New function.
1235         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
1236         statp directly.
1238 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
1240         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
1241         -D_POSIX_C_SOURCE=199506L.
1243         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
1245         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
1246         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
1247         Do not mention otherwise.
1248         [POSIX] (_XOPEN_VERSION): Do not expect.
1249         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
1250         [POSIX] (_POSIX2_C_BIND): Likewise.
1251         [POSIX] (_POSIX2_VERSION): Likewise.
1252         [POSIX] (_XOPEN_XPG2): Likewise.
1253         [POSIX] (_XOPEN_XPG3): Likewise.
1254         [POSIX] (_XOPEN_XPG4): Likewise.
1255         [POSIX] (_XOPEN_UNIX): Likewise.
1256         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
1257         [POSIX] (_POSIX_BARRIERS): Likewise.
1258         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
1259         [POSIX] (_POSIX_CPUTIME): Likewise.
1260         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
1261         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
1262         [POSIX] (_POSIX_SHELL): Likewise.
1263         [POSIX] (_POSIX_SPAWN): Likewise.
1264         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
1265         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
1266         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
1267         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
1268         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
1269         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
1270         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
1271         [POSIX] (_XBS5_LP64_OFF64): Likewise.
1272         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
1273         [POSIX] (_POSIX_TIMEOUTS): Likewise.
1274         [POSIX] (_POSIX2_PBS): Likewise.
1275         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
1276         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
1277         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
1278         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
1279         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
1280         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
1281         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
1282         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
1283         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
1284         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
1285         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
1286         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
1287         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
1288         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
1289         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
1290         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
1291         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
1292         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
1293         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
1294         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
1295         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
1296         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
1297         [POSIX] (_SC_2_C_BIND): Likewise.
1298         [POSIX] (_SC_2_C_VERSION): Likewise.
1299         [POSIX] (_SC_2_PBS): Likewise.
1300         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
1301         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
1302         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
1303         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
1304         [POSIX] (_SC_2_PBS_TRACK): Likewise.
1305         [POSIX] (_SC_ATEXIT_MAX): Likewise.
1306         [POSIX] (_SC_BARRIERS): Likewise.
1307         [POSIX] (_SC_BASE): Likewise.
1308         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
1309         [POSIX] (_SC_DEVICE_IO): Likewise.
1310         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
1311         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
1312         [POSIX] (_SC_FD_MGMT): Likewise.
1313         [POSIX] (_SC_FIFO): Likewise.
1314         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
1315         [POSIX] (_SC_FILE_LOCKING): Likewise.
1316         [POSIX] (_SC_FILE_SYSTEM): Likewise.
1317         [POSIX] (_SC_IOV_MAX): Likewise.
1318         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
1319         [POSIX] (_SC_NETWORKING): Likewise.
1320         [POSIX] (_SC_PAGE_SIZE): Likewise.
1321         [POSIX] (_SC_PASS_MAX): Likewise.
1322         [POSIX] (_SC_PIPE): Likewise.
1323         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
1324         [POSIX] (_SC_REGEXP): Likewise.
1325         [POSIX] (_SC_SHELL): Likewise.
1326         [POSIX] (_SC_SIGNALS): Likewise.
1327         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
1328         [POSIX] (_SC_SPIN_LOCKS): Likewise.
1329         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
1330         [POSIX] (_SC_USER_GROUPS): Likewise.
1331         [POSIX] (_SC_USER_GROUPS_R): Likewise.
1332         [POSIX] (_SC_STREAMS): Likewise.
1333         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
1334         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
1335         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
1336         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
1337         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
1338         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
1339         [POSIX] (_PC_FILESIZEBITS): Likewise.
1340         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
1341         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
1342         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
1343         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
1344         [POSIX] (uid_t): Likewise.
1345         [POSIX] (gid_t): Likewise.
1346         [POSIX] (off_t): Likewise.
1347         [POSIX] (pid_t): Likewise.
1348         [POSIX] (cuserid): Allow.
1349         (_SC_2_CHAR_TERM): Require constant.
1350         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
1351         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
1352         variable.
1354 2015-05-20  Roland McGrath  <roland@hack.frob.com>
1356         * sysdeps/nacl/pthread-pids.h: New file.
1357         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
1358         (create_thread): Use __nacl_get_tid to initialize PD->tid.
1360         * nptl/pthread-pids.h: New file.
1361         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
1362         * nptl/nptl-init.c: Include <pthread-pids.h>.
1363         (__pthread_initialize_minimal_internal):
1364         Call __pthread_initialize_pids instead of set_tid_address syscall.
1366         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
1367         * sysdeps/posix/usleep.c: ... here.
1369 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1371         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
1372         call_pselect6 object.
1373         [$(subdir) = io]: Remove call_sync_file_range object.
1374         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
1375         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
1376         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
1377         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
1379 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
1381         * math/s_cproj.c: Add include "math_private.h".
1382         * math/s_cprojf.c: Likewise.
1383         * math/s_cprojl.c: Likewise.
1385 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
1387         [BZ #18244]
1388         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
1389         high mantissa bit when testing whether P is a NaN.
1390         * math/libm-test.inc (remainder_test_data): Add more tests.
1391         (remquo_test_data): Likewise.
1393         [BZ #18049]
1394         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
1395         below -32, return the argument, with underflow if subnormal.
1396         * math/auto-libm-test-in: Add more tests of atanh.
1397         * math/auto-libm-test-out: Regenerated.
1399 2015-05-19  Roland McGrath  <roland@hack.frob.com>
1401         [BZ #18434]
1402         * nptl/tst-sem15.c: New file.
1403         * nptl/Makefile (tests): Add it.
1404         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
1405         s/<</>>/ to fix typo in EOVERFLOW check.
1406         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
1408 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1410         * manual/strings.texi (envz_remove): Fix typo in safety
1411         annotations.
1413 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
1414             Steve Ellcey  <sellcey@imgtec.com>
1416         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
1417         in order to avoid strict alias warnings.
1418         (iruserok_af): Ditto for ra.
1420 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
1422         [BZ #17581]
1423         * malloc/hooks.c
1424         (magicbyte): Convert to a function and avoid returning 0x01.
1425         (mem2mem_check): Avoid using a length byte equal to the magic byte.
1426         (mem2chunk_check): Fix unsigned comparisons to zero.
1427         Hoist defs of sz and magic.
1429 2015-05-19  Richard Henderson  <rth@redhat.com>
1431         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
1433         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1435 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1437         [BZ #16159]
1438         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
1439         * malloc/arena.c (arena_lock): Check if arena is corrupt.
1440         (reused_arena): Find a non-corrupt arena.
1441         (heap_trim): Pass arena to unlink.
1442         * malloc/hooks.c (malloc_check_get_size): Pass arena to
1443         malloc_printerr.
1444         (top_check): Likewise.
1445         (free_check): Likewise.
1446         (realloc_check): Likewise.
1447         * malloc/malloc.c (malloc_printerr): Add arena argument.
1448         (unlink): Likewise.
1449         (munmap_chunk): Adjust.
1450         (ARENA_CORRUPTION_BIT): New macro.
1451         (arena_is_corrupt): Likewise.
1452         (set_arena_corrupt): Likewise.
1453         (sysmalloc): Use mmap if there are no usable arenas.
1454         (_int_malloc): Likewise.
1455         (__libc_malloc): Don't fail if arena_get returns NULL.
1456         (_mid_memalign): Likewise.
1457         (__libc_calloc): Likewise.
1458         (__libc_realloc): Adjust for additional argument to
1459         malloc_printerr.
1460         (_int_free): Likewise.
1461         (malloc_consolidate): Likewise.
1462         (_int_realloc): Likewise.
1463         (_int_memalign): Don't touch corrupt arenas.
1464         * malloc/tst-malloc-backtrace.c: New test case.
1466         * Makefile (summarize-tests): Fix return value on success.
1468         * manual/string.texi (Envz Functions): Add envz_remove.
1470 2015-05-18  Roland McGrath  <roland@hack.frob.com>
1472         * sysdeps/posix/opendir.c: Include <stdbool.h>.
1473         (invalid_name): New function, broken out of ...
1474         (__opendirat): ... here.  Call it.
1475         (need_isdir_precheck): New function, broken out of ...
1476         (__opendirat): ... here.  Call it.
1477         Use __fxstatat64, not __xstatat64.
1478         (opendir_oflags): New function, broken out of ...
1479         (__opendirat): ... here.  Call it.
1480         (opendir_tail): New function, broken out of ...
1481         (__opendirat): ... here.  Call it.
1482         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
1483         opendir_tail, rather than punting to __opendirat.
1484         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
1486 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1488         * .gitignore: Ignore generated *.pyc.
1490 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
1492         * include/stdio.h: Define __need_wint_t.
1493         * test-skeleton.c: Avoid `for' loop initial declaration.
1494         * nptl/tst-initializers1.c: Use test-skeleton.c.
1496 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1498         [BZ #18418]
1499         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
1501 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
1503         [BZ #16352]
1504         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
1505         (__ieee754_atanh): Force underflow exception for results with
1506         small absolute value.
1507         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
1508         (__ieee754_atanhf): Force underflow exception for results with
1509         small absolute value.
1510         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
1511         (__ieee754_atanh): Force underflow exception for results with
1512         small absolute value.
1513         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
1514         (__ieee754_atanhf): Force underflow exception for results with
1515         small absolute value.
1516         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
1517         (__ieee754_atanhl): Force underflow exception for results with
1518         small absolute value.
1519         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
1520         (__ieee754_atanhl): Force underflow exception for results with
1521         small absolute value.
1522         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
1523         (__ieee754_atanhl): Force underflow exception for results with
1524         small absolute value.
1525         * math/auto-libm-test-in: Do not allow missing underflow
1526         exceptions from atanh.
1527         * math/auto-libm-test-out: Regenerated.
1529         [BZ #18221]
1530         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
1531         2**-28 as threshold for returning x or +/- 1/x.
1532         * math/auto-libm-test-in: Add more tests of tan.
1533         * math/auto-libm-test-out: Regenerated.
1535         [BZ #18220]
1536         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1537         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
1538         * math/auto-libm-test-in: Add another test of lgamma.
1539         * math/auto-libm-test-out: Regenerated.
1541 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
1543         * stdio-common/printf_fp.c (___printf_fp): Use abs.
1544         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
1545         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
1546         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
1547         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
1548         (ADD2A): Use fabs.  (SUB2A): Use fabs.
1549         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
1550         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
1551         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
1552         (log1): Use fabs.  (my_log2): Use fabs.
1553         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
1554         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
1555         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
1556         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
1557         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
1558         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
1559         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
1560         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
1561         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
1562         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
1563         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
1565 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
1567         [BZ #18217]
1568         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
1569         as threshold for returning 1 - x.
1570         * math/auto-libm-test-in: Add more tests of erfc.
1571         * math/auto-libm-test-out: Regenerated.
1573 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
1575         [BZ #18196]
1576         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
1577         threshold for large arguments.
1578         * math/auto-libm-test-in: Add another test of atan.
1579         * math/auto-libm-test-out: Regenerated.
1581         [BZ #16339]
1582         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
1583         (__log1p): Force underflow exception for results with small
1584         absolute value.
1585         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
1586         (__log1pf): Force underflow exception for results with small
1587         absolute value.
1588         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
1589         (__log1p): Force underflow exception for results with small
1590         absolute value.
1591         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
1592         (__log1pf): Force underflow exception for results with small
1593         absolute value.
1594         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
1595         (__log1pl): Force underflow exception for results with small
1596         absolute value.
1597         * math/auto-libm-test-in: Do not allow missing underflow
1598         exceptions from log1p.
1599         * math/auto-libm-test-out: Regenerated.
1601 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
1602             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1604         [BZ #16704]
1605         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
1607 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
1609         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
1610         (libmvec): New variable.
1611         * configure.ac: Added option for mathvec build.
1612         * configure: Regenerated.
1613         * mathvec/Depend: New file.
1614         * mathvec/Makefile: New file.
1615         * shlib-versions: Added libmvec.
1616         * math/Makefile: Added rule for libm.so installation.
1618         * bits/math-vector.h: New file.
1619         * bits/libm-simd-decl-stubs.h: New header.
1620         * math/Makefile (headers): Added new header
1621         libm-simd-decl-stubs.h.
1622         * math/math.h (__MATHCALL_VEC): New macro.
1624         * math/gen-libm-have-vector-test.sh: Script generates series of macros
1625         for conditions in testing functions.
1626         * math/Makefile: Added call of libm-have-vector-test.sh.
1627         * math/libm-test.inc (HAVE_VECTOR): New macros.
1629         * math/libm-test.inc: START refactored.
1630         * math/test-double.c (TEST_MATHVEC): Add define.
1631         * math/test-float.c: Likewise.
1632         * math/test-idouble.c: Likewise.
1633         * math/test-ifloat.c: Likewise.
1634         * math/test-ildoubl.c: Likewise.
1635         * math/test-ldouble.c: Likewise.
1636         * sysdeps/generic/math-tests-arch.h
1637         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
1638         architecture check.
1640         * math/test-double.c (FUNC_TEST): New macro.
1641         * math/test-float.c: Likewise.
1642         * math/test-idouble.c: Likewise.
1643         * math/test-ifloat.c: Likewise.
1644         * math/test-ildoubl.c: Likewise.
1645         * math/test-ldouble.c: Likewise.
1646         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
1648 2015-05-13  Roland McGrath  <roland@hack.frob.com>
1650         * sysdeps/nacl/fdopendir.c: New file.
1652         * dirent/scandir-tail.c: New file.
1653         * dirent/scandir64-tail.c: New file.
1654         * dirent/Makefile (routines): Add them.
1655         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
1656         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
1657         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
1658         [!SCANDIR] (SCANDIR_TAIL): New macro.
1659         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
1660         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
1661         (SCANDIRAT): Macro removed.
1662         (SCANDIR_TAIL): New macro.
1663         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
1664         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
1665         (SCANDIRAT): Just call __opendirat and __scandir_tail.
1666         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
1667         (READDIR): Macro removed.
1668         (SCANDIR_TAIL): New macro.
1669         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
1670         (SCANDIR_TAIL): New macro.
1672         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
1673         * dirent/scandir-cancel.c: ... to this new file.
1674         * dirent/Makefile (routines): Add it.
1675         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
1676         * sysdeps/unix/sysv/linux/i386/scandir64.c
1677         (SKIP_SCANDIR_CANCEL): Macro removed.
1678         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
1680         * dirent/tst-scandir.c: New file.
1681         * dirent/tst-scandir64.c: New file.
1682         * dirent/Makefile (tests): Add them.
1684 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1686         [BZ #18409]
1687         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
1689 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1691         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
1692         list.
1694 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
1696         * benchtests/bench-strcoll.c: New benchmark.
1697         * benchtests/Makefile: Generate locales and run benchmark.
1698         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
1699         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
1700         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
1701         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
1702         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
1703         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
1704         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
1705         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
1706         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
1707         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
1708         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
1709         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
1710         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
1711         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
1712         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
1713         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
1714         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
1715         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
1716         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
1717         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
1718         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
1719         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
1720         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
1721         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
1723 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
1725         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
1726         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1728 2015-05-12  Roland McGrath  <roland@hack.frob.com>
1730         * posix/uname-values.h: New file.
1731         * posix/uname.c: Include that instead of <config-name.h>.
1732         * sysdeps/nacl/uname-values.h: New file.
1733         * sysdeps/arm/nacl/uname-values.h: New file.
1735 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
1737         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
1738         splitting into fields.
1740 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
1742         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
1743         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
1744         * locale/localeinfo.h: Add enum collation_encoding_type.
1745         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
1746         * programs/ld-collate.c (collate_output): Add encoding type info.
1747         * string/strcoll_l.c (STRDIFF): New function.
1748         * (STRCOLL): Use STRDIFF to skip over equal prefix.
1749         * wcsmbs/wcscoll_l.c: Define STRDIFF.
1751 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
1753         [BZ #18397]
1754         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
1755         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
1756         <fpu_control.h> instead of <math/fpu_control.c>.
1757         * sysdeps/mips/mips32/fpu/Makefile: New file.
1759 2015-05-11  Andreas Schwab  <schwab@suse.de>
1761         [BZ #18007]
1762         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
1763         nss_endgrent.
1764         (_nss_compat_endgrent): Call nss_endgrent.
1765         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
1766         nss_endpwent.
1767         (_nss_compat_endpwent): Call nss_endpwent.
1768         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
1769         needent, call nss_setspent only if non-zero.
1770         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
1771         (internal_endspent): Don't call nss_endspent.
1772         (_nss_compat_endspent): Call nss_endspent.
1773         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
1774         Remove.  All uses removed.
1775         (internal_setent): Remove parameter stayopen, add parameter
1776         stream.  Use it instead of global variable.
1777         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
1778         (internal_endent, internal_getent): Add parameter stream.  Use it
1779         instead of global variable.
1780         (CONCAT(_nss_files_end,ENTNAME))
1781         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
1782         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
1783         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
1784         uses removed.
1785         (internal_setent, internal_endent): Add parameter stream.  Use it
1786         instead of global variable.
1787         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
1788         stream.
1789         (get_next_alias): Add parameter stream.
1790         (_nss_files_getaliasent_r): Pass global stream.
1791         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
1792         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
1793         (_nss_files_gethostbyname4_r): Pass local stream to
1794         internal_setent, internal_getent and internal_endent.  Remove
1795         locking.
1797 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1799         * tst-strfmon1.c (tests): Update expected currency symbol.
1801 2015-05-08  Roland McGrath  <roland@hack.frob.com>
1803         * sysdeps/nacl/gethostname.c: New file.
1805 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
1807         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
1808         and sinh.
1809         * math/auto-libm-test-out: Regenerated.
1810         * sysdeps/i386/fpu/libm-test-ulps: Update.
1811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1813 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
1815         [BZ #18125]
1816         * stdlib/tst-setcontext3.c: New file.
1817         * stdlib/tst-setcontext3.sh: New file.
1818         * stdlib/Makefile (tests): Add tst-setcontext3.
1819         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
1820         to verify test program created output file.
1821         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
1822         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
1823         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
1824         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
1826 2015-05-06  Roland McGrath  <roland@hack.frob.com>
1828         [BZ #18383]
1829         * elf/tst-tlsalign.c: New file.
1830         * elf/tst-tlsalign-static.c: New file.
1831         * elf/tst-tlsalign-lib.c: New file.
1832         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
1833         (tests-static): Add tst-tlsalign-static.
1834         (modules-names): Add tst-tlsalign-lib.
1835         (test-xfail-tst-tlsalign): New variable.
1836         (test-xfail-tst-tlsalign-static): New variable.
1838         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
1839         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
1841 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
1843         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
1844         csqrt, erfc, sin and sincos.
1845         * math/auto-libm-test-out: Regenerated.
1846         * sysdeps/i386/fpu/libm-test-ulps: Update.
1847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1849 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1851         * sysdeps/aarch64/libm-test-ulps: Update.
1853 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
1855         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
1856         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
1857         * math/auto-libm-test-out: Regenerated.
1858         * sysdeps/i386/fpu/libm-test-ulps: Update.
1859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1861 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1863         [BZ #18265]
1864         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
1865         (wcsncpy): Likewise.
1867 2015-05-05  Florian Weimer  <fweimer@redhat.com>
1869         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1870         Assume __ASSUME_FALLOCATE is always true.
1871         * sysdeps/unix/sysv/linux/posix_fallocate64.c
1872         (__posix_fallocate64_l64): Likweise.
1873         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
1874         (posix_fallocate): Likewise.
1875         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
1876         (__posix_fallocate64_l64): Likewise.
1877         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1878         [!__ASSUME_FALLOCATE]: Add comment.
1880 2015-05-05  Florian Weimer  <fweimer@redhat.com>
1882         * sysdeps/unix/sysv/linux/i386/Makefile
1883         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
1884         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
1885         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
1886         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
1887         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
1888         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
1889         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
1891 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
1893         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
1894         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
1895         tgamma.
1896         * math/auto-libm-test-out: Regenerated.
1897         * sysdeps/i386/fpu/libm-test-ulps: Update.
1898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1900 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
1902         * math/auto-libm-test-in: Add more tests of tgamma.
1903         * math/auto-libm-test-out: Regenerated.
1904         * sysdeps/i386/fpu/libm-test-ulps: Update.
1905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1907         * math/auto-libm-test-in: Add more tests of tanh.
1908         * math/auto-libm-test-out: Regenerated.
1909         * sysdeps/i386/fpu/libm-test-ulps: Update.
1910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1912         * math/auto-libm-test-in: Add more tests of tan.
1913         * math/auto-libm-test-out: Regenerated.
1914         * sysdeps/i386/fpu/libm-test-ulps: Update.
1915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1917         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
1918         * math/auto-libm-test-out: Regenerated.
1919         * sysdeps/i386/fpu/libm-test-ulps: Update.
1920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1922         * math/auto-libm-test-in: Add another test of pow.
1923         * math/auto-libm-test-out: Regenerated.
1924         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1926         * math/auto-libm-test-in: Add more tests of lgamma.
1927         * math/auto-libm-test-out: Regenerated.
1928         * sysdeps/i386/fpu/libm-test-ulps: Update.
1929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1931         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
1932         log1p.
1933         * math/auto-libm-test-out: Regenerated.
1934         * sysdeps/i386/fpu/libm-test-ulps: Update.
1935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1937 2015-05-01  Mark Wielaard  <mjw@redhat.com>
1939         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
1940         Elf64_Chdr structs and ELFCOMPRESS constants.
1942 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
1944         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
1945         expm1.
1946         * math/auto-libm-test-out: Regenerated.
1947         * sysdeps/i386/fpu/libm-test-ulps: Update.
1948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1950         * math/auto-libm-test-in: Add more tests of erf and erfc.
1951         * math/auto-libm-test-out: Regenerated.
1952         * sysdeps/i386/fpu/libm-test-ulps: Update.
1953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1955 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1957         * config.h.in (HAVE_AARCH64_BE): Add.
1959 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
1961         * math/auto-libm-test-in: Add more tests of csqrt.
1962         * math/auto-libm-test-out: Regenerated.
1963         * sysdeps/i386/fpu/libm-test-ulps: Update.
1964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1966         * math/auto-libm-test-in: Add more tests of cosh and sinh.
1967         * math/auto-libm-test-out: Regenerated.
1968         * sysdeps/i386/fpu/libm-test-ulps: Update.
1969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1971         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
1973 2015-04-29  Roland McGrath  <roland@hack.frob.com>
1975         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
1976         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
1978         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
1979         (euidaccess, eaccess): Define as weak aliases.
1981         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
1982         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
1983         but __suseconds_t is often 'long int' so some sources assume that
1984         type is being used (e.g. they use %ld to print tv_usec).
1986 2015-04-29  Florian Weimer  <fweimer@redhat.com>
1988         [BZ #18007]
1989         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
1990         (CVE-2014-8121)
1991         * nss/tst-nss-getpwent.c: New file.
1992         * nss/Makefile (tests): Add new test.
1994 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
1996         [BZ #18346]
1997         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
1998         exponents less than 48 as cases where high part of mantissa needs
1999         examining to determine whether argument is integral.
2000         * math/libm-test.inc (round_test_data): Add more tests.
2002 2015-04-28  Mark Wielaard  <mjw@redhat.com>
2004         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
2006 2015-04-27  David S. Miller  <davem@davemloft.net>
2008         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
2009         __tls_get_addr.
2010         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2012 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
2014         [BZ#18333]
2015         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
2017 2015-04-27  Florian Weimer  <fweimer@redhat.com>
2019         [BZ#18333]
2020         * time/tzset.c (parse_tzname): Return error on memory allocation
2021         failure.
2022         * test-skeleton.c (struct temp_name_list): Change type of name
2023         member to non-const.
2024         (add_temp_file): Create a copy of the file name.
2025         (delete_temp_files): Deallocate memory.
2026         (create_temp_file): Add comment.
2028 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2030         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
2031         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
2033 2015-04-24  Roland McGrath  <roland@hack.frob.com>
2035         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
2036         * sysdeps/arm/configure: Regenerated.
2038 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2040         [BZ #17715]
2041         * time/tzfile.c (__tzfile_read): Check for large values of
2042         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
2043         * time/tzset.c (__tzstring_len): New function, based on the old
2044         __tzstring function.
2045         (__tzstring): Call __tzstring_len.
2046         (parse_tzname): New helper function extracted from
2047         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
2048         the input string.
2049         (parse_offset): New helper function extracted from
2050         __tzset_parse_tz.  Replace switch with fallthrough with
2051         initialization before sscanf.
2052         (parse_rule): Likewise.
2053         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
2054         new-style function definition.
2055         * timezone/Makefile (tests): Add tst-tzset.
2056         (tst-tzset.out): Dependencies on time zone files.
2057         (tst-tzset-ENV): Set TZDIR.
2058         (testdata/XT%): Copy crafted time zone files.
2059         * timezone/README: Mention crafted time zone files.
2060         * timezone/testdata/XT1, timezone/testdata/XT2,
2061         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
2062         files.
2063         * timezone/tst-tzset.c: New test.
2065 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2067         * Makeconfig (+gccwarn): Remove -Winline.
2069 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2071         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
2073 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2075         * NEWS: Mention sysconf() cache information support for s390.
2076         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
2078 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
2080         * math/k_casinh.c (__kernel_casinh): Use __copysign.
2081         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
2082         (__nearbyint): Likewise.
2083         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
2084         (copysignl): Likewise.
2086 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
2088         [BZ #18287]
2089         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
2090         based on padding.  (CVE-2015-1781)
2092 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2094         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
2095         libc-vdso.h.
2096         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
2097         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
2098         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2099         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2100         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2101         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
2102         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
2103         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2104         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2105         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
2106         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2107         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2108         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2109         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
2110         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2111         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
2112         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
2113         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
2114         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
2115         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
2116         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
2117         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
2118         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
2120 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
2122         * stdlib/setenv.c (__add_to_environ):
2123         Dump core quickly if setenv (..., NULL, ...) is called.
2124         This time, do it the right way, and pacify GCC with a pragma.
2126 2015-04-17  Roland McGrath  <roland@hack.frob.com>
2128         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
2129         IMAP->l_prev cannot be null, and #if out the code for the contrary
2130         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
2131         believe that NS (&_dl_ns[NSID]) could point outside the array.
2133         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
2134         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
2135         before using NSID as an index.
2137 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
2139         [BZ #17825]
2140         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
2141         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
2142         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2144 2015-04-17  Roland McGrath  <roland@hack.frob.com>
2146         Add preliminary port to Google Native Client on ARM.
2147         * abi-tags (.*-.*-nacl.*): New entry.
2148         * sysdeps/arm/nacl: New directory.
2149         * sysdeps/nacl: New directory.
2151 2015-04-16  David S. Miller  <davem@davemloft.net>
2153         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
2154         lowlevellock-futex.h
2156 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
2158         * sysdeps/tile/configure.ac: New file.
2159         * sysdeps/tile/configure: Regenerated.
2161 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2163         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
2164         conditionals for weak_alias and libc_hidden_weak.
2165         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
2166         libc_hidden_weak and weak_alias.
2167         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
2168         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
2169         and weak_alias for static one.
2171 2015-04-15  David S. Miller  <davem@davemloft.net>
2173         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2175 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2177         [BZ #18206]
2178         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
2179           Use signed comparision instead of substraction to avoid
2180           overflow bug.
2181         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
2182           Take the sign of ret.
2183         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
2184           Do not expect precise return values. Only the sign matters.
2185         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
2186         * wcsmbs/test-wcsncmp.c: New File.
2187         * string/test-strncmp.c: Add wcsncmp support.
2189 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2191         [BZ #6792]
2192         * math/w_log1p.c: New file.
2193         * math/w_log1pf.c: Likewise.
2194         * math/w_log1pl.c: Likewise.
2195         * math/Makefile (libm-calls): Add w_log1p.
2196         * math/s_log1pl.c (log1pl): Remove weak_alias.
2197         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
2198         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
2199         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
2200         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
2201         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
2202         [NO_LONG_DOUBLE] (log1pl): Likewise.
2203         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
2204         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
2205         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
2206         (log1p): Remove long_double_symbol.
2207         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
2208         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
2209         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
2210         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
2211         remove weak_alias for corresponding log1p function.
2212         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
2213         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
2214         * sysdeps/ia64/fpu/w_log1p.c: New file.
2215         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
2216         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
2217         * math/libm-test.inc (log1p_test_data): Add errno expectations.
2219 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
2221         [BZ #18247]
2222         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
2223         decimal exponent by 1.
2224         * stdlib/tst-strtod-round-data: Add more tests.
2225         * stdlib/tst-strtod-round.c (tests): Regenerated.
2227 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
2229         * math/auto-libm-test-in: Add more tests of clog and clog10.
2230         * math/auto-libm-test-out: Regenerated.
2231         * sysdeps/i386/fpu/libm-test-ulps: Update.
2232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2234 2015-04-09  Roland McGrath  <roland@hack.frob.com>
2236         * Makeconfig (module-cppflags): Exclude all .v.i files.
2237         (skip-module-cppflags): Variable removed.
2239         * configure.ac (libc_config_ok): Initialize before reading
2240         preconfigure scripts, not after.
2241         * configure: Regenerated.
2243         * test-skeleton.c (TIMEOUT): Move #define to top level.
2244         (main): Grok environment variable TEST_DIRECT.  If set, print
2245         test expectation details into that file and then behave as if
2246         given --direct.
2248 2015-04-09  Florian Weimer  <fweimer@redhat.com>
2250         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
2251         warning on 32-bit.
2253 2015-04-08  David S. Miller  <davem@davemloft.net>
2255         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2257 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
2259         * math/auto-libm-test-in: Add more tests of atanh.
2260         * math/auto-libm-test-out: Regenerated.
2261         * sysdeps/i386/fpu/libm-test-ulps: Update.
2262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2264         * math/auto-libm-test-in: Add more tests of atan.
2265         * math/auto-libm-test-out: Regenerated.
2266         * sysdeps/i386/fpu/libm-test-ulps: Update.
2267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2269 2015-04-08  Florian Weimer  <fweimer@redhat.com>
2271         * elf/pldd.c (main): Rewrite to use struct
2272         scratch_buffer instead of extend_alloca.
2273         * elf/pldd-xx.c (find_maps): Likewise.
2274         * grp/initgroups.c: Include <scratch_buffer.h> instead of
2275         <alloca.h>.
2276         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
2277         scratch_buffer instead of extend_alloca.
2278         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
2279         grp/compat-initgroups.c.
2280         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
2281         Rewrite to use struct scratch_buffer instead of extend_alloca.
2282         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
2283         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2285 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
2287         * math/auto-libm-test-in: Add more tests of cbrt.
2288         * math/auto-libm-test-out: Regenerated.
2289         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2291         * math/auto-libm-test-in: Add more tests of cabs.
2292         * math/auto-libm-test-out: Regenerated.
2293         * sysdeps/i386/fpu/libm-test-ulps: Update.
2294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2296         [BZ #18210]
2297         [BZ #18211]
2298         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
2299         (__ieee754_atan2): Set FE_TONEAREST mode for internal
2300         computations.
2301         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
2302         clog10.
2303         * math/auto-libm-test-out: Regenerated.
2304         * sysdeps/i386/fpu/libm-test-ulps: Update.
2305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2307         [BZ #18197]
2308         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
2309         (atan): Set FE_TONEAREST mode for internal computations.
2310         * math/auto-libm-test-in: Add more tests of atan.
2311         * math/auto-libm-test-out: Regenerated.
2313 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
2315         [BZ #17930]
2316         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
2318 2015-04-07  Florian Weimer  <fweimer@redhat.com>
2320         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
2322 2015-04-07  Florian Weimer  <fweimer@redhat.com>
2324         * include/scratch_buffer.h: New file.
2325         * malloc/scratch_buffer_grow.c: Likewise.
2326         * malloc/scratch_buffer_grow_preserve.c: Likewise.
2327         * malloc/scratch_buffer_set_array_size.c: Likewise.
2328         * malloc/tst-scratch_buffer.c: Likewise.
2329         * malloc/Makefile (routines): Add scratch_buffer_grow.
2330         (tests): Add test case.
2331         * malloc/Versions (GLIBC_PRIVATE): Export
2332         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
2333         __libc_scratch_buffer_set_array_size.
2335 2015-04-06  Richard Henderson  <rth@redhat.com>
2337         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
2338         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2340         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
2341         unsigned int before printing.
2343 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2345         [BZ #17596]
2346         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
2347         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2349 2015-04-02  Florian Weimer  <fweimer@redhat.com>
2351         * include/libc-internal.h (libc_max_align_t): Define.
2353 2015-04-02  Andreas Schwab  <schwab@suse.de>
2355         [BZ #16850]
2356         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
2358 2015-04-02  Mel Gorman  <mgorman@suse.de>
2360         [BZ #17195]
2361         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
2362         as well as the main arena.
2364 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
2366         [BZ #18185]
2367         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
2368         sharing L2 cache to 2 for Silvermont/Knights Landing.
2370 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
2372         [BZ #17711]
2373         * config.make.in (have-protected-data): New.
2374         * configure.ac: Check linker support for protected data symbol.
2375         * configure: Regenerated.
2376         * elf/Makefile (modules-names): Add tst-protected1moda and
2377         tst-protected1modb if $(have-protected-data) is yes.
2378         (tests): Add tst-protected1a and tst-protected1b if
2379         $(have-protected-data) is yes.
2380         ($(objpfx)tst-protected1a): New.
2381         ($(objpfx)tst-protected1b): Likewise.
2382         (tst-protected1modb.so-no-z-defs): Likewise.
2383         * elf/tst-protected1a.c: New file.
2384         * elf/tst-protected1b.c: Likewise.
2385         * elf/tst-protected1mod.h: Likewise.
2386         * elf/tst-protected1moda.c: Likewise.
2387         * elf/tst-protected1modb.c: Likewise.
2389 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
2391         [BZ #17711]
2392         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
2393         indicates it is called from do_lookup_x on relocation against
2394         protected data, skip the data definion in the executable from
2395         copy reloc.
2396         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
2397         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
2398         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
2399         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
2400         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
2401         otherwise to 0.
2402         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2403         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
2404         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
2405         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2406         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
2407         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
2409 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
2411         * sysdeps/nptl/pthread.h: Remove duplicate definition of
2412         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
2414 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
2416         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
2417         THREAD_SETMEM_NC.
2418         * sysdeps/x86_64/nptl/tls.h: Ditto.
2420 2015-03-27  Roland McGrath  <roland@hack.frob.com>
2422         * dlfcn/tststatic.c (main): Converted to ...
2423         (do_test): ... this.
2424         (TEST_FUNCTION): New macro.
2425         Include test-skeleton.c.
2427 2015-03-26  Alan Modra  <amodra@gmail.com>
2429         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
2430         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
2431         zero for undefined weak.
2432         (elf_machine_plt_conflict): Similarly.
2434 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
2436         * math/auto-libm-test-in: Add more tests of acosh, asinh and
2437         atanh.
2438         * math/auto-libm-test-out: Regenerated.
2439         * sysdeps/i386/fpu/libm-test-ulps: Update.
2440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2442         * math/auto-libm-test-in: Add another test of asin.
2443         * math/auto-libm-test-out: Regenerated.
2444         * sysdeps/i386/fpu/libm-test-ulps: Update.
2445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2447         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
2448         Remove macro.
2449         (LLL_EBX_REG): Likewise.
2450         (LLL_ENTER_KERNEL): Likewise.
2452         * math/auto-libm-test-in: Add more tests of asin.
2453         * math/auto-libm-test-out: Regenerated.
2454         * sysdeps/i386/fpu/libm-test-ulps: Update.
2455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2457         [BZ #18138]
2458         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
2459         libc_do_syscall_args): New structure.
2460         (INTERNAL_SYSCALL_MAIN_0): New macro.
2461         (INTERNAL_SYSCALL_MAIN_1): Likewise.
2462         (INTERNAL_SYSCALL_MAIN_2): Likewise.
2463         (INTERNAL_SYSCALL_MAIN_3): Likewise.
2464         (INTERNAL_SYSCALL_MAIN_4): Likewise.
2465         (INTERNAL_SYSCALL_MAIN_5): Likewise.
2466         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
2467         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
2468         Replace conditional definitions by conditional definitions of ....
2469         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
2470         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
2471         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
2472         (libpthread-sysdep_routines): Add libc-do-syscall.
2473         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
2474         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
2475         to __NR_futex not 240.
2477 2015-03-25  Alan Modra  <amodra@gmail.com>
2479         * NEWS: Advertise TLS optimization.
2480         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
2481         (DT_PPC_NUM): Increment.
2482         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
2483         (CHECK_STATIC_TLS): Use here.
2484         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
2485         TLS descriptors.
2486         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2487         * sysdeps/powerpc/dl-tls.c: New file.
2488         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
2489         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
2490         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
2491         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
2492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
2493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2496 2015-03-25  Alan Modra  <amodra@gmail.com>
2498         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
2499         for overlapping .opd entries" to "support...".
2500         * sysdeps/powerpc/powerpc64/configure: Regenerate
2502 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
2504         * math/auto-libm-test-in: Add more tests of acos.
2505         * math/auto-libm-test-out: Regenerated.
2506         * sysdeps/i386/fpu/libm-test-ulps: Update.
2507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2509         * math/auto-libm-test-in: Add more tests of expm1.
2510         * math/auto-libm-test-out: Regenerated.
2511         * sysdeps/i386/fpu/libm-test-ulps: Update.
2512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2514 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
2516         * math/auto-libm-test-in: Add more tests of cosh and sinh.
2517         * math/auto-libm-test-out: Regenerated.
2518         * sysdeps/i386/fpu/libm-test-ulps: Update.
2519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2521         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2524         * math/auto-libm-test-in: Add more tests of log2.
2525         * math/auto-libm-test-out: Regenerated.
2526         * sysdeps/i386/fpu/libm-test-ulps: Update.
2527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2529 2015-03-23  Roland McGrath  <roland@hack.frob.com>
2531         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
2532         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
2533         _IO_IS_APPENDING bit in READ_WRITE instead.
2535 2015-03-23  Florian Weimer  <fweimer@redhat.com>
2537         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2538         (__determine_cpumask_size): Replace extend_alloca with a
2539         variable-length array.  Do not treat res == 0 as an error.
2541 2015-03-23  Florian Weimer  <fweimer@redhat.com>
2543         [BZ #18100]
2544         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
2545         and integer overflow.
2546         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
2547         (main): Add integer overflow tests.
2548         * manual/pattern.texi (Calling Wordexp): Document additional use
2549         for WRDE_SYNTAX.
2551 2015-03-23  Alan Modra  <amodra@gmail.com>
2553         * config.h.in: Remove HAVE_ASM_PPC_REL16.
2554         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
2555         and false branch of conditional.
2556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2557         Likewise.
2559 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
2561         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
2562         libc-modules.h
2563         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
2564         unused declaration of _hurd_intr_rpc_msg_in_trap.
2565         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
2566         defined instead of whether it is non-zero.
2567         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
2568         input constraint instead of both input and output constraint.  Use ecx
2569         clobber instead of %ecx.
2570         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
2571         mutex_unlock): Use a statement expression instead of an expression list.
2572         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
2573         type to vm_size_t instead of vm_address_t.
2574         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
2575         defined instead of whether it is non-zero.
2576         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
2577         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
2578         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
2579         comparisons with mapaddr.
2580         * nscd/nscd-client.h: Include <time.h>.
2581         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
2582         9th parameter to __vm_region instead of int.
2583         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
2584         * scripts/check-local-headers.sh (exclude): Add device/,
2585         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
2586         cthreads.h.
2588 2015-03-19  Roland McGrath  <roland@hack.frob.com>
2590         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
2591         to account for alignment padding.
2592         * sysdeps/arm/memmove.S: Likewise.
2594 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
2596         * sysdeps/unix/sysv/linux/generic/README: New file.
2598 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
2600         [BZ #18138]
2601         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
2602         (futex_abstimed_wait)
2603         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
2604         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
2605         of lll_futex_timed_wait.
2607 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
2609         [BZ #17542]
2610         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
2612 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
2614         [BZ #17090]
2615         [BZ #17620]
2616         [BZ #17621]
2617         [BZ #17628]
2618         * NEWS: Update.
2619         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
2620         entries with Static TLS too.  Skip entries past the end of the
2621         allocated DTV, from Alan Modra.
2622         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
2623         Static TLS DTV entry set up from...
2624         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
2625         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
2626         * nptl/allocatestack.c (init_one_static_tls): ... and here...
2627         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
2628         for Static TLS.
2629         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
2630         that the slot we find is associated with the given map before
2631         using its generation count.
2632         * nptl_db/db_info.c: Include ldsodefs.h.
2633         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
2634         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
2635         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
2636         (link_map::l_tls_offset): New struct field.
2637         (dtv_t::counter): Likewise.
2638         (rtld_global): New struct.
2639         (_rtld_global): New rtld variable.
2640         (dl_tls_dtv_slotinfo_list): New rtld global field.
2641         (dtv_slotinfo_list): New struct.
2642         (dtv_slotinfo): Likewise.
2643         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
2644         (td_lookup): Rename to...
2645         (td_mod_lookup): ... this.  Use new mod parameter instead of
2646         LIBPTHREAD_SO.
2647         * nptl_db/td_thr_tlsbase.c: Include link.h.
2648         (dtv_slotinfo_list, dtv_slotinfo): New functions.
2649         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
2650         addresses even if the DTV is out of date or missing them.
2651         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
2652         index zero-length arrays.
2653         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
2654         (td_lookup): Make it a macro implemented in terms of...
2655         (td_mod_lookup): ... this declaration.
2656         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
2657         (DB_MAIN_VARIABLE): Likewise.
2659 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2661         [BZ #18134]
2662         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2664 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
2666         * stdlib/setenv.c (__add_to_environ): Revert previous change.
2668 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
2670         [BZ #18128]
2671         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
2672         (atomic_add, atomic_increment_and_test)
2673         (atomic_decrement_and_test): Fix 64-bit arithmetic.
2675 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
2677         * stdlib/setenv.c (__add_to_environ):
2678         Dump core quickly if setenv (..., NULL, ...) is called.
2680 2015-03-13  Roland McGrath  <roland@hack.frob.com>
2682         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
2683         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
2684         all the necessary asm magic in one place.
2685         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
2686         using those.
2688 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
2690         [BZ #14906]
2691         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
2692         traced file mtime. Use consistent log message.
2693         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
2694         (register_traced_file): Call install_watches. Always set mtime.
2695         (invalidate_cache): Iterate over all trace files. Call install_watches.
2696         (inotify_check_files): Don't inline. Handle watching parent
2697         directories and configuration file movement in and out.
2698         (handle_inotify_events): New function.
2699         (main_loop_poll): Call handle_inotify_events.
2700         (main_loop_epoll): Likewise.
2701         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
2702         (struct traced_file): Use array of inotify fds. Add parent directory,
2703         and basename.
2704         (struct database_dyn): Remove unused file_mtime.
2705         (init_traced_file): New inline function.
2706         (define_traced_file): New macro.
2707         * nss/nss_db/db-init.c: Use define_traced_file.
2708         (_nss_db_init): Use init_traced_file.
2709         * nss/nss_files/files-init.c: Use define_traced_file.
2710         (_nss_files_init): Use init_traced_file.
2712 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
2714         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
2715         [_LIBC]: Do not include <stdlib.h>.
2716         [!_LIBC] (abort): Remove declaration.
2717         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
2718         _FP_STATIC_ASSERT instead of conditionally calling abort.
2719         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
2720         (_FP_EXTEND_CNAN): Likewise.
2721         (FP_TRUNC): Likewise.
2722         (__FP_CLZ): Likewise.
2723         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
2725 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
2727         * manual/string.texi (XPG basename): Fix prototype.
2729 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2731         [BZ #18080]
2732         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
2733         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2734         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
2735         (__setcontext): Likewise.
2736         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
2737         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2738         Call rt_sigprocmask syscall one time to set new signal mask
2739         and retrieve the current signal mask instead of two calls.
2740         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
2741         (__swapcontext): Likewise.
2742         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
2743         * stdlib/tst-setcontext2.c: New file.
2745 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2747         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2749 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
2751         [BZ #18093]
2752         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
2753         the wrong size.
2755 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
2757         [BZ #18043]
2758         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
2760 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
2762         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
2763         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
2764         Remove define.
2765         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
2766         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
2767         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
2768         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
2769         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
2770         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
2771         define.
2772         * nptl_db/td_symbol_list.c (td_lookup): Remove
2773         HAVE_ASM_GLOBAL_DOT_NAME code.
2774         * sysdeps/powerpc/powerpc64/configure.ac: Remove
2775         HAVE_ASM_GLOBAL_DOT_NAME check.
2776         * sysdeps/powerpc/powerpc64/configure: Regenerate.
2777         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
2778         (DOT_LABEL): Remove define.
2779         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
2780         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
2781         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
2782         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
2783         (__TLS_GET_ADDR): Likewise.
2784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
2785         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
2787 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
2789         [BZ #18111]
2790         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
2791         (_FPU_SETCW): Initialize cw from fpsr before storing.
2792         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
2793         (fesetexceptflag): Rewrite using fpu_control.h.
2794         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
2796 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
2798         [BZ #18110]
2799         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
2800         asms.
2801         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2803 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
2805         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
2806         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
2807         abort.
2808         (_FP_FMA): Likewise.
2809         (_FP_DIV): Likewise.
2811 2015-03-10  Roland McGrath  <roland@hack.frob.com>
2813         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
2814         with 0 in that case.
2815         * Makefile (summarize-tests): New canned sequence, factored out of
2816         commands for targets tests and xtests.  Display summary lines that
2817         don't start with PASS: or XFAIL: rather than ones that do start with
2818         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
2819         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
2820         do start with ERROR: or FAIL:.
2821         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
2822         (except for [$(build-shared) = yes]).
2823         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
2824         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
2825         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
2826         * nptl/Makefile: Revert 2015-03-04 changes.
2827         [$(CXX) empty] (tests-unsupported): New variable.
2828         * debug/Makefile: Likewise.
2830         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
2831         gnulib file.  Replace __attribute with __attribute__ throughout.
2833 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
2835         * sysdeps/hppa/fpu/libm-test-ulps: Update.
2837 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
2839         [BZ #18104]
2840         * math/auto-libm-test-in: Add another test of pow.
2841         * math/auto-libm-test-out: Regenerated.
2843 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2845         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
2846         $(config-cflags-nofma).
2848 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
2850         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
2851         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
2852         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
2853         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
2854         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
2855         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
2856         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
2857         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
2858         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
2859         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
2860         Add comment on closing #endif.
2862 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2864         * posix/wordexp.c (CHAR_IN_SET): New macro.
2865         (parse_param): Use it.
2867 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2869         * sysdeps/powerpc/fpu/libm-test-ulps: update.
2871 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2873         [BZ #18043]
2874         * posix/wordexp.c (parse_param): Fix buffer overflow.
2875         * posix/wordexp-test.c (test_case): Add test case.
2877 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2879         [BZ #18042]
2880         * posix/wordexp.c (parse_backtick): Fix off-by-one.
2881         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
2883 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2885         [BZ #18043]
2886         * posix/wordexp-test.c (test_case): Add test for BZ #18043
2887         (do_bz18043): Delete.
2888         (at_page_end): New.
2889         (testit): Refactor to have words at the edge of unreadable page.
2891 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
2893         [BZ #16734]
2894         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
2895         Cleanup read-only streams as well.
2896         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
2898 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2900         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
2901         <bits/libc-lockP.h>
2903 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
2905         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
2906         on [__KERNEL__].
2907         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
2908         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
2909         * soft-fp/op-common.h (_FP_DECL): Likewise.
2911 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
2913         * elf/ifuncdep2.c (global): Replace
2914         __attribute__((visibility("protected"))) with
2915         asm (".protected global").
2916         * elf/ifuncmod1.c (global): Likewise.
2917         * elf/ifuncmod5.c (global): Likewise.
2919 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
2921         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
2922         <asm/sfp-machine.h> instead of <sfp-machine.h>.
2924 2015-03-06  Roland McGrath  <roland@hack.frob.com>
2926         * manual/install.texi (Configuring and compiling):
2927         Document test-wrapper-env-only.
2928         * INSTALL: Regenerated.
2930 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
2932         [BZ #18043]
2933         * posix/wordexp.c (parse_param): Fix buffer overflow.
2934         * posix/wordexp-test.c (do_bz18043): Add test case.
2936 2015-03-06  Vincent Bernat  <vincent@bernat.im>
2938         * time/tst-strptime2.c (do_test): Ensure failing tests are
2939         reported correctly.
2940         * time/tst-strptime3.c (do_test): Likewise.
2942 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
2944         Fix aio_error thread-safety.
2945         * sysdeps/pthread/aio_error.c: New file
2946         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
2947         synchronization.
2949 2015-03-06  Florian Weimer  <fweimer@redhat.com>
2951         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
2952         (group_number, vfprintf): Use it.
2953         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
2954         (JUMP, REF): Use it.
2955         (WORK_BUFFER_SIZE): New enum constant.
2956         (process_arg, vfprintf): Use it.
2958 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
2960         * manual/errno.texi (Error Messages): Complete example function
2961         by adding missing #define.
2962         (program_invocation_name): Add statement indicating GNU
2963         extension and reference which header file declares the variable.
2964         (program_invocation_short_name): Likewise.
2966 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
2968         * manual/errno.texi (Error Messages): Delete strerror ISO C89
2969         compatibility note.
2971 2015-03-05  Roland McGrath  <roland@hack.frob.com>
2973         * Makeconfig (test-wrapper-env-only): New variable.
2974         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
2975         then use that with $(test-wrapper-env-only) rather than using
2976         $(test-wrapper-env) $(run-program-env) $($*-ENV).
2978 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
2980         [BZ #18082]
2981         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
2982         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
2983         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
2984         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
2985         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
2986         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
2987         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
2988         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2989         Likewise.
2990         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
2991         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
2992         Likewise.
2993         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
2994         Likewise.
2995         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
2996         Likewise.
2997         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
2998         Likewise.
2999         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
3000         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
3001         Likewise.
3002         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
3003         Likewise.
3004         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
3005         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
3007 2015-03-04  Roland McGrath  <roland@hack.frob.com>
3009         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
3010         (ETH_ALEN): New macro.
3011         (struct ether_addr): Use it for length of ether_addr_octet.
3013         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
3014         (setdb): Don't call __nss_configure_lookup for "rpc".
3015         (do_test): Don't call test_rpc.
3016         (output_rpcent, test_rpc): Functions moved ...
3017         * sunrpc/test-rpcent.c: ... to this new file.
3018         * sunrpc/Makefile (tests): Add it.
3020         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
3021         __xpg_sigpause.
3022         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
3023         * nptl/tst-signal6.c: Likewise.
3024         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
3025         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
3027         * configure.ac (libc_cv_cxx_link_ok): New check.
3028         Reset CXX to empty if it fails to link.
3029         * configure: Regenerated.
3030         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
3031         bug-atexit3-lib only if $(CXX) is nonempty.
3032         * nptl/Makefile (tests): Likewise for tst-cancel24.
3033         (tests, tests-static): Likewise for tst-cancel24-static.
3034         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
3035         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
3036         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
3037         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
3039 2015-03-04  Andreas Schwab  <schwab@suse.de>
3041         [BZ #17631]
3042         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
3043         for non-GCC compilers.
3044         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3045         Likewise.
3047 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3049         [BZ #17776]
3050         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
3051         integer before bitwise and assembly operations.
3052         (feclearexcept): Likewise.
3053         * math/test-fenvinline.c: New file.
3054         * math/Makefile: Add test-fenvinline test.
3056 2015-03-03  Alan Modra  <amodra@gmail.com>
3058         [BZ #16512]
3059         * scripts/localplt.awk: Strip off symbol version.
3060         * NEWS: Mention bug fix.
3062 2015-03-02  Roland McGrath  <roland@hack.frob.com>
3064         * sysdeps/pthread/timer_routines.c
3065         (timer_free_list, thread_free_list, thread_active_list): Make static.
3067 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
3069         [BZ #17779]
3070         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3071         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3072         Undefine.
3073         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3074         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3075         Likewise.
3076         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3077         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3078         Likewise.
3080 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
3082         [BZ #18036]
3083         * posix/fnmatch_loop.c (END): Detect invalid pattern.
3084         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
3086 2015-03-02  Andreas Schwab  <schwab@suse.de>
3088         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
3089         variable name.
3091 2015-03-02  Florian Weimer  <fweimer@redhat.com>
3093         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
3094         Return error status.
3096 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
3098         [BZ #15969]
3099         * locale/findlocale.c (_nl_find_locale): Introduce const
3100         version of loc_name and drop unsafe type casts.
3102 2015-02-27  Roland McGrath  <roland@hack.frob.com>
3104         * dlfcn/tststatic2.c (main): Converted to ...
3105         (do_test): ... this.
3106         (TEST_FUNCTION): New macro.
3107         Include test-skeleton.c.
3109 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
3111         [BZ #17711]
3112         * elf/Makefile (tests): Add vismain only if PIE is enabled.
3113         (tests-pie): Add vismain.
3114         (CFLAGS-vismain.c): New.
3115         * elf/vismain.c: Add comments for PIE requirement.
3117 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
3119         [BZ #18046]
3120         [BZ #18047]
3121         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
3122         0x1p-56L as threshold for just returning the argument.
3123         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
3124         0x1p-32L as threshold for just returning the argument.
3125         * math/auto-libm-test-in: Add more tests of atanh.
3126         * math/auto-libm-test-out: Regenerated.
3127         * sysdeps/i386/fpu/libm-test-ulps: Update.
3128         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
3130 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
3132         * string/bcopy.c (bcopy): Call memmove for performance.
3134 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
3136         * string/bzero.c (__bzero): Call memset for performance.
3138 2015-02-27  John David Anglin  <dave.anglin@bell.net>
3140         [BZ #18068]
3141         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
3142         to 00100000.
3144 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
3146         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
3148 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
3150         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
3151         (__kernel_standard): Use CSTR macro when setting exc.name.
3152         * sysdeps/ieee754/Makefile [$(subdir) = math]
3153         (CFLAGS-k_standard.c): Remove variable.
3155         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
3156         setting p and q from "else if" to "else".
3157         (qzero): Likewise.
3158         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
3159         (qone): Likewise.
3160         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
3161         (qzerof): Likewise.
3162         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
3163         (qonef): Likewise.
3164         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
3165         (qzero): Likewise.
3166         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
3167         (qone): Likewise.
3169         [BZ #18038]
3170         [BZ #18039]
3171         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
3172         return pi/2 for arguments below 0x1p-113L.
3173         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
3174         return pi/2 for arguments below 0x1p-106L.
3175         * math/auto-libm-test-in: Add more tests of acos.
3176         * math/auto-libm-test-out: Regenerated.
3178         [BZ #16351]
3179         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
3180         (MO): New macro.
3181         (__ieee754_asin): Force underflow exception for results with small
3182         absolute value.
3183         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
3184         (MO): New macro.
3185         (__ieee754_asinf): Force underflow exception for results with
3186         small absolute value.
3187         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
3188         (__ieee754_asin): Force underflow exception for results with small
3189         absolute value.
3190         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
3191         (__ieee754_asinf): Force underflow exception for results with
3192         small absolute value.
3193         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
3194         (__ieee754_asinl): Force underflow exception for results with
3195         small absolute value.
3196         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
3197         (__ieee754_asinl): Force underflow exception for results with
3198         small absolute value.
3199         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
3200         (__ieee754_asinl): Force underflow exception for results with
3201         small absolute value.
3202         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3203         Include <math.h>.
3204         * math/auto-libm-test-in: Do not mark underflow exceptions as
3205         possibly missing for bug 16351.
3206         * math/auto-libm-test-out: Regenerated.
3208         [BZ #18030]
3209         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
3210         of power of 2 down when low part has opposite sign.
3211         * math/libm-test.inc (logb_test_data): Add more tests.
3213 2015-02-26  Andreas Schwab  <schwab@suse.de>
3215         [BZ #18032]
3216         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
3217         over collating symbol inside a bracket expression.  Minor cleanup.
3218         * posix/tst-fnmatch3.c (do_test): Add test case.
3220 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
3222         [BZ #18029]
3223         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
3224         Adjust exponent of power of 2 down when low part has opposite
3225         sign.
3226         * math/libm-test.inc (ilogb_test_data): Add more tests.
3228 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
3230         [BZ #15969]
3231         * locale/findlocale.c (_nl_find_locale): Fix constness error in
3232         the previous change.
3234         [BZ #15969]
3235         * locale/findlocale.c (_nl_find_locale): Retry archive search
3236         after alias expansion.
3238 2015-02-25  Roland McGrath  <roland@hack.frob.com>
3240         * iconv/tst-iconv3.c (main): Converted to ...
3241         (do_test): ... this.
3242         (TEST_FUNCTION): New macro.
3243         Include test-skeleton.c.
3245         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
3246         (convert): Make function static.
3247         (test_unalign): Likewise.  Add const to argument pointee types.
3248         (main): Replace with static function do_test.
3249         Print "Succeeded." only if RET is zero.
3250         (TEST_FUNCTION): New macro.
3251         Include test-skeleton.c.
3253         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
3254         returns a null pointer.
3256 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3258         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
3259         to __memcpy_ppc only for static builds.
3261 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
3263         [BZ #18020]
3264         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
3265         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
3266         * math/auto-libm-test-in: Add more tests of asinh.
3267         * math/auto-libm-test-out: Regenerated.
3268         * sysdeps/i386/fpu/libm-test-ulps: Update.
3269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3271 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
3273         [BZ #15850]
3274         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
3275         and ip6_mtuinfo definitions here.
3276         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
3277         in this define too.  Update comment.
3279 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
3281         * elf/sprof.c (load_shobj): Tweak error message to match others.
3283 2015-02-24  Kevin Easton  <kevin@guarana.org>
3285         [BZ #16145] (partial fix)
3286         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
3287         to reduce lock contention.
3289 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
3291         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
3292         (struct timex): Update time comment.
3293         (ADJ_SETOFFSET): Define.
3295 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
3297         [BZ #18019]
3298         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3299         2**56 not 2**28 as threshold for log (2x) formula.
3300         * math/auto-libm-test-in: Add more tests of acosh.
3301         * math/auto-libm-test-out: Regenerated.
3302         * sysdeps/i386/fpu/libm-test-ulps: Update.
3303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3305 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
3307         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
3308         parenthesis around the buf assignment.
3309         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
3311 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
3313         [BZ #16783]
3314         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
3315         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
3316         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
3317         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3318         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3319         * math/libm-test.inc (scalb_test_data): Add more tests.
3321 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3323         [BZ #17916]
3324         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
3325         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
3327 2015-02-24  Eric Rannaud  <e@nanocritical.com>
3329         [BZ #17523]
3330         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
3331         * io/bits/fcntl2.h (open): Use it.
3332         (openat): Likewise.
3333         * io/open.c (__libc_open): Likewise.
3334         * io/open64.c (__libc_open64): Likewise.
3335         * io/open64_2.c (__open64_2): Likewise.
3336         * io/open_2.c (__open_2): Likewise.
3337         * io/openat.c (__openat): Likewise.
3338         * io/openat64.c (__openat64): Likewise.
3339         * io/openat64_2.c (__openat64_2): Likewise.
3340         * io/openat_2.c (__openat_2): Likewise.
3341         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
3342         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3343         * sysdeps/posix/open64.c (__libc_open64): Likewise.
3344         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3345         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3346         (__open_nocancel): Likewise.
3347         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3348         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3349         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
3351 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3353         [BZ #14841]
3354         * resolv/gethnamaddr.c (getanswer): Skip logging if
3355         RES_USE_DNSSEC is set.
3356         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3358 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
3360         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
3362 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
3364         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3365         201304L, for Unicode 7.
3367 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
3369         [BZ #17836]
3370         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
3371         shared library.  Add gmon-start.os otherwise.
3372         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
3373         $(objpfx)gmon-start.os if builing shared library.
3374         ($(objpfx)g$(static-start-installed-name)): Likewise.
3376 2015-02-23  Andreas Schwab  <schwab@suse.de>
3378         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
3380 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
3382         [BZ #17269]
3383         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
3384         (enlarge_userbuf): Likewise.
3386 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
3388         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
3389         * math/atest-exp.c (TIMEOUT): Adjust to 200.
3390         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
3391         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
3393 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
3395         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
3396         expression inside statement expression.
3398 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3400         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
3401         <sysdeps/nptl/lowlevellock.h> and remove macros and
3402         functions that are now defined there.
3403         (SYS_futex): Remove.
3404         (lll_compare_and_swap): Remove.
3405         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
3407 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
3409         [BZ #17999]
3410         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
3411         instead of scandirat.
3412         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
3413         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
3414         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
3415         __scandirat.
3416         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
3417         (__scandirat): Declare.  Use libc_hidden_proto.
3418         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
3419         Remove variable.
3420         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3422 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
3424         [BZ #15319]
3425         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
3426         (MO): New macro.
3427         (__ieee754_atan2): For results with small absolute value, force
3428         underflow exception and remove excess range and precision from
3429         return value.
3430         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
3431         (MO): New macro.
3432         (__ieee754_atan2f): For results with small absolute value, force
3433         underflow exception and remove excess range and precision from
3434         return value.
3435         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
3436         (MO): New macro.
3437         (__atan): For results with small absolute value, force underflow
3438         exception and remove excess range and precision from return value.
3439         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
3440         (MO): New macro.
3441         (__atanf): For results with small absolute value, force underflow
3442         exception and remove excess range and precision from return value.
3443         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
3444         <math.h>.
3445         (__ieee754_atan2): Force underflow exception for results with
3446         small absolute value.
3447         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
3448         <math_private.h>.
3449         (atan): Force underflow exception for results with small absolute
3450         value.
3451         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
3452         (__atanf): Force underflow exception for results with small
3453         absolute value.
3454         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
3455         <math.h>.
3456         (__atanl): Force underflow exception for results with small
3457         absolute value.
3458         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
3459         (__atanl): Force underflow exception for results with small
3460         absolute value.
3461         * sysdeps/x86/fpu/bits/mathinline.h
3462         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
3463         (__ieee754_atan2): Only define inline for long double.
3464         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3465         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
3466         * math/auto-libm-test-in: Do not mark underflow exceptions as
3467         possibly missing for bug 15319.  Add more tests of atan2.
3468         * math/auto-libm-test-out: Regenerated.
3469         * math/libm-test.inc (casin_test_data): Do not mark underflow
3470         exceptions as possibly missing for bug 15319.
3471         (casinh_test_data): Likewise.
3472         * sysdeps/i386/fpu/libm-test-ulps: Update.
3474 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
3476         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
3477         * sysdeps/mips/bits/endian.h: Fix comments.
3479 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
3481         [BZ #17996]
3482         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
3483         (hdestroy_r): Likewise.
3484         (hsearch_r): Likewise.
3485         (__hcreate_r): Declare and use libc_hidden_proto.
3486         (__hdestroy_r): Likewise.
3487         (__hsearch_r): Likewise.
3488         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
3489         (hcreate): Call __hcreate_r instead of hcreate_r.
3490         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
3491         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
3492         as weak alias of __hcreate_r.
3493         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
3494         __hdestroy_r.
3495         (hsearch_r): Rename to __hsearch_r and define as weak alias of
3496         __hsearch_r.
3497         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
3498         Remove variable.
3499         (test-xfail-XPG4/search.h/linknamespace): Likewise.
3500         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3501         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3502         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3504 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3506         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
3507         arena_lock into a single arena_get.
3509 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
3511         * dl-reloc.c: Inlucde libc-internal.h.
3512         (_dl_try_allocate_static_tls): Call ALIGN_UP.
3513         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
3514         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
3515         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
3516         (grow_heap): Likewise.
3517         * malloc/malloc.c: Include libc-internal.h.
3518         (do_check_malloc): Call powerof2.
3519         (sysmalloc): Use pagesize. Call ALIGN_UP.
3520         (systrim): Use pagesize.
3521         (mremap_chunk): Use pagesize. Call ALIGN_UP.
3522         (__libc_valloc): Use pagesize.
3523         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
3525 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
3527         [BZ #17991]
3528         * include/sys/resource.h (__getrlimit64): Declare.  Use
3529         libc_hidden_proto.
3530         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
3531         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
3532         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
3533         getrlimit64.
3534         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
3535         __getrlimit64.
3536         [!getrlimit64] (getrlimit64): Define as weak alias of
3537         __getrlimit64.  Use libc_hidden_weak.
3538         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
3539         using __getrlimit64 not __new_getrlimit64.
3540         (__GI_getrlimit64): Likewise.
3541         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
3542         Likewise.
3543         (__GI_getrlimit64): Likewise.
3544         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
3545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
3546         (getrlimit): Add __getrlimit64 alias.
3547         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
3548         Likewise.
3549         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
3550         Remove variable.
3551         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3552         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3554 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
3556         * libio/fileops.c: Add missing sys/mman.h
3557         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
3559 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
3561         * manual/math.texi (Errors in Math Functions): Clarify goals
3562         regarding inexact and underflow exceptions.
3564 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
3566         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
3567         * sysdeps/mips/memset.S: Ditto.
3569 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
3571         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
3573 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3575         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
3576         (__v1longjmp): Remove versioned symbol.
3577         (__v1siglongjmp): Remove alias and versioned symbol.
3578         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
3579         (__v2siglongjmp): Likewise.
3581 2015-02-16  Torvald Riegel  <triegel@redhat.com>
3583         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
3585 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
3587         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
3589 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
3591         [BZ #17987]
3592         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
3593         zero result does not depend on the sign resulting from
3594         subtraction.
3595         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3596         Likewise.
3597         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3598         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3599         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3600         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3601         * math/libm-test.inc (remquo_test_data): Add more tests.
3603 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
3605         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
3606         Problem reported by J William Piggott.
3608 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
3610         [BZ #17978]
3611         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
3612         products 4 * y and 2 * y where those would overflow.
3613         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3614         Likewise.
3615         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3616         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3617         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3618         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3619         * math/libm-test.inc (remquo_test_data): Add more tests.
3621         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
3623         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
3624         [defined _COMPILING_NEWLIB].
3625         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
3626         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
3628         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
3629         [!defined __mips_isa_rev || __mips_isa_rev < 6].
3631 2015-02-16  Torvald Riegel  <triegel@redhat.com>
3633         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
3634         acquired.
3636 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
3638         [BZ #17792]
3639         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
3640         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
3641         HOST_STACK_END_ADDR): Likewise.
3643 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
3645         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
3646         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
3647         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
3649 2015-02-13  Roland McGrath  <roland@hack.frob.com>
3651         * sysdeps/generic/c++-types.data: New file.
3652         * sysdeps/generic/ld.abilist: New file.
3653         * sysdeps/generic/libBrokenLocale.abilist: New file.
3654         * sysdeps/generic/libanl.abilist: New file.
3655         * sysdeps/generic/libc.abilist: New file.
3656         * sysdeps/generic/libcrypt.abilist: New file.
3657         * sysdeps/generic/libdl.abilist: New file.
3658         * sysdeps/generic/libm.abilist: New file.
3659         * sysdeps/generic/libpthread.abilist: New file.
3660         * sysdeps/generic/libresolv.abilist: New file.
3661         * sysdeps/generic/librt.abilist: New file.
3663 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
3665         [BZ #17569]
3666         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3667         Compute absolute value of x as modified by fmod, not original
3668         value of x.
3669         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
3670         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
3671         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
3672         RUN_TEST_ffI_f1_mod8.
3673         (remquo_test_data): Add more tests.
3675 2015-02-13  Roland McGrath  <roland@hack.frob.com>
3677         * sysdeps/init_array/pt-crti.S: New file.
3679 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
3681         [BZ #17967]
3682         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
3683         __builtin_fmaf instead of relying on contraction of a * b + c.
3685 2015-02-12  J William Piggott  <elseifthen@gmx.com>
3687         [BZ #17969]
3688         * manual/time.texi: correct the zoneinfo path in the TZ Variable
3689         node.
3691 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
3693         [BZ #17964]
3694         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
3695         __builtin_fma instead of relying on contraction of a * b + c.
3697 2015-02-12  Roland McGrath  <roland@hack.frob.com>
3699         * Makeconfig (ASFLAGS): Add -Werror=undef.
3700         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
3701         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
3702         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
3704         * Makeconfig (after-link): New variable.
3705         (+link-pie, +link-pie-tests): Use it.
3706         (+link-static, +link-static-tests): Likewise.
3707         (+link, +link-tests): Likewise.
3708         * Makerules (build-module, build-module-asneeded): Likewise.
3709         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
3710         Likewise.
3711         * elf/Makefile ($(objpfx)ld.so): Likewise.
3713 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
3715         [BZ #17965]
3716         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
3717         both struct timeval and struct timespec.
3719 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
3721         [BZ #16560]
3722         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3723         and redefine.
3724         (__ieee754_exp2l): Do not multiply small fractional parts by
3725         M_LN2l.
3726         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
3727         small argument.
3728         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3729         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3730         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
3731         * math/auto-libm-test-in: Add more tests of exp2.
3732         * math/auto-libm-test-out: Regenerated.
3734 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3736         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
3737         unaligned path.
3739 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3741         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
3742         little endian.
3744 2015-02-12  Andreas Schwab  <schwab@suse.de>
3746         [BZ #15790]
3747         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
3748         Filter out elision flags from value returned in kind.
3749         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
3750         * nptl/tst-pthread-mutexattr.c: New file.
3752 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3754         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
3755         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
3756         into gnu-gnu, and update comment to refer to abi-tags.
3758 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
3760         [BZ #15467]
3761         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
3762         (__sincos): Set errno to EDOM for infinite argument.
3763         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
3764         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
3765         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
3766         (__sincosl): Set errno to EDOM for infinite argument.
3767         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
3768         (__sincosl): Set errno to EDOM for infinite argument.
3769         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
3770         (__sincosl): Set errno to EDOM for infinite argument.
3771         * math/libm-test.inc (sincos_test_data): Test errno setting.
3773 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
3775         * string/strxfrm_l.c: Remove #define STRCMP.
3776         * string/strcoll_l.c: Remove #define STRLEN.
3777         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
3778         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
3780 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
3782         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
3783         * sysdeps/mips/mips32/sfp-machine.h: ... here.
3784         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
3785         * sysdeps/mips/mips64/Makefile: ... here.
3786         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
3787         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
3788         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
3789         * sysdeps/mips/mips64/sfp-machine.h: ... here.
3790         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
3791         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
3792         * sysdeps/mips/mips64/n64/Implies: Likewise.
3794 2015-02-10  Roland McGrath  <roland@hack.frob.com>
3796         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
3797         <sys/time.h>, <string.h>, and <errno.h>.
3798         (dest_offset, dest_address, value, zero): Remove unused variables.
3799         (ldouble): Remove typedef.
3800         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
3801         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
3802         1).  Fix code style.
3803         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
3804         (check): Function removed.
3805         (CHECK): New macro.
3806         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
3807         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
3808         Don't call set_sigaction_FP and remove_sigaction_FP here.
3809         (ldouble_test): Just use 'long double' as macro argument, no need for
3810         the 'ldouble' typedef.
3811         (do_test): Set up SIGFPE handler at start, using plain signal rather
3812         than sigaction.  Fix code style.
3814 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
3816         [BZ #17949]
3817         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
3818         jump label.
3820 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3822         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
3823         * sysdeps/powerpc/powerpc32/configure: Regenerated.
3825         * sysdeps/powerpc/configure.ac: Remove file.
3826         * sysdeps/powerpc/configure: Likewise.
3828         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3829         [sysdep_routines]: Remove wordcopy-power6 object.
3830         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3831         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
3832         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
3833         (__memmove_ppc32): Likewise.
3834         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
3835         file.
3836         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
3837         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
3838         Remove preprocessor.
3840         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3841         [sysdep_routines]: Remove wide chars objects.
3842         [wcsmbs]: New rule for wide char objects.
3844         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3845         Remove wordcopy-power6 obejct.
3846         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
3847         Use local call for wordcopy and memcpy symbols.
3848         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
3849         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
3850         implementation for loader.
3851         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
3853         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3854         Remove wordcopy-power7 object.
3855         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
3856         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
3857         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
3858         (_wordcopy_fwd_dest_aligned): Likewise.
3859         (_wordcopy_bwd_aligned): Likewise.
3860         (_wordcopy_bwd_dest_aligned): Likewise.
3862         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
3863         Rewrite to call __memmove_ppc instead of include default
3864         implementation.
3866         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3867         Remove wide chars objects.
3868         [wcsmbs]: New rule for wide char objects.
3870 2015-02-09  Andreas Schwab  <schwab@suse.de>
3872         [BZ #17912]
3873         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3874         in terms of __O_DIRECTORY.
3876 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3878         * time/getdate.c: Include <stdbool.h>.
3879         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
3880         call PTR_MANGLE.
3881         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
3882         PTR_DEMANGLE.
3884 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
3886         Add ersatz _Static_assert on older C hosts
3887         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
3888         pre-C11 C platform that is not known to support _Static_assert.
3890 2015-02-07  Richard Braun  <rbraun@sceen.net>
3892         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
3893         sigstate.
3894         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
3896 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3898         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
3899         priority against unexistent AIO_PRIO_DELTA_MAX.
3900         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
3901         instead of int.
3902         * misc/fchflags.c (fchflags): Likewise.
3903         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3904         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3905         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
3906         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
3907         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
3908         Declare macros.
3909         [__USE_MISC] (chflags, fchflags): Declare functions.
3910         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
3911         EINVAL when nfds is greater than FD_SETSIZE.
3912         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
3913         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
3914         45.
3915         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
3916         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
3917         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
3918         MACH_RCV_TIMED_OUT.
3919         * hurd/hurd/signal.h (_hurd_self_sigstate,
3920         _hurd_critical_section_lock, _hurd_critical_section_unlock):
3921         Explicit casts from void *.
3922         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
3923         * abi-tags: Rename gnu-gnu os into gnu.
3925         [BZ #4719]
3926         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
3927         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
3928         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
3929         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
3930         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
3931         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
3933         [BZ #17944]
3934         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
3935         duplicates ADDR->sun_path with sockaddr LEN limitation.
3936         * sysdeps/mach/hurd/connect.c: Include <string.h>
3937         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
3938         * sysdeps/mach/hurd/sendmsg.c: Likewise.
3939         * sysdeps/mach/hurd/sendto.c: Likewise.
3940         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
3941         implementing it by hand.
3943 2015-02-06  Roland McGrath  <roland@hack.frob.com>
3945         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
3946         Use sfi_breg on ldr.
3947         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
3948         Likewise.
3950         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
3951         it's defined.
3952         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
3953         Test SIGSETXID only if it's defined.
3955         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
3957         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
3958         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
3960         * nptl/tst-align2.c: Moved ...
3961         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
3962         * nptl/Makefile (tests): Remove tst-align2.
3963         * sysdeps/unix/sysv/linux/Makefile
3964         [$(subdir) = nptl] (tests): Add tst-align-clone.
3965         * nptl/tst-getpid1.c: Moved ...
3966         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
3967         * nptl/tst-getpid2.c: Moved ...
3968         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
3969         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
3970         * sysdeps/unix/sysv/linux/Makefile
3971         [$(subdir) = nptl] (tests): ... here.
3972         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
3973         * sysdeps/unix/sysv/linux/Makefile
3974         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
3976         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
3977         Drop trailing \n from perror argument.  Use return rather than exit.
3979         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
3980         on [SA_SIGINFO].
3981         * nptl/tst-cancel21.c (do_test): Likewise.
3982         * debug/tst-backtrace6.c: Include <signal.h> first thing.
3983         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
3984         [!SA_SIGINFO]: Make it a stub test.
3986         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
3987         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
3989         * posix/tst-getlogin.c: Move to ...
3990         * login/tst-getlogin.c: ... here.
3991         * posix/Makefile (tests): Move tst-getlogin to ...
3992         * login/Makefile (tests): ... here.
3994         * libio/tst-atime.c (do_test): Move local variables SV and E
3995         inside [ST_NOATIME] conditional.
3997         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
3999         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
4001         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
4002         (wait_code): New function replaces macro.
4003         Call nanosleep rather than syscall.
4005         * nptl/pt-system.c: Rewritten.  Put everything under
4006         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4007         Use IFUNC to redirect when possible.
4009         * nptl/pt-longjmp.c: Rewritten.  Put everything under
4010         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4011         Use IFUNC to redirect when possible.
4013         * nptl/pt-fork.c: Rewritten.  Put everything under
4014         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4015         Use IFUNC to redirect when possible.
4016         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
4018         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
4019         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
4020         unconditionally nowadays.  This included the only reference to
4021         __vdso_clock_gettime that appears outside libc proper.
4022         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
4023         Remove version set (containing only __vdso_clock_gettime).
4024         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4025         Add attribute_hidden.
4026         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4027         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
4028         libc_hidden_data_def.
4029         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4030         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4032         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
4033         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
4034         setrpcent, and getrpcport to ...
4035         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
4036         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
4037         getrpcbynumber_r, and getrpcent_r to ...
4038         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
4039         * inet/getrpcbyname.c: Moved ...
4040         * sunrpc/getrpcbyname.c: ... here.
4041         * inet/getrpcbyname_r.c: Moved ...
4042         * sunrpc/getrpcbyname_r.c: ... here.
4043         * inet/getrpcbynumber.c: Moved ...
4044         * sunrpc/getrpcbynumber.c: ... here.
4045         * inet/getrpcbynumber_r.c: Moved ...
4046         * sunrpc/getrpcbynumber_r.c: ... here.
4047         * inet/getrpcent.c: Moved ...
4048         * sunrpc/getrpcent.c: ... here.
4049         * inet/getrpcent_r.c: Moved ...
4050         * sunrpc/getrpcent_r.c: ... here.
4051         * inet/Makefile (routines): Move those to ...
4052         * sunrpc/Makefile (routines): ... here.
4053         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
4054         the $(subdirs) list.
4055         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
4056         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
4057         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
4058         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
4060         * elf/Makefile (routines): Include $(all-dl-routines), not just
4061         $(dl-routines).
4062         (rtld-routines): Likewise.  Use = rather than :=.
4063         * sysdeps/aarch64/Makefile [$(subdir) = elf]
4064         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
4065         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
4066         * sysdeps/arm/Makefile: Likewise.
4067         * sysdeps/i386/Makefile: Likewise.
4068         * sysdeps/x86_64/Makefile: Likewise.
4069         * sysdeps/hppa/Makefile [$(subdir) = elf]
4070         (sysdep_routines, sysdep-rtld-routines): Don't add
4071         $(sysdep-dl-routines) to these.
4072         * sysdeps/ia64/Makefile: Likewise.
4073         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
4074         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
4075         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
4076         Don't add dl-static to these; sysdep-dl-routines alone is enough.
4077         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
4078         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
4079         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
4080         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
4081         * sysdeps/powerpc/Makefile [$(subdir) = elf]
4082         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
4083         these; sysdep-dl-routines alone is enough.
4085 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
4087         [BZ #17932]
4088         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
4089         where multiplication results in zero and third argument is finite
4090         and nonzero.
4091         * math/auto-libm-test-in: Add more tests of fma.
4092         * math/auto-libm-test-out: Regenerated.
4094         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
4095         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
4096         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
4097         (_FP_CMP_EQ): Likewise.
4098         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
4100         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
4101         extra argument CHECK_NAN.  Redefine as wrapper around
4102         _FP_EXTEND_CNAN.
4104 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
4106         * version.h (RELEASE): Set to "stable".
4107         (VERSION): Set to "2.21"
4108         * include/features.h (__GLIBC_MINOR__): Set to 21.
4110         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
4112 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4113             Paul Eggert  <eggert@cs.ucla.edu>
4115         [BZ #16618]
4116         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
4117         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
4118         size in bytes. Store needed elements in wpmax. Use needed size
4119         in bytes for extend_alloca.
4121 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
4123         * manual/install.texi: Latest tested versions are GCC 4.9.2,
4124         binutls 2.25, and texinfo 5.2.
4125         * INSTALL: Regenerate.
4126         * sysdeps/nios2/configure: Regenerate.
4127         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
4128         * manual/contrib.texi: Update.
4129         * po/be.po: Update.
4130         * po/bg.po: Update.
4131         * po/ca.po: Update.
4132         * po/cs.po: Update.
4133         * po/da.po: Update.
4134         * po/de.po: Update.
4135         * po/el.po: Update.
4136         * po/eo.po: Update.
4137         * po/es.po: Update.
4138         * po/fi.po: Update.
4139         * po/fr.po: Update.
4140         * po/gl.po: Update.
4141         * po/hr.po: Update.
4142         * po/hu.po: Update.
4143         * po/ia.po: Update.
4144         * po/id.po: Update.
4145         * po/it.po: Update.
4146         * po/ja.po: Update.
4147         * po/ko.po: Update.
4148         * po/lt.po: Update.
4149         * po/nb.po: Update.
4150         * po/nl.po: Update.
4151         * po/pl.po: Update.
4152         * po/pt_BR.po: Update.
4153         * po/ru.po: Update.
4154         * po/rw.po: Update.
4155         * po/sk.po: Update.
4156         * po/sl.po: Update.
4157         * po/sv.po: Update.
4158         * po/tr.po: Update.
4159         * po/uk.po: Update.
4160         * po/vi.po: Update.
4161         * po/zh_CN.po: Update.
4162         * po/zh_TW.po: Update.
4164         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
4165         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
4166         * sysdeps/hppa/dl-irel.h: Remove #warning.
4167         * sysdeps/hppa/entry.h: Provide prototype for
4168         __canonicalize_funcptr_for_compare and cast argument.
4169         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
4170         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
4171         * sysdeps/hppa/sotruss-lib.c: New file.
4172         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
4173         (atomic_compare_and_exchange_val_acq): Use __typeof__.
4174         (atomic_compare_and_exchange_bool_acq): Likewise.
4175         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
4176         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
4178         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
4179         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
4180         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
4182 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
4184         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
4185         called function in non-PIC case.
4187 2015-01-31  David S. Miller  <davem@davemloft.net>
4189         * sysdeps/sparc/sparc32/bits/atomic.h
4190         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
4191         unlock not after it.
4192         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
4193         volatile register usage warnings from the compiler.
4195         * sysdeps/sparc/nptl/sem_init.c: Delete.
4196         * sysdeps/sparc/nptl/sem_post.c: Delete.
4197         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
4198         * sysdeps/sparc/nptl/sem_wait.c: Delete.
4199         * sysdeps/sparc/sparc32/sem_init.c: New file.
4200         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
4201         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
4202         padding explicitly initialized.
4203         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
4204         padding for in-semaphore spinlock.
4205         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
4206         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
4207         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
4208         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
4209         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
4210         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
4211         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
4212         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
4213         version.
4214         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
4215         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
4217 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
4219         [BZ #17801]
4220         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4221         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
4222         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
4223         New.
4224         (index_AVX_Fast_Unaligned_Load): Likewise.
4225         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
4226         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
4227         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
4228         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
4229         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4230         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
4231         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
4232         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
4233         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
4235 2015-01-29  Andreas Schwab  <schwab@suse.de>
4237         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
4239 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
4241         [BZ #17892]
4242         * nscd/nscd_stat.c (send_stats): Initialize DATA.
4244 2015-01-28  Martin Sebor  <msebor@redhat.com>
4246         * math/README.libm-test: Clarify. Add "How to read the test output."
4248 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
4250         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
4251         Define to 0.
4253 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
4255         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
4256         (__HAVE_64B_ATOMICS): Define to 0.
4258 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4260         [BZ #17885]
4261         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
4262         value to set as new flag.
4264         [BZ #16576]
4265         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
4266         and use _ARCH_PPCSQ instead.
4267         (__ieee754_sqrt): Likewise.
4268         (__ieee754_sqrtf): Likewise.
4269         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
4270         _ARCH_PPCSQ is defined.
4271         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
4272         fsqrt instruction.
4273         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
4274         _ARCH_PPCSQ is defined.
4275         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
4276         fsqrts instruction.
4277         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
4279 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4281         * iconv/loop.c: Suppress array out of bound warning caused by GCC
4282         bug (GCC BZ #64739).
4284 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
4286         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
4287         Mark _retval as used.
4288         (lll_futex_wake_unlock): Likewise.
4289         (lll_futex_timed_wait_requeue_pi): Likewise.
4291         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4292         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
4293         register variables.
4295         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
4296         libm_hidden_def.
4298         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
4299         (__bswap_64): Mark as __always_inline.
4301 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
4303         [BZ #15378]
4304         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
4305         when none of the search directories exist.
4307 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4309         [BZ #17869]
4310         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
4311         power8 in .machine directive.
4313         [BZ #17868]
4314         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
4315         set dependency from opd value.
4317 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
4319         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4320         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
4321         architecture.
4323 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
4325         [BZ #17870]
4326         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
4327         with uint64_t.
4328         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
4329         (uint64_t) 1.
4330         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
4331         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
4332         Replace 1UL with (uint64_t) 1.
4333         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
4334         int with uint64_t.
4336 2015-01-23  Roland McGrath  <roland@hack.frob.com>
4338         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
4339         (if_freenameindex): Likewise.
4341         * resource/getrlimit64.c: Add missing libc_hidden_def.
4343 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
4345         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
4346         __label__.
4347         (_FP_FMA): Likewise.
4348         (_FP_TO_INT_ROUND): Likewise.
4349         (_FP_FROM_INT): Likewise.
4351 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4353         [BZ #16418]
4354         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4355         Make code racy and cancel safe.
4357 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
4359         * sysdeps/arm/unwind-resume.h: Fix copyright year.
4360         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
4361         attribution.
4363         * pwd/tst-getpw.c: Rewrite.
4365         [BZ #17702]
4366         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
4367         (modules-names): Add moddummy1 and moddummy2.
4368         ($(objpfx)tst-rec-dlopen): Define.
4369         * dlfcn/moddummy1.c: New file.
4370         * dlfcn/moddummy2.c: New file.
4371         * dlfcn/tst-rec-dlopen.c: New file.
4372         * elf/dl-cache.c (_dl_load_cache_lookup):
4373         Return char*. Copy result with alloca/strcpy/strdup.
4374         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
4375         returns char*. Free cached. If not saving realname
4376         free cached.
4377         * elf/dl-open.c (dl_open_worker): Do not assert that
4378         _r_debug->r_state is RT_CONSISTENT.
4379         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
4380         returns char*.
4382 2015-01-21  Torvald Riegel  <triegel@redhat.com>
4383             Carlos O'Donell  <carlos@redhat.com>
4385         [BZ #12674]
4386         * nptl/sem_waitcommon.c: New file.
4387         * nptl/sem_wait.c: Include sem_waitcommon.c.
4388         (__sem_wait_cleanup, do_futex_wait): Remove.
4389         (__new_sem_wait): Adapt.
4390         (__new_sem_trywait): New function.
4391         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
4392         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
4393         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
4394         (sem_timedwait): Adapt.
4395         * nptl/sem_post.c (__new_sem_post): Adapt.
4396         (futex_wake): New function.
4397         (__old_sem_post): Add release MO fence.
4398         * nptl/sem_open.c (sem_open): Adapt.
4399         * nptl/sem_init.c (__new_sem_init): Adapt.
4400         (futex_private_if_supported): New function.
4401         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
4402         (__old_sem_getvalue): Add using previous code.
4403         * sysdeps/nptl/internaltypes.h: Adapt.
4404         * nptl/tst-sem13.c (do_test): Adapt.
4405         * nptl/tst-sem11.c (main): Adapt.
4406         * nptl/sem_trywait.c: Remove.
4407         * nptl/DESIGN-sem.txt: Remove.
4408         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
4409         (gen-as-const-headers): Remove structsem.sym.
4410         * nptl/structsem.sym: Remove.
4411         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
4412         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
4413         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
4414         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
4415         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
4416         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
4417         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
4418         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
4419         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
4420         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
4421         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
4422         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
4423         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
4424         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
4425         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
4426         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
4427         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
4428         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
4429         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
4430         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
4431         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
4432         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
4434 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
4436         * INSTALL: Regenerated.
4438         * po/libc.pot: Regenerated.
4440 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
4441             Sandra Loosemore  <sandra@codesourcery.com>
4442             Andrew Jenner  <andrew@codesourcery.com>
4443             Joseph Myers  <joseph@codesourcery.com>
4444             Nathan Sidwell  <nathan@codesourcery.com>
4446         * NEWS: Mention new Nios II port.
4447         * sysdeps/nios2/Implies: New file.
4448         * sysdeps/nios2/Makefile: New file.
4449         * sysdeps/nios2/Subdirs: New file.
4450         * sysdeps/nios2/Versions: New file.
4451         * sysdeps/nios2/__longjmp.S: New file.
4452         * sysdeps/nios2/abort-instr.h: New file.
4453         * sysdeps/nios2/backtrace.c: New file.
4454         * sysdeps/nios2/bits/endian.h: New file.
4455         * sysdeps/nios2/bits/fenv.h: New file.
4456         * sysdeps/nios2/bits/link.h: New file.
4457         * sysdeps/nios2/bits/setjmp.h: New file.
4458         * sysdeps/nios2/bsd-_setjmp.S: New file.
4459         * sysdeps/nios2/bsd-setjmp.S: New file.
4460         * sysdeps/nios2/configure: New generated file.
4461         * sysdeps/nios2/configure.ac: New file.
4462         * sysdeps/nios2/crti.S: New file.
4463         * sysdeps/nios2/crtn.S: New file.
4464         * sysdeps/nios2/dl-init.c: New file.
4465         * sysdeps/nios2/dl-machine.h: New file.
4466         * sysdeps/nios2/dl-sysdep.h: New file.
4467         * sysdeps/nios2/dl-tls.h: New file.
4468         * sysdeps/nios2/dl-trampoline.S: New file.
4469         * sysdeps/nios2/gccframe.h: New file.
4470         * sysdeps/nios2/gmp-mparam.h: New file.
4471         * sysdeps/nios2/jmpbuf-offsets.h: New file.
4472         * sysdeps/nios2/jmpbuf-unwind.h: New file.
4473         * sysdeps/nios2/ldsodefs.h: New file.
4474         * sysdeps/nios2/libc-tls.c: New file.
4475         * sysdeps/nios2/libm-test-ulps: New file.
4476         * sysdeps/nios2/machine-gmon.h: New file.
4477         * sysdeps/nios2/math-tests.h: New file.
4478         * sysdeps/nios2/math_private.h: New file.
4479         * sysdeps/nios2/memusage.h: New file.
4480         * sysdeps/nios2/nptl/Makefile: New file.
4481         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
4482         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
4483         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
4484         * sysdeps/nios2/nptl/pthreaddef.h: New file.
4485         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
4486         * sysdeps/nios2/nptl/tls.h: New file.
4487         * sysdeps/nios2/preconfigure: New file.
4488         * sysdeps/nios2/s_fma.c: New file.
4489         * sysdeps/nios2/s_fmaf.c: New file.
4490         * sysdeps/nios2/setjmp.S: New file.
4491         * sysdeps/nios2/sfp-machine.h: New file.
4492         * sysdeps/nios2/sotruss-lib.c: New file.
4493         * sysdeps/nios2/stackguard-macros.h: New file.
4494         * sysdeps/nios2/stackinfo.h: New file.
4495         * sysdeps/nios2/start.S: New file.
4496         * sysdeps/nios2/sysdep.h: New file.
4497         * sysdeps/nios2/tls-macros.h: New file.
4498         * sysdeps/nios2/tst-audit.h: New file.
4499         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
4500         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
4501         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
4502         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
4503         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
4504         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
4505         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
4506         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
4507         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
4508         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
4509         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
4510         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
4511         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
4512         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
4513         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
4514         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
4515         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
4516         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
4517         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
4518         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
4519         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
4520         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
4521         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
4522         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
4523         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
4524         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
4525         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
4526         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
4527         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
4528         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
4529         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
4530         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
4531         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
4532         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
4533         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
4534         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
4535         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
4536         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
4537         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
4538         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
4539         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
4540         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
4541         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
4542         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
4544 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4546         [BZ #17844]
4547         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
4548         (getutent): Use weak_alias in non SHARED case
4549         and default_symbol_version in SHARED case.
4550         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
4551         (getutent_r, pututline): Likewise.
4552         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
4553         (getutid): Likewise.
4554         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
4555         (getutid_r): Likewise.
4556         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
4557         (getutline): Likewise.
4558         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
4559         (getutline_r): Likewise.
4560         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
4561         (updwtmp): Likewise.
4563 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4565         [BZ #17848]
4566         * sysdeps/s390/s390-32/memcmp.S
4567         (memcmp_g5): Rename to __memcmp_g5.
4568         * sysdeps/s390/s390-32/memcpy.S
4569         (memcpy_g5): Rename to __memcpy_g5.
4570         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4571         (memcpy_mvcle) Rename to __memcpy_mvcle.
4572         * sysdeps/s390/s390-32/memset.S
4573         (memset_g5): Rename to __memset_g5.
4574         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4575         (IFUNC_RESOLVE): Prefix ifunc-resolve function
4576         and use prefixed functions.
4577         * sysdeps/s390/s390-32/multiarch/memcmp.S
4578         (memcmp_z196): Rename to __memcmp_z196.
4579         (memcmp_z10): Rename to __memcmp_z10.
4580         (memcmp): Set alias to __memcmp_g5.
4581         (bcmp): Set alias to __memcmp_g5.
4582         * sysdeps/s390/s390-32/multiarch/memcpy.S
4583         (memcpy_z196): Rename to __memcpy_z196.
4584         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4585         (memcpy_z10): Rename to __memcpy_z10.
4586         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4587         (memcpy): Set alias to __memcpy_g5.
4588         * sysdeps/s390/s390-32/multiarch/memset.S
4589         (memset_z196): Rename to __memset_z196.
4590         Jump to __memset_mvcle instead of memset_mvcle.
4591         (memset_z10): Rename to __memset_z10.
4592         Jump to __memset_mvcle instead of memset_mvcle.
4593         (memset_mvcle) Rename to __memset_mvcle.
4594         (memset): Set alias to __memset_g5.
4595         * sysdeps/s390/s390-64/memcmp.S
4596         (memcmp_z900): Rename to __memcmp_z900.
4597         * sysdeps/s390/s390-64/memcpy.S
4598         (memcpy_z900): Rename to __memcpy_z900.
4599         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4600         (memcpy_mvcle) Rename to __memcpy_mvcle.
4601         * sysdeps/s390/s390-64/memset.S
4602         (memset_z900): Rename to __memset_z900.
4603         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
4604         (IFUNC_RESOLVE): Prefix ifunc-resolve function
4605         and use prefixed functions.
4606         * sysdeps/s390/s390-64/multiarch/memcmp.S
4607         (memcmp_z196): Rename to __memcmp_z196.
4608         (memcmp_z10): Rename to __memcmp_z10.
4609         (memcmp): Set alias to __memcmp_z900.
4610         (bcmp): Set alias to __memcmp_z900.
4611         * sysdeps/s390/s390-64/multiarch/memcpy.S
4612         (memcpy_z196): Rename to __memcpy_z196.
4613         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4614         (memcpy_z10): Rename to __memcpy_z10.
4615         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4616         (memcpy): Set alias to __memcpy_z900.
4617         * sysdeps/s390/s390-64/multiarch/memset.S
4618         (memset_z196): Rename to __memset_z196.
4619         Jump to __memset_mvcle instead of memset_mvcle.
4620         (memset_z10): Rename to __memset_z10.
4621         Jump to __memset_mvcle instead of memset_mvcle.
4622         (memset_mvcle) Rename to __memset_mvcle.
4623         (memset): Set alias to __memset_z900.
4625 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
4627         [BZ #17748]
4628         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
4629         __fesetenv instead of fesetenv.
4631 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4633         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
4634         macro.
4636 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4638         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
4639         regression on LE.
4641         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
4642         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
4643         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4644         strncmp-power8 object.
4645         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4646         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
4647         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
4648         * NEWS: Update.
4650 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4651             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4653         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
4654         trailing byte check.
4656 2015-01-13  David S. Miller  <davem@davemloft.net>
4658         * include/signal.h (__sigreturn): Guard with __USE_MISC.
4660 2015-01-13  Roland McGrath  <roland@hack.frob.com>
4662         * login/logout.c (logout): Use memset rather than bzero.
4663         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
4664         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
4665         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
4666         (_gethtbyaddr): Likewise.
4667         * locale/programs/simple-hash.c (bcopy): Macro removed.
4669 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4671         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4672         Add strcmp-power8 object.
4673         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4674         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
4675         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
4676         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
4677         __strcmp_power8 implementation.
4678         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
4679         * NEWS: Update.
4681         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4682         Add strncpy-power8 and stpncpy-power8 objects.
4683         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4684         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
4685         implementations.
4686         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
4687         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
4688         __stpncpy_power8 implementation.
4689         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
4690         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
4691         __strncpy_power8 implementation.
4692         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
4693         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
4694         * NEWS: Update.
4696         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
4697         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
4698         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
4700         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4701         strncat-power8 object.
4702         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
4703         __strcat_power8 implementation.
4704         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4705         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
4706         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
4707         optimized strcat for power8.
4709         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4710         strcpy-power8 and stpcpy-power8 objects.
4711         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4712         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
4713         implementations.
4714         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
4715         multiarch stpcpy implementation for POWER8.
4716         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
4717         multiarch strcpy implementation for POWER8.
4718         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
4719         __strcpy_power8 function.
4720         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
4721         stpcpy for POWER8.
4722         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
4723         strcpy for POWER8.
4724         * NEWS: Update.
4726 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
4728         [BZ #16009]
4729         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
4730         weights and rules. Use do_xfrm_cached if data fits in cache,
4731         do_xfrm otherwise.  Moved former main loop to...
4732         * (do_xfrm_cached): New function.
4733         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
4734         find_idx, find_position and stack_push.
4735         * (find_idx): New function.
4736         * (find_position): Likewise.
4737         * localedata/sort-test.sh: Added test run for do_xfrm.
4738         * localedata/xfrm-test.c (main): Added command line option
4739         -nocache to run the test with strings that are too large for
4740         the STRXFRM cache.
4742 2015-01-13  Torvald Riegel  <triegel@redhat.com>
4744         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
4745         variable to lll_futex_wake call, not the value itself.
4747 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
4749         [BZ #17803]
4750         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
4751         twom64.  Adjust value to 0x1p-64L.
4752         (__scalblnl): Only return standard underflowing result for K <=
4753         -64 not K <= -63; adjust exponent for underflowing result by 64
4754         not 63.
4755         * math/libm-test.inc (scalbn_test_data): Add more tests.
4756         (scalbln_test_data): Likewise.
4758         [BZ #17834]
4759         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
4760         0x1p63L.
4761         (__scalblnl): Get new exponent of adjusted subnormal value from ES
4762         not HX.
4763         * math/libm-test.inc (scalbn_test_data): Add more tests.
4764         (scalbln_test_data): Likewise.
4766 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4767             Stefani Seibold  <stefani@seibold.net>
4769         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
4770         (sysdep_routines): Add dl-vdso here, ...
4771         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
4772         (sysdep_routines): ... not here.
4773         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
4774         fallback when vDSO is not presented.
4775         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4776         Define with libc_hidden_proto/libc_hidden_data_def definitions.
4777         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
4778         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
4779         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
4780         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
4781         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
4782         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
4783         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
4784         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
4785         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
4786         fallback configurable symbol when vDSO is not available.
4787         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
4788         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
4789         be able to redefine fallback symbol when vDSO is not available.
4790         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
4791         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
4793 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4795         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
4796         (TLS_INIT_TP): Add tm_capable initialization.
4797         (TLS_DEFINE_INIT_TP): Likewise.
4798         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
4799         TCB.
4800         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
4801         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
4802         calculation.
4803         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
4804         transactoion is lock elision is built and TCB tm_capable is set.
4805         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
4806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4807         (INTERNAL_SYSCALL_NCS): Likewise.
4808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4809         (INTERNAL_SYSCALL_NCS): Likewise.
4810         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
4812         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
4813         for powerpc.
4814         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4815         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
4816         and remove it for 32 bits case.
4817         [pthread_rwlock_t] (__rwelision): New field for lock elision.
4818         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
4819         initialization.
4820         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
4821         Disable lock elision with rdlocks if elision is not available.
4823         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
4824         (sysdep_routines): Add lock elision objects.
4825         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4826         [pthread_mutex_t] (__spins): Rework to add lock elision field.
4827         [pthread_mutex_t] (__elision): Add field.
4828         [__PTHREAD_SPINS]: Adjust to init lock elision field.
4829         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
4830         elision definitions for powerpc.
4831         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
4832         implementation of lock elision for powerpc.
4833         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
4834         implementation of timed lock elision for powerpc.
4835         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
4836         implementation of trylock with lock elision for powerpc.
4837         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
4838         implementaion of unlock for lock elision for powerpc.
4839         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
4840         automatic enable lock elision for mutexes.
4841         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
4842         transaction execution definitions for powerpc.
4843         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
4844         definitions.
4845         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
4846         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
4847         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
4848         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
4849         * NEWS: Update.
4851 2015-01-09  Roland McGrath  <roland@hack.frob.com>
4853         * sysdeps/posix/shm-directory.c: Use <> rather than ""
4854         for #include of <shm-directory.h>.
4856 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
4858         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
4859         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
4861 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
4863         [BZ #17791]
4864         * NEWS: Mention bug fix.
4865         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
4866         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
4867         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
4869 2015-01-09  Torvald Riegel <triegel@redhat.com>
4871         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
4873 2015-01-09  Torvald Riegel <triegel@redhat.com>
4875         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
4877 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
4879         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
4880         pointer and cast to uintptr_t.
4882 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
4884         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
4885         removed.
4886         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
4888 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
4890         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
4891         of 0.
4893 2015-01-08  Roland McGrath  <roland@hack.frob.com>
4895         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
4896         <nptl/pthreadP.h> instead.
4897         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
4899         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
4900         already defined.
4901         [__SIGRTMIN] (init): Function removed.
4902         [__SIGRTMIN] (initialized): Variable removed.
4903         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
4904         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
4905         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
4906         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
4907         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
4908         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
4909         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
4910         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
4911         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
4912         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
4913         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
4914         * sysdeps/nptl/allocrtsig.c: New file.
4915         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
4916         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
4917         * sysdeps/generic/testrtsig.h: File removed.
4919         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
4920         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
4922         * nptl/nptl-init.c (pthread_functions): Conditionalize
4923         .ptr__nptl_setxid initialization on [SIGSETXID].
4925         * sysdeps/nptl/sys/procfs.h: New file.
4926         * nptl_db/Makefile (headers): Add it.
4927         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
4929         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
4930         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
4931         * nptl/pthread_attr_setaffinity.c: Include it.
4932         * nptl/pthread_setattr_default_np.c: Likewise.
4933         * nptl/check-cpuset.h: New file.
4935 2015-01-08  Richard Henderson  <rth@redhat.com>
4937         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
4938         (CFLAGS-tst-execstack-prog.c): Likewise.
4939         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
4941 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
4942             Sandra Loosemore  <sandra@codesourcery.com>
4943             Andrew Jenner  <andrew@codesourcery.com>
4944             Joseph Myers  <joseph@codesourcery.com>
4945             Nathan Sidwell  <nathan@codesourcery.com>
4947         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
4948         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
4949         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
4950         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
4951         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
4952         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
4953         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
4954         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
4955         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
4956         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
4957         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
4958         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
4959         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
4960         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
4961         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
4962         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
4963         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
4965 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4967         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
4968         timespec struct member in syscall macro.
4969         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4970         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
4971         first timeval struct member in syscall macro.
4972         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
4974 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
4976         [BZ #17748]
4977         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
4978         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
4979         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
4980         __feupdateenv and define as weak alias of __feupdateenv.  Use
4981         libm_hidden_weak.
4982         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
4983         libm_hidden_def.
4984         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
4985         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
4986         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4987         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
4988         libm_hidden_def.
4989         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
4990         __feupdateenv and define as weak alias of __feupdateenv.  Use
4991         libm_hidden_weak.
4992         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
4993         libm_hidden_def.
4994         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
4995         __feupdateenv and define as weak alias of __feupdateenv.  Use
4996         libm_hidden_weak.
4997         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
4998         libm_hidden_def.
4999         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5000         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5001         (__feupdateenv): Likewise.
5002         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
5003         __feupdateenv and define as weak alias of __feupdateenv.  Use
5004         libm_hidden_weak.
5005         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5006         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
5007         libm_hidden_def.
5008         * sysdeps/tile/math_private.h (__feupdateenv): New inline
5009         function.
5010         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
5011         libm_hidden_def.
5012         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
5013         __feupdateenv instead of feupdateenv.
5014         (default_libc_feupdateenv_test): Likewise.
5015         (libc_feresetround_ctx): Likewise.
5017 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5019         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
5020         prototype.
5022 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
5024         * posix/regcomp.c (parse_bracket_exp): Initialize type to
5025         COLL_SYM in a couple of places to avoid uninitialized variable
5026         wanings on tilegx gcc 4.8.2.
5028 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
5030         * sysdeps/aarch64/strcpy.S: New file.
5031         * sysdeps/aarch64/stpcpy.S: New file.
5032         * NEWS: Updated.
5034 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
5036         * sysdeps/aarch64/strrchr.S: New file.
5037         * NEWS: Updated.
5039 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
5041         [BZ #17658]
5042         * stdlib/setenv.c: Fix memory leak when setting large,
5043         duplicate string.
5045 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
5047         [BZ #17273]
5048         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
5049         and tabs from buffer before parsing fstab entry.
5050         * misc/tst-mntent.c (main): Add test for mount entry with
5051         trailing spaces and tabs.
5053 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
5055         [BZ #17748]
5056         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
5057         * math/fesetround.c (fesetround): Rename to __fesetround and
5058         define as weak alias of __fesetround.  Use libm_hidden_weak.
5059         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
5060         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
5061         * sysdeps/arm/fesetround.c (fesetround): Likewise.
5062         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
5063         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
5064         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
5065         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
5066         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
5067         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
5068         __fesetround_inline.
5069         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
5070         __fesetround_inline instead of __fesetround.
5071         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
5072         __fesetround and define as weak alias of __fesetround.  Use
5073         libm_hidden_weak.  Call __fesetround_inline instead of
5074         __fesetround.
5075         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
5076         __fesetround and define as weak alias of __fesetround.  Use
5077         libm_hidden_weak.
5078         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
5079         Likewise.
5080         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
5081         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5082         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
5083         * sysdeps/tile/math_private.h (__fesetround): New inline function.
5084         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
5085         __fesetround and define as weak alias of __fesetround.  Use
5086         libm_hidden_weak.
5087         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
5088         __fesetround instead of fesetround.
5089         (default_libc_feholdexcept_setround): Likewise.
5090         (libc_feholdsetround_ctx): Likewise.
5091         (libc_feholdsetround_noex_ctx): Likewise.
5093         [BZ #17748]
5094         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
5095         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
5096         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5097         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
5098         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5099         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
5100         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5101         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5102         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5103         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5104         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5105         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5106         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5107         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5108         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
5109         libm_hidden_def.
5110         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
5111         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
5112         Likewise.
5113         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5114         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5115         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5116         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5117         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
5118         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5119         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
5120         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
5121         __fesetenv instead of fesetenv.
5122         (libc_feresetround_noex_ctx): Likewise.
5123         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5124         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5125         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
5126         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5127         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5128         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5129         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5130         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5131         (__feupdateenv): Likewise.
5132         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5133         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5134         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5135         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
5137 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
5139         [BZ #17806]
5140         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
5141         addresses have been freed.
5143 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
5145         * resolv/res_init.c (__res_vinit): Improve comments about nserv
5146         and nservall.
5148 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
5150         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
5151         Clean up check_pf allocation pattern. addresses
5153 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5155         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
5156         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
5157         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5158         * nptl/pthread_exit.c (__pthread_exit): Likewise.
5159         * nptl/pthread_join.c (pthread_join): Likewise.
5160         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
5161         * sysdeps/posix/waitid.c (__waitid): Likewise.
5162         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5163         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5164         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5165         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5166         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5167         Likewise.
5168         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5169         (__libc_pread64): Likewise.
5170         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5171         (__libc_pwrite): Likewise.
5172         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5173         (__libc_pwrite64): Likewsie.
5174         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5175         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5176         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5177         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5178         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5179         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5180         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5182         Likewise.
5183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5184         (__libc_pread64): Likewise.
5185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
5186         Likewise.
5187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5188         (__libc_pwrite64): Likewise.
5189         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5190         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5191         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
5192         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
5193         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5194         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5195         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
5196         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5197         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5198         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5199         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
5200         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5201         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5202         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
5203         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5204         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5205         Likewise.
5207 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
5209         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
5210         (CFLAGS-test-double.c): Likewise.
5211         (CFLAGS-test-ldouble.c): Likewise.
5212         (CPPFLAGS-test-ifloat.c): Likewise.
5213         (CPPFLAGS-test-idouble.c): Likewise.
5214         (CPPFLAGS-test-ildoubl.c): Likewise.
5215         (CFLAGS-test-test-fenv.c): Remove variable.
5216         (CFLAGS-test-misc.c): Likewise.
5218 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
5220         [BZ #17797]
5221         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
5222         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
5223         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
5224         CLOCKS_PER_SEC == 1000000.
5225         * time/clocktest.c (main): Replace %ld with %jd and cast to
5226         intmax_t.
5228 2015-01-05  Roland McGrath  <roland@hack.frob.com>
5230         * sysdeps/generic/unwind-resume.h: New file.
5231         * sysdeps/gnu/unwind-resume.c: Include it.
5232         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
5233         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
5234         argument list.
5235         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
5236         global rather than static.
5237         (_Unwind_Resume): Update user.
5238         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
5239         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
5240         rather than static.  Add __attribute__ ((cold)).
5241         (_Unwind_Resume, __gcc_personality_v0): Update callers.
5242         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
5243         * sysdeps/arm/arm-unwind-resume.S: New file.
5244         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
5245         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
5246         * sysdeps/arm/Makefile [$(subdir) = csu]
5247         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
5248         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5249         Add rt-arm-unwind-resume.
5250         [$(subdir) = nptl]
5251         (libpthread-sysdep_routines, libpthread-shared-only-routines):
5252         Add pt-arm-unwind-resume.
5253         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
5254         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
5256 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
5258         [BZ #17748]
5259         * include/fenv.h (__feholdexcept): Declare.  Use
5260         libm_hidden_proto.
5261         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
5262         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
5263         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5264         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
5265         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
5266         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
5267         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
5268         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5269         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
5270         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
5271         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5272         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
5273         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
5274         (feholdexcept): Likewise.
5275         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5276         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5277         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5278         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5279         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
5280         __feholdexcept instead of feholdexcept.
5281         (default_libc_feholdexcept_setround): Likewise.
5283 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
5285         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
5286         to avoid using stl/str to align destination.
5288 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
5290         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
5292 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
5294         [BZ #17796]
5295         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
5296         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
5297         Define as weak alias not strong alias.
5299 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
5301         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
5302         bltzal with addiupc.
5303         (RTLD_START): Ditto.
5305 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
5307         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
5308         for __vdso_* functions in declarations.
5309         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
5310         definitions.
5311         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
5312         INTERNAL_VSYSCALL): Use struct return types to check for error.
5314         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
5315         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
5316         function with cast from llround().
5317         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
5318         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5319         Define.
5321 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
5323         [BZ #17793]
5324         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
5325         Define as weak alias not strong alias.
5327         [BZ #17635]
5328         * ctype/ctype-c99.c: New file.  isblank implementation moved from
5329         ...
5330         * ctype/ctype-extn.c: ... here.
5331         (__isblank_l): Move to ...
5332         * ctype/ctype-c99_l.c: ... here.  New file.
5333         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
5334         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
5335         Remove variable.
5336         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5337         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5338         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5339         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5340         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5342         [BZ #17777]
5343         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
5344         (posix_fadvise64): Define as weak alias not strong alias.
5345         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5346         (posix_fallocate64): Likewise.
5347         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
5348         Remove variable.
5349         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5350         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5351         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5352         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5353         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5355 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
5357         [BZ #16191]
5358         * NEWS: Mention bug fix.
5359         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
5360         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
5361         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
5362         (HOST_STACK_END_ADDR): Likewise.
5364 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
5366         [BZ #17748]
5367         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
5368         * math/fegetround.c (fegetround): Rename to __fegetround and
5369         define as weak alias of __fegetround.  Use libm_hidden_weak.
5370         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
5371         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
5372         * sysdeps/arm/fegetround.c (fegetround): Likewise.
5373         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
5374         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5375         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
5376         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
5377         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
5378         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5379         Undefine after rather than before function definition; use
5380         parentheses around function name in definition.
5381         (__fegetround): Also undefine macro after function definition.
5382         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
5383         __fegetround and define as weak alias of __fegetround.  Use
5384         libm_hidden_weak.  Do not undefine as macro.
5385         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5386         Likewise.
5387         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
5388         __fegetround and define as weak alias of __fegetround.  Use
5389         libm_hidden_weak.
5390         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5391         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
5392         * sysdeps/tile/math_private.h (__fegetround): New inline function.
5393         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
5394         __fegetround and define as weak alias of __fegetround.  Use
5395         libm_hidden_weak.
5396         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
5397         __fegetround instead of fegetround.
5399         [BZ #17782]
5400         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
5401         Condition macro definition on [__USE_MISC].
5403         [BZ #17781]
5404         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
5405         (struct sigaction): Change type of sa_flags field to int.
5407         [BZ #17780]
5408         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
5409         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
5410         __glibc_reserved0.
5412         * nptl/version.c (banner): Use single year in copyright notice.
5414         * NEWS: Update copyright dates.
5415         * catgets/gencat.c (print_version): Likewise.
5416         * csu/version.c (banner): Likewise.
5417         * debug/catchsegv.sh: Likewise.
5418         * debug/pcprofiledump.c (print_version): Likewise.
5419         * debug/xtrace.sh (do_version): Likewise.
5420         * elf/ldconfig.c (print_version): Likewise.
5421         * elf/ldd.bash.in: Likewise.
5422         * elf/pldd.c (print_version): Likewise.
5423         * elf/sotruss.sh: Likewise.
5424         * elf/sprof.c (print_version): Likewise.
5425         * iconv/iconv_prog.c (print_version): Likewise.
5426         * iconv/iconvconfig.c (print_version): Likewise.
5427         * locale/programs/locale.c (print_version): Likewise.
5428         * locale/programs/localedef.c (print_version): Likewise.
5429         * login/programs/pt_chown.c (print_version): Likewise.
5430         * malloc/memusage.sh (do_version): Likewise.
5431         * malloc/memusagestat.c (print_version): Likewise.
5432         * malloc/mtrace.pl: Likewise.
5433         * manual/libc.texinfo: Likewise.
5434         * nptl/version.c (banner): Likewise.
5435         * nscd/nscd.c (print_version): Likewise.
5436         * nss/getent.c (print_version): Likewise.
5437         * nss/makedb.c (print_version): Likewise.
5438         * posix/getconf.c (main): Likewise.
5439         * scripts/test-installation.pl: Likewise.
5440         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5442 2015-01-02  Will Newton  <will.newton@linaro.org>
5444         * sysdeps/arm/armv7/configure: Removed.
5445         * sysdeps/arm/armv7/configure.ac: Likewise.
5447 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
5449         * All files with FSF copyright notices: Update copyright dates
5450         using scripts/update-copyrights.
5451         * intl/plural.c: Regenerated.
5452         * locale/programs/charmap-kw.h: Likewise.
5453         * locale/programs/locfile-kw.h: Likewise.
5455 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5457         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
5459 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
5461         [BZ #17748]
5462         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
5463         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
5464         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5465         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
5466         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5467         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
5468         define as weak alias of __fegetenv.  Use libm_hidden_weak.
5469         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
5470         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5471         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5472         define as weak alias of __fegetenv.  Use libm_hidden_weak.
5473         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5474         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5475         define as weak alias of __fegetenv.  Use libm_hidden_weak.
5476         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
5477         libm_hidden_def.
5478         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
5479         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
5480         Likewise.
5481         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5482         define as weak alias of __fegetenv.  Use libm_hidden_weak.
5483         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5484         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5485         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
5486         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5487         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
5488         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
5489         __fegetenv instead of fegetenv.
5490         (libc_feholdsetround_noex_ctx): Likewise.
5492 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
5494         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
5495         (Elf_MIPS_ABIFlags_v0): New structure.
5496         (EF_MIPS_FP64): Define.
5497         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
5498         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
5499         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
5500         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
5501         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
5502         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
5503         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
5504         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
5505         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
5506         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
5507         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
5508         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
5509         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
5510         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
5511         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
5512         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
5513         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
5514         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
5515         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
5516         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
5517         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
5518         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
5519         field.
5520         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
5521         EF_MIPS_FP64.
5522         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
5523         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
5524         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
5525         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
5526         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
5527         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
5528         * sysdeps/mips/tst-abi-interlink.c: Likewise.
5529         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
5530         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
5531         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
5532         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
5533         record the current FP ABI extension.
5534         (mips-mode-switch): Define to show if kernel headers support mode
5535         switching.
5536         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5537         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
5538         supported SYSV ABI version to 3.
5539         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
5540         feature.
5542 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5543             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5545         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
5546         path.
5547         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
5549 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
5551         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
5552         __fegetround and redefine to call __fegetround.  Remove condition
5553         on [!__NO_MATH_INLINES].
5554         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
5555         function.
5556         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
5557         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5558         Remove macro.
5559         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
5560         instead of <fenv_libc.h>.
5561         (__llrintl): Call fegetround instead of __fegetround.
5562         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
5563         instead of <fenv_libc.h>.
5564         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5565         (__lrintl): Call fegetround instead of __fegetround.
5566         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
5567         instead of <fenv_libc.h>.
5568         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5569         (__rintl): Call fegetround instead of __fegetround.
5571 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
5573         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
5574         arrays.
5576 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
5578         [BZ #17775]
5579         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
5580         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
5581         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
5583 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
5585         * sysdeps/i386/tls-macros.h: Include <features.h>.
5586         (TLS_LE): Use non-PIC version for GCC >= 5.0.
5587         (TLS_IE): Likewise.
5588         (TLS_LD): Likewise.
5589         (TLS_GD): Likewise.
5590         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
5591         define for GCC >= 5.0.
5593 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
5595         * math/test-fenv.c (test_single_exception, set_single_exc,
5596         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
5597         feexcp_mask_test, feenable_test, fe_single_test): Add
5598         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
5599         case where they are not used.
5600         * math/libm-test.inc: Likewise.
5601         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
5602         unused in the absence of FP rounding/exception support.
5603         * stdio-common/tst-printf-round.c: Likewise.
5604         * stdlib/tst-strtod-round.c: Likewise.
5605         * stdlib/tst-strtod-underflow.c: Likewise.
5607 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
5609         [BZ #17723]
5610         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
5611         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
5612         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5613         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
5614         libm_hidden_weak.
5615         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
5616         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5617         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
5618         libm_hidden_def.
5619         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5620         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
5621         libm_hidden_weak.
5622         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
5623         Likewise.
5624         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
5625         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5626         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
5627         libm_hidden_weak.
5628         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5629         libm_hidden_def.
5630         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5631         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
5632         (__feraiseexcept): Likewise.
5633         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5634         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
5635         libm_hidden_weak.
5636         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5637         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5638         libm_hidden_def.
5639         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
5640         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
5641         Use libm_hidden_def.
5642         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
5643         libm_hidden_def.
5644         (feraiseexcept): Define as weak not strong alias.  Use
5645         libm_hidden_weak.
5646         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
5647         New inline function.  Factored out of ...
5648         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
5649         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
5650         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
5651         feraiseexcept.
5652         * math/w_acos.c (__acos): Likewise.
5653         * math/w_asin.c (__asin): Likewise.
5654         * math/w_ilogb.c (__ilogb): Likewise.
5655         * math/w_j0.c (y0): Likewise.
5656         * math/w_j1.c (y1): Likewise.
5657         * math/w_jn.c (yn): Likewise.
5658         * math/w_log.c (__log): Likewise.
5659         * math/w_log10.c (__log10): Likewise.
5660         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
5661         * sysdeps/aarch64/fpu/math_private.h
5662         (libc_feupdateenv_test_aarch64): Likewise.
5663         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5664         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
5665         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
5666         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5667         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5668         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5669         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
5670         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5671         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5672         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5674 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
5676         [BZ #17732]
5677         * io/test-utime.c (main): Replace %ld with %jd and cast to
5678         intmax_t.
5679         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
5680         * nptl/tst-mutex5.c: Include <stdint.h>.
5681         (do_test): Replace %ld with %jd and cast to intmax_t.
5682         * posix/tst-regex.c (run_test): Likewise.
5683         (run_test_backwards): Likewise.
5684         * rt/tst-clock.c: Include <stdint.h>.
5685         (clock_test): Replace %ld with %jd and cast to intmax_t.
5686         * rt/tst-cpuclock1.c: Include <stdint.h>.
5687         (do_test): Replace %lu with %ju and cast to uintmax_t.
5688         * rt/tst-cpuclock2.c: Include <stdint.h>.
5689         (do_test): Replace %lu with %ju and cast to uintmax_t.
5690         * rt/tst-mqueue1.c: Include <stdint.h>.
5691         (check_attrs): Replace %ld with %jd and cast to intmax_t.
5692         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
5693         intmax_t.
5694         * rt/tst-mqueue4.c (do_test): Likewise.
5695         * rt/tst-timer4.c: Include <stdint.h>.
5696         (check_ts): Replace %ld with %jd and cast to intmax_t.
5697         (do_test): Likewise.
5698         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
5699         and cast to intmax_t.
5700         * sysdeps/pthread/tst-timer.c (main): Likewise.
5701         * time/clocktest.c (main): Likewise.
5702         * time/tst-posixtz.c (do_test): Likewise.
5703         * timezone/tst-timezone.c (main): Likewise.
5705 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
5706             H.J. Lu  <hongjiu.lu@intel.com>
5708         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
5709         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
5710         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
5711         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
5712         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
5713         version if bit_Fast_Unaligned_Load is set.
5714         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5715         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5716         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5717         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5718         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5719         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5720         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5721         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
5722         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
5723         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
5724         to 4.
5725         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
5726         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
5727         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
5728         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
5730 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
5732         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
5733         instead of #if to avoid a Wundef warning.
5734         * stdlib/tst-limits.c (do_test): Likewise.
5736         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
5737         parallel other exception macros.
5738         (fegetenv): Convert from macro to extern inline so that it applies
5739         retroactively to inline functions already seen by the compiler.
5740         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
5742         * posix/Makefile (before-compile): Use $(objpfx) for
5743         posix-conf-vars-def.h.
5745 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5747         * posix/getconf.c (main): Use size_t for type of I.
5748         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
5749         NSPEC.
5751         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
5752         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
5753         * posix/posix-envs.def: Likewise.
5754         * sysdeps/posix/sysconf.c: Likewise.
5755         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
5756         (specs): Remove array.
5757         * scripts/gen-posix-conf-vars.awk: Support generation of specs
5758         array.
5760         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
5761         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
5762         (__sysconf): Use CONF_IS_* macros.
5764         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
5765         ($(objpfx)posix-conf-vars-def.h): New target.
5766         * posix/posix-conf-vars.list: New file.
5767         * posix/posix-conf-vars.h: New file.
5768         * posix/confstr.c: Include posix-conf-vars.h.
5769         (confstr): Use CONF_IS_* macros.
5770         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
5771         CONF_IS_* macros.
5772         * scripts/gen-posix-conf-vars.awk: New file.
5774 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
5776         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
5777         fegetround): Add no-op macros to avoid linknamespace issues.
5779         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
5780         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
5782         * sysdeps/unix/sysv/linux/tile/sysdep.h
5783         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
5784         assembly-specific section to avoid a redefinition warning.
5786         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
5787         long before casting to pointer to avoid a cast warning.
5789 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
5791         * sysdeps/tile/tilegx/Implies: New file.
5793 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
5795         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
5797 2014-12-23  Florian Weimer  <fweimer@redhat.com>
5799         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
5801 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
5803         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
5804         not define.
5805         * sysdeps/unix/sysv/linux/utimes.c: Do not include
5806         <kernel-features.h>.
5807         (__utimes) [__NR_utimes]: Make code unconditional.
5808         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
5809         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5810         (__ASSUME_UTIMES): Do not undefine.
5811         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5812         (__ASSUME_UTIMES): Likewise.
5813         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5814         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
5815         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
5816         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
5818 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
5820         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
5822 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
5824         [BZ #17747]
5825         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
5826         alias to weak alias for j0l, y0l.
5827         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
5828         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
5830         [BZ #17746]
5831         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
5832         conversion.
5834 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
5836         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
5837         to zero if not already defined.
5839 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
5841         [BZ #17724]
5842         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
5843         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
5844         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
5845         (char *) casts added.
5846         * sysdeps/ieee754/k_standardf.c: New file.
5847         * sysdeps/ieee754/k_standardl.c: Likewise.
5848         * math/Makefile (libm-support): Remove k_standard.
5849         (libm-calls): Add k_standard.
5851 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5853         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5854         Optimize to avoid an unnecessary FPCR read.
5856 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5858         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
5859         Optimize to reduce FPCR/FPSR accesses.
5861 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5863         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
5864         Call libc_fetestexcept_aarch64.
5866 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5868         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
5869         Call libc_fesetround_aarch64.
5871 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
5873         [BZ #17733]
5874         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
5875         (__bind): Do not define as weak alias.
5876         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
5877         define.
5878         (__getsockname): Do not define as weak alias.
5880 2014-12-22  Will Newton  <will.newton@linaro.org>
5882         * manual/install.texi: Document that we require bison 2.7
5883         or above.
5884         * INSTALL: Regenerate.
5885         * configure.ac: Use AC_CHECK_PROG_VER instead of
5886         AC_PATH_PROG when checking for bison and check for
5887         version 2.7 or above.
5888         * configure: Regenerate.
5890 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
5892         [BZ #17745]
5893         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
5894         * sysdeps/tile/ffsll.c (ffsll): To here.
5896         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
5898 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
5900         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
5901         if not defined.
5902         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
5903         definition.
5904         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5905         hidden ___tls_get_addr.
5906         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5907         hidden __tls_get_addr.
5908         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
5909         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
5910         Likewise.
5912 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
5914         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
5915         _dl_init call.
5917 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
5919         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
5920         from "call _dl_init@PLT".
5921         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
5923 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
5925         * manual/search.texi: (Array Sort Function): Clarify stable sorting
5926         guarantees.
5928 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
5930         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
5932 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
5934         [BZ #17744]
5935         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
5936         strnlen.
5938 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
5940         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
5941         of multu on MIPSr6.
5942         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
5943         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
5944         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
5945         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
5946         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
5948 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
5950         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
5951         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
5952         (PTR_SUBU): Use subu for mips32r6/mips64r6.
5953         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
5954         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
5955         mips32r6/mips64r6.
5956         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
5958 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
5960         * string/strncat.c (STRNCAT): Simplify implementation.
5962 2014-12-19  David S. Miller  <davem@davemloft.net>
5964         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
5965         access the quad as both a long double and as a series of 4 words.
5967         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
5968         link_map->l_info array access.
5970 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
5972         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
5974         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
5975         * math/atest-exp2.c (TIMEOUT): Likewise.
5976         * math/atest-sincos.c (TIMEOUT): Likewise.
5978 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
5980         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
5981         -Wno-error with -fno-builtin-lround.
5983 2014-12-19  Torvald Riegel  <triegel@redhat.com>
5985         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
5986         Contains futex constants and functions moved over from ...
5987         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
5988         <lowlevellock-futex.h>.
5989         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5990         (lll_timedwait_tid): Add comments and parentheses around macro
5991         arguments.
5993 2014-12-19  Torvald Riegel  <triegel@redhat.com>
5995         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
5996         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
5997         (__lll_private_flag): Remove.
5998         (lll_futex_wait): Likewise.
5999         (lll_futex_timed_wait): Likewise.
6000         (lll_futex_wake): Likewise.
6001         (lll_futex_requeue): Likewise.
6002         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6003         (__lll_timedwait_tid): Spell out argument names.
6004         (lll_timedwait_tid): Add comments and parentheses around macro
6005         arguments.
6006         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
6007         LLL_SHARED and LLL_PRIVATE usable from assembly code.
6009 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6011         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
6012         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6013         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6014         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
6015         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
6016         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
6017         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
6018         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
6019         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
6020         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
6021         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
6022         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
6023         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
6024         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
6025         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
6026         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
6027         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
6028         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
6029         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
6031 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6033         * sysdeps/x86_64/x32/Makefile: New file.
6035 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6037         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
6038         1L with (mp_limb_t) 1.
6040 2014-12-17  Roland McGrath  <roland@hack.frob.com>
6042         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
6043         * nptl/libc_pthread_init.c: ... here.
6044         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
6045         * nptl/register-atfork.c: ... here.
6047         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
6048         Use pthread_sigmask rather than INTERNAL_SYSCALL.
6049         Use assert_perror to check its return value.
6050         (__gai_create_helper_thread): Likewise.
6052         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
6054         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
6056 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
6058         [BZ #17725]
6059         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
6060         __profil_counter.
6061         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
6062         Likewise.
6063         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
6064         Likewise.
6065         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
6066         Likewise.
6067         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
6068         (profil_counter): Likewise.
6069         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
6070         (profil_counter): Likewise.
6071         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
6072         Likewise.
6073         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
6074         Likewise.
6075         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
6076         (profil_counter): Likewise.
6077         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
6078         Likewise.
6079         [!__profil_counter] (profil_counter): Define as weak alias of
6080         __profil_counter.
6081         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
6082         (profil_counter): Rename to __profil_counter.
6083         [!__profil_counter] (profil_counter): Define as weak alias of
6084         __profil_counter.
6085         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
6086         (profil_counter): Rename to __profil_counter.
6087         [!__profil_counter] (profil_counter): Define as weak alias of
6088         __profil_counter.
6089         * sysdeps/posix/profil.c: Update comment referring to
6090         profil_counter.
6091         (__profil): Use __profil_counter instead of profil_counter.
6092         * sysdeps/posix/sprofil.c (profil_counter): Rename to
6093         __profil_counter.  Use __profil_counter_ushort and
6094         __profil_counter_uint in definitions.
6095         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
6096         instead of profil_counter_uint and profil_counter_ushort.
6098         [BZ #17722]
6099         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
6100         define as weak alias of __inet_makeaddr.
6101         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
6102         as weak alias of __inet_addr.
6103         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
6104         as weak alias of __inet_pton.  Use libc_hidden_weak.
6105         * include/arpa/inet.h (__inet_pton): Declare.  Use
6106         libc_hidden_proto.
6107         (inet_makeaddr): Don't use libc_hidden_proto.
6108         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
6109         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
6110         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
6111         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
6112         Remove variable.
6113         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6114         (test-xfail-POSIX/time.h/linknamespace): Likewise.
6116 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
6118         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
6120 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6122         * stdio-common/bug-vfprintf-nargs.c (do_test):
6123         Cast value to intptr_t to avoid format warning
6124         for usage with PRIdPTR printing macro.
6126 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6128         * libio/tst-widetext.c (do_test):
6129         Use format type %td instead of %Zd for ptrdiff_t
6130         in order to avoid format warning.
6132 2014-12-17  Andreas Schwab  <schwab@suse.de>
6134         * nscd/mem.c (gc): Add size_t cast to match printf format.
6136 2014-12-16  Roland McGrath  <roland@hack.frob.com>
6138         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
6139         (init): Apply PTR_MANGLE to pointers before storing them.
6140         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
6141         before using them.
6143 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
6145         [BZ #17719]
6146         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
6147         define as weak alias of __memrchr.
6148         (__memrchr): Do not define as strong alias of memrchr.
6149         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
6150         Remove variable.
6151         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6152         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6153         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6155         [BZ #17717]
6156         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
6157         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
6158         (if_indextoname): Rename to __if_indextoname and define as weak
6159         alias of __if_indextoname.  Use libc_hidden_weak.
6160         (if_freenameindex): Rename to __if_freenameindex and define as
6161         weak alias of __if_freenameindex.
6162         (if_nameindex): Rename to __if_nameindex and define as weak alias
6163         of __if_nameindex.
6164         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
6165         __if_nametoindex and define as weak alias of __if_nametoindex.
6166         Use libc_hidden_weak.
6167         (if_freenameindex): Rename to __if_freenameindex and define as
6168         weak alias of __if_freenameindex.
6169         (if_nameindex): Rename to __if_nameindex and define as weak alias
6170         of __if_nameindex.
6171         (if_indextoname): Rename to __if_indextoname and define as weak
6172         alias of __if_indextoname.  Use libc_hidden_weak.
6173         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
6174         __if_nametoindex and define as weak alias of __if_nametoindex.
6175         Use libc_hidden_weak.
6176         (if_freenameindex): Rename to __if_freenameindex and define as
6177         weak alias of __if_freenameindex.  Use libc_hidden_weak.
6178         (if_nameindex_netlink): Use __if_freenameindex instead of
6179         if_freenameindex.
6180         (if_nameindex): Rename to __if_nameindex and define as weak alias
6181         of __if_nameindex.  Use libc_hidden_weak.
6182         (if_indextoname): Rename to __if_indextoname and define as weak
6183         alias of __if_indextoname.  Use libc_hidden_weak.
6184         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
6185         libc_hidden_proto.
6186         [!_ISOMAC] (__if_freenameindex): Likewise.
6187         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
6188         if_nametoindex.
6189         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
6190         variable.
6191         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6192         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6193         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6194         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6195         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6196         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6197         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6199         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
6200         Remove variable.
6201         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6202         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6204 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6206         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
6207         subscript above bounds'
6209         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
6210         bounds.
6212 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
6214         * libio/tst-fopenloc.c: Use test-skeleton.c.
6216         * stdlib/tst-bsearch.c: Use test-skeleton.c.
6217         (entry): Rename to ITEM.
6218         (do_test, comp): Adjust.
6220         * stdio-common/tst-fseek.c: Use test-skeleton.c.
6222 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6224         * string/tester.c: Include <libc-internal.h>.
6225         (test_memset): Ignore -Wmemset-transposed-args.
6227 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6229         * misc/tst-mntent2.c (do_test): Fix warning.
6231 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6233         * elf/tst-unique4lib.cc(a): Mark as used.
6235 2014-12-16  Florian Weimer  <fweimer@redhat.com>
6237         [BZ #17630]
6238         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
6239         names.
6241 2014-12-16  Allan McRae  <allan@archlinux.org>
6243         * stdio-common/Makefile (tests): Re-add bug26.
6245 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
6247         [BZ #17657]
6248         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
6249         static array.
6251 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
6253         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
6254         (__lll_lock_wait): Likewise.
6255         (__lll_timedlock_wait): Likewise.
6256         (__lll_timedwait_tid): Likewise.
6257         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
6258         (__lll_robust_timedlock_wait): Likewise.
6259         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
6260         (lll_cond_trylock): Likewise.
6261         (__lll_lock): Likewise.
6262         (__lll_robust_lock): Likewise.
6263         (__lll_cond_lock): Likewise.
6264         (lll_robust_cond_lock): Likewise.
6265         (__lll_timedlock): Likewise.
6266         (__lll_robust_timedlock): Likewise.
6267         (__lll_unlock): Likewise.
6268         (__lll_robust_unlock): Likewise.
6269         (lll_wait_tid): Likewise.
6270         (lll_timedwait_tid): Likewise.
6272 2014-12-15  Torvald Riegel  <triegel@redhat.com>
6274         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
6276 2014-12-15  Torvald Riegel  <triegel@redhat.com>
6278         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
6280 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
6282         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
6283         * stdio-common/tst-sprintf.c: Likewise.
6285 2014-12-15  Torvald Riegel  <triegel@redhat.com>
6287         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
6289 2014-12-15  Jeff Law  <law@redhat.com>
6291         [BZ #16617]
6292         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
6293         on the heap.  (CVE-2012-3406)
6294         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
6295         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
6296         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
6298 2014-12-15  Will Newton  <will.newton@linaro.org>
6300         * manual/install.texi: Bump required version of texinfo
6301         to 4.7 from 4.5.
6302         * INSTALL: Regenerated.
6303         * configure.ac: Check for makeinfo version 4.7 and above.
6304         * configure: Regenerated.
6306 2014-12-12  Roland McGrath  <roland@hack.frob.com>
6308         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
6309         PREFIX, string constant to insert between directory and name.
6310         * sysdeps/posix/shm_open.c: Update caller.
6311         * sysdeps/posix/shm_unlink.c: Likewise.
6312         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
6313         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
6314         (SEM_SHM_PREFIX): New macro.
6315         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
6316         [$(have-thread-library) = no].
6317         * nptl/Makefile (libpthread-routines): Add shm-directory.
6318         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
6319         * sysdeps/nptl/shm-directory.h: New file.
6320         * sysdeps/posix/shm-directory.c
6321         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
6322         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6323         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
6324         INTERNAL_SYSCALL.
6325         (__where_is_shmfs): Function removed.
6326         (mountpoint, defaultmount, defaultdir, __namedsem_once):
6327         Variables removed.
6328         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
6329         Use SHM_GET_NAME.
6330         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
6332         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
6333         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
6334         unconditional for use inside libpthread.
6335         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
6337 2014-12-12  Roland McGrath  <roland@hack.frob.com>
6339         * nptl/pthread_getaffinity.c: New file.
6340         * nptl/pthread_setaffinity.c: New file.
6341         * nptl/pthread_getname.c: New file.
6342         * nptl/pthread_setname.c: New file.
6344         * nptl/pthread_create.c (START_THREAD_DEFN)
6345         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
6347 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6348             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6350         * resolv/res_send.c (send_vc): Disable warning resplen may
6351         be used uninitialized.
6353 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6355         * nptl/tst-mutex6.c
6356         (ATTR_NULL): New define checks ATTR against NULL.
6357         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
6358         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
6360 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
6362         [BZ #17581]
6363         * malloc/hooks.c
6364         (mem2mem_check): Revert my previous change.
6365         (malloc_check_get_size): Revert my previous change.
6366         (mem2chunk_check): Revert my previous change.
6368 2014-12-11  Roland McGrath  <roland@hack.frob.com>
6370         * sysdeps/posix/shm-directory.c: New file.
6371         * sysdeps/posix/shm-directory.h: New file.
6372         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
6373         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
6374         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
6375         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
6376         Transmute EPERM to EACCES.
6377         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
6378         from ...
6379         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
6380         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
6382 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6384         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
6385         pointer and cast to uintptr_t.
6386         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
6387         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
6388         Add cast to avoid warning.
6389         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
6391 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
6393         * nptl/semaphore.h: Move to ...
6394         * sysdeps/pthread/semaphore.h: ... here.
6395         * Makefile (installed-headers): Change nptl/semaphore.h to
6396         sysdeps/pthread/semaphore.h.
6398 2014-12-11  Roland McGrath  <roland@hack.frob.com>
6400         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
6401         generated error format strings.
6403         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
6404         -Wformat-extra-args warnings for scanf formats.
6405         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
6406         test of zero-length format (duh).
6407         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
6408         corner-case scanf format test.
6409         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
6410         generated fprintf format string.
6411         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
6412         corner-case sprintf format tests.
6413         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
6414         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
6415         -Wformat-extra-args warnings throughout.
6416         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
6417         (CFLAGS-scanf4.c): Likewise.
6418         (CFLAGS-scanf7.c): Likewise.
6419         (CFLAGS-tst-sprintf.c): Likewise.
6420         (CFLAGS-tst-printf.c): Likewise.
6421         (CFLAGS-tst-printfsz.c): Likewise.
6423 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
6425         * include/cpio.h: New file.
6426         * include/fmtmsg.h: Likewise.
6428         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
6429         corresponding format argument to size_t.
6430         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
6431         arguments.
6432         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
6433         corresponding format argument to size_t.
6434         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
6435         arguments.
6436         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
6437         corresponding format argument to size_t.
6438         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
6439         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
6440         (CFLAGS-tst-mbswcs2.c): Likewise.
6441         (CFLAGS-tst-mbswcs3.c): Likewise.
6442         (CFLAGS-tst-mbswcs4.c): Likewise.
6443         (CFLAGS-tst-mbswcs5.c): Likewise.
6444         (CFLAGS-tst-trans.c): Likewise
6446 2014-12-11  Roland McGrath  <roland@hack.frob.com>
6448         * posix/regexbug1.c (main): Use "%s" format with regerror results,
6449         rather than assuming they won't contain any '%'s.
6451 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
6453         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
6454         inhibit_loop_to_libcall to avoid recursive calls.
6455         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
6456         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
6458 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
6460         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
6461         prototype.
6463 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
6465         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
6466         integer value instead of boolean.
6468 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
6470         * malloc/malloc.c: Fix powerof2 check.
6472 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6474         * locale/programs/locfile.h (maybe_swap_uint32):
6475         Remove inline and add unused attribute.
6477 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6479         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6480         Truncating assembler expression to a .long expression.
6482 2014-12-11  Andreas Schwab  <schwab@suse.de>
6484         * elf/rtld.c (struct map_args): Constify str member.
6485         (do_preload): Constify fname argument.
6487 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6489         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
6490         constants definition.
6492 2014-12-11  Andreas Schwab  <schwab@suse.de>
6494         [BZ #16657]
6495         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
6496         FORCE_ELISION instead of DO_ELISION.
6497         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
6498         Remove.
6499         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
6500         Likewise.
6502         * iconvdata/gconv-modules: Remove duplicate entry.
6504 2014-12-11  Will Newton  <will.newton@linaro.org>
6506         Merge gettext 0.19.3 into intl/.
6508         This involves a number of cosmetic changes to comments
6509         and ANSI function definitions and prototypes throughout
6510         all the files. The gettext copyright header is used but
6511         with the date ranges taken from the glibc copy.
6513         * NEWS: Add gettext merge to 2.21.
6514         * intl/bindtextdom.c: Switch to gettext copyright.
6515         Use ANSI definitions and prototypes.
6516         Use gl_* locking primitives rather than __libc_* ones.
6517         Use __builtin_expect rather than __glibc_likely/unlikely.
6518         * intl/dcgettext.c: Switch to gettext copyright.
6519         Use ANSI definitions and prototypes.
6520         * intl/dcigettext.c: Switch to gettext copyright.
6521         Use ANSI definitions and prototypes.
6522         (INTDIV0_RAISES_SIGFPE): New define.
6523         Use gl_* locking primitives rather than __libc_* ones.
6524         Include eval-plural.h instead of plural-eval.c.
6525         Use __builtin_expect rather than __glibc_likely/unlikely.
6526         * intl/dcngettext.c: Switch to gettext copyright.
6527         Use ANSI definitions and prototypes.
6528         * intl/dgettext.c: Likewise.
6529         * intl/dngettext.c: Likewise.
6530         * intl/plural-eval.c: Renamed to...
6531         * intl/eval-plural.h: ...this.
6532         * intl/explodename.c: Switch to gettext copyright.
6533         Use ANSI definitions and prototypes.
6534         (_nl_explode_name): Use strchr instead of __rawmemchr.
6535         * intl/finddomain.c: Switch to gettext copyright.
6536         Use ANSI definitions and prototypes.
6537         Use gl_* locking primitives rather than __libc_* ones.
6538         (_nl_find_domain): Use malloc rather than alloca for
6539         allocation of temporary locale name.
6540         * intl/gettext.c: Switch to gettext copyright.
6541         Use ANSI definitions and prototypes.
6542         * intl/gettextP.h: Switch to gettext copyright.
6543         Use ANSI definitions and prototypes.
6544         Use gl_* locking primitives rather than __libc_* ones.
6545         * intl/gmo.h: Switch to gettext copyright.
6546         (struct sysdep_string): Move struct segment_pair outside of
6547         struct definition.
6548         * intl/hash-string.c: Use ANSI definitions and prototypes.
6549         * intl/hash-string.h: Switch to gettext copyright.
6550         Use ANSI definitions and prototypes.
6551         * intl/l10nflist.c: Switch to gettext copyright.
6552         Use ANSI definitions and prototypes.
6553         (_nl_normalize_codeset): Avoid integer overflow.
6554         * intl/loadinfo.h: Switch to gettext copyright.
6555         Use ANSI definitions and prototypes.
6556         (LIBINTL_DLL_EXPORTED): New define.
6557         (PATH_SEPARATOR): New define.
6558         * intl/loadmsgcat.c: Switch to gettext copyright.
6559         * intl/localealias.c: Switch to gettext copyright.
6560         Use ANSI definitions and prototypes.
6561         (_nl_expand_alias): Use PATH_SEPARATOR.
6562         * intl/ngettext.c: Switch to gettext copyright.
6563         Use ANSI definitions and prototypes.
6564         * intl/plural-exp.c: Likewise.
6565         * intl/plural-exp.h: Switch to gettext copyright.
6566         Use ANSI definitions and prototypes.
6567         (struct expression): Move definition of enum operator outside
6568         of struct definition.
6569         * intl/plural.c: Regenerate.
6570         * intl/plural.y: Switch to gettext copyright.
6571         Use ANSI definitions and prototypes.
6572         Port to bison 3.0.
6573         * intl/textdomain.c: Switch to gettext copyright.
6574         Use ANSI definitions and prototypes.
6575         Use gl_* locking primitives rather than __libc_* ones.
6577 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
6579         * debug/warning-nop.c: Add used atrribute.
6581 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
6583         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
6585         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
6586         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
6587         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
6589 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
6590             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6592         [BZ #17634]
6593         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
6594         Undefine after defining function.  Define as weak alias of
6595         __wcschr.  Use libc_hidden_weak.
6596         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
6597         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
6598         (libc_hidden_def): Also define __GI___wcschr alias.
6599         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
6600         __wcschr and define as weak alias of __wcschr.
6601         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
6602         __wcschr.
6603         [!WCSCHR] (DEFAULT_WCSCHR): Define.
6604         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
6605         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
6606         libc_hidden_weak.  Do not use libc_hidden_def.
6607         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
6608         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
6609         __GI___wcschr alias.
6610         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
6611         [IS_IN (libc)] (wcschr): Define as macro expanding to
6612         __redirect_wcschr.
6613         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
6614         [IS_IN (libc)] (__wcschr_power6): Likewise.
6615         [IS_IN (libc)] (__wcschr_power7): Likewise.
6616         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
6617         instead of wcschr.
6618         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
6619         __libc_wcschr.
6620         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
6621         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
6622         __wcschr and define as weak alias of __wcschr.  Use
6623         libc_hidden_builtin_def.
6624         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
6625         as weak alias of __wcschr.  Use libc_hidden_weak.
6626         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
6627         wcschr.
6628         * time/era.c (_nl_init_era_entries): Likewise.
6629         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
6630         variable.
6631         (test-xfail-XPG3/time.h/linknamespace): Likewise.
6632         (test-xfail-XPG4/time.h/linknamespace): Likewise.
6634 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
6636         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
6637         format for long int variable.
6639 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
6641         [BZ #10672]
6642         * manual/search.texi: (Array Sort Function): Remove claim how to make
6643         qsort stable.
6645 2014-12-10  Andreas Schwab  <schwab@suse.de>
6647         [BZ #12847]
6648         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
6649         user-controlled locks.
6651 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
6653         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
6654         register.
6656 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
6658         * configure.ac (--disable-werror): New configure option.
6659         (enable_werror): New AC_SUBST.
6660         * configure: Regenerated.
6661         * config.make.in (enable-werror): New variable.
6662         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
6663         -Wno-error=undef.
6664         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
6665         * manual/install.texi (Configuring and compiling): Document
6666         --disable-werror.
6667         * INSTALL: Regenerated.
6668         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
6669         (CFLAGS-tst-chk2.c): Likewise.
6670         (CFLAGS-tst-chk3.c): Likewise.
6671         (CFLAGS-tst-chk4.cc): Likewise.
6672         (CFLAGS-tst-chk5.cc): Likewise.
6673         (CFLAGS-tst-chk6.cc): Likewise.
6674         (CFLAGS-tst-lfschk1.c): Likewise.
6675         (CFLAGS-tst-lfschk2.c): Likewise.
6676         (CFLAGS-tst-lfschk3.c): Likewise.
6677         (CFLAGS-tst-lfschk4.cc): Likewise.
6678         (CFLAGS-tst-lfschk5.cc): Likewise.
6679         (CFLAGS-tst-lfschk6.cc): Likewise.
6681         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
6682         (main): Disable -Wdeprecated-declarations around calls to
6683         register_printf_function.
6685         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
6686         (do_test): Disable -Wdiv-by-zero around some calls to
6687         fwrite_unlocked and fread_unlocked.
6689         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
6690         (DIAG_POP_NEEDS_COMMENT): Likewise.
6691         (_DIAG_STR1): Likewise.
6692         (_DIAG_STR): Likewise.
6693         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
6694         * stdio-common/bug21.c: Include <libc-internal.h>.
6695         (do_test): Disable -Wformat around call to sscanf.
6696         * stdio-common/scanf14.c: Include <libc-internal.h>.
6697         (main): Disable -Wformat around some calls to scanf functions.
6699 2014-12-09  Torvald Riegel  <triegel@redhat.com>
6701         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
6703 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6705         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
6706         stack variable alignment.
6708 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
6710         [BZ #17682]
6711         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
6712         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
6713         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
6714         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
6715         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
6716         __getrlimit instead of getrlimit.
6717         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
6718         __gettimeofday instead of gettimeofday.
6719         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6720         Likewise.
6721         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6722         Likewise.
6723         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6724         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
6725         Remove variable.
6726         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6727         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6729 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6731         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
6732         for wide-character tests.
6734 2014-12-04  Roland McGrath  <roland@hack.frob.com>
6736         * io/openat64.c: #include <libc-internal.h>
6737         (__openat64): Prototypify.  Use ignore_value on MODE.
6738         * io/openat.c: Likewise.
6739         * misc/reboot.c: #include <libc-internal.h>
6740         (reboot): Prototypify.  Use ignore_value on HOWTO.
6741         * misc/ptrace.c: #include <libc-internal.h>
6742         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
6744 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
6746         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
6747         XPG4, UNIX98 and XOPEN2K.
6748         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
6749         Remove variable.
6750         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6752 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6754         * libio/fileops.c: Use ISO C style for function definitions.
6755         * libio/iofopen.c: Likewise.
6756         * libio/wfileops.c: Likewise.
6758         [BZ #17653]
6759         * libio/fileops.c (_IO_new_file_underflow): Unset cached
6760         offset on EOF.
6761         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
6762         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
6763         (fgets_func): Function pointer to fgets and fgetws.
6764         (do_ftell_test): Add test to verify ftell value after read
6765         EOF.
6766         (do_test): Set fgets_func.
6768         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
6769         O_TRUNC flag for w and w+ modes.
6770         (do_rewind_test): Likewise.
6771         (do_ftell_test): Likewise.
6772         (do_write_test): Likewise.
6774         [BZ #17647]
6775         * libio/fileops.c (do_ftell): Seek only when there are
6776         unflushed writes.
6777         * libio/wfileops.c (do_ftell_wide): Likewise.
6778         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
6779         test case.
6780         (do_one_test): Call it.
6782 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
6784         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
6785         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
6786         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
6787         Remove variable.
6788         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6789         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6790         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6792 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
6794         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
6795         Remove variable.
6796         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6798         [BZ #17668]
6799         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
6800         as weak alias of __getifaddrs.  Use libc_hidden_weak.
6801         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6802         __freeifaddrs.  Use libc_hidden_weak.
6803         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
6804         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
6805         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6806         __freeifaddrs.  Use libc_hidden_weak.
6807         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
6808         __getifaddrs and define as weak alias of __getifaddrs.  Use
6809         libc_hidden_weak.
6810         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6811         __freeifaddrs.  Use libc_hidden_weak.
6812         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
6813         Remove variable.
6814         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6815         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6817 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
6819         [BZ #17601]
6820         * sysdeps/mips/start.S (__start): Use indirect jump to call
6821         __libc_start_main.
6823 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
6825         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
6827         * nptl/tst-mutex1.c: Include <stdbool.h>.
6828         [!ATTR] (ATTR_NULL): New macro.
6829         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
6830         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
6831         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
6833         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
6834         to char *.
6836         [BZ #17665]
6837         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
6838         Change conditional to [__USE_MISC].
6840         [BZ #17664]
6841         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
6842         fgets_unlocked.
6843         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
6844         __fgets_unlocked.
6845         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
6846         fgets_unlocked.
6847         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
6848         Remove variable.
6849         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6850         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6851         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6852         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6853         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6854         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6855         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6856         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6857         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6859         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
6861 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6863         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6864         Remove strpbrk objects.
6865         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6866         (__libc_ifunc_impl_list): Remove strpbrk implementation.
6867         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
6868         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
6869         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
6870         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
6872         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6873         Remove strcspn objects.
6874         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6875         (__libc_ifunc_impl_list): Remove strcspn implementation.
6876         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
6877         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
6878         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
6879         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
6881         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6882         Remove strspn objetcs.
6883         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6884         (__libc_ifunc_impl_list): Remove strspn implementation.
6885         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
6886         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6887         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
6888         * sysdeps/powerpc/powerpc64/strspn.S: New file.
6890 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
6892         [BZ #17581]
6893         * malloc/hooks.c
6894         (mem2mem_check): Add a terminator to the chain of checking blocks.
6895         (malloc_check_get_size): Use it here.
6896         (mem2chunk_check): Ditto.
6898 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6900         * sysdeps/powerpc/powerpc64/strtok.S: New file.
6901         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
6903 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
6905         * bits/ioctl-types.h: Indent preprocessor directives correctly.
6907         * nptl/nptl-init.c: Include libc-internal.h.
6908         (__pthread_initialize_minimal_internal): Use ROUND_UP.
6910         * elf/ldconfig.c (search_dir): Expand comment.
6912 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
6914         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
6915         variable.
6916         (linknamespace-symlist-stdlibs-tests): Likewise.
6917         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
6918         instead of $(objpfx)symlist-stdlibs.
6919         (linknamespace-libs-isoc): New variable.
6920         (linknamespace-libs): Use $(linknamespace-libs-isoc).
6921         (linknamespace-libs-ISO): New variable.
6922         (linknamespace-libs-ISO99): Likewise.
6923         (linknamespace-libs-ISO11): Likewise.
6924         (linknamespace-libs-XPG3): Likewise.
6925         (linknamespace-libs-XPG4): Likewise.
6926         (linknamespace-libs-POSIX): Likewise.
6927         (linknamespace-libs-UNIX98): Likewise.
6928         (linknamespace-libs-XOPEN2K): Likewise.
6929         (linknamespace-libs-POSIX2008): Likewise.
6930         (linknamespace-libs-XOPEN2K8): Likewise.
6931         ($(objpfx)symlist-stdlibs): Replace by
6932         $(linknamespace-symlist-stdlibs-tests).  Use
6933         $(linknamespace-libs-$*) as set of libraries.
6934         ($(linknamespace-header-tests)): Update dependencies.  Use
6935         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
6936         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
6937         * conform/linknamespace.pl: Remove comment about considering
6938         definitions of symbols from irrelevant libraries.
6940 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
6942         [BZ #13862]
6943         * elf/dl-tls.c: Include <atomic.h>.
6944         (oom): Remove #ifdef SHARED/#endif.
6945         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
6946         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
6947         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
6948         big enough.
6949         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
6950         * nptl/Makefile (tests): Add tst-stack4.
6951         (modules-names): Add tst-stack4mod.
6952         ($(objpfx)tst-stack4): New.
6953         (tst-stack4mod.sos): Likewise.
6954         ($(objpfx)tst-stack4.out): Likewise.
6955         ($(tst-stack4mod.sos)): Likewise.
6956         (clean): Likewise.
6957         * nptl/tst-stack4.c: New file.
6958         * nptl/tst-stack4mod.c: Likewise.
6960 2014-11-27  J. Brown  <jb999@gmx.de>
6962         * sysdeps/x86/bits/string.h: Add recent CPUs.
6964 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
6966         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
6967         sigblock.
6969         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
6970         feof.
6972         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
6973         variable.
6975 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
6977         * nscd/connections.c: Include libc-internal.h because of macro
6978         usage ignore_value.
6980 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6982         * string/bits/string3.h (__warn_memset_zero_len): Don't
6983         declare for gcc newer than 5.0.
6984         (memset): Don't test for zero-length __LEN for gcc newer than
6985         5.0.
6987 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
6989         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
6990         size_t for %zu format.
6992         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
6993         difference, not %ju.
6995 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
6997         * include/libc-internal.h (ignore_value): New macro.
6998         * nscd/connections.c (restart): Wrap calls to setuid and setgid
6999         with ignore_value.
7001         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
7002         definition.
7004         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
7005         pthread_cleanup_push to void *.
7007         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
7008         Undefine.
7010         [BZ #16619]
7011         [BZ #16740]
7012         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
7013         instead of 1L << 52.
7015         * libio/bug-rewind.c (do_test): Check fwscanf return values.
7016         * libio/bug-rewind2.c (do_test): Likewise.
7018         * debug/test-stpcpy_chk-ifunc.c: Remove file.
7019         * debug/test-strcpy_chk-ifunc.c: Likewise.
7020         * wcsmbs/test-wcschr-ifunc.c: Likewise.
7021         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7022         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7023         * wcsmbs/test-wcslen-ifunc.c: Likewise.
7024         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7025         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7026         * Rules [$(multi-arch) = no] (tests): Do not filter out
7027         $(tests-ifunc).
7028         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
7029         * debug/Makefile (tests-ifunc): Remove variable.
7030         (tests): Do not add $(tests-ifunc).
7031         * wcsmbs/Makefile (tests-ifunc): Remove variable.
7032         (tests): Do not add $(tests-ifunc).
7033         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
7034         [TEST_IFUNC]: Remove conditionals.
7035         * string/test-string.h (TEST_IFUNC): Remove macro.
7036         [TEST_IFUNC]: Remove conditionals.
7038         * string/test-strchr.c [!WIDE] (L): New macro.
7039         [WIDE] (L): Likewise.
7040         (check1): Use CHAR instead of char.  Use L on string and character
7041         constants.
7043 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
7045         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
7046         tests.
7047         * sysdeps/powerpc/bits/atomic.h
7048         (__arch_atomic_exchange_and_add_32_acq): Add definition.
7049         (__arch_atomic_exchange_and_add_32_rel): Likewise.
7050         (atomic_exchange_and_add_acq): Likewise.
7051         (atomic_exchange_and_add_rel): Likewise.
7052         * sysdeps/powerpc/powerpc32/bits/atomic.h
7053         (__arch_atomic_exchange_and_add_64_acq): Add definition.
7054         (__arch_atomic_exchange_and_add_64_rel): Likewise.
7055         * sysdeps/powerpc/powerpc64/bits/atomic.h
7056         (__arch_atomic_exchange_and_add_64_acq): Add definition.
7057         (__arch_atomic_exchange_and_add_64_rel): Likewise.
7059 2014-11-26  Torvald Riegel  <triegel@redhat.com>
7061         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
7062         Change synchronization of __sched_fifo_min_prio and
7063         __sched_fifo_max_prio.
7064         * nptl/pthread_mutexattr_getprioceiling.c
7065         (pthread_mutexattr_getprioceiling): Likewise.
7066         * nptl/pthread_mutexattr_setprioceiling.c
7067         (pthread_mutexattr_setprioceiling): Likewise.
7068         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
7069         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7070         Likewise.
7072 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
7074         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
7075         void.
7077 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
7079         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
7080         third argument const.
7082 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
7084         fnmatch: work around GCC compiler warning bug with uninit var
7085         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
7086         This works around a bug with x86-64 GCC 4.9.2 and earlier
7087         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
7088         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
7089         used uninitialized in this function [-Wmaybe-uninitialized]".
7091 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
7093         * posix/bug-regex31.c (main): Return RES not 0.
7095 2014-11-25  Anton Blanchard <anton@samba.org>
7097         * sysdeps/powerpc/bits/atomic.h
7098         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
7100 2014-11-24  Sterling Augustine  <saugustine@google.com>
7102         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
7104 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
7106         [BZ #17608]
7107         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
7109 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
7111         [BZ #17633]
7112         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
7113         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
7114         variable.
7115         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7116         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7118 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
7120         * string/strncpy.c (strncpy): Improve performance by using memset.
7122 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
7124         * string/strcpy.c (strcpy):
7125         Improve performance by using strlen and memcpy.
7127 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
7129         * string/strcoll_l.c (get_next_seq): __always_inline.
7130         * string/strcoll_l.c (do_compare): __always_inline.
7132 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7134         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
7135         defined.
7136         * include/mqueue.h: Likewise.
7137         * include/stdlib.h: Likewise.
7139         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
7140         (get_null_defines): Adjust.
7141         * sunrpc/Makefile: Adjust comment.
7142         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
7143         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
7144         (CFLAGS-interp.c): Likewise.
7145         (CFLAGS-ldconfig.c): Likewise.
7146         (CPPFLAGS-.os): Likewise.
7147         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7148         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7149         * extra-modules.mk (extra-modules.mk): Likewise.
7150         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
7151         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
7152         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
7153         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
7154         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
7155         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
7156         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
7157         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
7158         * iconvdata/Makefile (CPPFLAGS): Likewise.
7159         (cpp-srcs-left): Add libof for all iconvdata routines.
7160         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
7161         * include/assert.h: Likewise.
7162         * include/ctype.h: Likewise.
7163         * include/errno.h: Likewise.
7164         * include/libc-symbols.h: Likewise.
7165         * include/math.h: Likewise.
7166         * include/netdb.h: Likewise.
7167         * include/resolv.h: Likewise.
7168         * include/stdio.h: Likewise.
7169         * include/stdlib.h: Likewise.
7170         * include/string.h: Likewise.
7171         * include/sys/stat.h: Likewise.
7172         * include/wctype.h: Likewise.
7173         * intl/l10nflist.c: Likewise.
7174         * libidn/idn-stub.c: Likewise.
7175         * libio/libioP.h: Likewise.
7176         * nptl/libc_multiple_threads.c: Likewise.
7177         * nptl/pthreadP.h: Likewise.
7178         * posix/regex_internal.h: Likewise.
7179         * resolv/res_hconf.c: Likewise.
7180         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
7181         * sysdeps/arm/memmove.S: Likewise.
7182         * sysdeps/arm/sysdep.h: Likewise.
7183         * sysdeps/generic/_itoa.h: Likewise.
7184         * sysdeps/generic/symbol-hacks.h: Likewise.
7185         * sysdeps/gnu/errlist.awk: Likewise.
7186         * sysdeps/gnu/errlist.c: Likewise.
7187         * sysdeps/i386/i586/memcpy.S: Likewise.
7188         * sysdeps/i386/i586/memset.S: Likewise.
7189         * sysdeps/i386/i686/memcpy.S: Likewise.
7190         * sysdeps/i386/i686/memmove.S: Likewise.
7191         * sysdeps/i386/i686/mempcpy.S: Likewise.
7192         * sysdeps/i386/i686/memset.S: Likewise.
7193         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7194         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7195         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
7196         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
7197         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7198         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7199         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
7200         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7201         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7202         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7203         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7204         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7205         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7206         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7207         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7208         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7209         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
7210         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
7211         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
7212         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7213         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7214         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7215         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7216         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7217         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7218         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7219         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
7220         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7221         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
7222         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7223         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7224         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7225         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7226         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7227         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7228         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7229         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7230         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7231         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7232         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7233         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7234         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7235         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7236         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7237         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7238         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7239         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
7240         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
7241         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7242         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7243         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7244         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
7245         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
7246         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7247         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7248         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
7249         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7250         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
7251         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
7252         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7253         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7254         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7255         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
7256         * sysdeps/nptl/bits/libc-lock.h: Likewise.
7257         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7258         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
7259         * sysdeps/posix/closedir.c: Likewise.
7260         * sysdeps/posix/opendir.c: Likewise.
7261         * sysdeps/posix/readdir.c: Likewise.
7262         * sysdeps/posix/rewinddir.c: Likewise.
7263         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
7264         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
7265         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
7266         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7267         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7268         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
7269         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
7270         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
7271         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
7272         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
7273         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
7274         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
7275         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
7276         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
7277         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
7278         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
7279         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
7280         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
7281         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
7282         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
7283         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
7284         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
7285         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
7286         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
7287         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
7288         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
7289         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
7290         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
7291         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
7292         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
7293         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
7294         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
7295         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
7296         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
7297         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
7298         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
7299         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7300         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7301         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
7302         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
7303         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
7304         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
7305         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
7306         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
7307         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
7308         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
7309         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
7310         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
7311         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
7312         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
7313         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
7314         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
7315         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7316         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
7317         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
7318         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
7319         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
7320         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
7321         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
7322         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
7323         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
7324         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
7325         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7326         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
7327         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
7328         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
7329         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
7330         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
7331         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
7332         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
7333         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
7334         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
7335         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
7336         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
7337         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
7338         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
7339         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
7340         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
7341         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7342         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
7343         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
7344         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7345         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
7346         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
7347         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
7348         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
7349         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
7350         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7351         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7352         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7353         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
7354         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
7355         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
7356         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7357         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7358         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
7359         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7360         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7361         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
7362         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
7363         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7364         * sysdeps/unix/alpha/sysdep.S: Likewise.
7365         * sysdeps/unix/alpha/sysdep.h: Likewise.
7366         * sysdeps/unix/make-syscalls.sh: Likewise.
7367         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7368         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7369         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7370         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7371         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7372         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
7373         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
7374         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7375         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7376         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
7377         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7378         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7379         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7380         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7381         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7382         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7383         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7384         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7385         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7386         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7387         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
7388         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7389         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7390         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7391         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7392         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7393         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7396         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
7397         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7398         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7399         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7400         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7401         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7402         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7403         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7404         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7405         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7406         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7407         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7408         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7409         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7410         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7411         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7412         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7413         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7414         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7415         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7416         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7417         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7418         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7419         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7420         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7421         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
7422         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7423         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7424         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7425         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
7426         * sysdeps/x86_64/memcpy.S: Likewise.
7427         * sysdeps/x86_64/memmove.c: Likewise.
7428         * sysdeps/x86_64/memset.S: Likewise.
7429         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
7430         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7431         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7432         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
7433         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7434         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7435         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7436         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7437         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7438         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7439         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7440         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7441         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
7442         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7443         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7444         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
7445         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7446         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7447         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7448         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7449         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
7450         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7451         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7452         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7453         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7454         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7455         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7456         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
7457         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7458         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7459         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
7460         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7461         * sysdeps/x86_64/strcmp.S: Likewise.
7463         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
7465         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
7466         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
7467         * elf/rtld-Rules: Likewise.
7468         * elf/setup-vdso.h: Likewise.
7469         * include/assert.h: Likewise.
7470         * include/bits/stdlib-float.h: Likewise.
7471         * include/errno.h: Likewise.
7472         * include/sys/stat.h: Likewise.
7473         * include/unistd.h: Likewise.
7474         * sysdeps/aarch64/setjmp.S: Likewise.
7475         * sysdeps/alpha/setjmp.S: Likewise.
7476         * sysdeps/arm/__longjmp.S: Likewise.
7477         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
7478         * sysdeps/arm/setjmp.S: Likewise.
7479         * sysdeps/arm/sysdep.h: Likewise.
7480         * sysdeps/generic/_itoa.h: Likewise.
7481         * sysdeps/generic/dl-sysdep.h: Likewise.
7482         * sysdeps/generic/ldsodefs.h: Likewise.
7483         * sysdeps/i386/dl-tls.h: Likewise.
7484         * sysdeps/i386/setjmp.S: Likewise.
7485         * sysdeps/m68k/setjmp.c: Likewise.
7486         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
7487         * sysdeps/mach/hurd/opendir.c: Likewise.
7488         * sysdeps/posix/getcwd.c: Likewise.
7489         * sysdeps/posix/opendir.c: Likewise.
7490         * sysdeps/posix/profil.c: Likewise.
7491         * sysdeps/powerpc/dl-procinfo.h: Likewise.
7492         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7493         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7494         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7495         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7496         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
7497         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7498         * sysdeps/s390/dl-tls.h: Likewise.
7499         * sysdeps/s390/s390-32/setjmp.S: Likewise.
7500         * sysdeps/s390/s390-64/setjmp.S: Likewise.
7501         * sysdeps/sh/sh3/setjmp.S: Likewise.
7502         * sysdeps/sh/sh4/setjmp.S: Likewise.
7503         * sysdeps/unix/alpha/sysdep.h: Likewise.
7504         * sysdeps/unix/arm/sysdep.S: Likewise.
7505         * sysdeps/unix/i386/sysdep.S: Likewise.
7506         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7507         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7508         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7509         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7510         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7511         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7512         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7513         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7514         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7515         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7516         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7517         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7518         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7521         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7522         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7523         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7524         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7525         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7526         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7527         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7528         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7529         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7530         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7531         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7532         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7533         * sysdeps/unix/x86_64/sysdep.S: Likewise.
7534         * sysdeps/x86_64/setjmp.S: Likewise.
7536         * include/math.h: Use IS_IN instead of IS_IN_libm.
7537         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
7538         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7539         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7540         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7541         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7542         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7543         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7544         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7545         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7546         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7547         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
7548         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7549         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
7550         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7551         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7552         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
7553         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
7554         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7555         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
7556         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
7557         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
7558         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
7559         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
7560         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
7561         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
7562         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
7563         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
7564         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
7565         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
7566         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7567         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
7568         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
7569         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7571         Likewise.
7572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
7573         Likewise.
7574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
7575         Likewise.
7576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
7577         Likewise.
7578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
7579         Likewise.
7580         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
7581         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
7582         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
7583         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7584         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7585         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
7588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
7589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
7590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
7591         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
7592         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
7593         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7594         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7595         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7596         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7597         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7598         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7599         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
7600         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
7601         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
7602         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
7603         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
7604         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
7605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7606         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
7608         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
7609         * nptl/pthreadP.h: Likewise.
7610         * nptl_db/structs.def: Likewise.
7611         * sysdeps/arm/sysdep.h: Likewise.
7612         * sysdeps/nptl/bits/libc-lock.h: Likewise.
7613         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7614         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
7615         * sysdeps/unix/alpha/sysdep.h: Likewise.
7616         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7617         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7618         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7619         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7620         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7621         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7622         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7623         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7624         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7625         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7626         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7627         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7628         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7629         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7632         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7633         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7634         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7635         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7636         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7637         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7638         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7639         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7640         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
7641         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7643         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
7644         * nptl/pthreadP.h: Likewise.
7645         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7646         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7647         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7648         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7649         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7650         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7651         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7652         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7653         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7654         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7655         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7656         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7658         Likewise.
7659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7660         Likewise.
7661         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7662         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7663         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7664         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7665         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7666         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7667         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7668         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7670         * dlfcn/dladdr.c: Use IS_IN.
7671         * dlfcn/dladdr1.c: Likewise.
7672         * dlfcn/dlclose.c: Likewise.
7673         * dlfcn/dlerror.c: Likewise.
7674         * dlfcn/dlinfo.c: Likewise.
7675         * dlfcn/dlmopen.c: Likewise.
7676         * dlfcn/dlopen.c: Likewise.
7677         * dlfcn/dlsym.c: Likewise.
7678         * dlfcn/dlvsym.c: Likewise.
7680         * include/ifaddrs.h: Use IS_IN.
7681         * inet/check_pf.c: Likewise.
7682         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7683         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
7685         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
7686         IS_IN_ldconfig.
7687         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
7688         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
7690         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
7691         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
7692         IS_IN (libc).
7694         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
7696         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
7697         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7698         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7699         * include/libc-symbols.h (IS_IN_LIB): New macro.
7700         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
7701         * include/netdb.h: Likewise.
7702         * include/stap-probe.h: Remove all uses of IN_LIB.
7704         * Makeconfig (module-cppflags-real): Define MODULE_NAME
7705         instead of IN_MODULE.
7706         * include/libc-symbols.h (IN_MODULE): Define using
7707         MODULE_NAME.
7708         (PASTE_NAME, PASTE_NAME1): New macros.
7709         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
7710         of IN_LIB.
7711         (STAP_PROBE_ASM): Likewise.
7713 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7715         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
7716         __mach_init in dlopened libc.
7718 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
7720         * sysdeps/arm/preconfigure.ac: Delete EABI check.
7721         * sysdeps/arm/preconfigure: Regenerate.
7723 2014-11-21  Roland McGrath  <roland@hack.frob.com>
7725         * nptl/pthread_create.c (__pthread_create_2_1): Set
7726         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
7727         when copying values from IATTR into PD.
7729 2014-11-21  Will Newton  <will.newton@linaro.org>
7730             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
7732         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
7733         Refactor inline-asm.  Also add comment.
7735         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
7736         ElfW macro instead of hardcoded Elf64 types.
7737         (la_aarch64_gnu_pltenter): Likewise.
7738         * sysdeps/aarch64/dl-machine.h
7739         (elf_machine_runtime_setup): Use ElfW(Addr).
7741         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
7742         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
7743         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
7744         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
7745         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
7746         (R_AARCH64_TLS_DTPMOD64): Rename to ..
7747         (R_AARCH64_TLS_DTPMOD): This.
7748         (R_AARCH64_TLS_DTPREL64): Rename to ...
7749         (R_AARCH64_TLS_DTPREL): This.
7750         (R_AARCH64_TLS_TPREL64): Rename to ...
7751         (R_AARCH64_TLS_TPREL): This.
7752         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
7753         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
7754         R_AARCH64_TLS_TPREL64.
7755         (elf_machine_rela): Likewise.
7757 2014-11-21  Torvald Riegel  <triegel@redhat.com>
7759         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
7760         by setting it to 0.  64b atomics are not supported currently.
7762 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7764         [BZ #16469]
7765         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
7766         search domain names.
7768 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7770         [BZ #16469]
7771         * NEWS: Update.
7772         * resolv/res_query.c (__libc_res_nquerydomain): Retain
7773         trailing dot.
7774         * posix/tst-getaddrinfo5.c: New.
7775         * posix/Makefile (tests): Add it.
7777 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7779         [BZ #14498]
7780         * NEWS: Fixed.
7781         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
7782         after parsing line but before break_if_match.
7783         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
7784         if there is a protocol mismatch.
7786 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
7788         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
7789         because the potential race is on the user-supplied stream.
7791 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7793         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
7794         string literal if not passed a buffer.
7795         * manual/job.texi (ctermid): Update reasoning, note deviation
7796         from posix, suggest mtasurace when not passed a buffer, for
7797         future non-preliminary safety notes.
7799 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7801         * manual/users.texi (cuserid): Fix MT-Safety note for the case
7802         of not passing it a buffer.
7803         Reported by Peng Haitao.
7805 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7807         * manual/Makefile ($(objpfx)stamp-summary): Require
7808         check-safety.sh to pass.
7809         * manual/check-safety.sh: Wish for verification that every
7810         @deftypefn and @deftypefun is followed by a @safety remark.
7812 2014-11-20  Roland McGrath  <roland@hack.frob.com>
7814         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
7816         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
7817         PTHREAD_CANCEL_ASYNCHRONOUS.
7818         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
7819         send SIGCANCEL.
7821         * nptl/default-sched.h: New file.
7822         * sysdeps/unix/sysv/linux/default-sched.h: New file.
7823         * nptl/pthread_create.c: Include it.
7824         (__pthread_create_2_1): Use collect_default_sched instead of making
7825         Linux syscalls here directly.
7827 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7829         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
7830         __pthread_once): Use C11 atomics.
7832 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7834         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
7836 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7838         * include/atomic.h (__atomic_link_error, __atomic_check_size,
7839         atomic_thread_fence_acquire, atomic_thread_fence_release,
7840         atomic_thread_fence_seq_cst, atomic_load_relaxed,
7841         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
7842         atomic_compare_exchange_weak_relaxed,
7843         atomic_compare_exchange_weak_acquire,
7844         atomic_compare_exchange_weak_release,
7845         atomic_exchange_acquire, atomic_exchange_release,
7846         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
7847         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
7848         atomic_fetch_and_acquire,
7849         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
7851 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7853         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
7854         USE_ATOMIC_COMPILER_BUILTINS): Define.
7855         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
7856         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7857         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
7858         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7859         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
7860         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7861         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
7862         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7863         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
7864         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7865         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
7866         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7867         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
7868         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7869         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
7870         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7871         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7872         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7873         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7874         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7875         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
7876         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7877         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7878         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7879         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
7880         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7881         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7882         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7883         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
7884         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7885         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
7886         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7887         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
7888         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7889         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7890         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7891         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
7892         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7893         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
7894         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7896 2014-11-19  Roland McGrath  <roland@hack.frob.com>
7898         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
7899         the sched_priority value here.  It was already checked when the user
7900         called pthread_attr_setschedparam.
7902         * nptl/tst-bad-schedattr.c: New file.
7903         * nptl/Makefile (tests): Add it.
7905 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
7906             Florian Weimer  <fweimer@redhat.com>
7907             Joseph Myers  <joseph@codesourcery.com>
7908             Adam Conrad  <adconrad@0c3.net>
7909             Andreas Schwab  <schwab@suse.de>
7910             Brooks  <bmoses@google.com>
7912         [BZ #17625]
7913         * wordexp-test.c (__dso_handle): Add prototype.
7914         (__register_atfork): Likewise.
7915         (__app_register_atfork): New function.
7916         (registered_forks): New global.
7917         (register_fork): New function.
7918         (test_case): Add 3 new tests for WRDE_CMDSUB.
7919         (main): Call __app_register_atfork.
7920         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
7921         fork count is non-zero fail the test.
7922         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
7923         is set.
7924         (parse_dollars): Remove check for WRDE_NOCMD.
7925         (parse_dquote): Likewise.
7927 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7929         * Makeconfig (built-modules): List non-library modules to be
7930         built.
7931         (module-cppflags): Include libc-modules.h for
7932         everything except shlib-versions.v.i.
7933         (CPPFLAGS): Use it.
7934         (before-compile): Add libc-modules.h.
7935         ($(common-objpfx)libc-modules.h,
7936         $(common-objpfx)libc-modules.stmp): New targets.
7937         (common-generated): Add libc-modules.h and libc-modules.stmp.
7938         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
7939         * include/libc-symbols.h: Don't include libc-modules.h.
7940         * include/libc-modules.h: Remove file.
7941         * scripts/gen-libc-modules.awk: New script to generate
7942         libc-modules.h.
7943         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
7944         Depend on libc-modules.stmp.
7946         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
7948         * Makeconfig (in-module): Get value of libof set for the
7949         translation unit.
7950         (CPPFLAGS): Use $(in-module).
7951         * Makerules: Don't suffix routine names for nonlib.
7952         * include/libc-modules.h: New file.
7953         * include/libc-symbols.h: Include libc-modules.h
7954         (IS_IN): New macro to replace IS_IN_* macros.
7955         * elf/Makefile: Set libof-* for each routine.
7956         * elf/rtld-Rules: Likewise.
7957         * extra-modules.mk: Likewise.
7958         * iconv/Makefile: Likewise.
7959         * iconvdata/Makefile: Likewise.
7960         * locale/Makefile: Likewise.
7961         * malloc/Makefile: Likewise.
7962         * nss/Makefile: Likewise.
7963         * sysdeps/gnu/Makefile: Likewise.
7964         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
7965         * sysdeps/unix/sysv/linux/Makefile: Likewise.
7966         * sysdeps/s390/s390-64/Makefile: Likewise.
7967         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
7968         CPPFLAGS for nscd instead of nonlib.
7970 2014-11-18  Roland McGrath  <roland@hack.frob.com>
7972         * nptl/createthread.c: New file.
7974         * nptl/createthread.c: Moved ...
7975         * sysdeps/unix/sysv/linux/createthread.c: ... here.
7977         * nptl/createthread.c: Add proper top-line comment.
7978         (do_clone): Folded into ...
7979         (create_thread): ... here.  Take new arguments STOPPED_START and
7980         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
7981         increment __nptl_threads, do event-reporting logic, do
7982         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
7983         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
7984         resource cleanup if sched_setaffinity or sched_setscheduler fails,
7985         just send SIGCANCEL.
7986         * nptl/pthread_create.c: Forward-declare create_thread before
7987         including createthread.c.
7988         (start_thread): Use new macro START_THREAD_DEFN to replace defining
7989         declaration, and new macro START_THREAD_SELF to replace argument.
7990         Remove return statement.
7991         (report_thread_creation): New function.
7992         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
7993         synchronization logic, and __nptl_nthreads increment here, around
7994         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
7995         PD->parent_cancelhandling here, before create_thread.  When
7996         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
7997         __deallocate_stack, and ENOMEM translation here.
7999 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
8001         [BZ #17616]
8002         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
8003         (mptwo): Rename to __mptwo.
8004         (__inv): Use __mptwo instead of mptwo.
8005         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
8006         (mptwo): Rename to __mptwo.
8007         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
8008         of mpone and __mptwo instead of mptwo.
8009         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
8010         instead of mpone.
8011         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8012         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
8013         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
8014         of mpone and __mptwo instead of mptwo.
8015         (__mpranred): Use __mpone instead of mpone.
8016         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
8017         variable.
8018         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8019         (test-xfail-ISO99/math.h/linknamespace): Likewise.
8020         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8021         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8022         (test-xfail-ISO11/math.h/linknamespace): Likewise.
8023         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8024         (test-xfail-XPG3/math.h/linknamespace): Likewise.
8025         (test-xfail-XPG4/math.h/linknamespace): Likewise.
8026         (test-xfail-POSIX/math.h/linknamespace): Likewise.
8027         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8028         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8029         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8030         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8031         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8032         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8033         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8034         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8035         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8036         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8038 2014-11-18  Tom de Vries  <tom@codesoucery.com>
8040         * manual/signal.texi (Primitives Interrupted by Signals): In section,
8041         replace BSD Handler xref with BSD Signal Handling.
8043 2014-11-17  Richard Henderson  <rth@redhat.com>
8045         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
8046         (_FP_PACK_RAW_2): Remove.
8047         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
8048         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
8049         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
8050         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
8051         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
8052         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
8053         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
8054         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
8055         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
8056         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
8057         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
8058         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
8059         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
8060         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
8061         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
8062         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
8064 2014-11-14  Roland McGrath  <roland@hack.frob.com>
8066         * signal/signal.h [__USE_MISC]
8067         (struct sigvec): Remove type.
8068         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
8069         (sigvec): Remove declaration.
8070         * sysdeps/posix/sigvec.c: Moved ...
8071         * signal/sigvec.c: ... here, replacing old file.
8072         (struct sigvec): New type, copied from old signal.h definition.
8073         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
8074         (__sigvec): Convert definition to prototype.
8075         (sigvec): Replace weak_alias with compat_symbol.
8076         * signal/Versions (libc: GLIBC_2.21): New version set.
8077         * include/signal.h: Remove __sigvec declaration.
8078         * sysdeps/unix/bsd/sigvec.c: Remove file.
8079         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
8080         * manual/signal.texi (BSD Handler): Remove subsection.
8081         Move siginterrupt up to ...
8082         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
8083         (Blocking in BSD): Fold subsection into its parent.
8084         * NEWS: Mention sigvec removal.
8086 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
8088         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
8089         (DLA_FMS): Make definition conditional only on [__FMA4__].
8090         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
8091         definition.
8093         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
8094         Make definition conditional only on [PROF].
8095         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
8096         definition.
8097         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
8098         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
8100         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
8101         !__GNUC__].
8102         * include/signal.h (__sigpause): Move declaration above call to
8103         libc_hidden_proto.
8104         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
8105         variable.
8106         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8107         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8109 2014-11-14  David S. Miller  <davem@davemloft.net>
8111         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
8112         Define before including <string/memcpy.c> and <string/mempcpy.c>.
8114 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
8116         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
8117         * configure: Regenerated.
8118         * manual/install.texi (Tools for Compilation): Document a
8119         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
8120         compiler verified to work.
8121         * INSTALL: Regenerated.
8123         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
8124         redeclare with asm name.
8125         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
8126         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
8127         including <string.h>.
8128         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8129         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
8130         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8131         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
8132         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8133         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8134         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8136 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
8138         * stdlib/strtol.c (__strtol): Use prototype definition.
8140         [BZ #17594]
8141         * stdlib/strtol.c (SYM__): New macro.
8142         (SYM__1): Likewise.
8143         (__strtol): Likewise.
8144         (strtol): Rename to __strtol and define as weak alias of
8145         __strtol.  Use libc_hidden_weak.
8147 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8149         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
8150         Use numbered labels in inline assembly.
8152 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8154         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
8155         Add setjmp LIBC_PROBE.
8156         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
8157         Likewise.
8158         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
8159         Add longjmp, longjmp_target LIBC_PROBE.
8160         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
8161         Likewise.
8163 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8165         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8166         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
8167         to get rid of unused variable warning.
8169 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8171         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
8172         Check for unwind_backtrace ==  NULL only in SHARED case.
8173         (__backchain_backtrace): Compile only in SHARED case.
8174         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
8175         Likewise.
8176         (__backchain_backtrace): Declare as static.
8178 2014-11-12  Roland McGrath  <roland@hack.frob.com>
8180         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
8181         (__libc_multiple_threads_ptr): Variable moved ...
8182         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
8184 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
8186         * conform/GlibcConform.pm: New file.
8187         * conform/conformtest.pl: Use GlibcConform module.
8188         * conform/linknamespace.pl: New file.
8189         * conform/list-header-symbols.pl: Likewise.
8190         * conform/Makefile (linknamespace-symlists-base): New variable.
8191         (linknamespace-symlists-tests): Likewise.
8192         (linknamespace-header-base): Likewise.
8193         (linknamespace-header-tests): Likewise.
8194         (tests-special): Add new tests.
8195         ($(linknamespace-symlists-tests)): New rule.
8196         (linknamespace-libs): New variable.
8197         ($(objpfx)symlist-stdlibs): New rule.
8198         ($(linknamespace-header-tests)): Likewise.
8199         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
8200         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
8201         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
8202         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
8203         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
8204         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
8205         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
8206         (test-xfail-ISO/math.h/linknamespace): Likewise.
8207         (test-xfail-ISO/signal.h/linknamespace): Likewise.
8208         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
8209         (test-xfail-ISO/time.h/linknamespace): Likewise.
8210         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8211         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
8212         (test-xfail-ISO99/math.h/linknamespace): Likewise.
8213         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8214         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8215         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8216         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8217         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8218         (test-xfail-ISO11/math.h/linknamespace): Likewise.
8219         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8220         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8221         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8222         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8223         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
8224         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
8225         (test-xfail-XPG3/math.h/linknamespace): Likewise.
8226         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
8227         (test-xfail-XPG3/search.h/linknamespace): Likewise.
8228         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
8229         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8230         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
8231         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8232         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8233         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
8234         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
8235         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8236         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
8237         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
8238         (test-xfail-XPG4/math.h/linknamespace): Likewise.
8239         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
8240         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8241         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8242         (test-xfail-XPG4/search.h/linknamespace): Likewise.
8243         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
8244         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
8245         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
8246         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
8247         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
8248         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8249         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
8250         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8251         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
8252         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
8253         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
8254         (test-xfail-POSIX/math.h/linknamespace): Likewise.
8255         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
8256         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
8257         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
8258         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8259         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
8260         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8261         (test-xfail-POSIX/time.h/linknamespace): Likewise.
8262         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
8263         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
8264         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8265         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8266         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
8267         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
8268         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
8269         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8270         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8271         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8272         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
8273         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
8274         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8275         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8276         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
8277         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8278         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8279         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
8280         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
8281         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
8282         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8283         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8284         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
8285         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8286         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
8287         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
8288         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
8289         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
8290         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8291         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
8292         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
8293         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
8294         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
8295         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
8296         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8297         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8298         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8299         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
8300         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
8301         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
8302         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8303         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
8304         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8305         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8306         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
8307         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
8308         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
8309         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8310         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8311         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
8312         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
8313         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8314         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8315         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
8316         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
8317         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
8318         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
8319         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8320         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8321         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
8322         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8323         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
8324         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8325         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8326         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8327         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8328         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8329         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
8330         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
8331         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8332         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8333         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8334         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8335         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8336         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
8337         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8338         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8339         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8340         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8341         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
8342         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
8343         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8344         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8345         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8346         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8347         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
8348         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8349         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
8350         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
8351         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8352         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8353         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8354         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8355         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8356         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
8357         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8358         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8359         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
8361         [BZ #17589]
8362         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
8363         of fgets_unlocked.
8365         [BZ #17585]
8366         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
8367         (memmem): Rename to __memmem and define as weak alias of
8368         __memmem.  Use libc_hidden_weak.
8369         (__memmem): Use libc_hidden_def.
8370         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
8371         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
8372         memmem.
8374         [BZ #17582]
8375         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
8376         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
8377         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
8378         and define as weak alias of __fgets_unlocked.  Use
8379         libc_hidden_weak.
8380         (__fgets_unlocked): Use libc_hidden_def.
8381         * include/stdio.h (__fgets_unlocked): Declare.  Use
8382         libc_hidden_proto.
8383         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
8384         __fgets_unlocked instead of fgets_unlocked.
8385         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
8386         (GET_NPROCS_CONF_PARSER): Likewise.
8387         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
8388         (GET_NPROCS_CONF_PARSER): Likewise.
8390         [BZ #17574]
8391         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
8392         weak alias of __wmemset.  Use libc_hidden_weak.
8393         (__wmemset): Use libc_hidden_def.
8394         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
8395         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
8396         of wmemset.
8398         [BZ #17573]
8399         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
8400         with asm name __mempcpy.
8401         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
8403         [BZ #17572]
8404         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
8405         and define as weak alias of __rawmemchr.
8406         (__rawmemchr): Do not define as strong alias of rawmemchr.
8408         [BZ #17571]
8409         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
8410         alias of __qsort_r.
8411         (qsort): Call __qsort_r instead of qsort_r.
8412         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
8413         (__qsort_r): Declare.  Call libc_hidden_proto.
8414         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
8415         instead of qsort_r.
8416         * nscd/gai.c (__qsort_r): Define to qsort_r.
8417         * posix/tst-rfc3484.c (__qsort_r): Likewise.
8418         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
8419         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
8421         [BZ #17570]
8422         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
8423         define as weak alias of __malloc_info.
8425         [BZ #17584]
8426         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
8427         as weak alias of __rewinddir.  Don't use libc_hidden_def.
8428         (__rewinddir): Use libc_hidden_def.
8429         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
8430         as weak alias of __rewinddir.  Don't use libc_hidden_def.
8431         (__rewinddir): Use libc_hidden_def.
8432         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
8433         weak alias of __rewinddir.  Don't use libc_hidden_def.
8434         (__rewinddir): Use libc_hidden_def.
8435         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
8436         (__rewinddir): Use libc_hidden_proto.
8437         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
8438         rewinddir.
8439         (__getcwd): Use __rewinddir instead of rewinddir.
8441         [BZ #17583]
8442         * libio/fileno.c (fileno): Rename to __fileno and define as weak
8443         alias of __fileno.  Use libc_hidden_weak.
8444         (__fileno): Use libc_hidden_def.
8445         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
8446         * libio/ftello.c (ftello): Rename to __ftello and define as weak
8447         alias of __ftello.
8448         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
8449         __ftello.
8450         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
8451         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
8452         libc_hidden_def.
8453         (fread_unlocked): Don't use libc_hidden_ver.
8454         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
8455         and define as weak alias of __fread_unlocked.  Don't use
8456         libc_hidden_def.
8457         (__fread_unlocked): Use libc_hidden_def.
8458         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
8459         (ftello): Don't use libc_hidden_proto.
8460         (__ftello): Declare.  Use libc_hidden_proto.
8461         (fread_unlocked): Don't use libc_hidden_proto.
8462         (__fread_unlocked): Declare.  Use libc_hidden_proto.
8463         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
8464         and __ftello instead of fileno, fread_unlocked and ftello.
8466 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8468         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
8469         GOT12.
8470         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8471         Likewise.
8472         (_dl_start_user): Likewise.
8473         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
8475 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
8476             Siddhesh Poyarekar  <siddhesh@redhat.com>
8478         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
8479         Move argv and envp down instead of moving argc up.
8480         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
8482 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
8484         [BZ #17506]
8485         * test-skeleton.c (main): Return successful if one of
8486         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
8487         * string/tst-strcoll-overflow.c: Define expected status.
8489 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
8491         [BZ #17475]
8492         * locale/iso-639.def: Define Bhili and Tulu language codes.
8494 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
8496         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
8498 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
8500         [BZ #17555]
8501         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
8503 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
8505         * configure.ac: Updated check of minimal required version to
8506         2.22.
8507         * manual/install.texi (Tools for Compilation): Updated version
8508         number.
8509         * configure: Regenerated.
8510         * INSTALL: Likewise.
8512 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
8514         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
8515         __tls_get_addr.
8517 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
8519         * include/sys/wait.h (__libc_waitpid): Remove declaration.
8520         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
8521         (__waitpid): Don't define as alias.  Use libc_hidden_def not
8522         libc_hidden_weak.
8523         (waitpid): Define as alias of __waitpid.
8524         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
8525         __waitpid.
8526         (__waitpid): Don't define as alias.  Use libc_hidden_def not
8527         libc_hidden_weak.
8528         (waitpid): Define as alias of __waitpid.
8529         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
8530         __libc_waitpid alias.
8531         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
8532         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
8533         Likewise.
8534         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
8535         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
8536         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
8537         alias.
8538         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
8539         __waitpid.
8540         (__waitpid): Don't define as alias.  Use libc_hidden_def not
8541         libc_hidden_weak.
8542         (waitpid): Define as alias of __waitpid.
8544 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
8546         * manual/llio.texi: Add comment that write safety has been
8547         fixed in Linux.
8549         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
8550         (localplt-build-dso): Add elf/ld.so.
8551         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
8552         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
8553         and free for ld.so.
8554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
8555         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
8556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
8557         Likewise.
8558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8559         Likewise.
8560         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
8561         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
8562         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
8563         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
8564         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8565         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
8566         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
8567         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
8568         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8569         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
8570         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8572 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
8574         [BZ #14132]
8575         * include/libc-symbols.h (INTUSE): Remove macro.
8576         (INTDEF): Likewise.
8577         (INTVARDEF): Likewise.
8578         (_INTVARDEF): Likewise.
8579         (INTDEF2): Likewise.
8580         (INTVARDEF2): Likewise.
8581         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
8582         rtld_hidden_def instead of INTVARDEF.
8583         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
8584         (_dl_starting_up_internal): Remove declaration.
8585         (_dl_starting_up): Use rtld_hidden_proto.
8586         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
8587         declaration.
8588         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
8589         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
8590         _dl_starting_up.
8591         * elf/dl-writev.h (_dl_writev): Likewise.
8592         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
8593         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
8594         _dl_starting_up_internal.
8596 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8598         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
8599         test-skeleton.c.
8601 2014-11-05  Will Newton  <will.newton@linaro.org>
8603         * benchtests/Makefile: (bench-malloc): Add malloc thread
8604         scalability benchmark.
8605         * benchtests/bench-malloc-threads.c: New file.
8607 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
8609         * sysdeps/aarch64/strchrnul.S: New file.
8611 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8613         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
8614         definition.
8615         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8616         Likwise.
8617         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8618         Likewise.
8619         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8620         Likewise.
8621         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8622         Likewise.
8623         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8624         Likewise.
8626 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
8628         * catgets/test-gencat.c: Use test-skeleton.c.
8629         * catgets/tst-catgets.c: Likewise.
8630         * csu/tst-empty.c: Likewise.
8631         * elf/tst-audit2.c: Likewise.
8632         * elf/tst-global1.c: Likewise.
8633         * elf/tst-pathopt.c: Likewise.
8634         * elf/tst-piemod1.c: Likewise.
8635         * elf/tst-tls10.c: Likewise.
8636         * elf/tst-tls11.c: Likewise.
8637         * elf/tst-tls12.c: Likewise.
8638         * gnulib/tst-gcc.c: Likewise.
8639         * iconvdata/tst-e2big.c: Likewise.
8640         * iconvdata/tst-loading.c: Likewise.
8641         * iconv/tst-iconv1.c: Likewise.
8642         * iconv/tst-iconv2.c: Likewise.
8643         * inet/test-inet6_opt.c: Likewise.
8644         * inet/tst-gethnm.c: Likewise.
8645         * inet/tst-network.c: Likewise.
8646         * inet/tst-ntoa.c: Likewise.
8647         * intl/tst-codeset.c: Likewise.
8648         * intl/tst-gettext2.c: Likewise.
8649         * intl/tst-gettext3.c: Likewise.
8650         * intl/tst-ngettext.c: Likewise.
8651         * intl/tst-translit.c: Likewise.
8652         * io/test-stat.c: Likewise.
8653         * libio/test-fmemopen.c: Likewise.
8654         * libio/tst-freopen.c: Likewise.
8655         * libio/tst-sscanf.c: Likewise.
8656         * libio/tst-ungetwc1.c: Likewise.
8657         * libio/tst-ungetwc2.c: Likewise.
8658         * libio/tst-widetext.c: Likewise.
8659         * localedata/tst-ctype.c: Likewise.
8660         * localedata/tst-digits.c: Likewise.
8661         * localedata/tst-leaks.c: Likewise.
8662         * localedata/tst-mbswcs1.c: Likewise.
8663         * localedata/tst-mbswcs2.c: Likewise.
8664         * localedata/tst-mbswcs3.c: Likewise.
8665         * localedata/tst-mbswcs4.c: Likewise.
8666         * localedata/tst-mbswcs5.c: Likewise.
8667         * localedata/tst-setlocale.c: Likewise.
8668         * localedata/tst-trans.c: Likewise.
8669         * localedata/tst-wctype.c: Likewise.
8670         * localedata/tst-xlocale1.c: Likewise.
8671         * login/tst-grantpt.c: Likewise.
8672         * malloc/tst-calloc.c: Likewise.
8673         * malloc/tst-malloc.c: Likewise.
8674         * malloc/tst-mallocstate.c: Likewise.
8675         * malloc/tst-mcheck.c: Likewise.
8676         * malloc/tst-mtrace.c: Likewise.
8677         * malloc/tst-obstack.c: Likewise.
8678         * math/atest-exp2.c: Likewise.
8679         * math/atest-exp.c: Likewise.
8680         * math/atest-sincos.c: Likewise.
8681         * math/test-matherr.c: Likewise.
8682         * math/test-misc.c: Likewise.
8683         * math/test-powl.c: Likewise.
8684         * math/tst-definitions.c: Likewise.
8685         * misc/tst-dirname.c: Likewise.
8686         * misc/tst-efgcvt.c: Likewise.
8687         * misc/tst-fdset.c: Likewise.
8688         * misc/tst-hsearch.c: Likewise.
8689         * misc/tst-mntent2.c: Likewise.
8690         * nptl/tst-sem7.c: Likewise.
8691         * nptl/tst-sem8.c: Likewise.
8692         * nptl/tst-sem9.c: Likewise.
8693         * nss/test-netdb.c: Likewise.
8694         * posix/tst-fnmatch.c: Likewise.
8695         * posix/tst-getlogin.c: Likewise.
8696         * posix/tst-gnuglob.c: Likewise.
8697         * posix/tst-mmap.c: Likewise.
8698         * pwd/tst-getpw.c: Likewise.
8699         * resolv/tst-inet_ntop.c: Likewise.
8700         * rt/tst-timer.c: Likewise.
8701         * stdio-common/test-fseek.c: Likewise.
8702         * stdio-common/test-popen.c: Likewise.
8703         * stdio-common/test-vfprintf.c: Likewise.
8704         * stdio-common/tst-cookie.c: Likewise.
8705         * stdio-common/tst-fileno.c: Likewise.
8706         * stdio-common/tst-gets.c: Likewise.
8707         * stdio-common/tst-obprintf.c: Likewise.
8708         * stdio-common/tst-perror.c: Likewise.
8709         * stdio-common/tst-sprintf2.c: Likewise.
8710         * stdio-common/tst-sprintf3.c: Likewise.
8711         * stdio-common/tst-sprintf.c: Likewise.
8712         * stdio-common/tst-swprintf.c: Likewise.
8713         * stdio-common/tst-tmpnam.c: Likewise.
8714         * stdio-common/tst-unbputc.c: Likewise.
8715         * stdio-common/tst-wc-printf.c: Likewise.
8716         * stdlib/tst-environ.c: Likewise.
8717         * stdlib/tst-fmtmsg.c: Likewise.
8718         * stdlib/tst-limits.c: Likewise.
8719         * stdlib/tst-rand48-2.c: Likewise.
8720         * stdlib/tst-rand48.c: Likewise.
8721         * stdlib/tst-random2.c: Likewise.
8722         * stdlib/tst-random.c: Likewise.
8723         * stdlib/tst-strtol.c: Likewise.
8724         * stdlib/tst-strtoll.c: Likewise.
8725         * stdlib/tst-tls-atexit.c: Likewise.
8726         * stdlib/tst-xpg-basename.c: Likewise.
8727         * string/test-ffs.c: Likewise.
8728         * string/tst-bswap.c: Likewise.
8729         * string/tst-inlcall.c: Likewise.
8730         * string/tst-strtok.c: Likewise.
8731         * string/tst-strxfrm.c: Likewise.
8732         * sysdeps/x86_64/tst-audit10.c: Likewise.
8733         * sysdeps/x86_64/tst-audit3.c: Likewise.
8734         * sysdeps/x86_64/tst-audit4.c: Likewise.
8735         * sysdeps/x86_64/tst-audit5.c: Likewise.
8736         * time/tst-ftime_l.c: Likewise.
8737         * time/tst-getdate.c: Likewise.
8738         * time/tst-mktime3.c: Likewise.
8739         * time/tst-mktime.c: Likewise.
8740         * time/tst-posixtz.c: Likewise.
8741         * time/tst-strptime2.c: Likewise.
8742         * time/tst-strptime3.c: Likewise.
8743         * wcsmbs/tst-btowc.c: Likewise.
8744         * wcsmbs/tst-mbrtowc.c: Likewise.
8745         * wcsmbs/tst-mbsrtowcs.c: Likewise.
8746         * wcsmbs/tst-wchar-h.c: Likewise.
8747         * wcsmbs/tst-wcpncpy.c: Likewise.
8748         * wcsmbs/tst-wcrtomb.c: Likewise.
8749         * wcsmbs/tst-wcsnlen.c: Likewise.
8750         * wcsmbs/tst-wcstof.c: Likewise.
8752 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
8754         [BZ #14132]
8755         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
8756         INTDEF.
8757         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
8758         declaration.
8759         (_dl_mcount): Use rtld_hidden_proto.
8760         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
8761         _dl_mcount.
8762         * elf/rtld.c (_rtld_global_ro): Likewise.
8764         [BZ #14132]
8765         * elf/dl-init.c (_dl_init): Don't use INTDEF.
8766         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
8767         of _dl_init_internal.
8768         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
8769         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
8770         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
8771         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
8772         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
8773         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
8774         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
8775         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
8776         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
8777         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
8778         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
8779         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
8780         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8781         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8782         * sysdeps/tile/dl-start.S (_start): Likewise.
8783         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
8784         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
8786         [BZ #14132]
8787         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
8788         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
8789         (rtld_progname): Make macro definition unconditional.
8790         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
8791         INTDEF.
8792         (dlmopen_doit): Do not use INTUSE with _dl_argv.
8793         (dl_main): Likewise.
8794         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8795         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
8796         instead of _dl_argv_internal.
8797         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8798         __GI__dl_argv instead of INTUSE(_dl_argv).
8799         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
8800         __GI__dl_argv instead of _dl_argv_internal.
8802         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
8803         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
8804         macro.
8805         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
8806         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
8807         New macro.
8808         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
8809         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
8810         macro.
8811         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
8812         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
8814 2014-11-04  Andreas Schwab  <schwab@suse.de>
8816         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
8818 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8820         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
8821         mtvsrd instruction in binary form.
8823 2014-11-03  Andreas Schwab  <schwab@suse.de>
8825         [BZ #17522]
8826         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
8827         for less than MB_LEN_MAX use a local buffer of that size.
8828         * libio/tst-fputws.c: New file.
8829         * libio/Makefile (tests): Add tst-fputws.
8831 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
8833         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
8834         the size of the fpu_fr.fpu_dregs[] array.
8836 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
8838         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
8839         (__nanosleep): Do not define as alias.
8840         (nanosleep): Define as alias of __nanosleep.
8841         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
8842         __libc_nanosleep name.
8844 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
8846         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
8847         install.texi in comment.
8849 2014-10-31  Torvald Riegel  <triegel@redhat.com>
8851         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
8852         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
8853         ... add here and use lwsync or sync ...
8854         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
8855         ... and add here using lwsync.
8857 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
8859         * elf/dl-machine-reject-phdr.h: New file.
8860         * elf/dl-load.c: #include that.
8861         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
8862         if that returned true.
8864 2014-10-31  Roland McGrath  <roland@hack.frob.com>
8866         [BZ #17496]
8867         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
8868         gen-as-const-headers chunk.  Add a big scare comment after the last
8869         safe place to touch before-compile.
8871 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
8873         * manual/install.texi (Tools for Compilation): Update autoconf
8874         version requirements.
8875         * INSTALL: Regenerated.
8877         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
8878         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
8879         (__libc_pselect): Likewise.
8881         [BZ #14138]
8882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
8883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8887 2014-10-31  Torvald Riegel  <triegel@redhat.com>
8889         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
8890         correct barrier instruction.
8891         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
8892         Likewise.
8893         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
8894         Likewise.
8896 2014-10-30  Roland McGrath  <roland@hack.frob.com>
8898         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
8899         after defining inlines.  Instead, just use parens to defeat macro
8900         expansion of __isctype in its declaration.
8902 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
8904         * include/sys/uio.h (__libc_readv): Remove declaration.
8905         (__libc_writev): Likewise.
8906         * misc/readv.c (__libc_readv): Rename to __readv.
8907         (__readv): Do not define as alias.
8908         (readv): Define as alias of __readv.
8909         * misc/writev.c (__libc_writev): Rename to __writev.
8910         (__writev): Do not define as alias.
8911         (writev): Define as alias of __writev.
8912         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
8913         (__readv): Do not define as alias.
8914         (readv): Define unconditionally as alias of __readv.
8915         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
8916         (__writev): Do not define as alias.
8917         (writev): Define unconditionally as alias of __writev.
8918         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
8919         name.
8920         (writev): Do not define __libc_writev name.
8922 2014-10-30  Roland McGrath  <roland@hack.frob.com>
8924         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
8925         (convert_charseq): New function, broken out of ...
8926         (use_from_charmap): ... here.  Call it.
8927         (use_to_charmap): Use convert_charseq and free instead of duplicating
8928         its code with a variable-length stack struct.
8930 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
8932         * include/fcntl.h (__libc_creat): Remove declaration.
8933         * io/creat.c (__libc_creat): Rename to creat.
8934         (creat): Do not define as alias.
8935         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
8936         of creat instead of __libc_creat.
8937         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
8938         to creat.
8939         (creat): Do not define as alias.
8940         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
8941         __libc_creat.
8942         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
8943         __libc_creat name.
8944         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
8945         Likewise.
8947 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
8949         * manual/llio.texi: Add comments discussing why write() may be
8950         considered MT-unsafe on Linux.
8952 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
8954         * dl-load.c (local_strdup): Remove.
8955         (expand_dynamic_string_token): Use __strdup.
8956         (decompose_rpath): Likewise.
8957         (_dl_map_object): Likewise.
8959 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
8961         [BZ #14132]
8962         * sysdeps/generic/unwind-dw2-fde.c
8963         (__register_frame_info_bases_internal): Do not declare.
8964         (__register_frame_info_table_bases_internal): Likewise.
8965         (__deregister_frame_info_bases_internal): Likewise.
8966         (__register_frame_info_bases): Declare and use hidden_proto before
8967         definition.  Use hidden_def instead of INTDEF.
8968         (__register_frame_info_table_bases): Likewise.
8969         (__deregister_frame_info_bases): Likewise.
8970         (__register_frame_info): Do not use INTUSE.
8971         (__register_frame): Likewise.
8972         (__register_frame_info_table): Likewise.
8973         (__register_frame_table): Likewise.
8974         (__deregister_frame_info): Likewise.
8975         (__deregister_frame): Likewise.
8977 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
8979         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8980         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
8981         not undefine.
8982         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
8983         Likewise.
8984         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
8985         Likewise.
8987 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
8989         [BZ #14138]
8990         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
8991         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
8992         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
8993         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
8994         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
8995         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
8996         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
8997         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
8998         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
8999         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
9000         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
9001         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
9002         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
9003         syscall.
9004         (setfsuid): Likewise.
9005         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
9006         (setfsuid): Likewise.
9007         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
9008         (setfsuid): Likewise.
9009         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
9010         Likewise.
9011         (setfsuid): Likewise.
9012         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
9013         (setfsuid): Likewise.
9014         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
9015         Likewise.
9016         (setfsuid): Likewise.
9018 2014-10-27  Andreas Schwab  <schwab@suse.de>
9020         [BZ #17501]
9021         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
9022         check for Slow_SSE4_2 feature bit.
9023         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
9024         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
9025         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
9026         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
9028 2014-10-24  Roland McGrath  <roland@hack.frob.com>
9030         * configure.ac: Validate compiler version with a empirical test of
9031         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
9032         $CC -v output.
9033         * configure: Regenerated.
9035         * inet/htons.c (htons): Prototypify.
9036         * inet/htonl.c (htonl): Likewise.
9038 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9040         * string/strncat.c (strncat): Improve performance by using strlen.
9042 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9044         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
9046 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9048         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
9049         Call libc_fetestexcept_aarch64.
9051 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9053         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
9054         Call libc_feholdexcept_aarch64.
9056 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9058         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
9059         Call get_rounding_mode.
9061 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9063         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9064         Simplify logic.
9066 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9068         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
9069         Simplify logic.
9071 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
9073         [BZ #14138]
9074         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
9075         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
9076         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
9077         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
9078         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
9079         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
9080         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
9081         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
9082         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
9083         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
9084         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9085         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
9086         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
9087         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
9088         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
9089         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
9090         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
9091         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
9092         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
9093         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
9094         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
9095         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
9096         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
9097         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
9098         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
9099         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
9100         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
9101         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
9102         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
9103         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
9104         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
9105         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
9106         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
9107         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
9108         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
9109         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
9110         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
9111         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
9112         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
9113         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
9114         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
9115         syscall.
9116         (geteuid): Likewise.
9117         (getgid): Likewise.
9118         (getuid): Likewise.
9119         (getresgid): Likewise.
9120         (getresuid): Likewise.
9121         (getgroups): Likewise.
9122         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
9123         (geteuid): Likewise.
9124         (getgid): Likewise.
9125         (getuid): Likewise.
9126         (getresgid): Likewise.
9127         (getresuid): Likewise.
9128         (getgroups): Likewise.
9129         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
9130         (geteuid): Likewise.
9131         (getgid): Likewise.
9132         (getuid): Likewise.
9133         (getresgid): Likewise.
9134         (getresuid): Likewise.
9135         (getgroups): Likewise.
9136         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
9137         Likewise.
9138         (geteuid): Likewise.
9139         (getgid): Likewise.
9140         (getuid): Likewise.
9141         (getresgid): Likewise.
9142         (getresuid): Likewise.
9143         (getgroups): Likewise.
9144         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
9145         (geteuid): Likewise.
9146         (getgid): Likewise.
9147         (getuid): Likewise.
9148         (getresgid): Likewise.
9149         (getresuid): Likewise.
9150         (getgroups): Likewise.
9151         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
9152         Likewise.
9153         (geteuid): Likewise.
9154         (getgid): Likewise.
9155         (getuid): Likewise.
9156         (getgroups): Likewise.
9158         [BZ #14138]
9159         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
9160         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
9161         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
9162         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9163         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
9164         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
9165         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
9166         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
9167         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
9168         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
9169         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
9170         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
9171         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
9172         __chown.
9173         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
9174         (lchown): Likewise.
9175         (fchown): Likewise.
9176         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
9177         Likewise.
9178         (lchown): Likewise.
9179         (fchown): Likewise.
9180         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
9181         (lchown): Likewise.
9182         (fchown): Likewise.
9183         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
9184         Likewise.
9185         (lchown): Likewise.
9186         (fchown): Likewise.
9188 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9190         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
9191         Simplify logic.
9193 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9195         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9196         Cleanup logic.
9198 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9200         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9201         Remove unused include.
9203 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9205         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
9206         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
9207         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
9208         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
9210 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
9211             Helge Deller <deller@gmx.de>
9213         [BZ #17508]
9214         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
9215         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
9216         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
9218 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
9220         [BZ #14132]
9221         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
9222         Remove macro definition.
9223         (__ashrdi3_v_glibc20): Likewise.
9224         (__lshrdi3_v_glibc20): Likewise.
9225         (__cmpdi2_v_glibc20): Likewise.
9226         (__ucmpdi2_v_glibc20): Likewise.
9227         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
9228         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9229         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9230         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9231         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9232         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
9234 2014-10-22  Roland McGrath  <roland@hack.frob.com>
9236         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
9237         old GNU extension [0] syntax.
9238         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
9239         alloca rather than an array member with variable length.
9240         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
9241         * nscd/nscd.c (invalidate_db): New function, broken out of ...
9242         (parse_opt): ... here.  Likewise use alloca there.
9243         Validate the -i argument before checking for rootness.
9244         (send_shutdown): New function, broken out of ...
9245         (parse_opt): ... here.
9247 2014-10-22  Roland McGrath  <roland@hack.frob.com>
9249         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
9250         macro to get at the _rt_local_ro field.
9251         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
9252         ([PIC] case) or _dl_hwcap ([!PIC] case).
9253         * sysdeps/arm/setjmp.S: Likewise.
9255         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
9256         * sysdeps/arm/configure.ac: New check to define it.
9257         * sysdeps/arm/configure: Regenerated.
9258         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
9259         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
9260         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
9261         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
9262         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
9263         Use move/movt pair instead of a load.
9264         (LDST_GLOBAL): Macro removed.
9265         (LDR_GLOBAL): New macro replaces it.
9266         (LDR_HIDDEN): New macro.
9267         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
9268         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
9270         * setjmp/tst-setjmp-static.c: New file.
9271         * setjmp/Makefile (tests): Add it.
9272         (tests-static): New variable.
9274 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
9276         [BZ #17485]
9277         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
9279 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
9281         [BZ #14132]
9282         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
9284 2014-10-21  Roland McGrath  <roland@hack.frob.com>
9286         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
9288 2014-10-20  Roland McGrath  <roland@hack.frob.com>
9290         * io/fts.c (dirent_not_directory): New function.
9291         (fts_build): Call it.
9293 2014-10-20  Roland McGrath  <roland@hack.frob.com>
9295         * nptl/version.c (__nptl_main): Use normal __write rather than
9296         INTERNAL_SYSCALL.
9297         (banner): Update copyright years.
9299         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
9300         gettimeofday.
9301         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9302         * nptl/pthread_cond_timedwait.c: Likewise.
9303         * nptl/pthread_mutex_timedlock.c: Likewise.
9304         * nptl/sem_timedwait.c: Likewise.
9306         * sysdeps/nptl/bits/libc-lock.h
9307         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9308         (__libc_lock_init_recursive): Return void, not 0.
9309         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
9310         (__libc_rwlock_init): Likewise.
9311         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
9313 2014-10-20  Torvald Riegel  <triegel@redhat.com>
9315         [BZ #15215]
9316         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
9317         (__pthread_once_slow): ... here.
9318         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
9319         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
9321 2014-10-20  Torvald Riegel  <triegel@redhat.com>
9323         [BZ #15215]
9324         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
9325         __PTHREAD_ONCE_FORK_GEN_INCR): New.
9326         * sysdeps/nptl/fork.c (__libc_fork): Use them.
9327         * nptl/pthread_once.c (__pthread_once): Likewise.
9328         Update comments.
9330 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
9332         [BZ #14138]
9333         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
9334         name.
9335         (writev): Use __libc_writev as strong name.
9336         * sysdeps/unix/sysv/linux/readv.c: Remove file.
9337         * sysdeps/unix/sysv/linux/writev.c: Likewise.
9339 2014-10-17  Roland McGrath  <roland@hack.frob.com>
9341         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
9343         * sysdeps/i386/nptl/tls.h
9344         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
9345         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
9346         New macros.
9347         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
9348         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
9349         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
9350         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
9351         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
9352         Call CHECK_THREAD_SYSINFO instead of doing an assert.
9354         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9355         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
9356         on [__NR_futex].
9357         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
9358         broken out of ...
9359         (__pthread_mutex_init): ... here.  Call it.
9360         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
9361         Conditionalize PI cases on [__NR_futex].
9362         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9363         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9364         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9366         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
9367         conditional on [SIGSETXID].
9368         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
9369         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
9370         is defined.  Likewise for SIGSETXID.
9371         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
9372         Conditionalize definitions on [SIGSETXID].
9373         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
9374         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
9375         unblocking on [SIGCANCEL].
9377         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
9378         [__NR_set_robust_list].
9380 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9382         * string/strcoll_l.c (get_next_seq): Fix up formatting.
9383         (do_compare): Likewise.
9385 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
9387         [BZ #15884]
9388         * string/strcoll_l.c: Don't include stdio.h.
9389         (coll_seq): Remove members idxarr and rulearr.
9390         (get_next_seq_cached): Remove function.
9391         (get_next_seq): Likewise.
9392         (get_next_seq_nocache): Rename to get_next_seq.
9393         (do_compare): Remove function.
9394         (do_compare_nocache): Rename to do_compare.
9395         (STRCOLL): Remove weight and rules cache.
9397 2014-10-16  Roland McGrath  <roland@hack.frob.com>
9399         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
9400         * sysdeps/arm/sfp-machine.h: ... to here.
9401         * sysdeps/arm/Implies: Remove arm/soft-fp.
9403 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
9405         * conform/data/sys/utsname.h-data (*_t): Allow.
9406         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
9407         [POSIX] (WEXITED): Do not expect constant.
9408         [POSIX] (WSTOPPED): Likewise.
9409         [POSIX] (WNOHANG): Likewise.
9410         [POSIX] (WNOWAIT): Likewise.
9411         [POSIX] (siginfo_t): Do not expect type or elements.
9412         [POSIX] (pid_t): Do not expect type.
9413         [POSIX] (signal.h): Do not allow header.
9414         [POSIX] (sys/resource.h): Likewise.
9415         [POSIX] (si_*): Do not allow pattern.
9416         [POSIX] (W*): Likewise.
9417         [POSIX] (P_*): Likewise.
9418         [POSIX] (BUS_*): Likewise.
9419         [POSIX] (CLD_*): Likewise.
9420         [POSIX] (FPE_*): Likewise.
9421         [POSIX] (ILL_*): Likewise.
9422         [POSIX] (POLL_*): Likewise.
9423         [POSIX] (SEGV_*): Likewise.
9424         [POSIX] (SI_*): Likewise.
9425         [POSIX] (TRAP_*): Likewise.
9426         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
9427         variable.
9429 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
9431         [BZ #12926]
9432         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
9433         infinite loop when __recvmsg returns 0.
9435 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
9437         * CANCEL-FCT-WAIVE: Remove file.
9438         * CANCEL-FILE-WAIVE: Likewise.
9440         [BZ #14132]
9441         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
9442         instead of INTVARDEF.
9443         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9444         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
9445         rtld_hidden_data_def instead of INTVARDEF.
9446         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9447         * elf/dl-deps.c (expand_dst): Likewise.
9448         * elf/dl-load.c (_dl_dst_count): Likewise.
9449         (_dl_dst_substitute): Likewise.
9450         (decompose_rpath): Likewise.
9451         (_dl_init_paths): Likewise.
9452         (open_path): Likewise.
9453         (_dl_map_object): Likewise.
9454         * elf/rtld.c (dl_main): Likewise.
9455         (process_dl_audit): Likewise.
9456         (process_envvars): Likewise.
9457         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
9458         Remove declaration.
9459         (__libc_enable_secure): Use rtld_hidden_proto.
9461 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9463         * elf/dl-load.c
9464         (add_path): New function broken out of _dl_rtld_di_serinfo.
9465         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
9467 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
9469         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
9470         parentheses around macro arguments.
9471         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
9472         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
9473         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
9474         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
9475         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
9476         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9477         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9478         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
9479         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
9480         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
9481         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
9482         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
9483         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
9484         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
9485         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
9486         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
9487         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
9488         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
9489         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
9490         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
9491         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
9492         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
9493         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
9494         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9495         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9496         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
9497         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
9498         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
9499         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
9500         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
9501         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
9502         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
9503         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
9504         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
9505         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
9506         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
9507         Likewise.
9508         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
9509         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9510         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9511         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
9512         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
9513         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
9514         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
9515         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
9516         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
9517         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
9518         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
9519         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
9520         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
9521         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
9522         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
9523         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9524         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9525         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
9526         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
9527         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
9528         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
9529         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
9530         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
9531         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
9532         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
9533         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
9534         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
9535         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
9536         (_FP_FRAC_SRS_1): Likewise.
9537         (_FP_FRAC_CLZ_1): Likewise.
9538         (_FP_MUL_MEAT_1_imm): Likewise.
9539         (_FP_MUL_MEAT_1_wide): Likewise.
9540         (_FP_MUL_MEAT_1_hard): Likewise.
9541         (_FP_SQRT_MEAT_1): Likewise.
9542         (_FP_FRAC_ASSEMBLE_1): Likewise.
9543         (_FP_FRAC_DISASSEMBLE_1): Likewise.
9544         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
9545         (__FP_CLZ_2): Likewise.
9546         (_FP_MUL_MEAT_2_wide): Likewise.
9547         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9548         (_FP_MUL_MEAT_2_gmp): Likewise.
9549         (_FP_MUL_MEAT_2_120_240_double): Likewise.
9550         (_FP_SQRT_MEAT_2): Likewise.
9551         (_FP_FRAC_ASSEMBLE_2): Likewise.
9552         (_FP_FRAC_DISASSEMBLE_2): Likewise.
9553         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
9554         (_FP_FRAC_CLZ_4): Likewise.
9555         (_FP_MUL_MEAT_4_wide): Likewise.
9556         (_FP_MUL_MEAT_4_gmp): Likewise.
9557         (_FP_SQRT_MEAT_4): Likewise.
9558         (_FP_FRAC_ASSEMBLE_4): Likewise.
9559         (_FP_FRAC_DISASSEMBLE_4): Likewise.
9560         * soft-fp/op-common.h (_FP_CMP): Likewise.
9561         (_FP_CMP_EQ): Likewise.
9562         (_FP_CMP_UNORD): Likewise.
9563         (_FP_TO_INT): Likewise.
9564         (_FP_FROM_INT): Likewise.
9565         [!__FP_CLZ] (__FP_CLZ): Likewise.
9566         (_FP_DIV_HELP_imm): Likewise.
9567         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
9568         Likewise.
9569         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
9570         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
9571         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
9572         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
9573         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
9574         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9575         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9576         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
9577         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
9578         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
9579         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
9580         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
9581         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
9582         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
9583         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
9584         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
9585         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
9586         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
9587         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
9588         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
9589         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
9590         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
9591         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
9592         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9593         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9594         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
9595         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
9596         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
9597         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
9598         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
9599         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
9600         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
9601         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
9602         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
9603         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
9604         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
9605         (FP_UNPACK_RAW_SP): Likewise.
9606         (FP_PACK_RAW_S): Likewise.
9607         (FP_PACK_RAW_SP): Likewise.
9608         (FP_UNPACK_S): Likewise.
9609         (FP_UNPACK_SP): Likewise.
9610         (FP_UNPACK_SEMIRAW_S): Likewise.
9611         (FP_UNPACK_SEMIRAW_SP): Likewise.
9612         (FP_PACK_S): Likewise.
9613         (FP_PACK_SP): Likewise.
9614         (FP_PACK_SEMIRAW_S): Likewise.
9615         (FP_PACK_SEMIRAW_SP): Likewise.
9616         (_FP_SQRT_MEAT_S): Likewise.
9617         (FP_CMP_S): Likewise.
9618         (FP_CMP_EQ_S): Likewise.
9619         (FP_CMP_UNORD_S): Likewise.
9620         (FP_TO_INT_S): Likewise.
9621         (FP_FROM_INT_S): Likewise.
9623         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
9625         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
9626         (FP_EX_INVALID_IMZ): Likewise.
9627         (FP_EX_INVALID_IMZ_FMA): Likewise.
9628         (FP_EX_INVALID_ISI): Likewise.
9629         (FP_EX_INVALID_ZDZ): Likewise.
9630         (FP_EX_INVALID_IDI): Likewise.
9631         (FP_EX_INVALID_SQRT): Likewise.
9632         (FP_EX_INVALID_CVI): Likewise.
9633         (FP_EX_INVALID_VC): Likewise.
9634         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
9635         "invalid" exceptions.
9636         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
9637         (_FP_ADD_INTERNAL): Likewise.
9638         (_FP_MUL): Likewise.
9639         (_FP_FMA): Likewise.
9640         (_FP_DIV): Likewise.
9641         (_FP_CMP_CHECK_NAN): Likewise.
9642         (_FP_SQRT): Likewise.
9643         (_FP_TO_INT): Likewise.
9644         (FP_EXTEND): Likewise.
9646 2014-10-09  Allan McRae  <allan@archlinux.org>
9648         * po/fr.po: Update French translation from translation project.
9650 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
9652         [BZ #14132]
9653         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
9654         of INTDEF.
9655         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
9656         (__cxa_atexit): Use libc_hidden_proto.
9657         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
9659         [BZ #14132]
9660         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
9661         declaration.
9662         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
9663         [!_ISOMAC] (__iswspace_l_internal): Likewise.
9664         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
9665         [!_ISOMAC] (__iswctype_internal): Likewise.
9666         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
9667         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
9668         alias.
9669         (fcntl): Remove __fcntl_internal alias.
9670         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
9671         __connect_internal alias.
9672         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
9673         Likewise.
9675         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
9676         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
9677         FP_DENORM_ZERO.
9678         (_FP_CHECK_FLUSH_ZERO): New macro.
9679         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
9680         (_FP_CMP): Likewise.
9681         (_FP_CMP_EQ): Likewise.
9682         (_FP_TO_INT): Do not set inexact for subnormal arguments if
9683         FP_DENORM_ZERO.
9684         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
9685         (FP_TRUNC): Likewise.
9687         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
9688         treated as invalid conversion, not as normal exponent.
9690         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
9691         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
9692         (_FP_CMP_EQ): Likewise.
9693         (_FP_CMP_UNORD): Likewise.
9694         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
9695         (FP_CMP_EQ_D): Likewise.
9696         (FP_CMP_UNORD_D): Likewise.
9697         * soft-fp/extended.h (FP_CMP_E): Likewise.
9698         (FP_CMP_EQ_E): Likewise.
9699         (FP_CMP_UNORD_E): Likewise.
9700         * soft-fp/quad.h (FP_CMP_Q): Likewise.
9701         (FP_CMP_EQ_Q): Likewise.
9702         (FP_CMP_UNORD_Q): Likewise.
9703         * soft-fp/single.h (FP_CMP_S): Likewise.
9704         (FP_CMP_EQ_S): Likewise.
9705         (FP_CMP_UNORD_S): Likewise.
9706         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
9707         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
9708         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
9709         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
9710         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
9711         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
9712         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
9713         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
9714         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
9715         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
9716         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
9717         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
9718         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
9719         to FP_CMP_Q.
9720         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
9721         FP_CMP_Q.
9722         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
9723         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
9724         FP_CMP_EQ_Q.
9725         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
9726         FP_CMP_Q.
9727         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
9728         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
9729         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
9730         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
9731         FP_CMP_EQ_Q.
9732         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
9733         FP_CMP_Q.
9734         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
9735         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
9736         FP_CMP_EQ_Q.
9737         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
9738         FP_CMP_Q.
9739         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
9740         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
9741         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
9742         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
9743         FP_CMP_EQ_Q.
9745         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
9746         a subnormal result, set the underflow exception if trapping on
9747         underflow is enabled.
9748         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
9749         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
9750         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
9751         redefine to 0.
9752         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
9753         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9754         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9755         * soft-fp/extendxftf2.c (__extendxftf2): Use
9756         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
9758         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
9759         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
9760         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9761         FP_HANDLE_EXCEPTIONS.
9762         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
9763         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9764         FP_HANDLE_EXCEPTIONS.
9765         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
9766         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9767         FP_HANDLE_EXCEPTIONS.
9768         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
9769         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9770         FP_HANDLE_EXCEPTIONS.
9772 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
9774         [BZ #14132]
9775         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
9776         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
9777         use INTUSE.
9778         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
9779         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
9780         Remove alias.
9781         (__adjtimex): Define using libc_hidden_ver.
9782         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
9783         Remove declaration.
9784         (ntp_gettime): Call __adjtimex directly.
9785         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
9786         Remove declaration.
9787         (ntp_gettimex): Call __adjtimex directly.
9788         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
9789         __adjtimex_internal alias.
9791 2014-10-08  Roland McGrath  <roland@hack.frob.com>
9793         [BZ #17460]
9794         * nscd/nscd.c (more_help): Rewrite list of tables collection
9795         using xstrdup and asprintf.
9797         * nscd/nscd_conf.c: Remove local xstrdup declaration.
9799 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9800             Roland McGrath  <roland@hack.frob.com>
9802         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
9803         (do_lookup_unique): ... local function 'enter' here; update callers.
9805 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
9807         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
9808         compat_symbol calls on [SHARED].
9809         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
9810         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
9811         Remove.
9812         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9813         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
9814         (oldsetrlimit): Remove.
9815         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9817         (lchown): New syscall entry.
9818         (oldsetrlimit): Remove.
9819         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9820         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
9821         (oldsetrlimit): Remove.
9822         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9824         [BZ #14138]
9825         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
9826         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
9827         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
9828         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
9829         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9830         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
9831         (fchown): Likewise.
9832         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
9833         (fchown): Likewise.
9834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
9835         Likewise.
9837 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9839         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
9840         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
9841         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
9842         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
9843         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
9844         Likewise.
9845         (__old_sem_post): Likewise.
9847 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
9849         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
9850         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
9851         HAVE_CLOCK_GETTIME_VSYSCALL macros.
9852         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
9853         Use INLINE_VSYSCALL macro.
9854         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
9855         __vdso_clock_gettime.
9856         * sysdeps/unix/sysv/linux/tile/init-first.c
9857         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
9858         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
9859         __vdso_clock_gettime.
9861         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
9862         to set up frame more cleanly.
9864         * sysdeps/tile/memcmp.c: New file.
9866         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
9868         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
9869         * sysdeps/tile/tilegx/strcasestr.c: New file.
9870         * sysdeps/tile/tilegx/strnlen.c: New file.
9871         * sysdeps/tile/tilegx/strstr.c: New file.
9873         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
9875 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
9877         * nptl/tst-setuid3.c: Write errors to stdout.
9879 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9881         * elf/dl-deps.c
9882         (preload): New functions broken out of _dl_map_object_deps.
9883         (_dl_map_object_deps):  Remove a nested function. Update call sites.
9885 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
9887         [BZ #14138]
9888         * sysdeps/unix/sysv/linux/execve.c: Remove file.
9889         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
9891 2014-10-01  Steve Ellcey  <sellcey@mips.com>
9893         * sysdeps/mips/strcmp.S: New.
9895 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
9897         [BZ #14138]
9898         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
9899         (linkat): Likewise.
9900         (mkdirat): Likewise.
9901         (readlinkat): Likewise.
9902         (renameat): Likewise.
9903         (symlinkat): Likewise.
9904         (unlinkat): Likewise.
9905         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
9906         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
9907         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
9908         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
9909         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9910         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
9911         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
9913 2014-09-30  Will Newton  <will.newton@linaro.org>
9915         * math/math.h: Define long double math functions if
9916         _LIBC_TEST is defined.
9917         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
9919         * localedata/Makefile: Move assignment to tests-special
9920         into an ifdef testing run-built-tests.
9921         * timezone/Makefile: Likewise.
9923 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
9925         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
9926         with $(BASH) not $(SHELL).
9928 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
9929             Matthew LeGendre  <legendre1@llnl.gov>
9931         [BZ #17411]
9932         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
9933         l_reloc_result.
9935 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9937         * stdio-common/printf_fp.c
9938         (hack_digit): New function, broken out of ...
9939         (__printf_fp): ... local function here.  Update call sites.
9940         hack_digit now takes an additional parameter that is a pointer
9941         to a struct of the referenced locals.  Those locals moved inside
9942         the struct and references updated.
9944 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
9946         * aclocal.m4: Require autoconf 2.69.
9947         * configure: Regenerated.
9948         * sysdeps/aarch64/configure: Likewise.
9949         * sysdeps/alpha/configure: Likewise.
9950         * sysdeps/arm/armv7/configure: Likewise.
9951         * sysdeps/arm/configure: Likewise.
9952         * sysdeps/ia64/configure: Likewise.
9953         * sysdeps/mach/configure: Likewise.
9954         * sysdeps/mips/configure: Likewise.
9955         * sysdeps/s390/configure: Likewise.
9956         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
9957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
9959         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
9960         file.
9961         * sysdeps/ia64/configure.ac: Likewise.
9963 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
9965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
9966         specify symbol version for ld.so.  Do not include entry for
9967         libpthread.
9968         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9969         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9970         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9972         [BZ #14171]
9973         * Makeconfig [$(build-shared) = yes]
9974         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
9975         makefiles.
9976         [$(build-shared) = yes && $(soversions.mk-done) = t]
9977         ($(common-objpfx)gnu/lib-names.h): Remove rule.
9978         [$(build-shared) = yes && $(soversions.mk-done) = t]
9979         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
9980         to Makerules.
9981         [$(build-shared) = yes && $(soversions.mk-done) = t]
9982         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
9983         here.
9984         [$(build-shared) = yes && $(soversions.mk-done) = t]
9985         (common-generated): Don't append gnu/lib-names.h and
9986         gnu/lib-names.stmp here.
9987         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
9988         (lib-names-h-abi): New variable.
9989         [$(build-shared) = yes && $(soversions.mk-done) = t]
9990         (lib-names-stmp-abi): Likewise.
9991         [$(build-shared) = yes && $(soversions.mk-done) = t &&
9992         abi-variants] (before-compile): Append
9993         $(common-objpfx)$(lib-names-h-abi).
9994         [$(build-shared) = yes && $(soversions.mk-done) = t &&
9995         abi-variants] (common-generated): Append gnu/lib-names.h.
9996         [$(build-shared) = yes && $(soversions.mk-done) = t &&
9997         abi-variants] (install-others-nosubdir): Depend on
9998         $(inst_includedir)/$(lib-names-h-abi).
9999         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10000         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
10001         [$(build-shared) = yes && $(soversions.mk-done) = t]
10002         ($(common-objpfx)$(lib-names-h-abi)): New rule.
10003         [$(build-shared) = yes && $(soversions.mk-done) = t]
10004         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
10005         [$(build-shared) = yes && $(soversions.mk-done) = t]
10006         (common-generated): Append $(lib-names-h-abi) and
10007         $(lib-names-stmp-abi).
10008         * scripts/lib-names.awk: Do not handle multi being set.
10009         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
10010         Remove variable.
10011         (abi-lp64_be-ld-soname): Likewise.
10012         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
10013         Likewise.
10014         (abi-hard-ld-soname): Likewise.
10015         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
10016         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
10017         Remove variable.
10018         (abi-o32_hard-ld-soname): Likewise.
10019         (abi-o32_soft_2008-ld-soname): Likewise.
10020         (abi-o32_hard_2008-ld-soname): Likewise.
10021         (abi-n32_soft-ld-soname): Likewise.
10022         (abi-n32_hard-ld-soname): Likewise.
10023         (abi-n32_soft_2008-ld-soname): Likewise.
10024         (abi-n32_hard_2008-ld-soname): Likewise.
10025         (abi-n64_soft-ld-soname): Likewise.
10026         (abi-n64_hard-ld-soname): Likewise.
10027         (abi-n64_soft_2008-ld-soname): Likewise.
10028         (abi-n64_hard_2008-ld-soname): Likewise.
10029         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
10030         Likewise.
10031         (abi-64-v2-ld-soname): Likewise.
10032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
10033         ld.so entries.
10034         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
10035         variable.
10036         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
10037         entry.
10038         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
10039         variable.
10040         (abi-64-ld-soname): Likewise.
10041         (abi-x32-ld-soname): Likewise.
10042         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
10043         entry.
10044         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10046 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
10048         [BZ #14138]
10049         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
10050         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10051         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
10052         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
10053         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
10054         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
10055         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
10056         syscall entry for GLIBC_2.2 symbol version.
10057         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
10058         Likewise.
10059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10060         (setrlimit): Likewise.
10061         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
10062         Likewise.
10064 2014-09-23  Will Newton  <will.newton@linaro.org>
10066         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
10067         _LINUX_ARM_SYSDEP_H include guard too.
10068         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
10069         define.
10071 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10073         * sysdeps/unix/sysv/linux/eventfd.c:
10074         Make first argument unsigned.
10075         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
10076         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
10078 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
10080         * socket/recvmmsg.c (recvmmsg): Drop const argument.
10081         * socket/sys/socket.h: Likewise
10082         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
10084 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10086         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
10088 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
10090         * time/tst-ftime.c: New test.
10091         * time/Makefile (tests): Add tst-ftime.
10093 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
10095         * soft-fp/extended.h: Fix comment formatting.
10096         * soft-fp/op-1.h: Likewise.
10097         * soft-fp/op-2.h: Likewise.
10098         * soft-fp/op-4.h: Likewise.
10099         * soft-fp/op-8.h: Likewise.
10100         * soft-fp/op-common.h: Likewise.
10101         * soft-fp/soft-fp.h: Likewise.
10103         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
10105 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
10107         [BZ #6652]
10108         * Makeconfig (soversions-default-setname): Remove variable.
10109         ($(common-objpfx)soversions.i): Don't pass default_setname to
10110         soversions.awk.
10111         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
10112         oldest_abi to abi-versions.awk.
10113         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
10114         * config.make.in (oldest-abi): Remove variable.
10115         * configure.ac (--enable-oldest-abi): Remove configure option.
10116         * configure: Regenerated.
10117         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
10118         text.
10119         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
10120         * scripts/soversions.awk: Do not handle default_setname variable.
10121         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
10122         variable.
10123         * sysdeps/mach/hurd/configure: Regenerated.
10124         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
10125         variable.
10126         * sysdeps/unix/sysv/linux/configure: Regenerated.
10128 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10130         * elf/Makefile (CFLAGS-interp.c): Remove.
10131         ($(elf-objpfx)runtime-linker.h): Generate header with linker
10132         path string.
10133         * elf/interp.c: Include generated runtime-linker.h
10135         * Makerules (lib%.so): Don't include $(+interp) in
10136         prerequisites.
10137         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
10138         * dlfcn/eval.c: Remove file.
10140         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
10141         macros.
10143         [BZ #17266]
10144         * misc/sys/cdefs.h: Define __extern_always_inline for clang
10145         4.2 and newer.
10147         [BZ #17370]
10148         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
10150 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10151             Jakub Jelinek  <jakub@redhat.com>
10153         [BZ #17266]
10154         * libio/stdio.h: Check definition of __fortify_function
10155         instead of __extern_always_inline to include bits/stdio2.h.
10156         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
10157         check if __extern_always_inline is defined.
10158         [__USE_MISC || __USE_XOPEN]: Likewise.
10159         [__USE_ISOC99] Likewise.
10160         * misc/sys/cdefs.h (__fortify_function): Define only if
10161         __extern_always_inline is defined.
10162         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
10163         __extern_always_inline and __extern_inline only for g++-4.3
10164         and newer or a compatible gcc.
10166 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
10168         [BZ #17371]
10169         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10170         last change to handle zero prefix length.
10172 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10174         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
10175         _SC_REGEX_VERSION.
10177         * posix/getconf.c (vars): Add _POSIX_IPV6 and
10178         _POSIX_RAW_SOCKETS.
10180 2014-09-13  Allan McRae  <allan@archlinux.org>
10182         * po/ru.po: Update Russian translation from translation project.
10184 2014-09-12  Roland McGrath  <roland@hack.frob.com>
10186         * locale/programs/locale.c (show_locale_vars): Inline local function
10187         into its sole call site.  Clean up some style nits.
10188         (print_item): New function, broken out of ...
10189         (show_info): ... local function here.  Clean up style nits.
10191         * locale/programs/ld-ctype.c (set_one_default): New function, broken
10192         out of ...
10193         (set_class_defaults): ... local function set_default here.
10194         Define set_default as a macro locally to pass constant parameters.
10195         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
10196         rather than a shared local.
10198         * stdlib/rpmatch.c (try): New function, broken out of ...
10199         (rpmatch): ... local function here.  Also, prototypify definition.
10201 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
10203         * scripts/soversions.awk: Do not handle configuration names.
10204         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
10205         vendor and os variables to soversions.awk.
10206         * configure.ac: Do not modify gnu-* host_os.
10207         * configure: Regenerated
10208         * shlib-versions: Remove first column with configuration names.
10209         * nptl/shlib-versions: Likewise.
10210         * nptl_db/shlib-versions: Likewise.
10211         * sysdeps/hppa/shlib-versions: Likewise.
10212         * sysdeps/m68k/shlib-versions: Likewise.
10213         * sysdeps/mach/hurd/shlib-versions: Likewise.
10214         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
10215         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
10216         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
10217         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
10218         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
10219         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
10220         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
10221         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
10222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10223         Likewise.
10224         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10225         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10226         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10227         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10228         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10229         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
10230         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10231         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10234         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
10235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10236         Regenerated.
10237         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
10238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10239         Condition symbol version definitions on [HAVE_ELFV2_ABI].
10241         * shlib-versions: Remove OS-specific entries.  Moved to files in
10242         sysdeps.
10243         * sysdeps/mach/hurd/shlib-versions: New file.
10244         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10246         * nptl/shlib-versions: Remove architecture-specific entries.
10247         Moved to files in sysdeps.
10248         * shlib-versions: Likewise.
10249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
10250         file.
10251         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10252         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10253         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10254         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10256         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
10257         (UDP_NO_CHECK6_RX): Likewise.
10259 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10261         * sysdeps/posix/sysconf.c (__sysconf): Spell
10262         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
10264 2014-08-12  Florian Weimer  <fweimer@redhat.com>
10266         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
10267         loading.
10268         * iconv/Versions (__gconv_transliterate): Export for use from
10269         gconv modules.
10270         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
10271         (struct __gconv_trans_data, __gconv_trans_fct,
10272         __gconv_trans_context_fct, __gconv_trans_query_fct,
10273         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
10274         definitions.
10275         (struct __gconv_step_data): Remove __trans member.
10276         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
10277         longer hidden.  Remove unused trans_data argument.
10278         * iconv/gconv_int.h (struct trans_struct): Remove definition.
10279         (__gconv_translit_find): Remove declaration.
10280         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
10281         prototype.
10282         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
10283         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
10284         trans_data argument.  Add hidden definition.
10285         (__gconv_translit_find): Remove.
10286         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
10287         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
10288         * iconv/skeleton.c: Remove transliteration initialization.
10289         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
10290         __gconv_step_data initialization.
10291         * libio/iofwide.c (__libio_translit_): Remove.
10292         (_IO_fwide): Adjust struct __gconv_step_data initialization.
10293         * wcsmbs/btowc.c (__btowc): Likewise.
10294         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10295         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10296         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10297         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10298         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
10299         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10300         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10301         * wcsmbs/wctob.c (wctob): Likewise.
10303 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10305         [BZ #16194]
10306         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
10307         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
10308         register usage.
10309         * sysdeps/x86/Makefile: Adjust.
10311 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10312             Roland McGrath  <roland@hack.frob.com>
10314         * locale/weight.h: Add include guard.
10315         (findidx): Make static rather than auto; take new parameters
10316         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
10317         * locale/weightwc.h: Likewise.
10318         * posix/fnmatch_loop.c
10319         (FCT): Change type of EXTRA from int32_t to wint_t.
10320         Don't include either header inside the function.
10321         Call FINDIDX rather than findidx, and pass new arguments.
10322         #undef FINDIDX at the end of the file.
10323         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
10324         FINDIDX before including fnmatch_loop.c for the non-wide version.
10325         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
10326         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
10327         for the wide version.
10328         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
10329         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
10330         Pass new arguments to findidx.
10331         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
10332         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
10333         Don't #include it inside the function.  Pass new arguments to findidx.
10334         * posix/regex_internal.h
10335         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
10336         (re_string_elem_size_at): Don't #include it inside the function.
10337         Pass new arguments to findidx.
10338         * string/strcoll_l.c: #include WEIGHT_H at top level.
10339         (get_next_seq): Don't #include it inside the function.
10340         Pass new arguments to findidx.
10341         (get_next_seq_nocache): Likewise.
10342         * string/strxfrm_l.c: #include WEIGHT_H at top level.
10343         (STRXFRM): Don't #include it inside the function.
10344         Pass new arguments to findidx.
10346 2014-09-11  Florian Weimer  <fweimer@redhat.com>
10348         [BZ #17344]
10349         * malloc/malloc.c (unlink): Turn asserts into a call to
10350         malloc_printerr.
10352 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
10354         [BZ #17370]
10355         * libio/wfileops (do_ftell_wide): Free OUT.
10357 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
10359         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
10361 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10363         [BZ #17363]
10364         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
10365         group if the current group is empty.
10367 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10369         * benchtests/bench-memset.c (test_main): Add more test from size
10370         from 32 to 512 bytes.
10371         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10372         Add POWER8 memset object.
10373         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10374         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
10375         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
10376         implementation.
10377         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
10378         Likewise.
10379         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
10380         multiarch POWER8 memset optimization.
10381         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
10382         POWER8 memset optimization.
10384         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10385         Remove bzero multiarch objects.
10386         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
10387         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
10388         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
10389         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
10390         Remove define.
10391         [__bzero]: Redefine to specific name.
10392         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
10393         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
10394         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
10395         define.
10396         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10397         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10399 2014-09-10  Florian Weimer  <fweimer@redhat.com>
10401         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
10402         warnings into errors.
10404         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
10405         __cxa_thread_atexit_impl prototype.
10407 2014-09-09  Steve Ellcey  <sellcey@mips.com>
10409         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
10410         Fix capitalization of error message.
10412 2014-09-09  Steve Ellcey  <sellcey@mips.com>
10414         * sysdeps/mips/preconfigure: Modify ABI tests.
10416 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
10418         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
10420 2014-09-07  Roland McGrath  <roland@hack.frob.com>
10421             Carlos O'Donell  <carlos@systemhalted.org>
10423         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
10424         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
10425         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
10426         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
10427         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
10428         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
10429         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
10430         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
10431         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
10432         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
10433         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
10434         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
10435         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
10436         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
10437         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
10438         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
10439         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
10440         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
10441         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
10442         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
10443         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
10444         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
10445         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
10446         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
10447         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
10448         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
10449         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
10450         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
10451         Deconditionalize the code that was previously under [RESET_PID].
10452         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
10453         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
10454         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
10455         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
10456         include sysdep.h.
10458 2014-09-08  Allan McRae  <allan@archlinux.org>
10460         * version.h (RELEASE): Set to "development".
10461         (VERSION): Set to "2.20.90"
10463 2014-09-07  Allan McRae  <allan@archlinux.org
10465         * version.h (RELEASE): Set to "stable".
10466         (VERSION): Set to "2.20"
10467         * include/features.h (__GLIBC_MINOR__): Set to 20.
10469         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
10470         Liebler.
10472         * po/ko.po: Update Korean translation from translation project.
10474 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
10476         [BZ #17354]
10477         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
10478         macro for handling signed relocations.
10480 2014-09-03  Florian Weimer  <fweimer@redhat.com>
10482         [BZ #17325]
10483         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
10484         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
10485         assert.
10486         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
10487         * iconvdata/ibm935.c (BODY): Likewise.
10488         * iconvdata/ibm937.c (BODY): Likewise.
10489         * iconvdata/ibm939.c (BODY): Likewise.
10490         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
10491         assert.
10492         * iconvdata/Makefile (iconv-test.out): Pass module list to test
10493         script.
10494         * iconvdata/run-iconv-test.sh: New test loop for checking for
10495         decoder crashers.
10497 2014-09-02  Khem Raj  <raj.khem@gmail.com>
10499         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
10500         libm_hidden_ver.
10502 2014-09-01  Allan McRae  <allan@archlinux.org>
10504         * po/eo.po: Update Esperanto translation from translation project.
10506         * po/ca.po: Update Catalan translation from translation project.
10508 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10510         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
10511         __proc_dostop call.
10513 2014-08-27  Mark Wielaard  <mjw@redhat.com>
10515         [BZ #17319]
10516         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
10517         to call set_thread_area instead of hand written asm.
10518         (__NR_set_thread_area): Removed define.
10519         (TLS_FLAG_WRITABLE): Likewise.
10520         (__ASSUME_SET_THREAD_AREA): Remove check.
10521         (TLS_EBX_ARG): Remove define.
10522         (TLS_LOAD_EBX): Likewise.
10524 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10526         Simplify atomicity of socket creation in bind.
10528         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
10529         looking up the name after linking the file.
10531 2014-08-27  Allan McRae  <allan@archlinux.org>
10533         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10535 2014-08-26  Florian Weimer  <fweimer@redhat.com>
10537         [BZ #17187]
10538         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
10539         trans_compare, open_translit, __gconv_translit_find):
10540         Remove module loading code.
10542 2014-08-26  Allan McRae  <allan@archlinux.org>
10544         * po/vi.po: Update Vietnamese translation from translation project.
10546         * po/uk.po: Update Ukrainian translation from translation project.
10548         * po/fr.po: Update French translation from translation project.
10550         * po/ru.po: Update Russian translation from translation project.
10552         * po/pl.po: Update Polish translation from translation project.
10554         * po/cs.po: Update Czech translation from translation project.
10556         * po/de.po: Update German translation from translation project.
10558         * po/bg.po: Update Bulgarian translation from translation project.
10560         * po/sv.po: Update Sweedish translation from translation project.
10562         * po/nl.po: Update Dutch translation from translation project.
10564         * po/es.po: Update Spanish translation from translation project.
10566 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10568         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
10570         * catgets/Makefile (CPPFLAGS-gencat): Remove.
10571         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
10572         (CPPFLAGS-iconvconfig): Likewise.
10573         * timezone/Makefile (CPPFLAGS-zic): Likewise.
10575         * include/libc-symbols.h: Remove unnecessary check for
10576         NOT_IN_libc.
10577         * nptl/pthreadP.h: Likewise.
10578         * sysdeps/aarch64/setjmp.S: Likewise.
10579         * sysdeps/alpha/setjmp.S: Likewise.
10580         * sysdeps/arm/sysdep.h: Likewise.
10581         * sysdeps/i386/setjmp.S: Likewise.
10582         * sysdeps/m68k/setjmp.c: Likewise.
10583         * sysdeps/posix/getcwd.c: Likewise.
10584         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10585         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10586         * sysdeps/s390/s390-32/setjmp.S: Likewise.
10587         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10588         * sysdeps/sh/sh3/setjmp.S: Likewise.
10589         * sysdeps/sh/sh4/setjmp.S: Likewise.
10590         * sysdeps/unix/alpha/sysdep.h: Likewise.
10591         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10592         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10593         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10594         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10597         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10598         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10599         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10600         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10601         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10602         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10603         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10604         * sysdeps/x86_64/setjmp.S: Likewise.
10606 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
10608         [BZ #17263]
10609         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
10610         <stdint.h>.
10611         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
10612         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
10614 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10616         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
10618         [BZ #17262]
10619         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
10620         and __x86_64__ when disabling x87 inline functions.
10622 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
10624         [BZ #17259]
10625         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
10626         asm statement with __cpuid_count.
10628 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
10630         * configure.ac: Change __ehdr_start code to dereference the struct.
10631         Run readelf on the output to look for relocations.
10632         * configure: Regenerated.
10634 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
10636         [BZ #17261]
10637         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
10638         value to 0.
10639         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
10641 2014-08-12  Roland McGrath  <roland@hack.frob.com>
10643         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
10645 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
10647         [BZ #16892]
10648         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
10649         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
10651 2014-08-12  Sean Anderson  <seanga2@gmail.com>
10653         * malloc/malloc.c: Fix typo in comment.
10655 2014-08-09  Allan McRae  <allan@archlinux.org>
10657         * Regenerate libc.po.
10659 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
10661         * intl/tst-gettext2.sh: Check every lang file for creation.
10663 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
10665         * sysdeps/aarch64/fpu/math_private.h
10666         (libc_feholdsetround_noex_aarch64_ctx): New function.
10668 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
10670         * sysdeps/arm/armv6/strcpy.S (strcpy):
10671         Fix performance issue in misaligned cases.
10673 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10675         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
10676         Move definition from termios.h.
10677         (struct termio): Likewise.
10678         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10679         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10680         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10681         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10682         Likewise.
10683         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
10684         Move definition to ioctl-types.h
10685         (struct termio): Likewise.
10686         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10687         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10688         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10689         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10690         Likewise.
10692 2014-08-05  Richard Henderson  <rth@redhat.com>
10694         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
10695         exceptions.
10696         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
10697         Add fraiseexcpt.
10698         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
10699         Use __feraiseexcept.
10700         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
10701         Protect libm symbols with IS_IN_libm.
10703         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
10705 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
10707         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
10709 2014-08-04  Will Newton  <will.newton@linaro.org>
10711         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
10712         file.
10714 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
10716         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
10717         variants for each function.
10719 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10721         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
10722         appended ...
10723         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
10724         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
10725         appended ...
10726         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
10727         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
10728         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
10729         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
10730         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
10731         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
10732         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
10733         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
10734         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
10735         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
10736         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
10737         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
10738         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
10739         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
10740         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
10741         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
10742         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
10743         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
10744         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
10745         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
10746         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
10747         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
10748         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
10749         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
10750         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
10751         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
10752         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
10753         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
10754         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
10755         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
10756         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
10757         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
10758         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
10759         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
10760         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
10761         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
10762         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
10763         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
10764         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
10765         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
10766         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
10767         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
10768         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
10769         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
10770         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
10771         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
10772         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
10773         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
10774         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
10775         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
10776         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
10777         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
10778         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
10779         Update #include.
10780         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
10781         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
10783 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10785         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
10786         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
10787         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
10788         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
10789         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
10790         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
10792 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10794         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
10795         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
10796         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10797         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
10799 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10801         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
10802         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
10803         (__libc_vfork): Define function under this name.
10804         (__vfork): Define as an alias.
10805         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
10806         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
10808 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10810         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
10811         that was previously under [RESET_PID].
10812         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
10814 2014-08-04  Andreas Schwab  <schwab@suse.de>
10816         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
10818 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
10820         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
10821         (main): Likewise.
10823 2014-08-01  Roland McGrath  <roland@hack.frob.com>
10825         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
10827 2014-08-01  Richard Henderon  <rth@redhat.com>
10829         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
10830         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
10831         typo in exact zero test.
10832         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10833         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10834         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10836 2014-08-01  Roland McGrath  <roland@hack.frob.com>
10838         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
10839         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
10840         * sysdeps/arm/sysdep.h: ... here.
10841         [!__ASSEMBLER__]: Include <stdint.h>.
10843 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10845         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
10846         (HAVE_WCTYPE_H): Likewise.
10847         (HAVE_ISWCTYPE): Likewise.
10848         (ENABLE_NLS): Likewise.
10849         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
10850         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
10852         * posix/regex_internal.c: Check if DEBUG is defined and is
10853         set.
10855         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
10856         (HAVE_MBSRTOWCS): Likewise.
10857         * posix/fnmatch.c: Include string.h unconditionally.
10859 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
10861         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
10862         reversal.
10864 2014-07-31  Roland McGrath  <roland@hack.frob.com>
10866         * sysdeps/generic/safe-fatal.h: New file.
10867         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
10868         * nptl/forward.c: Include it.
10869         (__pthread_unwind): Use __safe_fatal as default action, rather
10870         than a bogus use of INTERNAL_SYSCALL that could never work.
10872         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
10873         * configure.ac (libc_cv_builtin_trap): New test.
10874         * configure: Regenerated.
10875         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
10876         (ABORT_INSTRUCTION): Define using __builtin_trap.
10878         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
10879         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
10880         * sysdeps/nptl/nptl-signals.h: New file.
10881         * nptl/pthreadP.h: Include <nptl-signals.h>.
10883 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10885         * sysdeps/s390/s390-64/utf16-utf32-z9.c
10886         (ONE_DIRECTION): Define.
10887         * sysdeps/s390/s390-64/utf8-utf16-z9.c
10888         (ONE_DIRECTION): Define.
10889         * sysdeps/s390/s390-64/utf8-utf32-z9.c
10890         (ONE_DIRECTION): Define.
10892 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10894         * sysdeps/s390/Makefile: Delete file.
10895         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
10896         * sysdeps/s390/__longjmp.c: Delete file.
10897         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
10898         Remove fields __flags and __reserved.
10899         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
10900         and add versioning.
10901         * sysdeps/s390/rtld-__longjmp.c: Delete file.
10902         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
10903         * sysdeps/s390/rtld-setjmp.S: Likewise.
10904         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
10905         * sysdeps/s390/s390-32/__longjmp.c: ... here.
10906         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
10907         * sysdeps/s390/s390-32/setjmp.S: ... here.
10908         Add versioning.
10909         (__sigsetjmp): Remove setting __flags field.
10910         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
10911         * sysdeps/s390/s390-64/__longjmp.c: ... here.
10912         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
10913         * sysdeps/s390/s390-64/setjmp.S: ... here.
10914         Add versioning.
10915         (__sigsetjmp): Remove setting __flags field.
10916         * sysdeps/s390/setjmp.S: Delete file.
10917         * sysdeps/s390/sigjmp.c: Likewise.
10918         * sysdeps/s390/v1-longjmp.c: Likewise.
10919         * sysdeps/s390/v1-setjmp.h: Likewise.
10920         * sysdeps/s390/v1-sigjmp.c: Likewise.
10921         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
10922         Remove v1-longjmp_chk.
10923         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
10924         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
10925         Include debug/longjmp_chk.c and add versioning.
10926         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
10927         Include nptl/pt-longjmp.c and add versioning.
10928         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
10929         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
10930         Include __longjmp.c.
10931         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10932         Move to ...
10933         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
10934         (__getcontext): Remove setting __flags field.
10935         Add versioning.
10936         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10937         Don't restore upper high grps.
10938         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
10939         Likewise.
10940         (__swapcontext): Remove setting uc_flags field.
10941         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
10942         Delete file.
10943         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10944         Include __longjmp.c.
10945         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10946         Move to ...
10947         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
10948         (__getcontext): Remove setting __flags field.
10949         Add versioning.
10950         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
10951         (__swapcontext): Remove setting uc_flags field.
10952         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
10953         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
10954         Remove fields uc_high_gprs and __reserved.
10955         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
10956         New file with reverted content.
10957         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
10958         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
10959         Regenerated.
10960         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
10961         Regenerated.
10963 2014-07-31  Andreas Schwab  <schwab@suse.de>
10965         * config.h.in (HAVE_IFUNC): Define to 0.
10966         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
10967         definedness.
10969 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
10971         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10972         memmove-avx-unaligned, memcpy-avx-unaligned and
10973         mempcpy-avx-unaligned.
10974         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10975         Add tests for AVX memcpy functions.
10976         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
10977         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
10978         memcpy_chk.
10979         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
10980         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
10981         memmove_chk.
10982         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
10983         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
10984         mempcpy_chk.
10985         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
10986         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
10987         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
10989 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10991         [BZ #17213]
10992         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
10993         powerpc64le.
10995 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
10997         [BZ #16839]
10998         * manual/llio.texi: Add section about open file description locks.
10999         * manual/examples/ofdlocks.c: Example of open file description
11000         lock usage.
11001         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
11002         F_OFD_SETLK, and F_OFD_SETLKW.
11004 2014-07-23  Allan McRae  <allan@archlinux.org>
11006         * po/es.po: Update Spanish translation from translation project.
11008 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
11010         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
11012 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
11014         [BZ #17078]
11015         * sysdeps/arm/dl-machine.h (elf_machine_rela)
11016         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
11017         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
11019 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
11021         [BZ #17088]
11022         * math/fesetenv.c (__fesetenv)
11023         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
11024         * math/feupdateenv.c (__feupdateenv)
11025         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
11027         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
11028         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11029         (__ASSUME_SOCKETCALL): Do not define.
11031         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
11032         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
11033         (__ASSUME_SOCKETCALL): Do not define.
11034         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
11035         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11036         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11037         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11038         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11039         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
11040         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11041         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11043         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
11044         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
11045         (__ASSUME_SOCKETCALL): Do not define.
11046         (__ASSUME_IPC64): Define unconditionally.
11047         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11048         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11049         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11050         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11051         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
11052         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11053         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
11054         Likewise.
11056         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
11057         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
11058         (__ASSUME_SOCKETCALL): Do not define.
11059         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
11060         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11061         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11062         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11063         (__ASSUME_REQUEUE_PI): Define unconditionally.
11064         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
11065         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11066         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11067         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
11068         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11069         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11071         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
11072         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
11073         (__ASSUME_SOCKETCALL): Do not define.
11074         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
11075         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11076         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11077         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
11078         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11079         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11081         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
11082         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
11083         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11084         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
11085         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11086         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
11087         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11088         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
11089         (__ASSUME_GETCPU_SYSCALL): Likewise.
11091         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
11092         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
11093         cases for individual architectures.
11094         * sysdeps/gnu/configure: Regenerated.
11095         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
11096         LIBC_SLIBDIR_RTLDDIR.
11097         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
11098         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
11099         LIBC_SLIBDIR_RTLDDIR.
11100         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
11101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
11102         LIBC_SLIBDIR_RTLDDIR.
11103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11104         Regenerated.
11105         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
11106         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
11107         file.
11108         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
11109         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
11110         file.
11111         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
11112         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
11113         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
11114         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
11116         * sysdeps/aarch64/shlib-versions: Move to ...
11117         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
11118         * sysdeps/alpha/shlib-versions: Move to ...
11119         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
11120         * sysdeps/arm/shlib-versions: Move to ...
11121         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
11122         * sysdeps/hppa/shlib-versions: Move all contents except for
11123         libgcc_s entry to ...
11124         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
11125         entry from ...
11126         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
11127         * sysdeps/ia64/shlib-versions: Move to ...
11128         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
11129         entry from ...
11130         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
11131         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
11132         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
11133         * sysdeps/microblaze/shlib-versions: Move to ...
11134         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
11135         * sysdeps/mips/shlib-versions: Move to ...
11136         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
11137         entry from ...
11138         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
11139         * sysdeps/tile/shlib-versions: Move to ...
11140         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
11141         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
11142         from ...
11143         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
11144         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
11145         entry from ...
11146         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
11148 2014-07-17  Will Newton  <will.newton@linaro.org>
11150         * sysdeps/arm/bits/atomic.h
11151         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
11152         (__arch_compare_and_exchange_bool_16_int): Likewise.
11153         (__arch_compare_and_exchange_bool_64_int): Likewise.
11155         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
11156         into an #else block.
11158 2014-07-16  Roland McGrath  <roland@hack.frob.com>
11160         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
11161         just Linux configurations.  Test empirically that the compiler sets
11162         __ARM_EABI__, rather than using the tuple to decide.
11163         * sysdeps/arm/preconfigure: Regenerated.
11164         * sysdeps/unix/sysv/linux/arm/configure: File removed.
11165         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
11166         contents appended ...
11167         * sysdeps/arm/configure.ac: ... here.
11168         * sysdeps/arm/configure: Regenerated.
11170 2014-07-15  Roland McGrath  <roland@hack.frob.com>
11172         * nptl/pthread_kill.c: New file.
11173         * nptl/pthread_sigmask.c: New file.
11174         * nptl/pthread_sigqueue.c: New file.
11176         * sysdeps/nptl/lowlevellock.h: New file.
11177         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
11178         * sysdeps/nptl/lowlevellock-futex.h: New file.
11180         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
11181         Remove dead declarations.
11183 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
11185         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
11186         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
11187         config-cflags-avx2.
11188         * sysdeps/x86_64/configure.ac: Likewise.
11189         * sysdeps/i386/configure: Regenerated.
11190         * sysdeps/x86_64/configure: Likewise.
11191         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11192         memset-avx2 only if config-cflags-avx2 is yes.
11193         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11194         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
11195         defined.
11196         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
11197         only if HAVE_AVX2_SUPPORT is defined.
11198         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11200 2014-07-14  Alan Modra  <amodra@gmail.com>
11202         [BZ #17153]
11203         * elf/elf.h (DT_PPC64_NUM): Correct value.
11204         * NEWS: Add to fixed bug list.
11206 2014-07-13  Jim Meyering  <meyering@fb.com>
11208         [BZ 17150]
11209         regex: don't deref NULL upon heap allocation failure
11210         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
11211         failure in one more place.
11212         To trigger the segfault, configure grep -with-included-regex,
11213         build it, and run these commands:
11214         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
11216 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
11218         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11220 2014-07-11  Richard Henderson  <rth@redhat.com>
11222         * sysdeps/aarch64/libm-test-ulps: Update.
11224 2014-07-10  Florian Weimer  <fweimer@redhat.com>
11226         [BZ #17135]
11227         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
11228         * nptl/allocatestack.c (__nptl_setxid_error): New function.
11229         (__nptl_setxid): Initialize error member.  Call
11230         __nptl_setxid_error.
11231         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
11232         * nptl/descr.h (struct xid_command): Add error member.
11233         * nptl/tst-setuid3.c: New file.
11234         * nptl/Makefile (tests): Add it.
11236 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11238         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
11239         New define.
11240         (__lll_trylock): Use __lll_base_trylock.
11241         (__lll_cond_trylock): Likewise.
11243 2014-07-10  Roland McGrath  <roland@hack.frob.com>
11245         * nptl/pthread_create.c (start_thread): Use atomic_or and
11246         lll_futex_wake directly rather than lll_robust_dead.
11247         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11248         (lll_robust_dead): Macro removed.
11249         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
11250         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11251         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11252         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11253         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11254         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11255         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11256         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11257         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11258         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11259         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11260         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11261         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11262         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11263         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11265         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11266         Use atomic_compare_and_exchange_val_acq directly rather than
11267         lll_robust_trylock.
11268         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11269         (__lll_robust_trylock, lll_robust_trylock): Removed.
11270         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11271         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11272         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11273         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11274         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11275         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11276         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11277         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11278         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11279         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11280         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11281         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11282         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11283         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11285 2014-07-02  Florian Weimer  <fweimer@redhat.com>
11287         * manual/locale.texi (Locale Names): New section documenting
11288         locale name syntax.  Adjust menu and node chaining accordingly.
11289         (Choosing Locale): Reference Locale Names, Locale Categories.
11290         Mention setting LC_ALL=C.  Reflect that name syntax is now
11291         documented.
11292         (Locale Categories): New section title.  Reference Locale Names.
11293         LC_ALL is an environment variable, but not a category.
11294         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
11295         description, now in Locale Name.  Reference that section.  Locale
11296         name syntax is now documented.
11298 2014-07-02  Florian Weimer  <fweimer@redhat.com>
11300         [BZ #17137]
11301         * locale/findlocale.c (name_present, valid_locale_name): New
11302         functions.
11303         (_nl_find_locale): Use the loc_name variable to store name
11304         candidates.  Call name_present and valid_locale_name to check and
11305         validate locale names.  Return an error if the locale is invalid.
11307 2014-07-02  Florian Weimer  <fweimer@redhat.com>
11309         * locale/setlocale.c (setlocale): Use strdup for allocating
11310         composite name copy.
11312 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11314         Sync up with gnulib.
11315         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
11316         [!_LIBC && ENABLE_NLS]: Include gettext.h.
11317         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
11318         and _GL_ARG_NONNULL.
11319         [USE_UNLOCKED_IO]: Include unlocked-io.h.
11320         [!_LIBC]: Include code for Windows and Cygwin.
11321         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
11322         Include prototype for int strerror_r.
11323         [!_LIBC] (is_open): New function.
11324         (flush_stdout): New function.
11325         (print_errno_message): Use it.
11326         (error): Likewise.
11327         (error_at_line): Likewise.
11328         (error_tail) Add function attribute macros.  Use
11329         __builtin_expect.
11331         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
11333         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
11335         * io/ftw.c: Include sys/param.h unconditionally.
11337         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
11339         [BZ #17125]
11340         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
11341         libc_freeres_ptr.
11342         (freecache): New function to free CACHE on exit.
11344         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
11345         initialization.
11347 2014-07-09  David S. Miller  <davem@davemloft.net>
11349         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11351         * sysdeps/sparc/nptl/internaltypes.h: Delete.
11352         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
11353         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
11354         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
11355         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
11356         * sysdeps/sparc/nptl/sem_init.c: Likewise.
11357         * sysdeps/sparc/nptl/sem_post.c: Likewise.
11358         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
11359         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
11360         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
11361         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
11362         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
11363         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
11365 2014-07-09  Andreas Schwab  <schwab@suse.de>
11367         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
11368         output.
11369         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
11370         (do_test): Likewise.
11372         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11374 2014-07-09  Will Newton  <will.newton@linaro.org>
11376         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
11377         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
11378         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
11379         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
11380         * sysdeps/hppa/start.S (_start): Likewise.
11382 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
11384         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
11386         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
11387         defined.
11389 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11391         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
11392         after checking that it is non-NULL.
11394         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
11396 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11398         * sysdeps/powerpc/memmove.c: Remove file.
11399         * sysdeps/powerpc/powerpc32/power4/memcopy.h
11400         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
11401         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
11402         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
11403         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
11404         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
11405         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
11406         string memmove instead of removed powerpc one.
11408         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11409         [weak_alias]: Fix compiler warning due trailing data.
11410         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
11411         [weak_alias]: Likewise.
11412         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
11413         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
11415         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11416         (__libc_ifunc_impl_list): Add memmove functions.
11418 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11420         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
11421         Remove code.
11422         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
11423         Likewise
11424         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
11425         Likewise
11426         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
11427         Likewise
11428         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
11429         Likewise
11430         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
11431         Likewise
11432         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
11433         Likewise
11434         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
11435         Likewise
11436         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
11437         Likewise
11438         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
11439         Likewise
11440         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
11441         Likewise
11442         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
11443         Likewise
11444         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
11445         Likewise
11446         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
11447         Likewise
11448         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
11449         Likewise
11450         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
11451         Likewise
11452         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
11453         Likewise
11455 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11457         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
11458         to avoid alignment traps in non-cacheable memory.
11459         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11461         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
11462         multiarch objects.
11463         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
11464         file: multiarch power7 memmove.
11465         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
11466         multiarch default memmove.
11467         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
11468         multiarch memove for powerpc32/power4.
11470         * string/bcopy.c: Use full path to include memmove.c.
11471         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
11472         multiarch objects.
11473         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
11474         bcopy for powerpc64.
11475         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
11476         bcopy for powerpc64.
11477         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
11478         and memmove implementations.
11479         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
11480         optimized multiarch memmove for POWER7/powerpc64.
11481         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
11482         default multiarch memmove for powerpc64.
11483         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
11484         multiarch for powerpc64.
11485         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
11486         for POWER7/powerpc64.
11487         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
11488         memmove for POWER7/powerpc64.
11490         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
11491         glibc default one.
11493         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
11494         __ELF_NATIVE_CLASS equal to 64.
11496 2014-07-07  Roland McGrath  <roland@hack.frob.com>
11498         * sysdeps/nptl/lowlevellock.h: File removed.
11500         * NEWS: NPTL is no longer an add-on!
11501         * nptl/internaltypes.h: Moved ...
11502         * sysdeps/nptl/internaltypes.h: ... here.
11503         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
11504         * sysdeps/nptl/fork.c: Likewise.
11505         * sysdeps/nptl/gai_misc.h: Likewise.
11506         * sysdeps/nptl/librt-cancellation.c: Likewise.
11507         * sysdeps/nptl/jmp-unwind.c: Likewise.
11508         * sysdeps/nptl/setxid.h: Likewise.
11509         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
11510         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
11511         * sysdeps/unix/sysv/linux/arm/Implies: New file.
11512         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
11513         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
11514         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
11515         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
11516         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
11517         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
11518         * sysdeps/unix/sysv/linux/mips/Implies: New file.
11519         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
11520         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
11521         * sysdeps/unix/sysv/linux/sh/Implies: New file.
11522         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
11523         * sysdeps/unix/sysv/linux/tile/Implies: New file.
11524         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
11525         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
11526         * nptl/Makeconfig: Moved ...
11527         * sysdeps/nptl/Makeconfig: ... here.
11528         * nptl/configure: File removed.
11529         * nptl/ANNOUNCE: File removed.
11530         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
11531         * sysdeps/unix/sysv/linux/configure: Regenerated.
11533         * nptl/Makefile (routines): Add libc_pthread_init,
11534         libc_multiple_threads, register-atfork and unregister-atfork.
11535         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
11536         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
11537         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
11538         pthread-pi-defines.sym, structsem.sym.
11539         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
11540         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
11541         [$(subdir) = nptl] (tests): Add tst-setgetname.
11542         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
11543         * sysdeps/unix/sysv/linux/sigaction.c: Just include
11544         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
11545         [!LIBC_SIGACTION]: Remove aliases.
11546         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11547         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11548         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11549         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
11550         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11551         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
11552         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11553         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11554         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11555         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
11556         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
11557         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
11558         __libc_allocate_rtsig_private.
11559         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
11560         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
11561         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
11562         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
11563         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
11564         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
11565         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
11566         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
11567         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
11568         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
11569         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
11570         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
11571         * nptl/internaltypes.h: ... here.
11572         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
11573         * sysdeps/nptl/jmp-unwind.c: ... here.
11574         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
11575         * nptl/libc-lowlevellock.c: ... here.
11576         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
11577         * nptl/libc_multiple_threads.c: ... here.
11578         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
11579         * nptl/libc_pthread_init.c: ... here.
11580         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
11581         * nptl/lowlevelbarrier.sym: ... here.
11582         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
11583         * nptl/lowlevelcond.sym: ... here.
11584         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
11585         * nptl/lowlevellock.c: ... here.
11586         * nptl/lowlevellock.h: Moved ...
11587         * sysdeps/nptl/lowlevellock.h: ... here.
11588         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
11589         * nptl/lowlevelrobustlock.c: ... here.
11590         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
11591         * nptl/lowlevelrobustlock.sym: ... here.
11592         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
11593         * nptl/lowlevelrwlock.sym: ... here.
11594         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
11595         * nptl/pt-fork.c: ... here.
11596         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
11597         * nptl/pthread-pi-defines.sym: ... here.
11598         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
11599         * nptl/pthread_attr_getaffinity.c: ... here.
11600         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
11601         * nptl/pthread_attr_setaffinity.c: ... here.
11602         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
11603         * nptl/pthread_mutex_cond_lock.c: ... here.
11604         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11605         Update #include.
11606         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
11607         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
11608         * nptl/pthread_once.c: ... here, replacing old file.
11609         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
11610         * nptl/pthread_yield.c: ... here.
11611         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
11612         * nptl/register-atfork.c: ... here.
11613         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
11614         * nptl/sem_post.c: ... here.
11615         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
11616         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
11617         * nptl/sem_timedwait.c: ... here.
11618         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
11619         * nptl/sem_trywait.c: ... here.
11620         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
11621         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
11622         * nptl/sem_wait.c: ... here.
11623         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
11624         * nptl/structsem.sym: ... here.
11625         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
11626         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
11627         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
11628         * nptl/unregister-atfork.c: ... here.
11629         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
11630         * nptl/unwindbuf.sym: ... here.
11631         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
11632         * sysdeps/nptl/fork.c: ... here.
11633         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
11634         * sysdeps/nptl/fork.h: ... here.
11635         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
11636         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
11637         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
11638         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
11639         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
11640         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
11641         * sysdeps/unix/sysv/linux/getpid.c: ... here.
11642         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
11643         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
11644         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
11645         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
11646         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
11647         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
11648         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
11649         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
11650         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
11651         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
11652         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
11653         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
11654         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
11655         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
11656         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
11657         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
11658         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
11659         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
11660         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
11661         * sysdeps/unix/sysv/linux/raise.c: ... here.
11662         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
11663         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
11664         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
11665         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
11666         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
11667         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
11668         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
11669         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
11670         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
11671         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
11672         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
11673         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
11674         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
11675         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
11676         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
11678 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11680         * sysdeps/generic/memcopy.h: Add comment for
11681         MEMCPY_OK_FOR_FWD_MEMMOVE.
11683 2014-07-04  Will Newton  <will.newton@linaro.org>
11685         * string/memchr.c: Merge from gnulib.
11686         [_LIBC]: Remove conditionals.
11687         (__ptr_t): Remove define.
11688         (LONG_MAX_32_BITS): Likewise.
11689         (LONG_MAX): Likewise.
11690         (MEMCHR): Use ANSI prototype and optimize algorithm.
11692         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
11694 2014-07-03  Roland McGrath  <roland@hack.frob.com>
11696         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
11697         (lll_futex_timed_wait_bitset): Fix syscall argument count.
11699         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
11700         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
11701         in a bare environment with no <stdlib.h> installed.
11702         * sysdeps/nptl/configure: Regenerated.
11704         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
11706         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
11707         AC_EGREP_CPP for kernel header checks, so they only succeed if
11708         including <linux/version.h> actually works right.
11709         * sysdeps/unix/sysv/linux/configure: Regenerated.
11711         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
11712         value so it's not diagnosed as unused.
11714         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
11715         thing) with "ifeq ($(subdir),rt)".
11717 2014-07-03  Richard Henderson  <rth@redhat.com>
11719         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
11720         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
11721         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
11723         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
11724         (math_force_eval): New.
11726         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
11727         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
11729         * sysdeps/alpha/fpu/s_round.c: Remove file.
11730         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
11732         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
11733         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
11734         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
11735         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
11736         (_dl_start, print_statistics): Likewise.
11737         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
11738         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
11740         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11741         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11742         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11743         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11744         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11745         (HP_SMALL_TIMING_AVAIL): Define.
11746         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11747         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11748         (HP_SMALL_TIMING_AVAIL): Define.
11749         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11750         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11752         * sysdeps/aarch64/hp-timing.h: New file.
11754         * sysdeps/generic/hp-timing.h: Remove dead comment.
11755         * sysdeps/generic/hp-timing-common.h: New file.
11756         * sysdeps/alpha/hp-timing.h: Include it.
11757         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
11758         * sysdeps/i386/i686/hp-timing.h: Likewise.
11759         * sysdeps/ia64/hp-timing.h: Likewise.
11760         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11761         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11762         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11763         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11764         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
11765         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
11766         (hp_timing_t): New.
11768         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
11769         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
11770         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
11771         * elf/rtld.c (_dl_start_final): Likewise.
11772         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
11773         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11774         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11775         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11776         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11777         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11778         (HP_TIMING_DIFF_INIT): Remove.
11779         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11780         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11781         (HP_TIMING_DIFF_INIT): Remove.
11782         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11783         * sysdeps/i386/i686/hp-timing.c: Remove file.
11784         * sysdeps/x86_64/hp-timing.c: Remove file.
11785         * sysdeps/ia64/hp-timing.c: Remove file.
11786         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
11787         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
11788         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
11789         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
11791         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
11792         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
11793         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
11794         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11795         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11796         (HP_TIMING_ACCUM): Remove.
11797         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11798         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
11799         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11801         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
11802         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
11803         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
11804         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
11805         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
11806         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11807         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
11808         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11810         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
11812 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
11814         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
11816 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11818         Sync up with gettext.
11819         * intl/loadmsgcat.c: Define O_BINARY if not defined.
11820         [_MSC_VER]: Include malloc.h
11821         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
11822         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
11823         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
11824         TEMP_FAILURE_RETRY.  Cast return of alloca.
11825         [!_LIBC] Call gl_rwlock_init.
11826         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
11828 2014-07-02  Roland McGrath  <roland@hack.frob.com>
11830         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
11831         before checking its value.
11833 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11835         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
11837         * debug/memcpy_chk.c: Don't include pagecopy.h.
11838         * debug/mempcpy_chk.c: Likewise.
11839         * string/memcpy.c: Likewise.
11840         * string/memmove.c: Likewise.
11841         * sysdeps/powerpc/memmove.c: Likewise.
11842         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
11843         definition of PAGE_COPY_FWD_MAYBE here...
11844         * sysdeps/generic/pagecopy.h: ... from here.
11845         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
11847 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11848             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11850         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
11851         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
11852         optimizations.
11853         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11854         (__libc_ifunc_impl_list): Likewise.
11855         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
11856         multiarch strcat for PPC64.
11857         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
11858         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
11860 2014-07-02  Roland McGrath  <roland@hack.frob.com>
11862         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
11864 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11866         * intl/loadmsgcat.c: Remove declaration of
11867         get_sysdep_segment_value.
11868         (get_sysdep_segment_value): Use ISO C style.
11869         (_nl_load_domain): Use ISO C style.  Get rid of redundant
11870         semicolon.  Fix typo and formatting in comment.
11871         (_nl_unload_domain): Use ISO C style.
11873         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
11875 2014-07-02  Will Newton  <will.newton@linaro.org>
11877         * malloc/obstack.c: Merge from gnulib master.
11878         [HAVE_CONFIG_H]: Remove conditional code.
11879         [!_LIBC]: Include config.h.
11880         [!ELIDE_CODE]: Don't include inttypes.h, include
11881         stdint.h unconditionally.
11882         (print_and_abort): Mark as _Noreturn.
11883         (_obstack_allocated_p): Mark as __attribute_pure__.
11884         (obstack_free): Rename to __obstack_free.
11885         [!__attribute__]: Remove conditional code.
11886         * malloc/obstack.h: Merge from gnulib master.
11887         [__cplusplus]: Move conditional down.
11888         [!__attribute_pure__]: Define __attribute_pure__ here
11889         if it is not already defined.
11890         (_obstack_memory_used): Mark as __attribute_pure__.
11891         [!__obstack_free]: Define as obstack_free.
11892         [__GNUC__]: Remove check for ancient NeXT gcc.
11894 2014-07-02  Will Newton  <will.newton@linaro.org>
11895             Paul Eggert  <eggert@cs.ucla.edu>
11897         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
11899 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11901         * resolv/gethnamaddr.c: Add comment warning that the file is
11902         not maintained.
11904 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
11906         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
11907         entries.
11909         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
11910         entry for aio_cancel and aio_cancel64.
11911         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
11912         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
11913         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
11914         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
11915         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
11916         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
11917         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
11918         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
11919         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
11920         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
11921         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
11922         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
11923         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
11925 2014-07-01  Roland McGrath  <roland@hack.frob.com>
11927         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
11928         * nptl/pthread_mutex_lock.c: Likewise.
11929         * nptl/pthread_mutex_timedlock.c: Likewise.
11930         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
11932 2014-07-01  Richard henderson  <rth@redhat.com>
11934         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
11935         (__isnan, __isnanl): Remove.
11936         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
11938         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11940 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
11942         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11944 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11946         * resolv/nss_dns/dns-host.c (getanswer_r)
11947         [MULTI_PTRS_ARE_ALIASES]: Remove code.
11949 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
11951         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11952         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
11953         undefine.
11954         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
11955         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
11957 2014-07-01  Roland McGrath <roland@hack.frob.com>
11959         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
11960         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
11962         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
11963         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
11965         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
11966         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
11967         ... here.
11968         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
11969         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
11971         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
11972         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
11973         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
11974         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
11976         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
11977         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
11978         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
11979         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
11980         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
11981         Moved ...
11982         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
11983         ... here.
11984         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
11985         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
11986         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
11987         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
11988         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
11989         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
11990         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
11991         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
11992         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
11993         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
11994         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
11995         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
11996         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
11997         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
11998         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
11999         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
12000         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
12001         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
12002         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
12003         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
12004         ... here.
12005         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
12006         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
12007         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
12008         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
12009         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
12010         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
12011         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
12012         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
12014 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
12016         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
12017         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
12018         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
12019         Add sysdep.
12021 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12023         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12025 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
12027         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12028         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12030         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12032         * sysdeps/arm/libm-test-ulps: Regenerated.
12034 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
12035             Roland McGrath <roland@hack.frob.com>
12037         * test-skeleton.c (signal_handler): Kill the whole process group
12038         before killing the child individually.
12039         (main): Report any failure on `setpgid'.
12041 2014-06-30  Roland McGrath  <roland@hack.frob.com>
12043         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
12044         from _TLS_H to _ARM_NPTL_TLS_H.
12045         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
12046         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
12048 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
12050         [BZ #16539]
12051         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
12052         (__expm1l): Return argument unchanged when small but not
12053         subnormal.
12055         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
12056         include macro name.
12057         (_FP_UNPACK_RAW_1_P): Likewise.
12058         (_FP_PACK_RAW_1): Likewise.
12059         (_FP_PACK_RAW_1_P): Likewise.
12060         (_FP_MUL_MEAT_1_wide): Likewise.
12061         (_FP_MUL_MEAT_DW_1_hard): Likewise.
12062         (_FP_MUL_MEAT_1_hard): Likewise.
12063         (_FP_DIV_MEAT_1_imm): Likewise.
12064         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
12065         (_FP_DIV_MEAT_1_udiv): Likewise.
12066         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
12067         (_FP_UNPACK_RAW_2): Likewise.
12068         (_FP_UNPACK_RAW_2_P): Likewise.
12069         (_FP_PACK_RAW_2): Likewise.
12070         (_FP_PACK_RAW_2_P): Likewise.
12071         (_FP_MUL_MEAT_DW_2_wide): Likewise.
12072         (_FP_MUL_MEAT_2_wide): Likewise.
12073         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
12074         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12075         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
12076         (_FP_MUL_MEAT_2_gmp): Likewise.
12077         (_FP_DIV_MEAT_2_udiv): Likewise.
12078         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
12079         (_FP_FRAC_SRL_4): Likewise.
12080         (_FP_FRAC_SRST_4): Likewise.
12081         (_FP_FRAC_SRS_4): Likewise.
12082         (_FP_UNPACK_RAW_4): Likewise.
12083         (_FP_UNPACK_RAW_4_P): Likewise.
12084         (_FP_PACK_RAW_4): Likewise.
12085         (_FP_PACK_RAW_4_P): Likewise.
12086         (_FP_MUL_MEAT_DW_4_wide): Likewise.
12087         (_FP_MUL_MEAT_4_wide): Likewise.
12088         (_FP_MUL_MEAT_4_gmp): Likewise.
12089         (umul_ppppmnnn): Likewise.
12090         (_FP_DIV_MEAT_4_udiv): Likewise.
12091         (__FP_FRAC_ADD_4): Likewise.
12092         (__FP_FRAC_SUB_3): Likewise.
12093         (__FP_FRAC_SUB_4): Likewise.
12094         (__FP_FRAC_DEC_3): Likewise.
12095         (__FP_FRAC_DEC_4): Likewise.
12096         (__FP_FRAC_ADDI_4): Likewise.
12097         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
12098         (_FP_FRAC_SRL_8): Likewise.
12099         (_FP_FRAC_SRS_8): Likewise.
12101         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
12102         include macro name.
12103         (FP_UNPACK_RAW_EP): Likewise.
12104         (FP_PACK_RAW_E): Likewise.
12105         (FP_PACK_RAW_EP): Likewise.
12106         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
12107         (_FP_ISSIGNAN): Likewise.
12108         (_FP_ADD_INTERNAL): Likewise.
12109         (_FP_FMA): Likewise.
12110         (_FP_CMP): Likewise.
12111         (_FP_SQRT): Likewise.
12112         (_FP_TO_INT): Likewise.
12113         (_FP_FROM_INT): Likewise.
12114         (FP_EXTEND): Likewise.
12115         (_FP_DIV_MEAT_N_loop): Likewise.
12117 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
12119         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
12120         throughout.
12122 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
12124         [BZ #17097]
12125         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
12126         result with correct sign in case of exponents that produce
12127         overflow except for X very close to 1.
12129 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
12131         mktime: merge #if/#ifdef usage from glibc
12132         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
12133         as that works with both Glibc's and Gnulib's style.
12134         See thread starting at Siddhesh Poyarekar's bug report at:
12135         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
12137 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12139         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
12140         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
12141         * sysdeps/tile/tilegx/memmove.c: Remove file.
12143 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
12145         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
12146         abi-name definition.
12147         * scripts/soversions.awk: Do not handle or generate ABI lines.
12148         * shlib-versions: Remove ABI entries.
12149         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
12150         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
12152 2014-06-27  Roland McGrath  <roland@hack.frob.com>
12154         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
12155         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
12156         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
12157         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
12158         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
12159         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
12160         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
12161         Moved ...
12162         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12163         ... here.
12164         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
12165         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
12166         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
12167         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
12168         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
12169         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
12170         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
12171         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
12172         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
12173         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
12174         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
12175         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
12176         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
12177         Moved ...
12178         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
12179         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
12180         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
12181         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
12182         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
12183         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
12184         Moved ...
12185         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
12186         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
12187         Moved ...
12188         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
12189         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
12190         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
12191         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
12192         Moved ...
12193         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
12194         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
12195         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
12196         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
12197         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
12198         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
12199         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
12200         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
12201         Moved ...
12202         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
12203         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
12204         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
12205         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
12206         Moved ...
12207         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
12208         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
12209         Moved ...
12210         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
12211         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
12212         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
12213         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
12214         Moved ...
12215         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12216         ... here.
12217         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
12218         Identical file removed.
12219         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
12220         Moved ...
12221         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
12222         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
12223         Identical file removed.
12224         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
12225         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
12226         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
12227         Moved ...
12228         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
12229         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
12230         Identical file removed.
12231         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
12232         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
12233         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
12234         Identical file removed.
12235         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
12236         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
12237         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
12238         Identical file removed.
12239         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
12240         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
12241         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
12242         Identical file removed.
12243         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
12244         Moved ...
12245         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
12246         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
12247         Identical file removed.
12248         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
12249         Moved ...
12250         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
12251         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
12252         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
12253         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
12254         Identical file removed.
12255         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
12256         Moved ...
12257         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
12258         ... here.
12259         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
12260         Identical file removed.
12261         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
12262         Moved ...
12263         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
12264         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
12265         Identical file removed.
12266         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
12267         Moved ...
12268         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
12269         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
12270         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
12271         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
12272         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
12273         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
12274         Moved ...
12275         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
12276         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
12277         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
12279         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
12280         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
12281         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
12282         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
12283         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
12285 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
12287         [BZ #17092]
12288         * nscd/nscd.c (monitor_child): Return exit status of child
12289         instead of return value from wait syscall.
12291 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
12293         * configure.ac (libc_commonpagesize): Remove variable.
12294         (libc_relro_required): Likewise.
12295         (libc_cv_z_relro): Remove configure test.
12296         * configure: Regenerated.
12297         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
12298         variable.
12299         (libc_relro_required): Likewise.
12300         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
12301         (libc_relro_required): Likewise.
12302         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
12303         (libc_relro_required): Likewise.
12304         * sysdeps/arm/preconfigure: Regenerated.
12305         * sysdeps/ia64/preconfigure: Remove file.
12306         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
12307         variable.
12308         (libc_relro_required): Likewise.
12310         [BZ #16561]
12311         [BZ #16562]
12312         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
12313         (__ieee754_yn): Set FE_TONEAREST mode internally and then
12314         recompute overflowing results in original rounding mode.
12315         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
12316         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
12317         recompute overflowing results in original rounding mode.
12318         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
12319         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12320         recompute overflowing results in original rounding mode.
12321         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
12322         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12323         recompute overflowing results in original rounding mode.
12324         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
12325         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12326         recompute overflowing results in original rounding mode.
12327         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
12328         (libc_feholdsetround_ctx): New macro.
12329         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
12330         * sysdeps/i386/fpu/libm-test-ulps: Update.
12331         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
12333 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12335         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
12336         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
12337         corresponding .cpsetup call.
12339 2014-06-26  Roland McGrath  <roland@hack.frob.com>
12341         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
12342         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
12343         * sysdeps/arm/Makefile [$(subdir) = csu]
12344         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
12345         (static-only-routines): Add aeabi_read_tp here.
12346         (shared-only-routines): Add libc-aeabi_read_tp here.
12347         (CFLAGS-libc-start.c): Add -fexceptions here.
12348         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
12349         (sysdep_routines, static-only-routines, shared-only-routines):
12350         Don't add to these here.
12351         (CFLAGS-libc-start.c): Likewise.
12353         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
12354         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12355         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
12356         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12357         * sysdeps/arm/Makefile [$(subdir) = rt]
12358         (librt-sysdep_routines, librt-shared-only-routines):
12359         Append rt-aeabi_unwind_cpp_pr1 here.
12360         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
12361         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
12362         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
12363         (libpthread-sysdep_routines, libpthread-shared-only-routines):
12364         Append nptl-aeabi_unwind_cpp_pr1 here.
12365         (tests): Filter out tst-cleanupx4 here.
12366         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
12367         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
12368         Don't do those here.
12370 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12372         * scripts/list-sources.sh: Do not handle ports specially.
12374 2014-06-26  Roland McGrath  <roland@hack.frob.com>
12376         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
12377         * sysdeps/arm/feupdateenv.c: Likewise.
12379         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
12381 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12383         * manual/texinfo.tex: Update to version 2014-05-05.10 with
12384         trailing whitespace removed.
12385         * scripts/config.guess: Update to version 2014-03-23.
12386         * scripts/config.sub: Update to version 2014-05-01
12387         * scripts/install-sh: Update to version 2013-12-25.23.
12388         * scripts/move-if-change: Update from gnulib.
12390 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12392         * debug/memmove_chk.c: Remove pagecopy.h include.
12394 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
12396         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
12397         identical to gnulib mktime.
12399 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12401         * configure.ac: Do not test for machine being rs6000.  Do not test
12402         for powerpc*-*soft.
12403         * configure: Regenerated.
12405         [BZ #11505]
12406         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
12407         test.
12408         * configure: Regenerated.
12409         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
12410         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
12411         Remove configure test.
12412         * sysdeps/arm/configure: Regenerated.
12413         * sysdeps/nptl/configure.ac: Do not check
12414         libc_cv_asm_cfi_directives.
12415         * sysdeps/nptl/configure: Regenerated.
12416         * sysdeps/x86_64/nptl/configure.ac: Remove file.
12417         * sysdeps/x86_64/nptl/configure: Remove generated file.
12418         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
12419         unconditional.
12420         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
12422 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12424         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
12425         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
12426         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
12427         it is defined.
12429         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
12430         instead of whether it is defined.
12431         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
12432         * sysdeps/hppa/dl-machine.h: Likewise.
12433         * sysdeps/ia64/dl-machine.h: Likewise.
12434         * sysdeps/m68k/dl-machine.h: Likewise.
12435         * sysdeps/microblaze/dl-machine.h: Likewise.
12436         * sysdeps/mips/dl-machine.: Likewise.
12437         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12438         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12439         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12440         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12441         * sysdeps/sh/dl-machine.h: Likewise.
12442         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12443         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12444         * sysdeps/tile/dl-machine.h: Likewise.
12445         * sysdeps/x86_64/dl-machine.h: Likewise.
12447         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
12448         code.
12449         (verify_persistent_db): Likewise.
12451 2014-06-26  Roland McGrath  <roland@hack.frob.com>
12453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
12454         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
12455         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
12456         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
12457         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12458         Moved ...
12459         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12460         ... here.
12461         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
12462         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
12463         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
12464         Identical file removed.
12465         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
12466         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
12467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
12468         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
12469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
12470         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
12471         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
12472         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
12473         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
12474         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
12475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12476         Moved ...
12477         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
12478         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
12479         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
12480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
12481         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
12482         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12483         Moved ...
12484         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
12485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
12486         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
12487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
12488         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
12489         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12490         Identical file removed.
12491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
12492         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
12493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
12494         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
12495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12496         Moved ...
12497         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12498         ... here.
12499         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
12500         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
12501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
12502         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
12503         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
12504         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
12505         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
12506         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
12507         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
12508         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
12509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12510         Moved ...
12511         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
12512         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
12513         Moved ...
12514         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
12515         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
12516         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
12517         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12518         Moved ...
12519         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
12520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
12521         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
12523         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
12524         folded into ...
12525         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
12526         * sysdeps/unix/sysv/linux/s390/Versions
12527         (libpthread: GLIBC_2.19): New version set.
12528         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
12529         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
12530         (librt: GLIBC_2.3.3): New version set.
12531         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
12532         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
12533         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
12534         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
12535         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
12536         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
12537         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
12538         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
12539         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
12540         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
12541         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
12542         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
12543         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
12544         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
12545         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
12546         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
12547         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
12548         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
12549         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
12550         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
12551         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
12552         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
12553         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
12554         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
12555         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
12556         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
12557         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
12558         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
12559         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
12560         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
12561         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
12562         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
12563         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
12564         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
12565         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
12566         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
12567         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
12568         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
12569         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
12570         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
12571         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
12572         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
12573         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
12574         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
12575         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
12577         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
12578         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
12579         (__libc_vfork): Define the function under this name.
12580         [!NOT_IN_libc] (__vfork): Make this an alias.
12581         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12582         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
12583         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
12584         (__libc_vfork): Define the function under this name.
12585         [!NOT_IN_libc] (__vfork): Make this an alias.
12586         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12587         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
12588         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
12589         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
12590         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
12591         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12593         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
12594         code that was previously under [RESET_PID].
12595         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
12596         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
12597         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
12599         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
12600         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
12601         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
12602         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
12603         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
12604         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
12605         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
12606         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
12607         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
12608         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
12609         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
12610         Moved ...
12611         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
12612         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
12613         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
12614         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
12615         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
12616         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
12617         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
12618         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
12619         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
12620         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
12621         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
12622         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
12623         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
12624         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
12625         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
12626         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
12627         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
12628         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
12629         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
12630         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
12631         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
12632         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
12633         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
12634         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
12635         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
12636         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
12637         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
12638         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
12639         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
12641 2014-06-25  Roland McGrath  <roland@hack.frob.com>
12643         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
12644         that was previously under [RESET_PID].
12645         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
12647 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
12649         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
12650         not undefine and redefine.
12651         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
12652         [O_CLOEXEC]: Make code unconditional.
12653         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
12654         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
12655         <kernel-features.h>.
12656         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
12657         conditional variable definition.
12658         (shm_open) [O_CLOEXEC]: Make code unconditional.
12659         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
12660         code.
12662         * configure.ac (USE_REGPARMS): Don't define here.
12663         * configure: Regenerated.
12664         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
12665         * sysdeps/i386/configure: Regenerated.
12667         * nptl/createthread.c: Don't include kernel-features.h.
12668         * nptl/pthread_cancel.c: Likewise.
12669         * nptl/pthread_condattr_setclock.c: Likewise.
12670         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
12671         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
12672         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
12673         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
12674         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
12675         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
12676         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12677         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
12678         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12679         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
12680         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
12681         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
12682         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
12683         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
12684         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
12685         * nscd/gai.c: Likewise.
12686         * nss/nss_db/db-open.c: Likewise.
12687         * sysdeps/generic/ldsodefs.h: Likewise.
12688         * sysdeps/sh/nptl/tls.h: Likewise.
12689         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12690         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
12691         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
12692         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
12693         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
12694         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12695         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
12696         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12697         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12698         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12699         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12700         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12701         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
12702         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
12703         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
12704         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
12705         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
12706         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
12707         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
12708         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
12709         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12710         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12711         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
12712         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
12713         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12714         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12715         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
12716         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
12717         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12718         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
12719         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
12720         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
12721         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
12722         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
12723         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12724         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12725         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12726         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
12727         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
12728         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12729         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12730         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
12731         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
12732         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12733         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
12734         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
12735         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
12736         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
12737         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
12738         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12739         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12740         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12741         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12742         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12743         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
12744         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12745         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12746         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
12747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
12749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
12750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
12751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
12752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
12758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
12759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
12760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
12761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
12767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
12768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12769         * sysdeps/unix/sysv/linux/pread.c: Likewise.
12770         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
12771         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
12772         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
12773         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
12774         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
12775         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
12776         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
12777         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
12778         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12779         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
12780         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12781         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
12782         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
12783         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
12784         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
12785         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12786         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
12787         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
12788         * sysdeps/unix/sysv/linux/system.c: Likewise.
12789         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
12790         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12791         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12792         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12793         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12794         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12795         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12797         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
12798         * configure: Regenerated.
12799         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
12801         * configure.ac (base_machine): Do not set specially for particular
12802         machines here.
12803         * configure: Regenerated.
12804         * sysdeps/powerpc/preconfigure: Move machine and base_machine
12805         settings from configure.ac.
12806         * sysdeps/i386/preconfigure: New file.
12807         * sysdeps/s390/preconfigure: Likewise.
12808         * sysdeps/sh/preconfigure: Likewise.
12809         * sysdeps/sparc/preconfigure: Likewise.
12811 2014-06-25  Roland McGrath  <roland@hack.frob.com>
12813         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
12814         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
12815         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
12816         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
12817         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
12818         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
12819         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
12820         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
12821         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
12822         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
12823         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
12824         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
12825         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
12826         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
12827         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
12828         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
12829         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
12830         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
12831         * sysdeps/sparc/sparc64/Makefile: ... appended here.
12833         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
12834         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
12835         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
12836         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
12837         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
12838         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
12839         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
12840         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
12841         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
12842         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
12843         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
12844         * sysdeps/sparc/sparc32/sem_post.c: ... here.
12845         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
12846         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
12847         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
12848         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
12849         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
12850         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
12851         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
12852         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
12853         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
12854         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
12855         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
12856         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
12857         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
12858         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
12859         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
12860         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
12861         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
12862         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
12863         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
12864         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
12865         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
12866         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
12867         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
12868         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
12869         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
12870         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
12872         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
12873         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
12874         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
12875         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
12876         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12877         Moved ...
12878         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12879         ... here.
12880         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
12881         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
12882         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
12883         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
12884         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
12885         Moved ...
12886         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
12887         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
12888         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
12889         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
12890         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
12891         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
12892         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
12893         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12894         Moved ...
12895         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
12896         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12897         Moved ...
12898         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
12899         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
12900         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
12901         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12902         Moved ...
12903         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
12904         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
12905         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
12906         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
12907         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
12908         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
12909         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
12910         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
12911         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
12912         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12913         Moved ...
12914         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12915         ... here.
12916         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
12917         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
12918         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
12919         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
12920         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
12921         Moved ...
12922         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
12923         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
12924         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
12925         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
12926         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
12927         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
12928         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
12929         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12930         Moved ...
12931         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
12932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12933         Moved ...
12934         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
12935         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
12936         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
12937         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12938         Moved ...
12939         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
12940         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
12941         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
12942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
12943         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
12945 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
12947         * timezone/checktab.awk: Update from tzcode 2014e.
12948         * timezone/private.h: Likewise.
12949         * timezone/tzfile.h: Likewise.
12950         * timezone/zdump.c: Likewise.
12951         * timezone/zic.c: Likewise.
12953         * sysdeps/unix/sysv/linux/kernel-features.h
12954         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
12955         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
12956         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
12957         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12958         Remove conditional code.
12960 2014-06-25  Will Newton  <will.newton@linaro.org>
12962         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
12963         (_dl_arm_cap_flags): Add HWCAP2 values.
12964         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
12965         (_DL_HWCAP_COUNT): Increase to 37.
12966         (_DL_HWCAP_LAST): New define.
12967         (_DL_HWCAP2_LAST): New define.
12968         (_dl_procinfo): Add support for printing
12969         AT_HWCAP2 entries.
12970         (_dl_string_hwcap): Use _dl_hwcap_string.
12972 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12976 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
12978         * README: Do not mention ports directory.
12980         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
12981         Remove macro.
12982         * sysdeps/unix/sysv/linux/futimes.c: Do not include
12983         <kernel-features.h>.
12984         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
12985         conditional variable definition.
12986         (__futimes): Update comment.
12987         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
12988         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
12990         [BZ #16560]
12991         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
12992         arguments close to 0.
12993         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
12994         Likewise.
12995         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
12996         Likewise.
12997         * math/auto-libm-test-in: Add more tests of exp10.
12998         * math/auto-libm-test-out: Regenerated.
12999         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13001         * sysdeps/unix/sysv/linux/kernel-features.h
13002         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
13003         * sysdeps/unix/sysv/linux/readv.c: Do not include
13004         <kernel-features.h>.
13005         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13006         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13007         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13008         unconditional.
13009         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13010         conditional code.
13011         * sysdeps/unix/sysv/linux/writev.c: Do not include
13012         <kernel-features.h>.
13013         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13014         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13015         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13016         unconditional.
13017         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13018         conditional code.
13020 2014-06-25  Will Newton  <will.newton@linaro.org>
13022         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
13023         comment changes throughout the file.  Remove checks
13024         for HAVE_*_H definitions that are not required.
13025         (__gen_tempname): Call abort if an unknown kind value is
13026         passed.
13028 2014-06-25  Andreas Schwab  <schwab@suse.de>
13030         [BZ #17086]
13031         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
13032         scalbln, scalblnf, scalblnl in libc.
13034 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13036         [BZ #17086]
13037         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
13038         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13039         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13041 2014-06-24  Roland McGrath  <roland@hack.frob.com>
13043         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
13044         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
13045         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
13046         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
13047         Update #include.
13048         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
13049         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
13050         Update #include.
13051         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
13052         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
13053         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
13054         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
13055         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
13056         * sysdeps/x86/bits/pthreadtypes.h: ... here.
13057         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
13058         * sysdeps/x86/bits/semaphore.h: ... here.
13059         * sysdeps/x86/nptl/elide.h: Moved ...
13060         * sysdeps/x86/elide.h: ... here.
13061         * sysdeps/x86_64/nptl/Implies: File removed.
13062         * sysdeps/i386/nptl/Implies: File removed.
13064 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
13066         [BZ #16539]
13067         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
13068         return the argument for normal arguments with exponent below -64.
13069         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13070         Likewise.
13071         * math/auto-libm-test-in: Add another test of expm1.
13072         * math/auto-libm-test-out: Regenerated.
13074         [BZ #16287]
13075         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
13076         calling __erfcl for arguments at least 16.
13077         * math/auto-libm-test-in: Add more tests of erf.
13078         * math/auto-libm-test-out: Regenerated.
13080         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
13081         individual architectures.
13082         * sysdeps/unix/sysv/linux/configure: Regenerated.
13083         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
13084         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
13085         * sysdeps/unix/sysv/linux/powerpc/configure.ac
13086         (ldd_rewrite_script): Define variable.
13087         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
13089         file.
13090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
13091         generated file.
13092         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
13093         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
13094         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
13095         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
13096         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
13097         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
13098         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
13099         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
13101 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13103         [BZ #17084]
13104         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
13105         Rename member __data.d to __data.__elision_data.
13107 2014-06-24  Wilco  <wdijkstr@arm.com>
13109         * NEWS: Add 16918 to fixed bug list.
13111 2014-06-24  Wilco  <wdijkstr@arm.com>
13113         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
13115 2014-06-24  Wilco  <wdijkstr@arm.com>
13117         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
13118         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
13119         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
13120         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
13121         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
13122         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
13123         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
13124         Use _FPU_MASK_RM.
13126 2014-06-24  Wilco  <wdijkstr@arm.com>
13128         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
13130 2014-06-24  Wilco  <wdijkstr@arm.com>
13132         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
13133         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
13134         * sysdeps/arm/fesetround.c (fesetround): Remove space.
13135         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
13137 2014-06-24  Wilco  <wdijkstr@arm.com>
13139         [BZ #16918]
13140         * sysdeps/arm/feupdateenv.c (feupdateenv):
13141         Rewrite to reduce FPSCR accesses and fix return value.
13143 2014-06-24  Wilco  <wdijkstr@arm.com>
13145         * sysdeps/arm/fclrexcpt.c (feclearexcept):
13146         Optimize to avoid unnecessary FPSCR writes.
13147         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
13148         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
13149         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
13150         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
13152 2014-06-24  Wilco  <wdijkstr@arm.com>
13154         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
13155         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
13156         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
13157         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
13158         Call libc_fetestexcept_vfp.
13159         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
13160         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
13161         __SOFTFP__ ifdef so that they can be built for softfp.
13163 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13165         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
13166         argument type signed char.
13168         * Makerules (check-abi): Dump diff of symlist if the test
13169         fails.
13171 2014-06-23  Roland McGrath  <roland@hack.frob.com>
13173         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
13174         using abort.
13176         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13177         Remove unused variable ST.
13179 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
13181         [BZ #16354]
13182         [BZ #17061]
13183         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
13184         small arguments before calling __expm1.
13185         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
13186         small arguments before calling __expm1f.
13187         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
13188         small arguments before calling __expm1l.
13189         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13190         Likewise.
13191         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
13192         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
13193         spurious underflow for some cosh tests.
13194         * math/auto-libm-test-out: Regenerated.
13195         * sysdeps/i386/fpu/libm-test-ulps: Update.
13197         [BZ #17050]
13198         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
13199         (__ieee754_y1): Set errno if return value overflows.
13200         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
13201         (__ieee754_y1f): Set errno if return value overflows.
13202         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
13203         (__ieee754_y1l): Set errno if return value overflows.
13204         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
13205         (__ieee754_y1l): Set errno if return value overflows.
13206         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
13207         * math/auto-libm-test-out: Regenerated.
13209         * math/gen-auto-libm-tests.c: Document use of
13210         ignore-zero-inf-sign.
13211         (input_flag_type): Add value flag_ignore_zero_inf_sign.
13212         (input_flags): Add ignore-zero-inf-sign.
13213         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
13214         * math/gen-libm-test.pl (generate_testfile): Handle
13215         ignore-zero-inf-sign.
13216         * math/auto-libm-test-in: Mark some cpow tests with
13217         ignore-zero-inf-sign and some with xfail-rounding.
13218         * math/auto-libm-test-out: Regenerated.
13219         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
13220         * sysdeps/i386/fpu/libm-test-ulps: Update.
13221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13223         [BZ #16315]
13224         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
13225         overflowing or underflowing operations take place with sign of
13226         result.
13227         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13228         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13229         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
13230         (__ieee754_pow): Recompute overflowing and underflowing results in
13231         original rounding mode.
13232         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
13233         (__powl_helper): Allow negative argument X and scale negated value
13234         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
13235         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
13236         overflowing or underflowing operations take place with sign of
13237         result.
13238         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
13239         Include <math.h>.
13240         * math/auto-libm-test-in: Add more tests of pow.
13241         * math/auto-libm-test-out: Regenerated.
13242         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
13243         (pow_tonearest_test_data): Remove.
13244         (pow_test_tonearest): Likewise.
13245         (pow_towardzero_test_data): Likewise.
13246         (pow_test_towardzero): Likewise.
13247         (pow_downward_test_data): Likewise.
13248         (pow_test_downward): Likewise.
13249         (pow_upward_test_data): Likewise.
13250         (pow_test_upward): Likewise.
13251         (main): Don't call removed functions.
13252         * sysdeps/i386/fpu/libm-test-ulps: Update.
13253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13255 2014-06-23  Roland McGrath  <roland@hack.frob.com>
13257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
13258         Moved ...
13259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
13260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13261         Moved ...
13262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
13263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13264         Moved ...
13265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
13266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13267         Moved ...
13268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
13269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13270         File removed.
13271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13272         File removed.
13273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
13274         File removed.
13275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
13276         File removed.
13277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
13278         File removed.
13279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
13280         File removed.
13281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
13282         File removed.
13283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13284         File removed.
13285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
13286         File removed.
13287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13288         File removed.
13289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
13290         File removed.
13291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
13292         File removed.
13293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
13294         Moved ...
13295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
13296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
13297         Moved ...
13298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13299         ... here.
13300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
13301         Moved ...
13302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
13303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
13304         Moved ...
13305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
13306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
13307         Moved ...
13308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
13309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
13310         Moved ...
13311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
13312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
13313         Moved ...
13314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
13315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
13316         Moved ...
13317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
13318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
13319         Moved ...
13320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
13321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
13322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13323         ... here.
13324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
13325         Moved ...
13326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
13327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13328         Moved ...
13329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13330         ... here.
13331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
13332         Moved ...
13333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13334         ... here.
13335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13336         Moved ...
13337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13338         ... here.
13339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13340         Moved ...
13341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
13342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13343         Moved ...
13344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
13345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
13346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
13347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13348         Moved ...
13349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13350         ... here.
13351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13352         Moved ...
13353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13354         ... here.
13355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13356         Moved ...
13357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
13358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13359         Moved ...
13360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
13361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13362         Moved ...
13363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
13364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13365         Moved ...
13366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
13367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13368         Moved ...
13369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13370         ... here.
13371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13372         Moved ...
13373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
13374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13375         Moved ...
13376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
13377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13378         Moved ...
13379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
13380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13381         Moved ...
13382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
13383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
13384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
13385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13386         Moved ...
13387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
13388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13389         Moved ...
13390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
13391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13392         Moved ...
13393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13394         ... here.
13395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13396         Moved ...
13397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13398         ... here.
13399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13400         Moved ...
13401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13402         ... here.
13403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13404         Moved ...
13405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
13406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13407         Moved ...
13408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
13409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13410         Moved ...
13411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
13412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13413         Moved ...
13414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13415         ... here.
13416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13417         Moved ...
13418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13419         ... here.
13420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13421         Moved ...
13422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13423         ... here.
13424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13425         Moved ...
13426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
13427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13428         Moved ...
13429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
13431 2014-06-23  Will Newton  <will.newton@linaro.org>
13432             Wilco  <wdijkstr@arm.com>
13434         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
13435         implementation.  Include get-rounding-mode.h.
13436         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
13437         [!libc_feholdsetround_noex_ctx]: Define
13438         libc_feholdsetround_noex_ctx.
13439         [!libc_feholdsetround_noexf_ctx]: Define
13440         libc_feholdsetround_noexf_ctx.
13441         [!libc_feholdsetround_noexl_ctx]: Define
13442         libc_feholdsetround_noexl_ctx.
13443         (libc_feholdsetround_ctx): New function.
13444         (libc_feresetround_ctx): New function.
13445         (libc_feholdsetround_noex_ctx): New function.
13446         (libc_feresetround_noex_ctx): New function.
13448 2014-06-23  Roland McGrath  <roland@hack.frob.com>
13450         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
13451         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
13452         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
13453         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
13454         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
13455         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
13457         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
13458         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
13459         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
13460         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
13461         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
13462         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
13463         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
13464         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
13465         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
13466         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
13467         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
13468         Moved ...
13469         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13470         ... here.
13471         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
13472         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
13473         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
13474         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
13475         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
13476         Moved ...
13477         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
13478         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
13479         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
13480         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
13481         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
13482         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
13483         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
13484         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
13485         Moved ...
13486         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
13487         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
13488         Moved ...
13489         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
13490         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
13491         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
13492         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
13493         Moved ...
13494         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
13495         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
13496         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
13497         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
13498         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
13499         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
13500         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
13501         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
13502         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
13503         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
13504         Moved ...
13505         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13506         ... here.
13507         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
13508         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
13509         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
13510         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
13511         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
13512         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
13513         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
13514         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
13515         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
13516         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
13517         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
13518         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
13519         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
13520         Moved ...
13521         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
13522         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
13523         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
13524         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
13525         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
13526         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
13527         Moved ...
13528         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
13529         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
13530         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
13531         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
13532         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
13534         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
13535         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
13536         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
13537         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
13538         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
13539         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
13540         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
13541         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
13542         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
13543         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
13544         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
13545         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
13546         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
13547         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
13548         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
13549         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
13550         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
13551         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
13552         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
13553         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
13554         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
13555         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
13556         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
13557         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
13558         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
13559         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
13560         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
13561         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
13563 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
13565         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
13566         (FALLOC_FL_COLLAPSE_RANGE): New macro.
13567         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
13568         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
13569         (IPV6_PMTUDISC_INTERFACE): Likewise.
13570         (IPV6_PMTUDISC_OMIT): Likewise.
13572 2014-06-23  Andreas Schwab  <schwab@suse.de>
13574         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
13575         Remove unused errout label.
13577 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13579         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
13580         macro: hardware supports Vector Crypto instructions.
13582 2014-06-23  Will Newton  <will.newton@linaro.org>
13584         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
13585         rather than __builtin_expect.
13587         * elf/dl-lookup.c (undefined_msg): Remove variable.
13588         (_dl_lookup_symbol_x): Replace undefined_msg with string
13589         literal.
13591         * elf/dl-lookup.c (do_lookup_unique): New function.
13592         (do_lookup_x): Move STB_GNU_UNIQUE handling code
13593         to a separate function.
13595 2014-06-23  Andreas Schwab  <schwab@suse.de>
13597         [BZ #17079]
13598         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
13599         before reading the next line.
13601 2014-06-23  Will Newton  <will.newton@linaro.org>
13603         * test-skeleton.c (signal_handler): Use printf and %m
13604         rather than perror.  Use printf rather than fprintf to
13605         stderr.  Use puts rather than fputs to stderr.
13606         (main): Likewise.
13608 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
13610         * nscd/nscd.c (thread_info_t): Remove typedef.
13611         (thread_info): Remove variable.
13613 2014-06-21  Allan McRae  <allan@archlinux.org>
13615         * NEWS: Mention CVE-2014-4043.
13617 2014-06-20  Roland McGrath  <roland@hack.frob.com>
13619         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
13620         * nptl/smp.h: ... here.
13622         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
13624         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
13625         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
13626         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
13627         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
13629         * nptl/allocatestack.c: Include <stack-aliasing.h>.
13630         * nptl/stack-aliasing.h: New file.
13631         * sysdeps/i386/i686/stack-aliasing.h: New file.
13632         * sysdeps/i386/i686/nptl/Makefile: File removed.
13633         * sysdeps/x86_64/stack-aliasing.h: New file.
13634         * sysdeps/x86_64/nptl/Makefile
13635         (CFLAGS-pthread_create.c): Variable removed.
13637         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
13638         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
13639         old file.
13640         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
13641         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
13642         old file.
13644 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
13646         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13647         (__ASSUME_SIGFRAME_V2): Remove macro.
13648         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
13649         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
13650         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
13651         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
13652         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
13653         Declare as function.  Remove conditional macro definitions.
13654         (__default_rt_sa_restorer): Likewise.
13655         (__default_sa_restorer_v1): Remove declaration.
13656         (__default_sa_restorer_v2): Likewise.
13657         (__default_rt_sa_restorer_v1): Likewise.
13658         (__default_rt_sa_restorer_v2): Likewise.
13659         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
13660         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
13661         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
13663 2014-06-20  Roland McGrath  <roland@hack.frob.com>
13665         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
13666         (libpthread-routines): Add sysdep.
13667         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
13668         * sysdeps/unix/sysv/linux/sparc/Versions
13669         (libpthread: GLIBC_2.3.3): New version set.
13670         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
13671         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
13672         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
13673         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
13674         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
13675         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
13676         Moved ...
13677         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
13678         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
13679         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
13680         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
13681         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
13682         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
13683         * sysdeps/sparc/nptl/sem_init.c: ... here.
13684         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
13685         * sysdeps/sparc/nptl/sem_post.c: ... here.
13686         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
13687         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
13688         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
13689         * sysdeps/sparc/nptl/sem_wait.c: ... here.
13690         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
13691         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
13692         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
13693         (libpthread-routines): Add cpu_relax.
13694         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
13695         File removed.
13696         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
13697         (librt: GLIBC_2.3.3): New version set.
13698         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
13699         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
13700         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
13701         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
13702         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
13703         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
13704         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
13705         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
13706         Moved ...
13707         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
13708         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
13709         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
13710         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
13711         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
13712         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
13713         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
13714         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
13715         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
13716         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
13717         Moved ...
13718         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
13719         Update #include.
13720         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
13721         Moved ...
13722         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
13723         Update #include.
13724         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
13725         Moved ...
13726         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
13727         Update #include.
13728         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
13729         Moved ...
13730         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
13731         Update #include.
13732         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
13733         Moved ...
13734         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
13735         Update #include.
13736         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
13737         Moved ...
13738         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
13739         Update #include.
13740         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
13741         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
13742         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
13743         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
13744         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
13745         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
13746         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
13747         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
13748         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
13749         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
13750         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13751         Moved ...
13752         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
13753         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
13754         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
13755         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
13756         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
13758 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
13760         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
13761         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
13762         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13763         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
13764         * nscd/nscd.c: Likewise.
13765         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13766         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13767         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13768         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13770         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
13771         <kernel-features.h>.
13772         (init_mq_netlink): Remove conditional have_sock_cloexec
13773         definitions.  Remove code conditional on have_sock_cloexec < 0.
13774         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
13775         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
13776         * sysdeps/unix/sysv/linux/opensock.c: Do not include
13777         <kernel-features.h>.
13778         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
13779         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
13781 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
13783         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13784         Add tests for memset_chk and memset.
13786         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
13787         with AVX2_Usable.
13789 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
13791         [BZ #16046]
13792         * elf/tst-dl-iter-static.c: New file.
13793         * elf/Makefile (tests-static): Add tst-dl-iter-static.
13795         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
13796         error.
13798 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
13800         * sysdeps/unix/sysv/linux/kernel-features.h
13801         (__ASSUME_F_GETOWN_EX): Remove macro.
13802         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
13803         <kernel-features.h>.
13804         (miss_F_GETOWN_EX): Remove variable or macro.
13805         (do_fcntl): Do not check miss_F_GETOWN_EX.
13806         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
13808         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
13809         Remove macro.
13810         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
13811         [!__ASSUME_AT_RANDOM]: Remove conditional code.
13812         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
13814         * sysdeps/unix/sysv/linux/kernel-features.h
13815         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
13816         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
13817         [ADJ_OFFSET_SS_READ]: Make code unconditional.
13818         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
13820 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
13822         [BZ #17075]
13823         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
13824         Fix calculation of the symbol's value.
13825         * sysdeps/arm/tst-armtlsdescloc.c: New file.
13826         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
13827         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
13828         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
13829         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
13830         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
13831         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
13832         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
13833         (modules-names): Add `tst-armtlsdescmod',
13834         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
13835         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
13836         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13837         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
13838         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
13839         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13840         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
13841         ($(objpfx)tst-armtlsdescloc): New dependency.
13842         ($(objpfx)tst-armtlsdescextnow): Likewise.
13843         ($(objpfx)tst-armtlsdescextlazy): Likewise.
13844         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
13845         TLS scheme support.
13846         * sysdeps/arm/configure: Regenerate.
13848 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
13850         * include/fcntl.h (__atfct_seterrno): Remove prototype.
13851         (__atfct_seterrno_2): Likewise.
13852         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
13853         <kernel-features.h>.
13854         (__ASSUME_ATFCTS): Do not undefine and redefine.
13855         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
13856         (__have_atfcts): Remove conditional definition.
13857         (__fxstatat([__NR_fstatat64]: Make code unconditional.
13858         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
13859         unreachable if [__ASSUME_ATFCTS].
13860         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
13861         not undefine and redefine.
13862         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
13863         <kernel-features.h>.
13864         (faccessat) [__NR_faccessat]: Make code unconditional.
13865         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
13866         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
13867         <kernel-features.h>.
13868         (fchmodat) [__NR_fchmodat]: Make code unconditional.
13869         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13870         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
13871         <kernel-features.h>.
13872         (fchownat) [__NR_fchownat]: Make code unconditional.
13873         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
13874         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
13875         <kernel-features.h>.
13876         (futimesat) [__NR_futimesat]: Make code unconditional.
13877         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
13878         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13879         <kernel-features.h>.
13880         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13881         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13882         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13883         <kernel-features.h>.
13884         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
13885         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13886         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
13887         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13888         <kernel-features.h>.
13889         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
13890         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13891         * sysdeps/unix/sysv/linux/linkat.c: Do not include
13892         <kernel-features.h>.
13893         (linkat) [__NR_linkat]: Make code unconditional.
13894         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13895         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
13896         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
13897         <kernel-features.h>.
13898         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
13899         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13900         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
13901         <kernel-features.h>.
13902         (mkdirat) [__NR_mkdirat]: Make code unconditional.
13903         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
13904         * sysdeps/unix/sysv/linux/openat.c: Do not include
13905         <kernel-features.h>.
13906         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
13907         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
13908         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
13909         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
13910         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
13911         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
13912         <kernel-features.h>.
13913         (readlinkat) [__NR_readlinkat]: Make code unconditional.
13914         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
13915         result of INLINE_SYSCALL directly, not via int variable.
13916         * sysdeps/unix/sysv/linux/renameat.c: Do not include
13917         <kernel-features.h>.
13918         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
13919         (renameat) [__NR_renameat]: Make code unconditional.
13920         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
13921         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
13922         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
13923         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
13924         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
13925         (__ASSUME_ATFCTS): Do not undefine and redefine.
13926         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
13927         <kernel-features.h>.
13928         (symlinkat) [__NR_symlinkat]: Make code unconditional.
13929         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13930         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
13931         <kernel-features.h>.
13932         (unlinkat) [__NR_unlinkat]: Make code unconditional.
13933         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13934         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
13935         (__ASSUME_ATFCTS): Do not undefine and redefine.
13936         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13937         <kernel-features.h>.
13938         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13939         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13940         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13941         <kernel-features.h>.
13942         (__xmknodat) [__NR_mknodat]: Make code unconditional.
13943         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13945 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
13947         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
13949 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
13951         [BZ #17069]
13952         * posix/regcomp.c (parse_reg_exp): Deallocate partially
13953         constructed tree before returning error.
13954         * posix/bug-regexp36.c: Expand test case.
13956 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13958         [BZ #6803]
13959         * math/libm-test.inc (scalbln_test_date):
13960         Add errno expectations.
13961         * math/w_scalblnf.c: New File.
13962         Add wrapper which checks for setting errno to ERANGE.
13963         Add weak_alias for corresponding scalbln function.
13964         * math/w_scalbln.c: Likewise.
13965         * math/w_scalblnl.c: Likewise.
13966         * math/Makefile (libm-calls): Add w_scalbln.
13967         * sysdeps/ieee754/flt-32/s_scalblnf.c:
13968         Remove weak_alias for corresponding scalbln function.
13969         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13970         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13971         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13972         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13973         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
13974         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13975         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
13976         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13977         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
13978         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
13979         Remove long_double_symbol for scalblnl function in libm, libc.
13980         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
13981         Add wrapper which checks for setting errno to ERANGE.
13982         Add long_double_symbol for scalblnl function in libm, libc.
13983         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
13984         Remove long_double_symbol for scalblnl in libm.
13985         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
13986         Add wrapper which checks for setting errno to ERANGE.
13987         Add long_double_symbol for scalblnl function in libm.
13988         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
13989         Do not use wrapper because of own implementation.
13991 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
13993         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
13994         3 bytes for __pad1 for x32.
13995         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
13997 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
13998             H.J. Lu  <hongjiu.lu@intel.com>
14000         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
14001         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
14002         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14003         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14004         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14006 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
14008         [BZ #17069]
14009         * posix/regcomp.c (parse_expression): Deallocate partially
14010         constructed tree before returning error.
14011         * posix/Makefile.c (tests): Add bug-regex36.
14012         (generated): Add bug-regex36.mtrace.
14013         (tests-special): Add $(objpfx)bug-regex36-mem.out
14014         (bug-regex36-ENV): New variable.
14015         ($(objpfx)bug-regex36-mem.out): New rule.
14016         * posix/bug-regex36.c: New file.
14018 2014-06-19  Will Newton  <will.newton@linaro.org>
14020         * malloc/malloc.c (systrim): If extra is zero then return
14021         early.
14023 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14025         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
14027 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
14029         * sysdeps/aarch64/strchr.S: New file.
14031 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
14033         [BZ #17022]
14034         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
14035         from arguments -2 or below.
14036         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14037         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14039 2014-06-18  Andreas Schwab  <schwab@suse.de>
14041         [BZ #17062]
14042         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
14043         of a bracket expr not to run off the end of the string.
14044         * posix/Makefile (tests): Add tst-fnmatch3.
14045         * posix/tst-fnmatch3.c: New file.
14047 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
14049         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
14050         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14051         [$(cross-compiling) = no]: Likewise.
14052         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14053         [$(cross-compiling) = no]: Likewise.
14055 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14057         [BZ #17031]
14058         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
14059         double, adjusted for any remainder from the high double.
14060         * math/libm-test.inc (nearbyint): Add tests.
14061         (rint): Likewise.
14063 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14065         * nptl/sysdeps/powerpc/Makefile: Moved ...
14066         * sysdeps/powerpc/nptl/Makefile: ... here.
14067         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
14068         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
14069         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
14070         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
14071         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
14072         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
14073         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
14074         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
14075         * nptl/sysdeps/powerpc/tls.h: Moved ...
14076         * sysdeps/powerpc/nptl/tls.h: ... here.
14078 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
14080         [BZ #16681]
14081         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
14082         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
14083         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
14084         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
14085         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
14086         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
14087         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
14088         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
14089         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
14091 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
14093         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14095 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
14097         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
14098         defined operator.
14100         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
14101         $TIMEOUTFACTOR.
14103 2014-06-16  Florian Weimer  <fweimer@redhat.com>
14105         [BZ #17058]
14106         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
14107         non-executed part of the test.
14109 2014-06-16  Andreas Schwab  <schwab@suse.de>
14111         * string/bits/string2.h (strdup, strndup): Update feature guard.
14113 2014-06-14  David S. Miller  <davem@davemloft.net>
14115         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14117 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
14119         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
14120         that was previously under [RESET_PID].
14121         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
14123         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
14124         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
14125         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
14126         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14127         (__libc_vfork): New strong alias.
14128         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
14130 2014-06-14 Andi Kleen  <ak@linux.intel.com>
14132         * sysdeps/generic/elide.h: New file.
14134 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14136         * Makefile (installed-headers): Adjust path of pthread.h header.
14138 2014-06-13  Roland McGrath  <roland@hack.frob.com>
14140         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
14141         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
14142         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
14143         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
14145         * nptl/sysdeps/s390/Makefile: Moved ...
14146         * sysdeps/s390/nptl/Makefile: ... here.
14147         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
14148         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
14149         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
14150         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
14151         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
14152         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
14153         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
14154         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
14155         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
14156         * sysdeps/s390/nptl/pthreaddef.h: ... here.
14157         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
14158         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
14159         * nptl/sysdeps/s390/tls.h: Moved ...
14160         * sysdeps/s390/nptl/tls.h: ... here.
14162         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
14163         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
14165 2014-06-13  David S. Miller  <davem@davemloft.net>
14167         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
14168         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
14169         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
14170         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
14171         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
14172         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
14173         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
14174         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
14175         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
14176         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
14177         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
14178         Remove RESET_PID cpp guards.
14179         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
14180         Remove RESET_PID cpp guards.
14181         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
14183 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
14185         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
14186         __sp to uintptr_t.
14188 2014-06-13  Andi Kleen  <ak@linux.intel.com>
14190         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
14191         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
14192         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
14193         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
14194         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
14195         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
14196         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
14197         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
14198         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
14199         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
14200         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
14201         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
14202         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
14203         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
14204         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
14205         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
14206         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
14207         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
14208         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
14209         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
14211         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
14212         (pthread_rwlock_rdlock): Add elision.
14213         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
14214         (pthread_rwlock_wrlock): Add elision.
14215         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
14216         (pthread_rwlock_trywrlock): Add elision.
14217         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
14218         (pthread_rwlock_tryrdlock): Add elision.
14219         * nptl/pthread_rwlock_unlock.c: Include elide.h.
14220         (pthread_rwlock_tryrdlock): Add elision unlock.
14221         * nptl/sysdeps/pthread/pthread.h:
14222         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
14223         (PTHREAD_RWLOCK_INITIALIZER,
14224         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
14225         Handle new elision field.
14226         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
14227         * sysdeps/arm/nptl/bits/pthreadtypes.h
14228         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14229         * sysdeps/sh/nptl/bits/pthreadtypes.h
14230         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14231         * sysdeps/tile/nptl/bits/pthreadtypes.h
14232         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14233         * sysdeps/a/nptl/bits/pthreadtypes.h
14234         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14235         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14236         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14237         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14238         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14239         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
14240         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14241         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14242         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14243         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14244         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14245         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14246         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14247         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14248         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14249         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
14250         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14251         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
14252         (elision_init): Set try_xbegin to zero when no RTM.
14253         * sysdeps/x86/nptl/bits/pthreadtypes.h
14254         (pthread_rwlock_t): Change __pad1 to __rwelision.
14255         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14257 2014-06-13  Andi Kleen  <ak@linux.intel.com>
14259         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
14260         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
14261         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
14262         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
14264 2014-06-13  Meador Inge  <meadori@codesourcery.com>
14266         [BZ #16996]
14267         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
14268         that the cached result has been set before returning it.
14270 2014-06-12  Roland McGrath  <roland@hack.frob.com>
14272         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
14273         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
14274         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
14275         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
14276         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
14277         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
14279         * nptl/sysdeps/sparc/Makefile: Moved ...
14280         * sysdeps/sparc/nptl/Makefile: ... here.
14281         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
14282         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
14283         * nptl/sysdeps/sparc/tls.h: Moved ...
14284         * sysdeps/sparc/nptl/tls.h: ... here.
14285         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
14286         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
14287         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
14288         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
14289         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
14290         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
14291         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
14292         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
14293         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
14294         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
14295         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
14296         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
14297         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
14298         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
14299         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
14300         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
14301         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
14302         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
14303         Update #include.
14304         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
14305         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
14306         Update #include.
14307         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
14308         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
14309         Update #include.
14310         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
14311         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
14312         Update #include.
14314         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14316         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
14317         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
14319         * sysdeps/pthread/posix-timer.h: Include <list.h>.
14320         (struct list_links): Type removed.
14321         (struct thread_node, struct timer_node): Replace struct list_links
14322         with struct list_head.
14323         (list_unlink_ip): Likewise.
14324         * sysdeps/pthread/timer_routines.c
14325         (timer_free_list, thread_free_list, thread_active_list): Likewise.
14326         (list_append, list_insbefore): Likewise.
14327         (list_init): Function removed.
14328         (thread_init, init_module): Use INIT_LIST_HEAD instead.
14329         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
14330         * sysdeps/pthread/Makefile: ... here, new file.
14332         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
14333         * sysdeps/nptl/Implies: ... here.
14334         * sysdeps/unix/sysv/linux/Implies: Add nptl.
14335         * nptl/sysdeps/pthread/list.h: Moved ...
14336         * include/list.h: ... here.
14337         * nptl/sysdeps/pthread/createthread.c: Moved ...
14338         * nptl/createthread.c: ... here.
14339         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
14340         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
14341         * nptl/pt-longjmp.c: ... here.
14342         * nptl/sysdeps/pthread/Makefile: Moved ...
14343         * sysdeps/nptl/Makefile: ... here.
14344         * nptl/sysdeps/pthread/Subdirs: Moved ...
14345         * sysdeps/nptl/Subdirs: ... here.
14346         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
14347         * sysdeps/nptl/aio_misc.h: ... here.
14348         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
14349         * sysdeps/nptl/bits/libc-lock.h: ... here.
14350         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
14351         * sysdeps/nptl/bits/libc-lockP.h: ... here.
14352         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
14353         * sysdeps/nptl/bits/stdio-lock.h: ... here.
14354         * nptl/sysdeps/pthread/configure: Moved ...
14355         * sysdeps/nptl/configure: ... here.
14356         * nptl/sysdeps/pthread/configure.ac: Moved ...
14357         * sysdeps/nptl/configure.ac: ... here.
14358         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
14359         * sysdeps/nptl/gai_misc.h: ... here.
14360         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
14361         * sysdeps/nptl/librt-cancellation.c: ... here.
14362         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
14363         * sysdeps/nptl/malloc-machine.h: ... here.
14364         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
14365         * sysdeps/nptl/pthread-functions.h: ... here.
14366         * nptl/sysdeps/pthread/pthread.h: Moved ...
14367         * sysdeps/nptl/pthread.h: ... here.
14368         * nptl/sysdeps/pthread/setxid.h: Moved ...
14369         * sysdeps/nptl/setxid.h: ... here.
14370         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
14371         * sysdeps/nptl/sigfillset.c: ... here.
14372         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
14373         * sysdeps/nptl/tcb-offsets.h: ... here.
14374         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
14375         * sysdeps/nptl/tst-mqueue8x.c: ... here.
14376         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
14377         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
14378         * nptl/sysdeps/pthread/allocalim.h: Moved ...
14379         * sysdeps/pthread/allocalim.h: ... here.
14380         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
14381         * sysdeps/pthread/bits/sigthread.h: ... here.
14382         * nptl/sysdeps/pthread/flockfile.c: Moved ...
14383         * sysdeps/pthread/flockfile.c: ... here.
14384         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
14385         * sysdeps/pthread/ftrylockfile.c: ... here.
14386         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
14387         * sysdeps/pthread/funlockfile.c: ... here.
14388         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
14389         * sysdeps/pthread/posix-timer.h: ... here.
14390         * nptl/sysdeps/pthread/timer_create.c: Moved ...
14391         * sysdeps/pthread/timer_create.c: ... here.
14392         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
14393         * sysdeps/pthread/timer_delete.c: ... here.
14394         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
14395         * sysdeps/pthread/timer_getoverr.c: ... here.
14396         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
14397         * sysdeps/pthread/timer_gettime.c: ... here.
14398         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
14399         * sysdeps/pthread/timer_routines.c: ... here.
14400         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
14401         * sysdeps/pthread/timer_settime.c: ... here.
14402         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
14403         * sysdeps/pthread/tst-timer.c: ... here.
14404         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
14405         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
14407         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
14408         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
14410         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
14411         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
14412         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
14413         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
14414         Update #include target.
14415         * nptl/sysdeps/i386/i686/Makefile: Moved ...
14416         * sysdeps/i386/i686/nptl/Makefile: ... here.
14417         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
14418         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
14419         Update #include target.
14420         * nptl/sysdeps/i386/i686/tls.h: Moved ...
14421         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
14422         * nptl/sysdeps/i386/Makefile: Moved ...
14423         * sysdeps/i386/nptl/Makefile: ... here.
14424         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
14425         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
14426         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
14427         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
14428         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
14429         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
14430         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
14431         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
14432         * sysdeps/i386/nptl/pthreaddef.h: ... here.
14433         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
14434         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
14435         * nptl/sysdeps/i386/tls.h: Moved ...
14436         * sysdeps/i386/nptl/tls.h: ... here.
14438         * sysdeps/sh/Makefile [$(subdir) = csu]
14439         (gen-as-const-headers): Add tcb-offsets.sym.
14440         * nptl/sysdeps/sh/Makefile: File removed.
14441         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
14442         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
14443         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
14444         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
14445         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
14446         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
14447         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
14448         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
14449         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
14450         * sysdeps/sh/nptl/pthreaddef.h: ... here.
14451         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
14452         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
14453         * nptl/sysdeps/sh/tls.h: Moved ...
14454         * sysdeps/sh/nptl/tls.h: ... here.
14455         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
14456         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
14457         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
14458         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
14459         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
14460         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
14461         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
14462         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
14463         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
14464         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
14465         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
14466         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
14467         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
14468         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
14469         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
14470         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
14471         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
14472         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
14473         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
14474         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
14475         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
14476         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
14477         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
14478         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
14479         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
14480         Moved ...
14481         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
14482         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
14483         Moved ...
14484         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
14485         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
14486         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
14487         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
14488         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
14489         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
14490         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
14491         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
14492         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
14493         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
14494         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
14495         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
14496         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
14497         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
14498         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
14499         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
14500         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
14501         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
14502         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
14504 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14506         * posix/spawn_faction_addopen.c: Include string.h.
14508 2014-06-11  Roland McGrath  <roland@hack.frob.com>
14510         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
14511         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
14512         * nptl/sysdeps/x86_64/Makefile: Moved ...
14513         * sysdeps/x86_64/nptl/Makefile: ... here.
14514         * nptl/sysdeps/x86_64/configure: Moved ...
14515         * sysdeps/x86_64/nptl/configure: ... here.
14516         * nptl/sysdeps/x86_64/configure.ac: Moved ...
14517         * sysdeps/x86_64/nptl/configure.ac: ... here.
14518         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
14519         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
14520         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
14521         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
14522         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
14523         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
14524         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
14525         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
14526         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
14527         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
14528         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
14529         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
14530         * nptl/sysdeps/x86_64/tls.h: Moved ...
14531         * sysdeps/x86_64/nptl/tls.h: ... here.
14532         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
14533         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
14534         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
14535         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
14537         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
14539 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14543 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
14545         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
14546         type.
14547         [POSIX] (off_t): Likewise.
14548         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
14549         [POSIX] (S_ISBLK): Require macro.
14550         [POSIX] (S_ISCHR): Likewise.
14551         [POSIX] (S_ISDIR): Likewise.
14552         [POSIX] (S_ISFIFO): Likewise.
14553         [POSIX] (S_ISREG): Likewise.
14554         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
14555         optional-macro.
14556         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
14557         type.
14558         [POSIX] (time_t): Likewise.
14559         [POSIX] (timer_t): Likewise.
14561 2014-06-11  Florian Weimer  <fweimer@redhat.com>
14563         [BZ #17048]
14564         * posix/spawn_int.h (struct __spawn_action): Make the path string
14565         non-const to support deallocation.
14566         * posix/spawn_faction_addopen.c
14567         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
14568         * posix/spawn_faction_destroy.c
14569         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
14570         path in all spawn_do_open actions.
14571         * posix/tst-spawn.c (do_test): Exercise the copy operation in
14572         posix_spawn_file_actions_addopen.
14574 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
14576         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
14577         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
14578         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
14579         conditional code always true.
14580         (__libc_vfork): New alias.
14582 2014-06-11  Roland McGrath  <roland@hack.frob.com>
14584         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14585         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
14587         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
14589         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14590         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
14592         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14593         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
14595         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14596         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
14598 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14600         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
14601         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
14602         multiarch strcmp for PPC64.
14603         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
14604         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
14605         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
14606         multiarch optimizations.
14607         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14608         (__libc_ifunc_impl_list): Likewise.
14610 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14612         * benchtests/scripts/validate_benchout.py: New script.
14613         * benchtests/Makefile (bench-func): Call it.
14614         * benchtests/scripts/benchout.schema.json: New file.
14616 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
14618         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
14619         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
14620         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
14621         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
14622         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
14623         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
14624         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
14625         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
14626         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
14627         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
14628         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
14629         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
14630         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
14631         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
14632         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
14633         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
14634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
14635         Moved ...
14636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
14637         ... here.
14638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
14639         Moved ...
14640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
14641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
14642         Moved ...
14643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
14644         ... here.
14645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
14646         Moved ...
14647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
14648         ... here.
14649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
14650         Moved ...
14651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
14652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
14653         Moved ...
14654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
14655         ... here.
14656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
14657         Moved ...
14658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
14659         ... here.
14660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
14661         Moved ...
14662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
14663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
14664         Moved ...
14665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
14666         ... here.
14667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
14668         Moved ...
14669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
14670         ... here.
14671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
14672         Moved ...
14673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
14674         ... here.
14675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
14676         Moved ...
14677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
14678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
14679         Moved ...
14680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
14681         ... here.
14682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
14683         Moved ...
14684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
14685         ... here.
14686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
14687         Moved ...
14688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
14689         ... here.
14690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
14691         Moved ...
14692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
14693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
14694         Moved ...
14695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
14696         ... here.
14697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
14698         Moved ...
14699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
14700         ... here.
14701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
14702         Moved ...
14703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
14704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
14705         Moved ...
14706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
14707         ... here.
14708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
14709         Moved ...
14710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
14711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
14712         Moved ...
14713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
14714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
14715         Moved ...
14716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
14717         ... here.
14718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
14719         Moved ...
14720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
14721         ... here.
14722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
14723         Moved ...
14724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
14725         ... here.
14726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
14727         Moved ...
14728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
14729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
14730         Moved ...
14731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
14732         ... here.
14733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
14734         Moved ...
14735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
14736         ... here.
14737         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
14738         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
14739         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
14740         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
14741         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
14742         Moved ...
14743         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
14744         ... here.
14745         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
14746         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
14747         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
14748         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
14749         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
14750         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
14751         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
14752         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
14753         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
14754         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
14755         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
14756         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
14757         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
14758         Moved ...
14759         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
14760         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
14761         Moved ...
14762         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
14763         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
14764         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
14765         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
14766         Moved ...
14767         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
14768         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
14769         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
14770         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
14771         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
14772         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
14773         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
14775 2014-06-10  Wilco  <wdijkstr@arm.com>
14777         * math/test-fenv-return.c: New file.
14778         * math/Makefile: Add new test test-fenv-return.
14780 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
14782         [BZ #17042]
14783         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
14784         when x - 1 is zero.
14785         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
14786         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14787         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
14788         0.0L for an argument of 1.0L.
14789         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14790         Likewise.
14791         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
14792         value when x - 1 is zero.
14793         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
14794         * sysdeps/i386/fpu/libm-test-ulps: Update.
14795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14797 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
14799         [BZ #15119]
14800         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
14802 2014-06-09  Roland McGrath  <roland@hack.frob.com>
14804         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
14805         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
14807 2014-06-09  Roland McGrath  <roland@hack.frob.com>
14809         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14810         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
14812         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14813         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
14815         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14816         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
14818         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14819         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
14821         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
14822         if not already defined.
14823         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
14824         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
14825         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
14826         (TLS_INIT_TP): Use it.
14827         (TLS_DEFINE_INIT_TP): New macro.
14828         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
14830 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
14832         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
14833         constant.
14834         [POSIX] (IXANY): Likewise.
14835         [POSIX] (OLCUC): Likewise.
14836         [POSIX || POSIX2008] (CBAUD): Do not allow.
14837         [POSIX || POSIX2008] (DEFECHO): Likewise.
14838         [POSIX || POSIX2008] (ECHOCTL): Likewise.
14839         [POSIX || POSIX2008] (ECHOKE): Likewise.
14840         [POSIX || POSIX2008] (ECHOPRT): Likewise.
14841         [POSIX || POSIX2008] (EXTA): Likewise.
14842         [POSIX || POSIX2008] (EXTB): Likewise.
14843         [POSIX || POSIX2008] (FLUSHO): Likewise.
14844         [POSIX || POSIX2008] (LOBLK): Likewise.
14845         [POSIX || POSIX2008] (PENDIN): Likewise.
14846         [POSIX || POSIX2008] (SWTCH): Likewise.
14847         [POSIX || POSIX2008] (VDISCARD): Likewise.
14848         [POSIX || POSIX2008] (VDSUSP): Likewise.
14849         [POSIX || POSIX2008] (VLNEXT): Likewise.
14850         [POSIX || POSIX2008] (VREPRINT): Likewise.
14851         [POSIX || POSIX2008] (VSTATUS): Likewise.
14852         [POSIX || POSIX2008] (VWERASE): Likewise.
14853         (B*): Change to B[0123456789]*.
14854         * conform/data/time.h-data [POSIX || UNIX98]
14855         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
14856         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14857         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
14858         [POSIX] (tm_*): Do not allow.
14860 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
14862         * Makefile (install): Don't set LANGUAGE.
14863         * Makefile.in (install): Likewise.
14864         * assert/Makefile (test-assert-ENV): Remove variable.
14865         (test-assert-perr-ENV): Likewise.
14866         * elf/Makefile (neededtest4-ENV): Likewise.
14867         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14868         [$(cross-compiling) = no]: Don't set LANGUAGE.
14869         * io/ftwtest-sh (LANG): Remove variable.
14870         * libio/Makefile (tst-widetext-ENV): Likewise.
14871         * manual/install.texi (Running make install): Don't refer to
14872         environment settings for make install.
14873         * INSTALL: Regenerated.
14874         * nptl/tst-tls6.sh: Don't set LANG.
14875         * posix/globtest.sh (LANG): Remove variable.
14876         * string/Makefile (tester-ENV): Likewise.
14877         (inl-tester-ENV): Likewise.
14878         (noinl-tester-ENV): Likewise.
14879         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14880         [$(cross-compiling) = no]: Don't set LANGUAGE.
14881         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
14882         without explicit environment settings.
14884 2014-06-06  Roland McGrath  <roland@hack.frob.com>
14886         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
14887         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
14888         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
14889         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
14891 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
14893         * crypt/crypt-private.h [DOS]: Add some includes taken from the
14894         other files in the crypt directory.
14895         * crypt/crypt.c: Remove duplicate includes.
14896         * crypt/crypt-entry.c: Likewise.
14897         * crypt/crypt_util.c: Likewise.
14899 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
14901         * Makeconfig (run-program-env): New variable.
14902         (run-program-prefix-before-env): Likewise.
14903         (run-program-prefix-after-env): Likewise.
14904         (run-program-prefix): Define in terms of new variables.
14905         (built-program-cmd-before-env): New variable.
14906         (built-program-cmd-after-env): Likewise.
14907         (built-program-cmd): Define in terms of new variables.
14908         (test-program-prefix-before-env): New variable.
14909         (test-program-prefix-after-env): Likewise.
14910         (test-program-prefix): Define in terms of new variables.
14911         (test-program-cmd-before-env): New variable.
14912         (test-program-cmd-after-env): Likewise.
14913         (test-program-cmd): Define in terms of new variables.
14914         * Rules (make-test-out): Use $(run-program-env).
14915         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
14916         (help): Do not mention environment variables.  Mention
14917         --timeoutfactor option.
14918         (timeoutfactor): New variable.
14919         (blacklist_exports): Remove function.
14920         (exports): Remove variable.
14921         (command): Do not include ${exports}.
14922         * manual/install.texi (Configuring and compiling): Do not mention
14923         test wrappers preserving environment variables.  Mention that last
14924         assignment to a variable must take precedence.
14925         * INSTALL: Regenerated.
14926         * benchtests/Makefile (run-bench): Use $(run-program-env).
14927         * catgets/Makefile ($(objpfx)test1.cat): Use
14928         $(built-program-cmd-before-env), $(run-program-env) and
14929         $(built-program-cmd-after-env).
14930         ($(objpfx)test2.cat): Do not specify environment variables
14931         explicitly.
14932         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
14933         $(run-program-env) and $(built-program-cmd-after-env).
14934         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
14935         $(run-program-env) and $(test-program-cmd-after-env).
14936         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
14937         explicitly.
14938         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
14939         run_program_env and test_program_cmd_after_env arguments.
14940         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
14941         * elf/tst-pathopt.sh: Use run_program_env argument.
14942         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
14943         $(test-wrapper-env) and $(run-program-env).
14944         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
14945         run_program_env arguments.
14946         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
14947         * intl/Makefile ($(objpfx)tst-gettext.out): Use
14948         $(test-program-prefix-before-env), $(run-program-env) and
14949         $(test-program-prefix-after-env).
14950         ($(objpfx)tst-gettext2.out): Likewise.
14951         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
14952         run_program_env and test_program_prefix_after_env arguments.
14953         * intl/tst-gettext2.sh: Likewise.
14954         * intl/tst-gettext4.sh: Do not set environment variables
14955         explicitly.
14956         * intl/tst-gettext6.sh: Likewise.
14957         * intl/tst-translit.sh: Likewise.
14958         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
14959         $(test-program-prefix-before-env), $(run-program-env) and
14960         $(test-program-prefix-after-env).
14961         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
14962         run_program_env and test_program_prefix_after_env arguments.
14963         * math/Makefile (run-regen-ulps): Use $(run-program-env).
14964         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
14965         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
14966         explicitly with each use of ${test_wrapper_env}.
14967         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
14968         $(test-program-prefix-before-env), $(run-program-env) and
14969         $(test-program-prefix-after-env).
14970         * posix/tst-getconf.sh: Do not set environment variables
14971         explicitly.
14972         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
14973         run_program_env and test_program_prefix_after_env arguments.
14974         * stdio-common/tst-printf.sh: Do not set environment variables
14975         explicitly.
14976         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
14977         $(test-program-prefix-before-env), $(run-program-env) and
14978         $(test-program-prefix-after-env).
14979         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
14980         run_program_env and test_program_prefix_after_env arguments.
14981         Split $test calls into $test_pre and $test.
14982         * timezone/Makefile (build-testdata): Use
14983         $(built-program-cmd-before-env), $(run-program-env) and
14984         $(built-program-cmd-after-env).
14986 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14988         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
14989         strlen for non SHARED builds.
14991 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14993         * nptl/allocatestack.c (check_list): Inlined function...
14994         (__reclaim_stacks): ... here.
14996 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
14998         [BZ #15698]
14999         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15000         memory overrun.
15002 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
15004         * Rules (make-test-out): Include
15005         LOCPATH=$(common-objpfx)localedata in default environment.
15006         * debug/Makefile (tst-chk1-ENV): Remove variable.
15007         (tst-chk2-ENV): Likewise.
15008         (tst-chk3-ENV): Likewise.
15009         (tst-chk4-ENV): Likewise.
15010         (tst-chk5-ENV): Likewise.
15011         (tst-chk6-ENV): Likewise.
15012         (tst-lfschk1-ENV): Likewise.
15013         (tst-lfschk2-ENV): Likewise.
15014         (tst-lfschk3-ENV): Likewise.
15015         (tst-lfschk4-ENV): Likewise.
15016         (tst-lfschk5-ENV): Likewise.
15017         (tst-lfschk6-ENV): Likewise.
15018         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
15019         (tst-iconv7-ENV): Likewise.
15020         * intl/Makefile (LOCPATH-ENV): Likewise.
15021         (tst-codeset-ENV): Likewise.
15022         (tst-gettext3-ENV): Likewise.
15023         (tst-gettext5-ENV): Likewise.
15024         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
15025         (tst-fopenloc-ENV): Likewise.
15026         (tst-fgetws-ENV): Remove variable.
15027         (tst-ungetwc1-ENV): Likewise.
15028         (tst-ungetwc2-ENV): Likewise.
15029         (bug-ungetwc2-ENV): Likewise.
15030         (tst-swscanf-ENV): Likewise.
15031         (bug-ftell-ENV): Likewise.
15032         (tst-fgetwc-ENV): Likewise.
15033         (tst-fseek-ENV): Likewise.
15034         (tst-ftell-partial-wide-ENV): Likewise.
15035         (tst-ftell-active-handler-ENV): Likewise.
15036         (tst-ftell-append-ENV): Likewise.
15037         * posix/Makefile (tst-fnmatch-ENV): Likewise.
15038         (tst-regexloc-ENV): Likewise.
15039         (bug-regex1-ENV): Likewise.
15040         (tst-regex-ENV): Likewise.
15041         (tst-regex2-ENV): Likewise.
15042         (bug-regex5-ENV): Likewise.
15043         (bug-regex6-ENV): Likewise.
15044         (bug-regex17-ENV): Likewise.
15045         (bug-regex18-ENV): Likewise.
15046         (bug-regex19-ENV): Likewise.
15047         (bug-regex20-ENV): Likewise.
15048         (bug-regex22-ENV): Likewise.
15049         (bug-regex23-ENV): Likewise.
15050         (bug-regex25-ENV): Likewise.
15051         (bug-regex26-ENV): Likewise.
15052         (bug-regex30-ENV): Likewise.
15053         (bug-regex32-ENV): Likewise.
15054         (bug-regex33-ENV): Likewise.
15055         (bug-regex34-ENV): Likewise.
15056         (bug-regex35-ENV): Likewise.
15057         (tst-rxspencer-ENV): Likewise.
15058         (tst-rxspencer-no-utf8-ENV): Likewise.
15059         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
15060         (tst-sscanf-ENV): Likewise.
15061         (tst-swprintf-ENV): Likewise.
15062         (tst-swscanf-ENV): Likewise.
15063         (test-vfprintf-ENV): Likewise.
15064         (scanf13-ENV): Likewise.
15065         (bug14-ENV): Likewise.
15066         (tst-grouping-ENV): Likewise.
15067         * stdlib/Makefile (tst-strtod-ENV): Likewise.
15068         (tst-strtod3-ENV): Likewise.
15069         (tst-strtod4-ENV): Likewise.
15070         (tst-strtod5-ENV): Likewise.
15071         (testmb2-ENV): Likewise./
15072         * string/Makefile (tst-strxfrm-ENV): Likewise.
15073         (tst-strxfrm2-ENV): Likewise.
15074         (bug-strcoll1-ENV): Likewise.
15075         (test-strcasecmp-ENV): Likewise.
15076         (test-strncasecmp-ENV): Likewise.
15077         * time/Makefile (tst-strptime-ENV): Likewise.
15078         (tst-ftime_l-ENV): Likewise.
15079         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
15080         (tst-mbrtowc-ENV): Likewise.
15081         (tst-wcrtomb-ENV): Likewise.
15082         (tst-mbrtowc2-ENV): Likewise.
15083         (tst-c16c32-1-ENV): Likewise.
15084         (tst-mbsnrtowcs-ENV): Likewise.
15086 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
15088         * manual/resource.texi (How to get information about the memory
15089         subsystem?): Fix typo.
15090         Reported by Peon de la Parra Ivan <peon@keba.com>
15092 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
15094         [BZ #16882]
15095         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
15096         (pthread_spin_lock): Branch out of spin loop to proper location.
15097         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
15098         (pthread_spin_lock): Likewise.
15100         * nptl/tst-spin4.c: New test.
15101         * nptl/Makefile (tests): Add tst-spin4.
15103 2014-06-03  Andreas Schwab  <schwab@suse.de>
15105         [BZ #15946]
15106         * resolv/res_send.c (send_dg): Reload file descriptor after
15107         calling reopen.
15109 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
15111         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15113 2014-06-03  Richard Henderson  <rth@redhat.com>
15115         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
15116         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
15117         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
15118         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
15119         in the SAVE_PID block.
15120         (__libc_vfork): New alias.
15121         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
15123         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
15124         child in registers, not on the stack.  Remove RESET_PID conditionals.
15125         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
15127 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15129         * sysdeps/aarch64/libm-test-ulps: Regenerate.
15131 2014-06-03  Wilco  <wdijkstr@arm.com>
15133         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
15134         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
15135         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15136         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
15137         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
15138         Likewise.
15140 2014-06-03  Wilco  <wdijkstr@arm.com>
15142         * sysdeps/aarch64/fpu/math_private.h
15143         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
15144         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
15145         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
15146         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15147         Fix declarations.
15149 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15151         * crypt/crypt-private.h: Include ufc-crypt.h.
15152         (__b64_from_24bit): Declare extern.
15153         * crypt/crypt_util.c(__b64_from_24bit): New function.
15154         (b64t): New static const variable.
15155         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
15156         (b64t): Remove variable.
15157         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
15158         * crypt/sha256-crypt.c: Include crypt-private.h.
15159         (b64t): Remove variable.
15160         (__sha256_crypt_r): Remove b64_from_24bit and replace
15161         with __b64_from_24bit.
15162         * crypt/sha512-crypt.c: Likewise.
15164 2014-06-02  Roland McGrath  <roland@hack.frob.com>
15166         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
15167         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
15168         Label the code __libc_vfork rather than __vfork.
15169         [!NOT_IN_libc] (vfork): Define as weak alias.
15170         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
15171         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
15172         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
15174 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15176         * malloc/malloc.c (malloc_info): Fix format specifier for
15177         n_mmaps.
15179 2014-06-02  Wilco  <wdijkstr@arm.com>
15181         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
15182         FPCR write.
15184 2014-06-02  Wilco  <wdijkstr@arm.com>
15186         [BZ #17009]
15187         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
15188         Rewrite to reduce FPCR/FPSR accesses.
15190 2014-06-01  David S. Miller  <davem@davemloft.net>
15192         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15194 2014-05-31  David S. Miller  <davem@davemloft.net>
15196         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
15197         to occur in round to nearest mode when |x| >= 2.0
15199 2014-05-30  Richard Henderson  <rth@twiddle.net>
15201         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
15202         (PSEUDO_RET_NOERRNO): Remove.
15203         (ret): Don't redefine.
15204         (ret_NOERRNO): Define in terms of ret.
15205         (ret_ERRVAL): Likewise.
15207         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
15208         use of PSEUDO_RET; perform the error check directly.
15210 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
15212         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
15213         with __int128_t.
15215 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15217         * malloc/malloc (malloc_info): Fix formatting.
15219 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15220             Roland McGrath  <roland@hack.frob.com>
15222         * malloc/malloc (malloc_info): Also print mmapped statistics.
15224 2014-05-30  Roland McGrath  <roland@hack.frob.com>
15226         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
15227         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
15229 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
15231         * malloc/malloc.c (malloc_info): Inline mi_arena.
15233 2014-05-29  Richard Henderson  <rth@twiddle.net>
15235         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
15236         Remove comma before expanding ASM_ARGS_##nr.
15237         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
15238         Make _x0 a strict output; make _x8 a strict input; adjust expansion
15239         of ASM_ARGS_##nr.
15240         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
15241         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
15242         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
15243         (ASM_ARGS_1): Add leading comma.
15245         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
15246         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
15247         to __errno_location.
15248         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
15249         Remove the expected plt for __errno_location.
15251         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15252         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
15253         call to __read_tp.
15255         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15256         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
15257         it and break it down.
15258         (DOCARGS_0, DOCARGS_1): Do nothing.
15259         (DOCARGS_2): Update to store into the new stack frame.
15260         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
15261         (UNDOCARGS_1): Update to restore from the new stack frame.
15262         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
15263         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
15265         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15266         (SINGLE_THREAD_P): New parameter for result regno.
15267         (PSEUDO): Update to match; use cbz instead of beq.
15269         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15270         Use ENTRY to define the _nocancel entry point.  Share the syscall
15271         and syscall error check paths with the cancel path.
15272         (PSEUDO_END): New.
15274         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
15275         whitespace; tabs before and after asm mnemonics.
15277 2014-05-29  Eric Wong  <normalperson@yhbt.net>
15279         [BZ #15132]
15280         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15281         Call fstat64 or stat64 internally, depending on arguments passed.
15282         Replace stat buffer argument with file descriptor argument.
15283         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
15284         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15285         Pass fd to __internal_statvfs instead of calling fstat64.
15286         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
15287         Pass fd to __internal_statvfs64 instead of calling fstat64.
15288         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
15289         Pass -1 to __internal_statvfs instead of calling stat64.
15290         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
15291         Pass -1 to __internal_statvfs64 instead of calling stat64.
15293 2014-05-28  Roland McGrath  <roland@hack.frob.com>
15295         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
15296         that was previously under [RESET_PID].
15297         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
15299         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
15300         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
15302 2014-05-27  Roland McGrath  <roland@hack.frob.com>
15304         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
15306         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
15307         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
15309 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
15311         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
15313 2014-05-27  Andreas Schwab  <schwab@suse.de>
15315         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
15316         TLS_INIT_TP macro.
15317         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
15318         * elf/rtld.c (init_tls, dl_main): Likewise.
15319         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
15320         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
15321         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
15322         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
15323         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
15324         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
15325         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
15326         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
15327         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
15328         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
15329         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
15330         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
15331         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
15332         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
15333         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
15334         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
15335         * sysdeps/generic/tls.h: Update description.
15337 2014-05-27  Will Newton  <will.newton@linaro.org>
15339         [BZ #16990]
15340         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
15341         and restore r2 rather than just restoring.
15343 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15345         [BZ #16724]
15346         * libio/tst-ftell-append.c: New test case.
15347         * libio/Makefile (tests): Add test case.
15348         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
15349         append mode.
15350         * libio/wfileops.c (do_ftell_wide): Likewise.
15352 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15356         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
15357         ...
15358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
15359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15360         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
15361         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
15362         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
15363         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
15364         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
15365         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
15366         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
15367         Moved ...
15368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
15369         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
15370         Moved ...
15371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
15372         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
15373         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
15374         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
15375         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
15376         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
15377         ...
15378         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
15379         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
15380         Moved ...
15381         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
15382         here.
15383         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
15384         ...
15385         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
15386         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
15387         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
15389         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
15390         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
15391         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
15392         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
15394         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
15395         merge into ...
15396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
15397         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
15398         ...
15399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
15400         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
15401         ...
15402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
15403         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15404         Moved ...
15405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
15406         here.
15407         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15408         Moved ...
15409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
15410         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15411         Moved ...
15412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
15414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
15415         conditional [RESET_PID].
15416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
15417         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
15418         removed.
15419         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
15420         removed.
15422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
15423         <tcb-offsets.h>.
15424         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15425         (__libc_vfork): New strong alias.
15426         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
15427         removed.
15428         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
15429         Removed.
15431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
15432         <tcb-offsets.h>.
15433         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
15434         (__libc_vfork): New strong alias.
15435         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
15436         removed.
15437         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
15438         removed.
15440 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
15442         * malloc/malloc.c (mi_arena): New function.
15443         (malloc_info): Remove nested function mi_arena. Call non-nosted
15444         function mi_arena.
15446 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15448         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
15449         by insrwi.
15450         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
15451         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
15452         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
15453         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
15454         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
15455         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
15456         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
15458 2014-05-26  Andreas Schwab  <schwab@suse.de>
15460         [BZ #16984]
15461         * locale/programs/repertoire.c (repertoire_read): Add slash
15462         between I18NPATH element and file name.
15463         * locale/programs/locfile.c (locfile_read): Likewise.
15465 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15467         * nptl/pthread_mutexattr_settype.c
15468         (__pthread_mutexattr_settype):
15469         Disable lock elision for PTHREAD_MUTEX_NORMAL.
15471 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15473         * nptl/tst-mutex5 (do_test):
15474         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
15476 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15478         * benchtests/README: Document 'init' directive.
15479         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
15480         BENCH_INIT.
15481         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
15482         (parse_file): Recognize 'init' directive.
15484 2014-05-26  Kyle McMartin  <kyle@redhat.com>
15486         [BZ #16796]
15487         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
15488         alignment of struct pthread.
15490 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15492         [BZ #16878]
15493         * nscd/netgroupcache.c (addgetnetgrentX): Look for
15494         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15495         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
15496         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15498 2014-05-25  Richard Henderson  <rth@twiddle.net>
15500         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15501         (SINGLE_THREAD_P_PIC): Remove.
15502         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
15503         (SINGLE_THREAD_P_PIC): Remove.
15505         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
15506         branch to syscall error ...
15507         (PSEUDO): ... here.
15508         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
15509         from __local_syscall_error to .Lsyscall_error.
15510         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
15511         (SYSCALL_ERROR): Update label name.
15513         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15514         Do not use DOARGS/UNDOARGS.
15515         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
15516         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
15517         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
15518         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
15519         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
15521         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
15522         block comment.
15524         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
15525         define if !NOT_IN_libc.
15526         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
15527         define with non-default symbol versions.
15529 2014-05-23  Richard Henderson  <rth@twiddle.net>
15531         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
15532         (vfork, __vfork): Define via compat_symbol.
15534         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
15535         [!HAVE_IFUNC] (vfork_compat): Remove.
15536         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
15538 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
15540         [BZ #16978]
15541         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
15542         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
15543         variable.
15545 2014-05-23  Richard Henderson  <rth@twiddle.net>
15547         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
15548         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
15549         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
15550         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
15552         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
15553         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
15554         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
15555         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
15556         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
15557         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
15558         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
15559         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
15560         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
15561         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
15562         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
15563         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
15564         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
15565         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
15566         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
15567         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
15568         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
15569         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
15570         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
15571         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
15572         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
15573         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
15574         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
15575         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
15576         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
15577         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
15578         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
15579         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
15580         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
15581         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
15582         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
15583         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
15584         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
15585         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
15586         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
15587         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
15588         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
15589         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
15590         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
15591         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
15592         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
15593         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
15594         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
15595         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
15596         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
15597         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
15598         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
15599         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
15600         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
15601         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
15602         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
15603         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
15604         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
15605         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
15606         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
15607         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
15609         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
15610         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
15611         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
15612         before exiting on error.
15613         (__libc_vfork): New strong alias.
15614         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
15615         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
15617         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
15618         that was previously under [RESET_PID].
15619         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
15621         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
15623 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
15625         [BZ #16977]
15626         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
15627         value when x - 1 is zero.
15628         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
15629         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
15630         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
15631         0.0L for an argument of 1.0L.
15632         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
15633         Likewise.
15634         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
15635         value when x - 1 is zero.
15636         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
15637         * sysdeps/i386/fpu/libm-test-ulps: Update.
15638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15640 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
15642         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
15643         alphasort and versionsort.
15645 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15647         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
15648         macro.
15649         [copysignf]: Likewise.
15651 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15653         * crypt/md5-crypt.c: Fix formatting.
15655 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15657         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
15658         (b64_from_24bit): New function.
15660 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15662         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
15663         libc_hidden_builtin_def to ifunc.
15664         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15665         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
15667 2014-05-21  Roland McGrath  <roland@hack.frob.com>
15669         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
15670         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
15672 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
15674         * nscd/Depend (linuxthreads): Remove.
15675         (nptl): Add.
15676         * resolv/Depend (linuxthreads): Remove.
15677         * rt/Depend (linuxthreads): Remove.
15679         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
15680         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
15681         $(common-objpfx)elf/.
15682         (link-libc-before-gnulib): Likewise.
15683         (elfobjdir): Remove variable.
15684         * Makefile (install): Use $(elf-objpfx) instead of
15685         $(common-objpfx)elf/.
15686         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
15687         $(elfobjdir)/.
15688         (link-libc-deps): Likewise.
15689         ($(common-objpfx)libc.so): Likewise.
15690         ($(common-objpfx)linkobj/libc.so): Likewise.
15691         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
15692         instead of $(common-objpfx)elf/.
15693         (symbolic-link-list): Likewise.
15694         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15695         [$(cross-compiling) = no]: Likewise.
15696         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
15697         $(elfobjdir)/.
15698         (static-gnulib-arch): Likewise.
15699         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15700         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
15701         $(common-objpfx)elf/.
15703 2014-05-21  Richard Henderson  <rth@redhat.com>
15705         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15706         (SINGLE_THREAD_P): Use the correct width load.  Fold
15707         into the ldr offset.
15709         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
15710         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
15712 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
15714         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
15715         (libgcc_s_resume): Use __attribute_used__.
15716         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
15717         Likewise.
15719 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15721         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
15722         optimization when used with float constants.
15724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15726 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
15728         [BZ #16915]
15729         * locale/nl_langinfo_l.c: Make direct reference to every
15730         _nl_current_CATEGORY symbol.
15731         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
15732         (tests-static): Add tst-langinfo-static.
15733         (tests-special): Add tst-langinfo-static.out.
15734         ($(objpfx)tst-langinfo.out): Redirect output.
15735         ($(objpfx)tst-langinfo-static.out): New.
15736         * localedata/tst-langinfo.sh: Send output to stdout.
15737         * localedata/tst-langinfo-static.c: New file.
15739         [BZ #16965]
15740         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
15741         when the shift amount is modulo the limb size.
15743 2014-05-20  Richard Henderson  <rth@redhat.com>
15745         [BZ #16967]
15746         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
15747         Change type of sa_flags from unsigned int to int.
15749         [BZ #16966]
15750         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
15752         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
15754 2014-05-20  Will Newton  <will.newton@linaro.org>
15756         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15757         Test the return value of the system call in the nocancel case.
15759 2014-05-20  Will Newton  <will.newton@linaro.org>
15760             Yvan Roux  <yvan.roux@linaro.org>
15762         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
15763         #include of asm/ptrace.h.
15764         (PTRACE_GET_THREAD_AREA): Remove #undef.
15765         (PTRACE_GETHBPREGS): Likewise.
15766         (PTRACE_SETHBPREGS): Likewise.
15767         (struct user_regs_struct): New structure.
15768         (struct user_fpsimd_struct): New structure.
15769         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
15770         #include of asm/ptrace.h and second #include of sys/user.h.
15771         (PTRACE_GET_THREAD_AREA): Remove #undef.
15772         (PTRACE_GETHBPREGS): Likewise.
15773         (PTRACE_SETHBPREGS): Likewise.
15774         (ELF_NGREG): Use new struct user_regs_struct.
15775         (elf_fpregset_t): Use new struct user_fpsimd_struct.
15777 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15779         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
15780         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
15782 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
15784         [BZ #16958]
15785         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
15786         membar to avoid block loads/stores to overlap previous stores.
15788 2014-05-17  Richard Henderson  <rth@redhat.com>
15790         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
15791         Create the __##syscall_name##_nocancel entry point.
15792         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
15793         Remove; let the sysdep-cancel.h code create it.
15795 2014-05-17  David S. Miller  <davem@davemloft.net>
15797         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
15798         Protect with __USE_GNU.
15799         (TIOCSET_TEMPT): Likewise.
15800         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15801         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
15802         these are already provided in bits/ioctl-types.h
15804 2014-05-16  Roland McGrath  <roland@hack.frob.com>
15806         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
15807         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
15809         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
15810         Use wait4 regardless of [__NR_waitpid].
15812 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
15814         PR libgcc/60166
15815         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15816         (_FP_NANSIGN_Q): Set the quiet bit.
15818 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
15820         * benchtests/Makefile
15821         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
15822         not $(common-objpfx)math/libm.so.
15823         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
15824         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
15825         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
15826         $(common-objpfx)dlfcn/libdl.so.
15827         ($(objpfx)tst-audit8): Depend on $(libm), not
15828         $(common-objpfx)math/libm.so.
15829         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
15830         not $(common-objpfx)dlfcn/libdl.so.
15831         * math/Makefile
15832         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15833         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
15834         [$(build-shared) = yes].
15835         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
15836         $(common-objpfx)nptl/libpthread.so.
15837         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
15838         $(common-objpfx)math/libm.so$(libm.so-version) or
15839         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
15840         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
15841         $(common-objpfx)dlfcn/libdl.so.
15842         * setjmp/Makefile (link-libm): Remove variable.
15843         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
15844         * stdio-common/Makefile (link-libm): Remove variable.
15845         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
15846         * stdlib/Makefile (link-libm): Remove variable.
15847         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
15848         ($(objpfx)tst-strtod-round): Likewise.
15849         ($(objpfx)tst-tininess): Likewise.
15850         ($(objpfx)tst-strtod-underflow): Likewise.
15851         ($(objpfx)tst-strtod6): Likewise.
15852         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
15853         $(libdl), not $(common-objpfx)nptl/libpthread.so and
15854         $(common-objpfx)dlfcn/libdl.so.
15856 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15858         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
15859         BSD terminal modes definitions.
15861 2014-05-16  Roland McGrath  <roland@hack.frob.com>
15863         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
15864         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
15866         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
15867         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
15868         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
15869         Don't do #include_next.
15870         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
15871         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
15872         Don't do #include_next.
15873         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
15874         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
15875         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
15876         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
15878 2014-05-16  Allan McRae  <allan@archlinux.org>
15880         * po/sv.po: Update Swedish translation from translation project.
15882         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
15883         in sed expression.
15885 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
15887         [BZ #16917]
15888         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
15889         errno if the TIOCGPTN ioctl fails with an error different than
15890         EINVAL.
15891         * login/tst-ptsname.c: New file.
15892         * login/Makefile (tests): Add tst-ptsname.
15894         [BZ #16943]
15895         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
15896         and prlimit64.
15898 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15900         [BZ #16849]
15901         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
15902         herrno to return EAI_AGAIN.
15904 2014-05-14  Roland McGrath  <roland@hack.frob.com>
15906         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
15907         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
15908         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
15909         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
15910         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
15911         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
15912         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
15913         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
15914         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
15915         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
15916         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
15917         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
15918         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
15919         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
15920         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
15921         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
15922         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
15923         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
15924         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
15925         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
15926         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
15927         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
15928         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
15929         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
15930         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
15931         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
15932         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
15933         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
15934         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
15935         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
15936         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
15937         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
15938         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
15939         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
15940         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15941         Moved ...
15942         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
15943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
15944         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
15945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
15946         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
15947         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
15948         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
15949         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
15950         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
15951         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
15952         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
15953         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
15954         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
15955         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
15956         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
15957         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
15958         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
15959         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
15960         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
15961         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
15962         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
15963         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
15964         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
15965         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
15966         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
15967         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
15968         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
15969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15970         Moved ...
15971         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
15972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
15973         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
15974         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
15975         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
15976         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
15977         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
15978         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
15979         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
15980         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
15981         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
15982         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
15983         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
15984         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
15985         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
15986         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
15987         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
15988         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
15989         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
15990         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15991         Moved ...
15992         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
15993         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
15994         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
15996         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
15997         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
15998         (libpthread-sysdep_routines): Add elision-related stuff here instead.
15999         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
16000         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
16001         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
16002         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
16003         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
16004         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
16005         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
16006         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
16007         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
16008         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
16009         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
16010         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
16011         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
16012         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
16013         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
16014         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
16015         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
16016         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
16017         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
16018         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
16019         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
16020         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
16021         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
16022         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
16023         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
16024         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
16025         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
16026         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
16028         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
16029         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
16031         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
16032         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
16033         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
16034         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
16035         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
16036         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
16037         Moved ...
16038         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
16039         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16040         Moved ...
16041         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
16042         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16043         Moved ...
16044         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
16045         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
16046         Moved ...
16047         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
16048         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
16049         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
16050         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16051         Moved ...
16052         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
16053         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
16054         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
16055         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
16056         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
16057         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
16058         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
16059         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16060         Moved ...
16061         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
16062         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16063         Moved ...
16064         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16065         ... here.
16066         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
16067         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
16068         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
16069         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
16070         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16071         Moved ...
16072         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16073         ... here.
16074         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
16075         Moved ...
16076         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
16077         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
16078         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
16079         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
16080         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
16081         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
16082         Moved ...
16083         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
16084         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
16085         Moved ...
16086         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
16087         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
16088         Moved ...
16089         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
16090         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
16091         Moved ...
16092         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
16093         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
16094         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
16095         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
16096         Moved ...
16097         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
16098         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
16099         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
16100         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
16101         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
16102         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
16103         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
16104         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16105         Moved ...
16106         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
16107         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16108         Moved ...
16109         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16110         ... here.
16111         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
16112         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
16113         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
16114         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
16115         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16116         Moved ...
16117         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16118         ... here.
16119         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
16120         Moved ...
16121         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
16122         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
16123         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
16124         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
16125         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
16126         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
16127         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
16128         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
16129         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
16130         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
16131         Moved ...
16132         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
16133         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16134         Moved ...
16135         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
16136         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16137         Moved ...
16138         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
16139         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
16140         Moved ...
16141         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
16142         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
16143         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
16144         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
16145         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
16146         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16147         Moved ...
16148         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
16149         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
16150         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
16151         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
16152         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
16153         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
16154         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
16155         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16156         Moved ...
16157         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
16158         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16159         Moved ...
16160         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16161         ... here.
16162         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
16163         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
16164         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
16165         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
16166         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16167         Moved ...
16168         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16169         ... here.
16170         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
16171         Moved ...
16172         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
16173         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
16174         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
16175         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
16176         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
16177         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
16178         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
16179         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
16180         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
16181         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
16182         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
16184         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
16185         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
16187         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
16188         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
16190         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
16191         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
16192         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
16193         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
16194         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
16195         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
16196         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
16197         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
16198         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
16199         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
16200         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
16201         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
16202         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
16203         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
16204         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
16205         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
16206         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
16207         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
16208         Moved ...
16209         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
16210         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
16211         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
16212         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
16213         Moved ...
16214         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
16215         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
16216         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
16217         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
16218         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
16219         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
16220         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
16221         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
16222         Moved ...
16223         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
16224         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
16225         Moved ...
16226         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
16227         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
16228         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
16229         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
16230         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
16231         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
16232         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
16233         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
16234         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
16235         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
16236         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
16237         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
16238         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
16239         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
16240         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
16241         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
16242         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
16244         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
16245         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
16246         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
16247         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
16248         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
16250         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
16251         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
16252         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
16253         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
16254         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
16255         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
16256         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
16257         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
16258         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
16259         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
16261         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
16262         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
16264         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
16265         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
16266         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
16267         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
16268         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
16269         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
16270         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
16271         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
16272         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
16273         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
16274         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
16275         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
16276         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
16277         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
16278         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
16279         Update #include.
16280         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
16281         Likewise.
16282         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16283         Likewise.
16284         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16285         Likewise.
16286         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16287         Likewise.
16288         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
16289         Likewise.
16290         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
16291         Likewise.
16292         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16293         Likewise.
16294         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
16295         Likewise.
16296         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
16297         Likewise.
16298         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
16299         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
16300         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
16301         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
16302         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
16303         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
16304         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
16305         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
16306         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
16307         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
16308         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
16309         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
16310         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
16311         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
16312         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
16314         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
16315         that was previously under [RESET_PID].
16316         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16317         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
16318         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
16320         * sysdeps/i386/nptl/Implies: New file.
16321         * sysdeps/x86_64/nptl/Implies: New file.
16322         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
16323         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
16324         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
16325         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
16327         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
16328         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16329         (__libc_vfork): New strong alias.
16330         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
16331         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
16333         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
16334         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16335         (__libc_vfork): New strong alias.
16336         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
16337         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
16339         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
16340         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16341         (__libc_vfork): New strong alias.
16342         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
16343         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
16344         * nptl/pt-vfork.c: New file.
16345         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
16346         (libpthread: GLIBC_2.20): New version set (empty).
16348 2014-05-14  Will Newton  <will.newton@linaro.org>
16350         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
16351         rather than #if.
16353 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
16355         [BZ #16564]
16356         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
16357         arguments with exponent 65 or above.
16358         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
16359         arguments 0x1p113L or above.
16360         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
16361         to arguments 0x1p107L or above.
16362         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
16363         positive arguments with exponent 65 or above.
16364         * math/auto-libm-test-in: Add more tests of log1p.
16365         * math/auto-libm-test-out: Regenerated.
16367         [BZ #16928]
16368         * math/s_cacos.c (__cacos): Ensure zero real part of result from
16369         non-finite arguments is +0.
16370         * math/s_cacosf.c (__cacosf): Likewise.
16371         * math/s_cacosl.c (__cacosl): Likewise.
16372         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
16373         * sysdeps/i386/fpu/libm-test-ulps: Update.
16374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16376         [BZ #16927]
16377         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
16378         value.
16379         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16380         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
16381         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
16382         for explicit high bit of mantissa when testing for argument equal
16383         to 1.
16384         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
16385         * sysdeps/i386/fpu/libm-test-ulps: Update.
16386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16388         [BZ #16516]
16389         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
16390         (__erf): Scale by 16 instead of 8 in potentially underflowing
16391         case.  Ensure exception if result actually underflows.
16392         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
16393         (__erff): Scale by 16 instead of 8 in potentially underflowing
16394         case.  Ensure exception if result actually underflows.
16395         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
16396         (efx8): Remove variable.
16397         (__erfl): Scale by 16 instead of 8 in potentially underflowing
16398         case.  Ensure exception if result actually underflows.
16399         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
16400         (efx8): Remove variable.
16401         (__erfl): Scale by 16 instead of 8 in potentially underflowing
16402         case.  Ensure exception if result actually underflows.
16403         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
16404         (efx8): Remove variable.
16405         (__erfl): Scale by 16 instead of 8 in potentially underflowing
16406         case.  Ensure exception if result actually underflows.
16407         * math/auto-libm-test-in: Add more tests of erf.
16408         * math/auto-libm-test-out: Regenerated.
16410 2014-05-14  Andreas Schwab  <schwab@suse.de>
16412         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
16413         Remove code conditionalized on USE___THREAD.
16415         * config.h.in (HAVE_PT_CHOWN): Define as 0.
16416         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
16417         not definedness.
16419 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
16421         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
16422         Define unconditionally.
16423         (__ASSUME_O_CLOEXEC): Likewise.
16424         (__ASSUME_SOCK_CLOEXEC): Likewise.
16425         (__ASSUME_IN_NONBLOCK): Likewise.
16426         (__ASSUME_PIPE2): Likewise.
16427         (__ASSUME_EVENTFD2): Likewise.
16428         (__ASSUME_SIGNALFD4): Likewise.
16429         (__ASSUME_DUP3): Likewise.
16430         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16431         (__ASSUME_DUP3): Do not define.
16432         (__ASSUME_EVENTFD2): Likewise.
16433         (__ASSUME_IN_NONBLOCK): Likewise.
16434         (__ASSUME_O_CLOEXEC): Likewise.
16435         (__ASSUME_PIPE2): Likewise.
16436         (__ASSUME_SIGNALFD4): Likewise.
16437         (__ASSUME_SOCK_CLOEXEC): Likewise.
16438         (__ASSUME_UTIMES): Undefine.
16439         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16440         (__ASSUME_UTIMES): Do not define.
16441         (__ASSUME_O_CLOEXEC): Likewise.
16442         (__ASSUME_SOCK_CLOEXEC): Likewise.
16443         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
16444         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
16445         0x020621].
16446         (__ASSUME_PIPE2): Likewise.
16447         (__ASSUME_EVENTFD2): Likewise.
16448         (__ASSUME_SIGNALFD4): Likewise.
16449         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
16450         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
16451         Do not define.
16452         (__ASSUME_EVENTFD2): Likewise.
16453         (__ASSUME_SIGNALFD4): Likewise.
16454         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16455         (__ASSUME_32BITUIDS): Likewise.
16456         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16457         (__ASSUME_IPC64): Likewise.
16458         (__ASSUME_ST_INO_64_BIT): Likewise.
16459         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
16460         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
16461         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16462         (__ASSUME_UTIMES): Do not define.
16463         (__ASSUME_PSELECT): Likewise.
16464         (__ASSUME_PPOLL): Likewise.
16465         (__ASSUME_O_CLOEXEC): Likewise.
16466         (__ASSUME_SOCK_CLOEXEC): Likewise.
16467         (__ASSUME_IN_NONBLOCK): Likewise.
16468         (__ASSUME_PIPE2): Likewise.
16469         (__ASSUME_EVENTFD2): Likewise.
16470         (__ASSUME_SIGNALFD4): Likewise.
16471         (__ASSUME_DUP3): Likewise.
16472         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16473         (__ASSUME_UTIMES): Likewise.
16474         (__ASSUME_O_CLOEXEC): Likewise.
16475         (__ASSUME_SOCK_CLOEXEC): Likewise.
16476         (__ASSUME_IN_NONBLOCK): Likewise.
16477         (__ASSUME_PIPE2): Likewise.
16478         (__ASSUME_EVENTFD2): Likewise.
16479         (__ASSUME_SIGNALFD4): Likewise.
16480         (__ASSUME_DUP3): Likewise.
16481         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16482         (__ASSUME_UTIMES): Likewise.
16483         (__ASSUME_O_CLOEXEC): Likewise.
16484         (__ASSUME_SOCK_CLOEXEC): Likewise.
16485         (__ASSUME_IN_NONBLOCK): Likewise.
16486         (__ASSUME_PIPE2): Likewise.
16487         (__ASSUME_EVENTFD2): Likewise.
16488         (__ASSUME_SIGNALFD4): Likewise.
16489         (__ASSUME_DUP3): Likewise.
16490         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
16491         Likewise.
16492         (__ASSUME_UTIMES): Likewise.
16493         (__ASSUME_EVENTFD2): Likewise.
16494         (__ASSUME_SIGNALFD4): Likewise.
16495         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16496         (__ASSUME_O_CLOEXEC): Likewise.
16497         (__ASSUME_SOCK_CLOEXEC): Likewise.
16498         (__ASSUME_IN_NONBLOCK): Likewise.
16499         (__ASSUME_PIPE2): Likewise.
16500         (__ASSUME_EVENTFD2): Likewise.
16501         (__ASSUME_SIGNALFD4): Likewise.
16502         (__ASSUME_DUP3): Likewise.
16503         (__ASSUME_UTIMES): Undefine.
16505         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
16506         feclearexcept.  Remove symbol versioning code.
16507         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
16508         symbol versioning code.
16509         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
16510         symbol versioning code.
16511         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
16512         feupdateenv.  Remove symbol versioning code.
16513         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
16514         fegetexceptflag.  Remove symbol versioning code.
16515         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
16516         fesetexceptflag.  Remove symbol versioning code.
16517         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
16518         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
16519         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
16520         (__posix_fadvise64_l32): Remove prototype.
16521         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
16522         code.
16524 2014-05-13  Roland McGrath  <roland@hack.frob.com>
16526         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
16527         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
16528         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
16529         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
16531 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
16533         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
16534         current working directory
16536 2014-05-13  Roland McGrath  <roland@hack.frob.com>
16538         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
16539         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
16540         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
16541         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
16542         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
16543         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
16544         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
16545         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
16546         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
16547         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
16548         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
16549         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
16550         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
16551         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
16552         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
16553         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
16554         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
16555         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
16556         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
16557         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
16558         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
16559         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
16560         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
16561         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
16562         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
16563         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
16564         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
16565         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
16566         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
16567         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
16568         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
16569         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
16570         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
16571         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
16572         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
16573         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
16574         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
16575         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
16576         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
16577         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
16578         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
16579         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
16581         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
16582         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
16584         * sysdeps/unix/sysv/linux/arm/Makefile
16585         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16586         Add rt-aeabi_unwind_cpp_pr1.
16587         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
16588         Add nptl-aeabi_unwind_cpp_pr1.
16589         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
16590         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
16591         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
16592         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16593         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
16594         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16596         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
16597         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
16598         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
16599         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
16601         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
16602         Deconditionalize the code that was previously under [RESET_PID].
16603         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
16605         * sysdeps/generic/exit-thread.h: New file.
16606         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
16607         * include/unistd.h (__exit_thread): Remove declaration.
16608         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
16609         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
16610         * csu/libc-start.c: Include <exit-thread.h>.
16611         (LIBC_START_MAIN): Pass no argument to __exit_thread.
16612         * nptl/pthread_create.c: Include <exit-thread.h>.
16613         (start_thread): Call __exit_thread in place of __exit_thread_inline.
16614         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
16615         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
16616         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
16617         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
16618         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
16619         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
16620         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
16621         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
16622         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
16623         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
16624         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
16625         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
16626         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
16627         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
16628         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
16629         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
16631 2014-05-13  Andreas Schwab  <schwab@suse.de>
16633         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
16635 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
16637         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16638         (__ASSUME_UTIMES): Do not condition on kernel version.
16639         (__ASSUME_PSELECT): Define unconditionally.
16640         (__ASSUME_PPOLL): Likewise.
16641         (__ASSUME_ATFCTS): Likewise.
16642         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
16643         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
16644         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
16645         (__ASSUME_UTIMENSAT): Define unconditionally.
16646         (__ASSUME_PRIVATE_FUTEX): Likewise.
16647         (__ASSUME_FALLOCATE): Likewise.
16648         (__ASSUME_O_CLOEXEC): Likewise.
16649         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
16650         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
16651         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
16652         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
16653         (__ASSUME_IN_NONBLOCK): Likewise.
16654         (__ASSUME_PIPE2): Likewise.
16655         (__ASSUME_EVENTFD2): Likewise.
16656         (__ASSUME_SIGNALFD4): Likewise.
16657         (__ASSUME_DUP3): Likewise.
16658         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16659         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
16660         (__ASSUME_AT_RANDOM): Likewise.
16661         (__ASSUME_PREADV): Likewise.
16662         (__ASSUME_PWRITEV): Likewise.
16663         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
16664         (__ASSUME_F_GETOWN_EX): Define unconditionally.
16665         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
16666         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16667         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
16668         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16669         (__ASSUME_O_CLOEXEC): Define unconditionally.
16670         (__ASSUME_PSELECT): Do not undefine conditionally.
16671         (__ASSUME_PPOLL): Likewise.
16672         (__ASSUME_ATFCTS): Likewise.
16673         (__ASSUME_SET_ROBUST_LIST): Likewise.
16674         (__ASSUME_UTIMENSAT): Likewise.
16675         (__ASSUME_FDATASYNC): Define unconditionally.
16676         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16677         (__ASSUME_SIGFRAME_V2): Likewise.
16678         )__ASSUME_EVENTFD2): Likewise.
16679         (__ASSUME_SIGNALFD4): Likewise.
16680         (__ASSUME_PSELECT): Do not undefine conditionally.
16681         (__ASSUME_PPOLL): Likewise.
16682         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16683         (__ASSUME_PSELECT): Define unconditionally.
16684         (__ASSUME_PPOLL): Likewise.
16685         (__ASSUME_O_CLOEXEC): Likewise.
16686         (__ASSUME_SOCK_CLOEXEC): Likewise.
16687         (__ASSUME_IN_NONBLOCK): Likewise.
16688         (__ASSUME_PIPE2): Likewise.
16689         (__ASSUME_EVENTFD2): Likewise.
16690         (__ASSUME_SIGNALFD4): Likewise.
16691         (__ASSUME_DUP3): Likewise.
16692         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16693         (__ASSUME_O_CLOEXEC): Likewise.
16694         (__ASSUME_SOCK_CLOEXEC): Likewise.
16695         (__ASSUME_IN_NONBLOCK): Likewise.
16696         (__ASSUME_PIPE2): Likewise.
16697         (__ASSUME_EVENTFD2): Likewise.
16698         (__ASSUME_SIGNALFD4): Likewise.
16699         (__ASSUME_DUP3): Likewise.
16700         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16701         (__ASSUME_EVENTFD2): Likewise.
16702         (__ASSUME_SIGNALFD4): Likewise.
16703         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16705 2014-05-12  Andreas Schwab  <schwab@suse.de>
16707         [BZ #16932]
16708         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
16709         (_nss_nis_gethostbyname4_r): Return error if item length is larger
16710         than maximum RPC packet size.
16711         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
16712         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
16713         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
16714         (_nss_nis_getservbyport_r): Likewise.
16716 2014-05-12  Will Newton  <will.newton@linaro.org>
16718         * malloc/Makefile (tests): Add tst-mallopt.
16719         * malloc/tst-mallopt.c: New file.
16721 2014-05-09  Roland McGrath  <roland@hack.frob.com>
16723         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
16724         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
16726 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16728         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
16729         (tst-tlsmod6.so): Likewise.
16731 2014-05-09  Roland McGrath  <roland@hack.frob.com>
16733         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
16735 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
16737         [BZ #16064]
16738         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
16739         and <dl-procinfo.h>.
16740         (__fegetenv): Save SSE state in envp->__eip if supported.
16741         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
16742         envp->__eip if supported.
16743         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
16744         and <dl-procinfo.h>.
16745         (__fesetenv): Always set __eip, __cs_selector, __opcode,
16746         __data_offset and __data_selector in environment to 0.  Set SSE
16747         state if supported.
16748         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16749         test-fenv-sse.
16750         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
16751         -mfpmath=sse.
16752         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
16754 2014-05-09  Will Newton  <will.newton@linaro.org>
16756         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
16757         and libc_relro_required for ARM.
16758         * sysdeps/arm/preconfigure: Regenerate.
16760 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
16761             Stefan Liebler  <stli@linux.vnet.ibm.com>
16763         * config.make.in (enable-lock-elision): New Makefile variable.
16764         * configure.ac: Likewise.
16765         * configure: Regenerate.
16766         * sysdeps/s390/configure.ac:
16767         Add check for gcc transactions support.
16768         * sysdeps/s390/configure: Regenerate.
16769         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
16770         Build elision files if enabled.
16771         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
16772         Add lock elision support for s390.
16773         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
16774         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
16775         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
16776         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
16777         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
16778         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
16779         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16780         Likewise.
16781         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
16782         Likewise.
16783         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
16784         Likewise.
16785         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
16786         Likewise.
16787         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
16788         (__lll_timedlock_elision, __lll_lock_elision)
16789         (__lll_unlock_elision, __lll_trylock_elision)
16790         (lll_timedlock_elision, lll_lock_elision)
16791         (lll_unlock_elision, lll_trylock_elision): Add.
16792         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16793         (pthread_mutex_t): Add lock elision support for s390.
16795 2014-05-14  Wilco  <wdijkstr@arm.com>
16797         * sysdeps/arm/fclrexcpt.c: Cleanup.
16798         * sysdeps/arm/fedisblxcpt.c: Cleanup.
16799         * sysdeps/arm/feenablxcpt.c: Cleanup.
16800         * sysdeps/arm/fegetenv.c: Cleanup.
16801         * sysdeps/arm/fegetexcept.c: Cleanup.
16802         * sysdeps/arm/fegetround.c: Cleanup.
16803         * sysdeps/arm/feholdexcpt.c: Cleanup.
16804         * sysdeps/arm/fesetenv.c: Cleanup.
16805         * sysdeps/arm/fesetround.c: Cleanup.
16806         * sysdeps/arm/feupdateenv.c: Cleanup.
16807         * sysdeps/arm/fgetexcptflg.c: Cleanup.
16808         * sysdeps/arm/fraiseexcpt.c: Cleanup.
16809         * sysdeps/arm/fsetexcptflg.c: Cleanup.
16810         * sysdeps/arm/ftestexcept.c: Cleanup.
16811         * sysdeps/arm/get-rounding-mode.h: Cleanup.
16812         * sysdeps/arm/setfpucw.c: Cleanup.
16814 2014-05-09  Will Newton  <will.newton@linaro.org>
16816         * sysdeps/arm/armv7/strcmp.S: New file.
16817         * NEWS: Mention addition of ARMv7 optimized strcmp.
16819 2014-05-08  Roland McGrath  <roland@hack.frob.com>
16821         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
16822         look for %.ac rather than %.in.
16824         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
16825         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
16826         * sysdeps/mach/hurd/configure: Regenerated.
16827         * sysdeps/unix/sysv/linux/configure: Regenerated.
16829         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
16831 2014-05-07  Steve Ellcey  <sellcey@mips.com>
16833         [BZ# 16922]
16834         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
16835         (LONG_SUB): Ditto.
16836         (PTR_SUB): Ditto.
16838 2014-05-07  Andreas Schwab  <schwab@suse.de>
16840         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
16841         when skipping over non-matching result from nscd.
16843 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
16845         [BZ #16876]
16846         * nptl/sockperf.c (client): Check socket return value.
16848         [BZ #16877]
16849         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
16850         nscd security class.
16852 2014-05-06  Roland McGrath  <roland@hack.frob.com>
16854         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
16855         * sysdeps/arm/unwind.h: ... here.
16857 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
16859         [BZ# 16916]
16860         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
16861         Define.
16863 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16865         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
16866         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
16867         multiarch strncpy for PPC64.
16868         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
16869         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
16870         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
16871         multiarch optimizations.
16872         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16873         (__libc_ifunc_impl_list): Likewise.
16874         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
16875         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
16876         multiarch stpncpy for PPC64.
16877         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
16878         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
16880 2014-05-06  Andreas Schwab  <schwab@suse.de>
16882         [BZ #16912]
16883         * gmon/mcount.c (_MCOUNT_DECL): Use
16884         atomic_compare_and_exchange_bool_acq instead of
16885         catomic_compare_and_exchange_bool_acq.
16887 2014-05-05  Roland McGrath  <roland@hack.frob.com>
16889         * elf/Makefile (others, install-bin): Remove pldd.
16890         (pldd-modules): Variable removed.
16891         ($(objpfx)pldd): Target removed.
16892         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
16893         (others, install-bin): Append pldd here.
16894         ($(objpfx)pldd): New target.
16896         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
16897         to 0, so the first #if test emitted later doesn't see it undefined.
16898         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
16899         * sysdeps/gnu/errlist.c: Regenerated.
16901 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16903         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16904         [libc_hidden_builtin_def]: Define to empty value.
16905         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
16906         [libc_hidden_builtin_def]: Likewise.
16907         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
16908         [libc_hidden_builtin_def]: Likewise.
16909         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
16910         [libc_hidden_builtin_def]: Likewise.
16911         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
16912         __redirect_memcpy and define ifunc as default hidden symbol.
16913         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
16914         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
16916 2014-05-04  Adam Conrad  <adconrad@0c3.net>
16918         * locale/iso-4217.def: Reintroduce XDR currency.
16920 2014-05-04  Allan McRae  <allan@archlinux.org>
16922         * po/eo.po: Update Esperanto translation from translation project.
16924 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
16926         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
16927         and FEATURE_INDEX_MAX to 1.
16928         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
16930 2014-05-01  Steve Ellcey  <sellcey@mips.com>
16932         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
16933         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
16934         * iconvdata/big5.c (ONE_DIRECTION): Define.
16935         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
16936         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
16937         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
16938         * iconvdata/cp932.c (ONE_DIRECTION): Define.
16939         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
16940         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
16941         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
16942         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
16943         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
16944         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
16945         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
16946         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
16947         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
16948         * iconvdata/gbk.c (ONE_DIRECTION): Define.
16949         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
16950         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
16951         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
16952         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
16953         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
16954         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
16955         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
16956         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
16957         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
16958         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
16959         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
16960         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
16961         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
16962         * iconvdata/iso646.c (ONE_DIRECTION): Define.
16963         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
16964         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
16965         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
16966         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
16967         * iconvdata/johab.c (ONE_DIRECTION): Define.
16968         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
16969         * iconvdata/sjis.c (ONE_DIRECTION): Define.
16970         * iconvdata/t.61.c (ONE_DIRECTION): Define.
16971         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
16972         * iconvdata/tscii.c (ONE_DIRECTION): Define.
16973         * iconvdata/uhc.c (ONE_DIRECTION): Define.
16974         * iconvdata/unicode.c (ONE_DIRECTION): Define.
16975         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
16976         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
16977         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
16979 2014-05-01  Roland McGrath  <roland@hack.frob.com>
16981         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
16982         (_IO_JUMPS_OFFSET): Define to 0.
16984         * nptl/sysdeps/pthread/bits/libc-lock.h
16985         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
16986         (__libc_lock_define_initialized_recursive): Always define using
16987         initializer.  Modern compilers treat uninitialized (implicit zero) and
16988         explicit zero initializers the same (i.e. put the datum in bss).
16990 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
16992         * nscd/nscd-client.h: Include <string.h>.
16994 2014-05-01  David S. Miller  <davem@davemloft.net>
16996         [BZ #16885]
16997         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
16998         multiple zero bytes exist at the end of a string.
16999         Reported by Aurelien Jarno <aurelien@aurel32.net>
17001         * string/test-strcmp.c (check): Add explicit test for situations where
17002         there are multiple zero bytes after the first.
17004 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
17006         [BZ #16890]
17007         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
17008         when compiling wprintf.
17009         * stdio-common/tstdiomisc.c (t3): New function.
17010         (main): Call it.
17012 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17014         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
17015         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
17016         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
17017         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
17019 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17021         * stdlib/longlong.h: Updated from GCC.
17023 2014-05-01  Will Newton  <will.newton@linaro.org>
17024             Bernard Ogden  <bernie.ogden@linaro.org>
17026         * NEWS: Update fixed bug list.
17028         [BZ #15119]
17029         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
17031 2014-04-30  David S. Miller  <davem@davemloft.net>
17033         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
17034         (libc_feholdexcept_setround_sparc_ctx): New function.
17035         (libc_fesetenv_sparc_ctx): Likewise.
17036         (libc_feupdateenv_sparc_ctx): Likewise.
17037         (libc_feholdsetround_sparc_ctx): Likewise.
17038         (libc_feholdexcept_setround_ctx): Define.
17039         (libc_feholdexcept_setroundf_ctx): Likewise.
17040         (libc_feholdexcept_setroundl_ctx): Likewise.
17041         (libc_fesetenv_ctx): Likewise.
17042         (libc_fesetenvf_ctx): Likewise.
17043         (libc_fesetenvl_ctx): Likewise.
17044         (libc_feupdateenv_ctx): Likewise.
17045         (libc_feupdateenvf_ctx): Likewise.
17046         (libc_feupdateenvl_ctx): Likewise.
17047         (libc_feresetround_ctx): Likewise.
17048         (libc_feresetroundf_ctx): Likewise.
17049         (libc_feresetroundl_ctx): Likewise.
17050         (libc_feholdsetround_ctx): Likewise.
17051         (libc_feholdsetroundf_ctx): Likewise.
17052         (libc_feholdsetroundl_ctx): Likewise.
17054         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17055         with __USE_GNU instead of XOPEN cpp guards.
17057         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
17058         0.
17060         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17061         with XOPEN cpp guards.
17063 2014-04-30  Julian Brown  <julian@codesourcery.com>
17065         [BZ #16888]
17066         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
17067         handling.
17069 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
17071         [BZ #9894]
17072         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17073         Change to 2.6.32.
17074         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
17075         * sysdeps/unix/sysv/linux/configure: Regenerated.
17076         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
17077         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
17078         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
17079         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
17080         * README: Update reference to required Linux kernel version.
17081         * manual/install.texi (Linux): Update reference to required Linux
17082         kernel headers version.
17083         * INSTALL: Regenerated.
17085         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
17086         header inclusion.
17087         [POSIX] (limits.h): Likewise.
17088         [POSIX] (math.h): Likewise.
17089         [POSIX] (sys/wait.h): Likewise.
17090         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
17091         function.
17092         [POSIX] (stddef.h): Do not allow header inclusion.
17094 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17096         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
17098 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
17100         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17101         Return immediately after lll_futex_wake.
17103 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17105         [BZ #16791]
17106         * nscd/nscd-client.h (datahead_init_common): Initialize entire
17107         structure.
17108         (datahead_init_pos): Call datahead_init_common early.
17109         (datahead_init_neg): Likewise.
17111         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
17112         datahead_init_neg): New functions.
17113         * nscd/aicache.c (addhstaiX): Use them.
17114         * nscd/grpcache.c (cache_addgr): Likewise.
17115         * nscd/hstcache.c (cache_addhst): Likewise.
17116         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17117         * nscd/netgroupcache.c (do_notfound): Likewise.
17118         (addgetnetgrentX): Likewise.
17119         (addinnetgrX): Likewise.
17120         * nscd/pwdcache.c (cache_addpw): Likewise.
17121         * nscd/servicescache.c (cache_addserv): Likewise.
17123 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17124             Atsushi Onoe  <atsushi@onoe.org>
17126         [BZ #14308]
17127         [BZ #12994]
17128         [BZ #13651]
17129         * resolv/res_query.c (__libc_res_nsearch): Return if at least
17130         one response is valid.
17131         * resolv/res_send.c (send_dg): Check for validity of other
17132         response if the current response is a referral.
17134 2014-04-29  Steve Ellcey  <sellcey@mips.com>
17136         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
17138 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
17140         [BZ #16823]
17141         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
17142         Always divide by positive zero when computing -Inf result.
17143         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17144         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17146 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17148         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
17149         FPSCR if value do not change.
17150         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17151         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
17152         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17153         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17154         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
17155         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
17156         function.
17158 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
17160         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
17161         * sysdeps/unix/sysv/linux/hppa: Move directory from
17162         ports/systeps/unix/sysv/linux/hppa.
17163         * README: Update listing for hppa-*-linux-gnu.
17165 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
17167         [BZ #16754]
17168         * manual/stdio.texi (Hook functions): Fix types of stream hook
17169         functions.
17170         [BZ #16854]
17171         * socket/sys/socket.h: Fix typo in comment.
17173 2014-04-28  Wilco  <wdijkstr@arm.com>
17175         * sysdeps/arm/fenv_private.h: New file.
17176         * sysdeps/arm/math_private.h: New file.
17177         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
17179 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
17181         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
17182         with __int128_t.
17183         (La_x86_64_retval): Likewise.
17185 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
17187         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
17188         fpsr if value didn't change.
17189         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
17190         to fpcr if value didn't change.
17191         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
17192         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
17193         fpsr or fpcr if value didn't change.
17194         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17195         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
17196         fpcr if value didn't change.
17197         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
17198         to fpsr if value didn't change.
17200 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17202         * nptl/tst-sem3.c: Use test-skeleton.c
17203         (main): Rename to do_test.  Use return instead of
17204         exit.
17205         * nptl/tst-sem4.c: Use test-skeleton.c
17206         (main): Rename to do_test.
17208 2014-04-22  David S. Miller  <davem@davemloft.net>
17210         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
17211         (struct sigaction): New struct member __glibc_reserved0, change
17212         type of sa_flags to int.
17214 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
17216         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
17217         (COUNT_LEADING_ZEROS_0): Define for AArch64.
17219 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17221         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
17222         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
17224 2014-04-22  Will Newton  <will.newton@linaro.org>
17225             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
17227         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
17228         (__longjmp): Add longjmp and longjmp_target SystemTap
17229         probes.
17230         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
17231         (__sigsetjmp): Add setjmp SystemTap probe.
17233 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
17235         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
17236         match manual order.
17238 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17240         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
17242         * sysdeps/powerpc/fpu/fenv_private.h
17243         (libc_feholdexcept_setroundl_ctx): Define to
17244         libc_feholdexcept_setround_ppc_ctx.
17245         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
17246         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
17247         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
17248         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
17250 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
17252         * sysdeps/aarch64/math-tests.h: New file.
17254 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
17256         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
17257         New.
17258         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17259         Check and set bit_AVX2_Usable.
17260         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
17261         macro.
17262         (bit_AVX2): Likewise.
17263         (index_AVX2_Usable): Likewise.
17264         (CPUID_AVX2): Likewise.
17265         (HAS_AVX2): Likewise.
17267 2014-04-17  Will Newton  <will.newton@linaro.org>
17269         * manual/setjmp.texi (System V contexts): Add note that
17270         calling setcontext on a context created by a call to a
17271         signal handler is undefined.  Update text to note that
17272         setcontext from a signal handler is possible but not
17273         recommended.
17275         [BZ #16629]
17276         * stdlib/tst-setcontext.c: Include signal.h.
17277         (main): Check that the signal stack before and
17278         after swapcontext is the same.
17280         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
17281         Re-implement to restore registers in user code and avoid
17282         rt_sigreturn system call.
17284 2014-04-17  Wilco  <wdijkstr@arm.com>
17286         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
17287         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
17288         * math/test-fenv.c: Skip exception trap tests on targets which only
17289         support non-stop mode.
17291 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
17292             Wilco Dijkstra  <wilco.dijkstra@arm.com>
17294         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
17295         (libc_feholdsetround_aarch64_ctx)
17296         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
17297         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
17298         (libc_feresetround_ctx, libc_feresetroundf_ctx)
17299         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
17300         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
17301         (libc_feresetround_noexl_ctx): Define.
17303 2014-04-16  Richard Henderson  <rth@redhat.com>
17305         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
17307         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
17308         unwind tables.
17310         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
17311         const from the non-libc, non-ldso copy.
17313         * sysdeps/alpha/libm-test-ulps: Regenerate.
17315 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
17316             Wilco Dijkstra  <wilco.dijkstra@arm.com>
17318         * sysdeps/aarch64/fpu/math_private.h: New file.
17320 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17322         * sysdeps/aarch64/libm-test-ulps: Regenerate.
17324 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
17326         [BZ #16275]
17327         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
17328         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
17329         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
17330         Intel MPX bound registers before _dl_profile_fixup.
17331         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
17332         registers after _dl_profile_fixup.  Save and restore bound
17333         registers bnd0/bnd1 when calling _dl_call_pltexit.
17334         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
17335         (LR_BND_OFFSET): Likewise.
17336         (LRV_BND0_OFFSET): Likewise.
17337         (LRV_BND1_OFFSET): Likewise.
17339 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17341         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
17342         to...
17343         * sysdeps/mach/hurd/i386/tls.h: ... here.
17344         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
17345         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
17346         fields.
17348 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17350         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
17352 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17354         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17356 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17358         [BZ #14770]
17359         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
17360         * sysdeps/s390/configure: Regenerate.
17362         [BZ #16824]
17363         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
17364         Set round-to-nearest internally to reduce error accumulation.
17366 2014-04-16  Alan Modra  <amodra@gmail.com>
17368         [BZ #16740]
17369         [BZ #16619]
17370         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
17371         * math/libm-test.inc (frexp_test_data): Add tests.
17372         * NEWS: Update fixed bug list.
17374 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17376         * benchtests/Makefile: Depend on libraries in build directory.
17377         (bench-math): Separate out math tests.
17378         (bench-pthread): Separate out pthread tests.
17379         (bench): Include math and pthread tests.
17381 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
17383         [BZ #16831]
17384         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
17385         _dl_debug_initialize.
17387         * configure.ac: Remove SELinux header check.
17388         * configure: Regenerate.
17389         * nscd/selinux.c (perms): Array of const char* to permission names.
17390         (nscd_request_avc_has_perm): Call security_deny_unknown to find
17391         default policy. Call string_to_security_class and string_to_av_perm to
17392         translate strings. Enforce default policy and call avs_has_perm with
17393         results of translated strings.
17395 2014-04-13  David S. Miller  <davem@davemloft.net>
17397         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17399 2014-04-12  Allan McRae  <allan@archlinux.org>
17401         [BZ #16838]
17402         * manual/string.texi (Collation Functions): Fix qsort argument
17403         order in example.
17404         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17406 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
17408         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
17409         Make the test a no-op if there are no exceptions defined.
17411 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17413         * elf/Makefile (tests): make tst-dlopen-aout conditional on
17414         enable-hardcoded-path-in-tests
17416 2014-04-11  Will Newton  <will.newton@linaro.org>
17418         * benchtests/Makefile (extra-objs): Add json-lib.o.
17419         (bench-func): Tidy up JSON output.
17420         * benchtests/bench-skeleton.c: Include json-lib.h.
17421         (main): Use JSON library functions to do output of
17422         benchmark results.
17423         * benchtests/bench-timing-type.c (main): Output the
17424         timing type simply, leaving formatting to the user.
17425         * benchtests/json-lib.c: New file.
17426         * benchtests/json-lib.h: Likewise.
17428 2014-04-11  Torvald Riegel  <triegel@redhat.com>
17430         [BZ #15215]
17431         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
17432         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
17433         memory barriers.  Add comments.
17434         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
17435         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
17436         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
17437         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
17438         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
17439         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
17441 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17443         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
17444         * sysdeps/s390/s390-64/configure.ac: ... this ...
17445         * sysdeps/s390/configure.ac: ... to here.
17446         * sysdeps/s390/s390-32/configure: Delete file.
17447         * sysdeps/s390/s390-64/configure: Delete file.
17448         * sysdeps/s390/configure: Regenerate.
17450 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
17452         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
17454 2014-04-11  Will Newton  <will.newton@linaro.org>
17456         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
17457         to zero if it is not defined elsewhere.  (mtrim): Test
17458         the value of MALLOC_DEBUG with #if rather than #ifdef.
17460 2014-04-10 Torvald Riegel  <triegel@redhat.com>
17462         * benchtests/pthread_once-inputs: New file.
17463         * benchtests/pthread_once-source.c: New file.
17464         * benchtests/README: Update documentation.
17466 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
17467             H.J. Lu  <hongjiu.lu@intel.com>
17469         [BZ #16275]
17470         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
17471         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
17472         * sysdeps/x86_64/configure: Regenerated.
17473         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
17474         macro.
17475         (REGISTER_SAVE_RAX): Likewise.
17476         (REGISTER_SAVE_RCX): Likewise.
17477         (REGISTER_SAVE_RDX): Likewise.
17478         (REGISTER_SAVE_RSI): Likewise.
17479         (REGISTER_SAVE_RDI): Likewise.
17480         (REGISTER_SAVE_R8): Likewise.
17481         (REGISTER_SAVE_R9): Likewise.
17482         (REGISTER_SAVE_BND0): Likewise.
17483         (REGISTER_SAVE_BND1): Likewise.
17484         (REGISTER_SAVE_BND2): Likewise.
17485         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
17486         bound registers when calling _dl_fixup.
17488 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17490         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
17491         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
17492         of its definition.
17493         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
17494         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
17495         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
17496         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
17497         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
17498         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
17499         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
17501 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
17503         [BZ #15514]
17504         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
17505         pathconf(_PC_NAME_MAX).
17507 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17509         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
17510         Remove macro usage.
17511         (__PTHREAD_SPINS): Move definition to ...
17512         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17513         (__PTHREAD_SPINS): ... here.
17514         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17515         (__PTHREAD_SPIN): Likewise.
17516         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
17517         (__PTHREAD_SPIN): Likewise.
17518         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
17519         (__PTHREAD_SPIN): Likewise.
17520         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
17521         (__PTHREAD_SPIN): Likewise.
17522         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17523         (__PTHREAD_SPIN): Likewise.
17524         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17525         (__PTHREAD_SPIN): Likewise.
17526         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
17527         (__PTHREAD_SPIN): Likewise.
17528         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17529         (__PTHREAD_SPIN): Likewise.
17530         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17531         (__PTHREAD_SPIN): Likewise.
17532         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17533         (__PTHREAD_SPIN): Likewise.
17534         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17535         (__PTHREAD_SPIN): Likewise.
17536         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
17537         (__PTHREAD_SPIN): Likewise.
17539         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
17540         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
17541         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
17542         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
17543         imply folder.
17544         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
17545         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
17546         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
17547         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
17548         correct imply path.
17549         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
17550         strlen symbol for non multi-arch builds.
17551         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
17552         missing hidden_def and weak_alias.
17554 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
17556         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
17558 2014-04-07  Will Newton  <will.newton@linaro.org>
17560         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
17561         and contents.  [!_LIBC] Remove #ifndef and contents.
17562         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
17563         * string/memccpy.c (__memccpy): Use ANSI prototype.
17564         * string/memfrob.c (memfrob): Likewise.
17565         * string/strcoll.c (STRCOLL): Likewise.
17566         * string/strlen.c (strlen): Likewise.
17567         * string/strtok.c (STRTOK): Likewise.
17568         * string/strcat.c: Remove unused #include of memcopy.h.
17569         (strcat): Use ANSI prototype.
17570         * string/strchr.c: Remove unused #include of memcopy.h.
17571         (strchr): Use ANSI prototype.
17572         * string/strcmp.c: Remove unused #include of memcopy.h.
17573         (strcmp): Use ANSI prototype.
17574         * string/strcpy.c: Remove unused #include of memcopy.h.
17575         (strcpy): Use ANSI prototype.
17577 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17579         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
17580         * config.make.in (config-extra-cppflags): Set it from
17581         libc_extra_cppflags.
17582         * configure.ac (libc_extra_cflags): Make it accumulate over
17583         configure fragments.
17584         (libc_extra_cppflags): New flag.
17585         * configure. Regenerate.
17586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
17587         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
17588         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
17589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17591         [BZ #16815]
17592         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
17593         result for FE_DOWNWARD rounding mode.
17594         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17595         Likewise.
17596         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17598 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
17600         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
17601         in function argument name.
17603 2014-04-03  David Svoboda  <svoboda@cert.org>
17605         [BZ #5666]
17606         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
17607         explicitly.
17609 2014-04-03  Roland McGrath  <roland@hack.frob.com>
17611         * elf/dl-unmap-segments.h: New file.
17612         * sysdeps/generic/ldsodefs.h
17613         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
17614         * elf/dl-close.c: Include <dl-unmap-segments.h>.
17615         * elf/dl-fptr.c: Likewise.
17616         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
17617         * sysdeps/aarch64/tlsdesc.c: Likewise.
17618         * sysdeps/arm/tlsdesc.c: Likewise.
17619         * sysdeps/i386/tlsdesc.c: Likewise.
17620         * sysdeps/tile/dl-runtime.c: Likewise.
17621         * sysdeps/x86_64/tlsdesc.c: Likewise.
17622         * elf/dl-load.h: New file.
17623         * elf/dl-load.c: Include it.
17624         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
17625         Macros moved to dl-load.h.
17626         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
17627         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
17628         Use _dl_unmap_segments in place of __munmap.
17629         Break out segment-mapping loop into ...
17630         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
17632 2014-04-03  Will Newton  <will.newton@linaro.org>
17634         * elf/dl-lookup.c (do_lookup_x): Remove comment
17635         referring to nested function and move variable
17636         declarations down to before first use.
17638 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
17640         [BZ #16799]
17641         [BZ #16800]
17642         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
17643         with 0 numerator.
17644         * math/s_catanf.c (__catanf): Likewise.
17645         * math/s_catanh.c (__catanh): Likewise.
17646         * math/s_catanhf.c (__catanhf): Likewise.
17647         * math/s_catanhl.c (__catanhl): Likewise.
17648         * math/s_catanl.c (__catanl): Likewise.
17649         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
17650         by positive zero when computing -Inf result.
17651         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
17652         (catanh_test): Likewise.
17653         * sysdeps/i386/fpu/libm-test-ulps: Update.
17654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17656         [BZ #16789]
17657         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
17658         instead of using underflowing value in computing result.
17659         * math/s_clog10.c (__clog10): Likewise.
17660         * math/s_clog10f.c (__clog10f): Likewise.
17661         * math/s_clog10l.c (__clog10l): Likewise.
17662         * math/s_clogf.c (__clogf): Likewise.
17663         * math/s_clogl.c (__clogl): Likewise.
17664         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
17665         (clog10_test): Likewise.
17666         * sysdeps/i386/fpu/libm-test-ulps: Update.
17667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17669 2014-04-02  Alan Modra  <amodra@gmail.com>
17671         [BZ #16739]
17672         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
17673         output when value is near a power of two.  Use int64_t for lx and
17674         remove casts.  Use decimal rather than hex exponent constants.
17675         Don't use long double multiplication when double will suffice.
17676         * math/libm-test.inc (nextafter_test_data): Add tests.
17677         * NEWS: Add 16739 and 16786 to bug list.
17679         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
17681         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
17683 2014-04-01  Will Newton  <will.newton@linaro.org>
17685         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
17686         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
17688 2014-04-01  Florian Weimer  <fweimer@redhat.com>
17690         [BZ #13347]
17691         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
17692         * nptl/tst-setuid2.c: New file.
17693         * nptl/Makefile (xtests): Add tst-setuid2.
17695 2014-04-01  Alan Modra  <amodra@gmail.com>
17697         [BZ #16786]
17698         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
17700 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
17702         [BZ #6803]
17703         [BZ #6804]
17704         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
17705         set errno as appropriate.
17706         * math/w_scalbf.c (__scalbf): Likewise.
17707         * math/w_scalbl.c (__scalbl): Likewise.
17708         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
17709         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
17710         * math/libm-test.inc (scalb_test_data): Add errno expectations.
17711         Add more NaN tests.
17713         [BZ #16349]
17714         * math/w_atan2.c: Include <errno.h>.
17715         (__atan2): Set errno for result underflowing to zero.
17716         * math/w_atan2f.c: Include <errno.h>.
17717         (__atan2f): Set errno for result underflowing to zero.
17718         * math/w_atan2l.c: Include <errno.h>.
17719         (__atan2l): Set errno for result underflowing to zero.
17720         * math/auto-libm-test-in: Don't allow missing errno for some atan2
17721         tests.
17722         * math/auto-libm-test-out: Regenerated.
17724 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17726         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
17727         Encode instruction correctly in little endian.
17728         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
17729         Likewise.
17730         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
17731         Likewise.
17732         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
17733         Likewise.
17734         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
17735         Likewise.
17737 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
17739         [BZ #9894]
17740         * sysdeps/unix/sysv/linux/kernel-features.h
17741         [__sparc__ && !__arch64__ && !__sparc_v9__]
17742         (__ASSUME_SET_ROBUST_LIST): Do not define.
17743         [__sparc__ && !__arch64__ && !__sparc_v9__]
17744         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17745         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
17746         Likewise.
17747         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17748         (__ASSUME_FUTEX_LOCK_PI): Undefine.
17749         (__ASSUME_REQUEUE_PI): Likewise.
17750         (__ASSUME_SET_ROBUST_LIST): Likewise.
17751         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17752         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
17753         Undefine.
17754         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17755         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
17756         Likewise.
17757         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
17758         Likewise.
17759         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
17760         Likewise.
17761         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17762         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
17763         Undefine.
17764         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
17765         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
17766         Likewise.
17768         [BZ #16648]
17769         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17770         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
17771         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
17773 2014-03-31  Will Newton  <will.newton@linaro.org>
17775         * benchtests/Makefile (bench): Add ffs and ffsll to list
17776         of tests.
17777         * benchtests/ffs-inputs: New file.
17778         * benchtests/ffsll-inputs: Likewise.
17780 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
17782         [BZ #16770]
17783         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
17784         too large before casting to int.
17785         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
17786         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
17787         * math/libm-test.inc (scalb_test_data): Add more tests.
17789 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17791         * benchtests/Makefile (DETAILED_OPT): New make option.
17792         (bench-func): Run benchmark program with -d if DETAILED_OPT is
17793         set.
17794         * benchtests/bench-skeleton.c: Include stdbool.h.
17795         (main): Store and print timings per input.
17796         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
17797         member to each argument value.
17798         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
17799         (_print_arg_data): Initialize per-input timing to 0.
17801         * benchtests/Makefile (timing-type): New binary.
17802         (bench-clean): Also remove bench-timing-type.
17803         (bench): New target for timing-type.
17804         (bench-func): Print output in JSON format.
17805         * benchtests/bench-skeleton.c (main): Print output in JSON
17806         format.
17807         * benchtests/bench-timing-type.c: New file.
17808         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
17809         (TIMING_PRINT_STATS): Remove.
17810         * benchtests/scripts/bench.py (_print_arg_data): Store variant
17811         name separately.
17813         * benchtests/bench-modf.c: Remove.
17814         * benchtests/modf-inputs: New inputs file.
17816 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
17818         [BZ #16362]
17819         * math/s_clog10.c (M_PI_LOG10E): New macro.
17820         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
17821         imaginary parts are 0.
17822         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
17823         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
17824         imaginary parts are 0.
17825         * math/s_clog10l.c (M_PI_LOG10El): New macro.
17826         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
17827         imaginary parts are 0.
17828         * math/libm-test.inc (clog10_test_data): Update expected results
17829         for when real and imaginary parts are 0.
17831 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
17833         * elf/dl-load.c: Finish conversion of __builtin_expect into
17834         __glibc_{un}likely.
17836 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
17838         [BZ #16348]
17839         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
17840         1+x for argument with exponent below -67.
17841         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
17842         Likewise.
17843         * math/auto-libm-test-in: Add more tests of exp.
17844         * math/auto-libm-test-out: Regenerated.
17846 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17848         [BZ #16759]
17849         * inet/getnetgrent_r.c (get_nonempty_val): New function.
17850         (nscd_getnetgrent): Use it.
17852         [BZ #16760]
17853         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
17854         of stpcpy.
17856 2014-03-27  Andi Kleen  <ak@linux.intel.com>
17858         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
17859         (lll_robust_lock, lll_cond_lock, lll_timedlock)
17860         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17861         (lll_robust_unlock): Remove out of line section. Use cfi
17862         intrinsics.
17863         (LLL_STUB_UNWIND_INFO*): Remove.
17864         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
17865         (lll_robust_lock, lll_cond_lock, lll_timedlock)
17866         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17867         (lll_robust_unlock): Remove out of line section. Use cfi
17868         intrinsics.
17869         (LLL_STUB_UNWIND_INFO*): Remove.
17871 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17873         [BZ #16758]
17874         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
17875         blank values.
17877 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
17879         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
17881 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
17883         [BZ #16198]
17884         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
17885         fnstenv.
17886         * math/test-fenv-preserve.c: New file.
17887         * math/Makefile (tests): Add test-fenv-preserve.
17889 2014-03-26  Will Newton <will.newton@linaro.org>
17891         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
17893 2014-03-25  Roland McGrath  <roland@hack.frob.com>
17895         * scripts/versionlist.awk: Partition the version sets and emit all
17896         GLIBC_* (sorted) before all others (sorted).
17898 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
17900         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
17901         GLIBC_2.2.5 version.
17903 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17905         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
17906         calls.
17908         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
17909         previous change.
17911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17913 2014-03-25  Andreas Schwab  <schwab@suse.de>
17915         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
17916         label to be used after in6ailist is initialized.
17918 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17920         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17921         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17923 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
17925         [BZ #16357]
17926         [BZ #16599]
17927         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
17928         min_plus_half.
17929         (fp_formats): Update initializers.
17930         (init_fp_formats): Initialize new field.
17931         (output_for_one_input_case): Allow underflow for results up to
17932         min_plus_half.
17933         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
17934         * math/auto-libm-test-in: Don't mark some underflows from asin and
17935         atanh as spurious.
17936         * math/auto-libm-test-out: Regenerated.
17937         * sysdeps/i386/fpu/libm-test-ulps: Update.
17938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17940 2014-03-25  Andreas Schwab  <schwab@suse.de>
17942         * libio/Makefile (tst-ftell-partial-wide-ENV)
17943         (tst-ftell-active-handler-ENV): Define.
17945 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
17947         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
17949 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
17951         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
17953 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
17955         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
17956         * sysdeps/x86_64/fpu/multiarch/e_exp.c
17957         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17959 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
17961         [BZ #16634]
17962         * elf/dl-load.c (open_verify): Add mode parameter.
17963         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
17964         (open_path): Change from boolean 'secure' to complete flag 'mode'
17965         (_dl_map_object): Adjust.
17966         * elf/Makefile (tests): Add tst-dlopen-aout.
17967         * elf/tst-dlopen-aout.c: New test.
17969 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
17971         [BZ #16714]
17972         * sysdeps/unix/sysv/linux/s390/bits/stat.h
17973         (struct stat): Rename member pad0 to __glibc_reserved0.
17975         [BZ #16712]
17976         * sysdeps/s390/s390-32/bits/wordsize.h
17977         (__WORDSIZE32_SIZE_ULONG): New define.
17978         * sysdeps/s390/s390-64/bits/wordsize.h
17979         (__WORDSIZE32_SIZE_ULONG): Likewise.
17980         * sysdeps/generic/stdint.h (SIZE_MAX):
17981         Define as UL if __WORDSIZE32_SIZE_ULONG.
17983         [BZ #16713]
17984         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
17985         (__glibc_reserved0): New variable.
17986         (sa_flags): Change type to int.
17988         * posix/Makefile (before-compile): Use += before-compile instead
17989         of a :=.
17991         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17992         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17994 2014-03-20  Andreas Schwab  <schwab@suse.de>
17996         [BZ #16743]
17997         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
17998         non-matching result from nscd.
18000 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18002         * scripts/bench.py: Moved to ...
18003         * benchtests/scripts/bench.py: ... here.
18004         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
18006 2014-03-24  Andreas Schwab  <schwab@suse.de>
18008         [BZ #16002]
18009         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
18010         alloca_account and account alloca use for struct in6ailist.
18012 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
18014         [BZ #16284]
18015         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
18016         rounding mode to recompute results that overflow to infinity or
18017         underflow to zero.
18018         * math/auto-libm-test-in: Don't mark tests as expected to fail for
18019         bug 16284.
18020         * math/auto-libm-test-out: Regenerated.
18021         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
18022         (ccosh_test): Likewise.
18023         (csin_test_data): Use plus_oflow.
18024         (csin_test): Use ALL_RM_TEST.
18025         (csinh_test_data): Use plus_oflow.
18026         (csinh_test): Use ALL_RM_TEST.
18027         * sysdeps/i386/fpu/libm-test-ulps: Update.
18028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18030 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
18032         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
18033         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
18034         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
18036         [BZ #16731]
18037         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
18038         when x - 1 is zero.
18039         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
18040         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
18041         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18042         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
18043         argument is 1.
18044         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
18045         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
18046         zero.
18047         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
18048         * sysdeps/i386/fpu/libm-test-ulps: Update.
18049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18051 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18053         * scripts/bench.pl: Remove file.
18054         * scripts/bench.py: New benchmark script.
18055         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
18056         * benchtests/README: Mention python dependency.
18057         * scripts/pylintrc: New file.
18058         * scripts/pylint: New file.
18060         * bits/mathdef.h: Use #ifdef instead of #if.
18061         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
18062         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18063         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
18064         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18065         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
18066         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18068 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18069             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18071         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
18072         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
18073         and strpbrk-ppc64 objects.
18074         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18075         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
18076         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
18077         multiarch strpbrk for POWER7.
18078         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
18079         multiarch strpbrk for PPC64.
18080         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
18081         ifunc selector.
18082         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
18083         strpbrk for POWER7.
18085 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
18087         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
18088         (atan_test): Likewise.
18089         (atanh_test_data): Use NO_TEST_INLINE for two tests.
18090         (atanh_test): Use ALL_RM_TEST.
18091         (atan2_test_data): Likewise.
18092         (cabs_test): Likewise.
18093         (cacosh_test): Likewise.
18094         (carg_test): Likewise.
18095         (casin_test): Likewise.
18096         (casinh_test): Likewise.
18097         (cbrt_test): Likewise.
18098         (csqrt_test): Likewise.
18099         (erf_test): Likewise.
18100         (erfc_test): Likewise.
18101         (pow10_test): Likewise.
18102         (exp2_test): Likewise.
18103         (hypot_test): Likewise.
18104         (j0_test): Likewise.
18105         (j1_test): Likewise.
18106         (lgamma_test): Likewise.
18107         (gamma_test): Likewise.
18108         (sincos_test): Likewise.
18109         (tanh_test): Likewise.
18110         (y0_test): Likewise.
18111         (y1_test): Likewise.
18112         * sysdeps/i386/fpu/libm-test-ulps: Update.
18113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18115 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18117         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
18118         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
18119         and strcspn-ppc64 objects.
18120         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18121         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
18122         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
18123         multiarch strcspn for POWER7.
18124         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
18125         multiarch strcspn for PPC64.
18126         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
18127         ifunc selector.
18128         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
18129         strcspn for POWER7.
18131 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
18133         * math/gen-libm-test.pl (generate_testfile): Expect only function
18134         name as argument to AUTO_TESTS_* and pass results for all rounding
18135         modes to parse_args.
18136         (parse_auto_input): Separate inputs of automatic tests from
18137         outputs before storing in %auto_tests.
18138         * math/libm-test.inc (acos_test_data): Update call to
18139         AUTO_TESTS_f_f.
18140         (acos_test): Use ALL_RM_TEST.
18141         (acos_tonearest_test_data): Remove.
18142         (acos_test_tonearest): Likewise.
18143         (acos_towardzero_test_data): Likewise.
18144         (acos_test_towardzero): Likewise.
18145         (acos_downward_test_data): Likewise.
18146         (acos_test_downward): Likewise.
18147         (acos_upward_test_data): Likewise.
18148         (acos_test_upward): Likewise.
18149         (acosh_test_data): Update call to AUTO_TESTS_f_f.
18150         (asin_test_data): Likewise.
18151         (asin_test): Use ALL_RM_TEST.
18152         (asin_tonearest_test_data): Remove.
18153         (asin_test_tonearest): Likewise.
18154         (asin_towardzero_test_data): Likewise.
18155         (asin_test_towardzero): Likewise.
18156         (asin_downward_test_data): Likewise.
18157         (asin_test_downward): Likewise.
18158         (asin_upward_test_data): Likewise.
18159         (asin_test_upward): Likewise.
18160         (asinh_test_data): Update call to AUTO_TESTS_f_f.
18161         (atan_test_data): Likewise.
18162         (atanh_test_data): Likewise.
18163         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
18164         (cabs_test_data): Update call to AUTO_TESTS_c_f.
18165         (carg_test_data): Likewise.
18166         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
18167         (ccos_test_data): Update call to AUTO_TESTS_c_c.
18168         (ccosh_test_data): Likewise.
18169         (cexp_test_data): Likewise.
18170         (clog_test_data): Likewise.
18171         (clog10_test_data): Likewise.
18172         (cos_test_data): Update call to AUTO_TESTS_f_f.
18173         (cos_test): Use ALL_RM_TEST.
18174         (cos_tonearest_test_data): Remove.
18175         (cos_test_tonearest): Likewise.
18176         (cos_towardzero_test_data): Likewise.
18177         (cos_test_towardzero): Likewise.
18178         (cos_downward_test_data): Likewise.
18179         (cos_test_downward): Likewise.
18180         (cos_upward_test_data): Likewise.
18181         (cos_test_upward): Likewise.
18182         (cosh_test_data): Update call to AUTO_TESTS_f_f.
18183         (cosh_test): Use ALL_RM_TEST.
18184         (cosh_tonearest_test_data): Remove.
18185         (cosh_test_tonearest): Likewise.
18186         (cosh_towardzero_test_data): Likewise.
18187         (cosh_test_towardzero): Likewise.
18188         (cosh_downward_test_data): Likewise.
18189         (cosh_test_downward): Likewise.
18190         (cosh_upward_test_data): Likewise.
18191         (cosh_test_upward): Likewise.
18192         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
18193         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
18194         (ctan_test_data): Likewise.
18195         (ctan_test): Use ALL_RM_TEST.
18196         (ctan_tonearest_test_data): Remove.
18197         (ctan_test_tonearest): Likewise.
18198         (ctan_towardzero_test_data): Likewise.
18199         (ctan_test_towardzero): Likewise.
18200         (ctan_downward_test_data): Likewise.
18201         (ctan_test_downward): Likewise.
18202         (ctan_upward_test_data): Likewise.
18203         (ctan_test_upward): Likewise.
18204         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
18205         (ctanh_test): Use ALL_RM_TEST.
18206         (ctanh_tonearest_test_data): Remove.
18207         (ctanh_test_tonearest): Likewise.
18208         (ctanh_towardzero_test_data): Likewise.
18209         (ctanh_test_towardzero): Likewise.
18210         (ctanh_downward_test_data): Likewise.
18211         (ctanh_test_downward): Likewise.
18212         (ctanh_upward_test_data): Likewise.
18213         (ctanh_test_upward): Likewise.
18214         (erf_test_data): Update call to AUTO_TESTS_f_f.
18215         (erfc_test_data): Likewise.
18216         (exp_test_data): Likewise.
18217         (exp_test): Use ALL_RM_TEST.
18218         (exp_tonearest_test_data): Remove.
18219         (exp_test_tonearest): Likewise.
18220         (exp_towardzero_test_data): Likewise.
18221         (exp_test_towardzero): Likewise.
18222         (exp_downward_test_data): Likewise.
18223         (exp_test_downward): Likewise.
18224         (exp_upward_test_data): Likewise.
18225         (exp_test_upward): Likewise.
18226         (exp10_test_data): Update call to AUTO_TESTS_f_f.
18227         (exp10_test): Use ALL_RM_TEST.
18228         (exp10_tonearest_test_data): Remove.
18229         (exp10_test_tonearest): Likewise.
18230         (exp10_towardzero_test_data): Likewise.
18231         (exp10_test_towardzero): Likewise.
18232         (exp10_downward_test_data): Likewise.
18233         (exp10_test_downward): Likewise.
18234         (exp10_upward_test_data): Likewise.
18235         (exp10_test_upward): Likewise.
18236         (exp2_test_data): Update call to AUTO_TESTS_f_f.
18237         (expm1_test_data): Likewise.
18238         (expm1_test): Use ALL_RM_TEST.
18239         (expm1_tonearest_test_data): Remove.
18240         (expm1_test_tonearest): Likewise.
18241         (expm1_towardzero_test_data): Likewise.
18242         (expm1_test_towardzero): Likewise.
18243         (expm1_downward_test_data): Likewise.
18244         (expm1_test_downward): Likewise.
18245         (expm1_upward_test_data): Likewise.
18246         (expm1_test_upward): Likewise.
18247         (fma_test_data): Update call to AUTO_TESTS_fff_f.
18248         (fma_test): Use ALL_RM_TEST.
18249         (fma_towardzero_test_data): Remove.
18250         (fma_test_towardzero): Likewise.
18251         (fma_downward_test_data): Likewise.
18252         (fma_test_downward): Likewise.
18253         (fma_upward_test_data): Likewise.
18254         (fma_test_upward): Likewise.
18255         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
18256         (j0_test_data): Update call to AUTO_TESTS_f_f.
18257         (j1_test_data): Likewise.
18258         (jn_test_data): Update call to AUTO_TESTS_if_f.
18259         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
18260         (log_test_data): Update call to AUTO_TESTS_f_f.
18261         (log10_test_data): Likewise.
18262         (log1p_test_data): Likewise.
18263         (log2_test_data): Likewise.
18264         (pow_test_data): Update call to AUTO_TESTS_ff_f.
18265         (pow_tonearest_test_data): Likewise.
18266         (sin_test_data): Update call to AUTO_TESTS_f_f.
18267         (sin_test): Use ALL_RM_TEST.
18268         (sin_tonearest_test_data): Remove.
18269         (sin_test_tonearest): Likewise.
18270         (sin_towardzero_test_data): Likewise.
18271         (sin_test_towardzero): Likewise.
18272         (sin_downward_test_data): Likewise.
18273         (sin_test_downward): Likewise.
18274         (sin_upward_test_data): Likewise.
18275         (sin_test_upward): Likewise.
18276         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
18277         (sinh_test_data): Update call to AUTO_TESTS_f_f.
18278         (sinh_test): Use ALL_RM_TEST.
18279         (sinh_tonearest_test_data): Remove.
18280         (sinh_test_tonearest): Likewise.
18281         (sinh_towardzero_test_data): Likewise.
18282         (sinh_test_towardzero): Likewise.
18283         (sinh_downward_test_data): Likewise.
18284         (sinh_test_downward): Likewise.
18285         (sinh_upward_test_data): Likewise.
18286         (sinh_test_upward): Likewise.
18287         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
18288         (sqrt_test): Use ALL_RM_TEST.
18289         (sqrt_tonearest_test_data): Remove.
18290         (sqrt_test_tonearest): Likewise.
18291         (sqrt_towardzero_test_data): Likewise.
18292         (sqrt_test_towardzero): Likewise.
18293         (sqrt_downward_test_data): Likewise.
18294         (sqrt_test_downward): Likewise.
18295         (sqrt_upward_test_data): Likewise.
18296         (sqrt_test_upward): Likewise.
18297         (tan_test_data): Update call to AUTO_TESTS_f_f.
18298         (tan_test): Use ALL_RM_TEST.
18299         (tan_tonearest_test_data): Remove.
18300         (tan_test_tonearest): Likewise.
18301         (tan_towardzero_test_data): Likewise.
18302         (tan_test_towardzero): Likewise.
18303         (tan_downward_test_data): Likewise.
18304         (tan_test_downward): Likewise.
18305         (tan_upward_test_data): Likewise.
18306         (tan_test_upward): Likewise.
18307         (tanh_test_data): Update call to AUTO_TESTS_f_f.
18308         (tgamma_test_data): Likewise.
18309         (y0_test_data): Likewise.
18310         (y1_test_data): Likewise.
18311         (yn_test_data): Update call to AUTO_TESTS_if_f.
18312         (main): Do not call removed functions.
18314 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
18316         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
18317         (ldexp_test_data): Remove.
18318         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
18319         scalbn_test_data.
18320         (scalb_test): Use ALL_RM_TEST.
18322 2014-03-19  Andreas Schwab  <schwab@suse.de>
18324         * nscd/nscd.service: Also invalidate netgroup cache on reload.
18326 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
18328         [BZ #16649]
18329         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18330         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
18331         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
18332         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18333         (__ASSUME_PREADV): Undefine.
18334         (__ASSUME_PWRITEV): Likewise.
18336 2014-03-18  Roland McGrath  <roland@hack.frob.com>
18338         * bits/mman-linux.h: Add comment about non-Linux use.
18339         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
18340         bits/mman-linux.h resting place.
18342         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
18343         * bits/mman-linux.h: ... here.
18345 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18347         * conform/conformtest.pl: Add standard definition when calling C
18348         preprocessor on data files.
18349         (checknamespace): Remove unused variable.
18351 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
18353         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
18354         minus_oflow, plus_uflow and minus_uflow in expected results.
18355         * math/libm-test.inc (scalbn_test_data): Add more tests of
18356         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
18357         minus_uflow.
18358         (scalbn_test): Use ALL_RM_TEST.
18359         (scalbln_test_data): Add more tests of negative arguments.  Use
18360         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
18361         (scalbln_test): Use ALL_RM_TEST.
18363 2014-03-18  Roland McGrath  <roland@hack.frob.com>
18365         * scripts/abilist.awk: Ignore symbols marked with .hidden.
18367 2014-03-18  Will Newton  <will.newton@linaro.org>
18369         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
18370         inaccurate comment.
18372 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
18374         * Makerules [!subdir] (check-abi): Exit with error status if a
18375         test failed.
18377 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
18379         * math/libm-test.inc (nearbyint_test_data): Include all tests used
18380         for rint.  Include results for all rounding modes.
18381         (nearbyint_test): Use ALL_RM_TEST.
18382         (rint_test_data): Include all tests used for nearbyint.
18384 2014-03-17  Will Newton  <will.newton@linaro.org>
18386         * nptl/sysdeps/pthread/pthread.h: Revert previous
18387         change.
18389         * sysdeps/generic/ldsodefs.h: Revert previous
18390         change.
18392         * libio/genops.c: Revert previous change.
18393         * libio/libioP.h: Likewise.
18394         * stdio-common/vfprintf.c: Likewise.
18396         * sysdeps/generic/math_private.h: Revert previous
18397         change.
18399         * sysdeps/generic/math_private.h: Check whether
18400         HAVE_RM_CTX is defined with #ifdef rather
18401         than #if.
18403         * argp/argp-fmtstream.h: Check whether
18404         __STRICT_ANSI__ is defined with #ifdef rather
18405         than #if.
18406         * argp/argp.h: Likewise.
18408         * libio/genops.c: Check whether
18409         _IO_JUMPS_OFFSET is defined with #ifdef rather
18410         than #if.
18411         * libio/libioP.h: Likewise.
18412         * stdio-common/vfprintf.c: Likewise.
18414         * sysdeps/generic/ldsodefs.h: Check whether
18415         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
18416         than #if.
18418         * nptl/sysdeps/pthread/pthread.h: Check
18419         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
18420         its value.
18422 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18424         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
18425         setting O_APPEND.
18426         * libio/tst-ftell-active-handler.c (do_append_test): Add a
18427         test case.
18429         [BZ #16680]
18430         * libio/fileops.c (_IO_file_open): Seek to end of file but
18431         don't cache the offset.
18432         (get_file_offset): Remove function.
18433         (do_ftell): Use cached offset when available.
18434         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
18435         don't cache the offset.
18436         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
18437         case.
18438         (do_one_test): Call it.
18439         (do_ftell_test): Fix up expected old offset for a+ mode.
18440         * libio/wfileops.c (do_ftell_wide): Used cached offset when
18441         available.
18443         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
18444         up test status with function return status.
18445         (do_write_test): Likewise.
18446         (do_append_test): Likewise.
18448         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
18449         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
18450         Remove.
18452 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
18454         * math/gen-libm-test.pl (parse_args): Handle results specified for
18455         each rounding mode separately.
18456         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
18457         tests and results from lrint_tonearest_test_data,
18458         lrint_towardzero_test_data, lrint_downward_test_data and
18459         lrint_upward_test_data.
18460         (lrint_test): Use ALL_RM_TEST.
18461         (lrint_tonearest_test_data): Remove.
18462         (lrint_test_tonearest): Likewise.
18463         (lrint_towardzero_test_data): Likewise.
18464         (lrint_test_towardzero): Likewise.
18465         (lrint_downward_test_data): Likewise.
18466         (lrint_test_downward): Likewise.
18467         (lrint_upward_test_data): Likewise.
18468         (lrint_test_upward): Likewise.
18469         (llrint_test_data): Merge in per-rounding-mode tests and results
18470         from llrint_tonearest_test_data, llrint_towardzero_test_data,
18471         llrint_downward_test_data and llrint_upward_test_data.
18472         (llrint_test): Use ALL_RM_TEST.
18473         (llrint_tonearest_test_data): Remove.
18474         (llrint_test_tonearest): Likewise.
18475         (llrint_towardzero_test_data): Likewise.
18476         (llrint_test_towardzero): Likewise.
18477         (llrint_downward_test_data): Likewise.
18478         (llrint_test_downward): Likewise.
18479         (llrint_upward_test_data): Likewise.
18480         (llrint_test_upward): Likewise.
18481         (rint_test_data): Merge in per-rounding-mode tests and results
18482         from rint_tonearest_test_data, rint_towardzero_test_data,
18483         rint_downward_test_data and rint_upward_test_data.  Add
18484         per-rounding-mode results for tests not in those arrays.
18485         (rint_test): Use ALL_RM_TEST.
18486         (rint_tonearest_test_data): Remove.
18487         (rint_test_tonearest): Likewise.
18488         (rint_towardzero_test_data): Likewise.
18489         (rint_test_towardzero): Likewise.
18490         (rint_downward_test_data): Likewise.
18491         (rint_test_downward): Likewise.
18492         (rint_upward_test_data): Likewise.
18493         (rint_test_upward): Likewise.
18494         (main): Don't call removed functions.
18496 2014-03-14  Roland McGrath  <roland@hack.frob.com>
18498         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
18499         "Compiled on ..." crapola.  It is anti-useful.
18501 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
18503         * scripts/evaluate-test.sh: Handle fourth argument to determine
18504         whether test run should stop on failure.
18505         * Makeconfig (stop-on-test-failure): New variable.
18506         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
18507         $(stop-on-test-failure).
18508         * Makefile (tests): Give a summary of results from testing and
18509         exit with failure status if they include an ERROR or FAIL.
18510         (xtests): Likewise.
18511         * manual/install.texi (Configuring and compiling): Mention
18512         stop-on-test-failure=y.
18513         * INSTALL: Regenerated.
18515 2014-03-14  Roland McGrath  <roland@hack.frob.com>
18517         * scripts/versionlist.awk: New file.
18518         * Makerules [$(build-shared) = yes]
18519         (postclean-generated): Add Versions.def, not Versions.def.v and
18520         Versions.def.v.i.
18521         ($(common-objpfx)Versions.def.v.i): Target removed.
18522         ($(common-objpfx)Versions.def): New target.
18523         ($(common-objpfx)Versions.all): Depend on that rather that
18524         $(common-objpfx)Versions.def.v.
18525         * Versions.def: File removed.
18527         * Makeconfig (+gccwarn): Add -Wundef.
18528         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
18529         a dl-sysdep.h breaking its contract.
18530         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
18531         * include/stackinfo.h: New file.
18532         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
18533         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
18534         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
18535         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
18536         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
18537         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
18538         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18539         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18540         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18541         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18542         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18543         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
18544         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18545         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18546         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18548 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18550         [BZ #16707]
18551         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
18552         implementation.
18553         * math/libm-test.inc (round_test_data): Add more tests.
18555         [BZ #16706]
18556         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
18557         implementation.
18558         * math/libm-test.inc (nearbyint_test_data): Add more tests.
18560         [BZ #16701]
18561         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
18562         implementation.
18563         * math/libm-test.inc (ceil_test_data): Add more tests.
18565         * math/libm-test.inc (trunc_test_data): Add more tests related to
18566         BZ#16414.
18568 2014-03-14  Roland McGrath  <roland@hack.frob.com>
18570         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
18571         with #if rather than #ifdef.
18572         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
18574 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
18576         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
18577         first.  Disable AVX-512 GCC support if assembler doesn't support
18578         it.
18579         * sysdeps/x86_64/configure: Regenerated.
18581 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
18583         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
18584         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
18585         (__old_pthread_attr_setstack): Likewise.
18586         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
18587         [!_STACK_GROWS_DOWN]: Likewise.
18589 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
18591         * config.make.in (have-bash2): Delete.
18592         * configure.ac (libc_cv_have_bash2): Delete.
18593         * configure: Regenerate.
18594         * elf/Makefile (common-ldd-rewrite): Rename to ...
18595         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
18596         (sh-ldd-rewrite): Delete.
18597         (bash-ldd-rewrite): Delete.
18598         (have-bash2): Delete checks.
18599         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
18600         ldd-rewrite.
18602         * config.make.in (have-ksh): Delete.
18603         (KSH): Delete.
18604         * configure.ac (libc_cv_have_ksh): Delete.
18605         * configure: Regenerate.
18607         * elf/Makefile: Delete $(have-ksh) check.
18608         ($(objpfx)sotruss): Change KSH to BASH.
18609         * elf/sotruss.ksh: Rename to ...
18610         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
18611         function style to match POSIX.  Drop ksh vim mode setting.
18613         * manual/time.texi (Specifying the Time Zone with TZ): Change
18614         Tuesday to Thursday.
18616         * debug/tst-longjmp_chk2.c: Update header comment.
18617         (stackoverflow_handler): Add comment.  Call assert on pass value.
18619 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
18621         [BZ #16194]
18622         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
18623         (HAVE_AVX512_ASM_SUPPORT): Likewise.
18624         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
18625         (La_x86_64_vector): Add zmm.
18626         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
18627         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
18628         ($(objpfx)tst-audit10): New target.
18629         ($(objpfx)tst-audit10.out): Likewise.
18630         (tst-audit10-ENV): New.
18631         (AVX512-CFLAGS): Likewise.
18632         (CFLAGS-tst-audit10.c): Likewise.
18633         (CFLAGS-tst-auditmod10a.c): Likewise.
18634         (CFLAGS-tst-auditmod10b.c): Likewise.
18635         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
18636         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
18637         * sysdeps/x86_64/configure: Regenerated.
18638         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
18639         AVX-512 zmm register support.
18640         (_dl_x86_64_save_sse): Likewise.
18641         (_dl_x86_64_restore_sse): Likewise.
18642         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
18643         size vector registers.
18644         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
18645         (ZMM_SIZE): Likewise.
18646         * sysdeps/x86_64/tst-audit10.c: New file.
18647         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
18648         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
18650 2014-03-13  Roland McGrath  <roland@hack.frob.com>
18652         * configure.ac (HAVE_EHDR_START): New check.
18653         * configure: Regenerated.
18654         * config.h.in (HAVE_EHDR_START): New #undef.
18655         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
18656         assuming the lowest-addressed segment maps the start of the file.
18658 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
18660         * INSTALL: Regenerated.
18662 2014-03-13  Will Newton  <will.newton@linaro.org>
18664         * manual/setjmp.texi (System V contexts): Improve
18665         clarity and grammar of documentation.
18667 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
18669         [BZ #16381]
18670         * elf/Makefile (tests): Add tst-pie2.
18671         (tests-pie): Add tst-pie2.
18672         * elf/tst-pie2.c: New file.
18673         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
18674         for ET_EXEC.
18675         * elf/rtld.c (map_doit): Load executable as lt_executable.
18676         (dl_main): Likewise.
18678 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
18680         [BZ #16642]
18681         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18682         (__ASSUME_PSELECT): Undefine.
18684 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18686         [BZ #16689]
18687         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
18688         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
18689         static build.
18690         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
18691         selector for static builds.
18693 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18695         [BZ #16695]
18696         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
18697         key in the buffer.
18699 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18701         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
18702         IFUNC selector for static builds.
18704 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
18706         * sysdeps/mips/math_private.h [__mips_hard_float]
18707         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
18708         libc_feresetround_mips_ctx.
18709         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
18710         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
18711         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
18713         [BZ #16677]
18714         * math/s_nextafter.c (__nextafter): Do not return value from
18715         overflowing computation.
18716         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
18717         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
18718         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
18719         Likewise.
18720         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18721         Likewise.
18722         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
18723         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
18725 2014-03-11  Roland McGrath  <roland@hack.frob.com>
18727         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
18728         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
18729         Move sfi_sp use from the load-multiple (that no longer sets sp) to
18730         the new mov targetting sp.
18732 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18734         [BZ #16683]
18735         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
18736         Define it for static builds as well.
18737         (NO_BZERO_IMPL): Likewise.
18739 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18741         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
18742         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
18743         multiarch strspn for PPC64.
18744         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
18745         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
18746         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18747         (__libc_ifunc_impl_list): Likewise.
18748         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
18749         multiarch optimizations
18750         * string/strspn.c (strspn): Using macro to redefine symbol name.
18752 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18753             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18755         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
18756         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
18757         multiarch strncat for PPC64.
18758         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
18759         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
18760         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18761         (__libc_ifunc_impl_list): Likewise.
18762         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
18763         multiarch optimizations
18765 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18767         [BZ #16639]
18768         * nscd/nscd.service: Make service type forking.
18770 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18772         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
18773         sign in non default rounding modes.
18774         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
18776 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
18778         * math/libm-test.inc (ALL_RM_TEST): New macro.
18779         (ceil_test): Use ALL_RM_TEST.
18780         (cimag_test): Likewise.
18781         (conj_test): Likewise.
18782         (copysign_test): Likewise.
18783         (cproj_test): Likewise.
18784         (creal_test): Likewise.
18785         (fabs_test): Likewise.
18786         (floor_test): Likewise.
18787         (fmax_test): Likewise.
18788         (fmin_test): Likewise.
18789         (fmod_test): Likewise.
18790         (fpclassify_test): Likewise.
18791         (frexp_test): Likewise.
18792         (ilogb_test): Likewise.
18793         (isfinite_test): Likewise.
18794         (finite_test): Likewise.
18795         (isgreater_test): Likewise.
18796         (isgreaterequal_test): Likewise.
18797         (isinf_test): Likewise.
18798         (isless_test): Likewise.
18799         (islessequal_test): Likewise.
18800         (islessgreater_test): Likewise.
18801         (isnan_test): Likewise.
18802         (isnormal_test): Likewise.
18803         (issignaling_test): Likewise.
18804         (isunordered_test): Likewise.
18805         (logb_test): Likewise.
18806         (logb_downward_test_data): Remove.
18807         (logb_test_downward): Likewise.
18808         (lround_test): Use ALL_RM_TEST.
18809         (llround_test): Likewise.
18810         (modf_test): Likewise.
18811         (nexttoward_test): Likewise.
18812         (remainder_test): Likewise.
18813         (drem_test): Likewise.
18814         (remainder_tonearest_test_data): Likewise.
18815         (remainder_test_tonearest): Likewise.
18816         (drem_test_tonearest): Likewise.
18817         (remainder_towardzero_test_data): Likewise.
18818         (remainder_test_towardzero): Likewise.
18819         (drem_test_towardzero): Likewise.
18820         (remainder_downward_test_data): Likewise.
18821         (remainder_test_downward): Likewise.
18822         (drem_test_downward): Likewise.
18823         (remainder_upward_test_data): Likewise.
18824         (remainder_test_upward): Likewise.
18825         (drem_test_upward): Likewise.
18826         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
18827         (round_test): Use ALL_RM_TEST.
18828         (signbit_test): Likewise.
18829         (trunc_test): Likewise.
18830         (significand_test): Likewise.
18831         (main): Don't call removed functions.
18833 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
18835         [BZ #16674]
18836         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
18837         || __USE_XOPEN2K8].
18838         (ILL_ILLOPN): Likewise.
18839         (ILL_ILLADR): Likewise.
18840         (ILL_ILLTRP): Likewise.
18841         (ILL_PRVOPC): Likewise.
18842         (ILL_PRVREG): Likewise.
18843         (ILL_COPROC): Likewise.
18844         (ILL_BADSTK): Likewise.
18845         (FPE_INTDIV): Likewise.
18846         (FPE_INTOVF): Likewise.
18847         (FPE_FLTDIV): Likewise.
18848         (FPE_FLTOVF): Likewise.
18849         (FPE_FLTUND): Likewise.
18850         (FPE_FLTRES): Likewise.
18851         (FPE_FLTINV): Likewise.
18852         (FPE_FLTSUB): Likewise.
18853         (SEGV_MAPERR): Likewise.
18854         (SEGV_ACCERR): Likewise.
18855         (BUS_ADRALN): Likewise.
18856         (BUS_ADRERR): Likewise.
18857         (BUS_OBJERR): Likewise.
18858         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18859         (TRAP_TRACE): Likewise.
18860         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18861         __USE_XOPEN2K8].
18862         (CLD_KILLED): Likewise.
18863         (CLD_DUMPED): Likewise.
18864         (CLD_TRAPPED): Likewise.
18865         (CLD_STOPPED): Likewise.
18866         (CLD_CONTINUED): Likewise.
18867         (POLL_IN): Likewise.
18868         (POLL_OUT): Likewise.
18869         (POLL_MSG): Likewise.
18870         (POLL_ERR): Likewise.
18871         (POLL_PRI): Likewise.
18872         (POLL_HUP): Likewise.
18873         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
18874         Likewise.
18875         (ILL_ILLOPN): Likewise.
18876         (ILL_ILLADR): Likewise.
18877         (ILL_ILLTRP): Likewise.
18878         (ILL_PRVOPC): Likewise.
18879         (ILL_PRVREG): Likewise.
18880         (ILL_COPROC): Likewise.
18881         (ILL_BADSTK): Likewise.
18882         (FPE_INTDIV): Likewise.
18883         (FPE_INTOVF): Likewise.
18884         (FPE_FLTDIV): Likewise.
18885         (FPE_FLTOVF): Likewise.
18886         (FPE_FLTUND): Likewise.
18887         (FPE_FLTRES): Likewise.
18888         (FPE_FLTINV): Likewise.
18889         (FPE_FLTSUB): Likewise.
18890         (SEGV_MAPERR): Likewise.
18891         (SEGV_ACCERR): Likewise.
18892         (BUS_ADRALN): Likewise.
18893         (BUS_ADRERR): Likewise.
18894         (BUS_OBJERR): Likewise.
18895         (BUS_MCEERR_AR): Likewise.
18896         (BUS_MCEERR_AO): Likewise.
18897         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18898         (TRAP_TRACE): Likewise.
18899         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18900         __USE_XOPEN2K8].
18901         (CLD_KILLED): Likewise.
18902         (CLD_DUMPED): Likewise.
18903         (CLD_TRAPPED): Likewise.
18904         (CLD_STOPPED): Likewise.
18905         (CLD_CONTINUED): Likewise.
18906         (POLL_IN): Likewise.
18907         (POLL_OUT): Likewise.
18908         (POLL_MSG): Likewise.
18909         (POLL_ERR): Likewise.
18910         (POLL_PRI): Likewise.
18911         (POLL_HUP): Likewise.
18912         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
18913         (ILL_ILLOPN): Likewise.
18914         (ILL_ILLADR): Likewise.
18915         (ILL_ILLTRP): Likewise.
18916         (ILL_PRVOPC): Likewise.
18917         (ILL_PRVREG): Likewise.
18918         (ILL_COPROC): Likewise.
18919         (ILL_BADSTK): Likewise.
18920         (FPE_INTDIV): Likewise.
18921         (FPE_INTOVF): Likewise.
18922         (FPE_FLTDIV): Likewise.
18923         (FPE_FLTOVF): Likewise.
18924         (FPE_FLTUND): Likewise.
18925         (FPE_FLTRES): Likewise.
18926         (FPE_FLTINV): Likewise.
18927         (FPE_FLTSUB): Likewise.
18928         (SEGV_MAPERR): Likewise.
18929         (SEGV_ACCERR): Likewise.
18930         (BUS_ADRALN): Likewise.
18931         (BUS_ADRERR): Likewise.
18932         (BUS_OBJERR): Likewise.
18933         (BUS_MCEERR_AR): Likewise.
18934         (BUS_MCEERR_AO): Likewise.
18935         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18936         (TRAP_TRACE): Likewise.
18937         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18938         __USE_XOPEN2K8].
18939         (CLD_KILLED): Likewise.
18940         (CLD_DUMPED): Likewise.
18941         (CLD_TRAPPED): Likewise.
18942         (CLD_STOPPED): Likewise.
18943         (CLD_CONTINUED): Likewise.
18944         (POLL_IN): Likewise.
18945         (POLL_OUT): Likewise.
18946         (POLL_MSG): Likewise.
18947         (POLL_ERR): Likewise.
18948         (POLL_PRI): Likewise.
18949         (POLL_HUP): Likewise.
18950         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
18951         Likewise.
18952         (ILL_ILLOPN): Likewise.
18953         (ILL_ILLADR): Likewise.
18954         (ILL_ILLTRP): Likewise.
18955         (ILL_PRVOPC): Likewise.
18956         (ILL_PRVREG): Likewise.
18957         (ILL_COPROC): Likewise.
18958         (ILL_BADSTK): Likewise.
18959         (ILL_BADIADDR): Likewise.
18960         (ILL_BREAK): Likewise.
18961         (FPE_INTDIV): Likewise.
18962         (FPE_INTOVF): Likewise.
18963         (FPE_FLTDIV): Likewise.
18964         (FPE_FLTOVF): Likewise.
18965         (FPE_FLTUND): Likewise.
18966         (FPE_FLTRES): Likewise.
18967         (FPE_FLTINV): Likewise.
18968         (FPE_FLTSUB): Likewise.
18969         (FPE_DECOVF): Likewise.
18970         (FPE_DECDIV): Likewise.
18971         (FPE_DECERR): Likewise.
18972         (FPE_INVASC): Likewise.
18973         (FPE_INVDEC): Likewise.
18974         (SEGV_MAPERR): Likewise.
18975         (SEGV_ACCERR): Likewise.
18976         (SEGV_PSTKOVF): Likewise.
18977         (BUS_ADRALN): Likewise.
18978         (BUS_ADRERR): Likewise.
18979         (BUS_OBJERR): Likewise.
18980         (BUS_MCEERR_AR): Likewise.
18981         (BUS_MCEERR_AO): Likewise.
18982         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18983         (TRAP_TRACE): Likewise.
18984         (TRAP_BRANCH): Likewise.
18985         (TRAP_HWBKPT): Likewise.
18986         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18987         __USE_XOPEN2K8].
18988         (CLD_KILLED): Likewise.
18989         (CLD_DUMPED): Likewise.
18990         (CLD_TRAPPED): Likewise.
18991         (CLD_STOPPED): Likewise.
18992         (CLD_CONTINUED): Likewise.
18993         (POLL_IN): Likewise.
18994         (POLL_OUT): Likewise.
18995         (POLL_MSG): Likewise.
18996         (POLL_ERR): Likewise.
18997         (POLL_PRI): Likewise.
18998         (POLL_HUP): Likewise.
18999         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
19000         (ILL_ILLOPN): Likewise.
19001         (ILL_ILLADR): Likewise.
19002         (ILL_ILLTRP): Likewise.
19003         (ILL_PRVOPC): Likewise.
19004         (ILL_PRVREG): Likewise.
19005         (ILL_COPROC): Likewise.
19006         (ILL_BADSTK): Likewise.
19007         (FPE_INTDIV): Likewise.
19008         (FPE_INTOVF): Likewise.
19009         (FPE_FLTDIV): Likewise.
19010         (FPE_FLTOVF): Likewise.
19011         (FPE_FLTUND): Likewise.
19012         (FPE_FLTRES): Likewise.
19013         (FPE_FLTINV): Likewise.
19014         (FPE_FLTSUB): Likewise.
19015         (SEGV_MAPERR): Likewise.
19016         (SEGV_ACCERR): Likewise.
19017         (BUS_ADRALN): Likewise.
19018         (BUS_ADRERR): Likewise.
19019         (BUS_OBJERR): Likewise.
19020         (BUS_MCEERR_AR): Likewise.
19021         (BUS_MCEERR_AO): Likewise.
19022         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19023         (TRAP_TRACE): Likewise.
19024         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19025         __USE_XOPEN2K8].
19026         (CLD_KILLED): Likewise.
19027         (CLD_DUMPED): Likewise.
19028         (CLD_TRAPPED): Likewise.
19029         (CLD_STOPPED): Likewise.
19030         (CLD_CONTINUED): Likewise.
19031         (POLL_IN): Likewise.
19032         (POLL_OUT): Likewise.
19033         (POLL_MSG): Likewise.
19034         (POLL_ERR): Likewise.
19035         (POLL_PRI): Likewise.
19036         (POLL_HUP): Likewise.
19037         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
19038         (ILL_ILLOPN): Likewise.
19039         (ILL_ILLADR): Likewise.
19040         (ILL_ILLTRP): Likewise.
19041         (ILL_PRVOPC): Likewise.
19042         (ILL_PRVREG): Likewise.
19043         (ILL_COPROC): Likewise.
19044         (ILL_BADSTK): Likewise.
19045         (FPE_INTDIV): Likewise.
19046         (FPE_INTOVF): Likewise.
19047         (FPE_FLTDIV): Likewise.
19048         (FPE_FLTOVF): Likewise.
19049         (FPE_FLTUND): Likewise.
19050         (FPE_FLTRES): Likewise.
19051         (FPE_FLTINV): Likewise.
19052         (FPE_FLTSUB): Likewise.
19053         (SEGV_MAPERR): Likewise.
19054         (SEGV_ACCERR): Likewise.
19055         (BUS_ADRALN): Likewise.
19056         (BUS_ADRERR): Likewise.
19057         (BUS_OBJERR): Likewise.
19058         (BUS_MCEERR_AR): Likewise.
19059         (BUS_MCEERR_AO): Likewise.
19060         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19061         (TRAP_TRACE): Likewise.
19062         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19063         __USE_XOPEN2K8].
19064         (CLD_KILLED): Likewise.
19065         (CLD_DUMPED): Likewise.
19066         (CLD_TRAPPED): Likewise.
19067         (CLD_STOPPED): Likewise.
19068         (CLD_CONTINUED): Likewise.
19069         (POLL_IN): Likewise.
19070         (POLL_OUT): Likewise.
19071         (POLL_MSG): Likewise.
19072         (POLL_ERR): Likewise.
19073         (POLL_PRI): Likewise.
19074         (POLL_HUP): Likewise.
19075         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
19076         (ILL_ILLOPN): Likewise.
19077         (ILL_ILLADR): Likewise.
19078         (ILL_ILLTRP): Likewise.
19079         (ILL_PRVOPC): Likewise.
19080         (ILL_PRVREG): Likewise.
19081         (ILL_COPROC): Likewise.
19082         (ILL_BADSTK): Likewise.
19083         (FPE_INTDIV): Likewise.
19084         (FPE_INTOVF): Likewise.
19085         (FPE_FLTDIV): Likewise.
19086         (FPE_FLTOVF): Likewise.
19087         (FPE_FLTUND): Likewise.
19088         (FPE_FLTRES): Likewise.
19089         (FPE_FLTINV): Likewise.
19090         (FPE_FLTSUB): Likewise.
19091         (SEGV_MAPERR): Likewise.
19092         (SEGV_ACCERR): Likewise.
19093         (BUS_ADRALN): Likewise.
19094         (BUS_ADRERR): Likewise.
19095         (BUS_OBJERR): Likewise.
19096         (BUS_MCEERR_AR): Likewise.
19097         (BUS_MCEERR_AO): Likewise.
19098         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19099         (TRAP_TRACE): Likewise.
19100         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19101         __USE_XOPEN2K8].
19102         (CLD_KILLED): Likewise.
19103         (CLD_DUMPED): Likewise.
19104         (CLD_TRAPPED): Likewise.
19105         (CLD_STOPPED): Likewise.
19106         (CLD_CONTINUED): Likewise.
19107         (POLL_IN): Likewise.
19108         (POLL_OUT): Likewise.
19109         (POLL_MSG): Likewise.
19110         (POLL_ERR): Likewise.
19111         (POLL_PRI): Likewise.
19112         (POLL_HUP): Likewise.
19113         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
19114         (ILL_ILLOPN): Likewise.
19115         (ILL_ILLADR): Likewise.
19116         (ILL_ILLTRP): Likewise.
19117         (ILL_PRVOPC): Likewise.
19118         (ILL_PRVREG): Likewise.
19119         (ILL_COPROC): Likewise.
19120         (ILL_BADSTK): Likewise.
19121         (ILL_DBLFLT): Likewise.
19122         (ILL_HARDWALL): Likewise.
19123         (FPE_INTDIV): Likewise.
19124         (FPE_INTOVF): Likewise.
19125         (FPE_FLTDIV): Likewise.
19126         (FPE_FLTOVF): Likewise.
19127         (FPE_FLTUND): Likewise.
19128         (FPE_FLTRES): Likewise.
19129         (FPE_FLTINV): Likewise.
19130         (FPE_FLTSUB): Likewise.
19131         (SEGV_MAPERR): Likewise.
19132         (SEGV_ACCERR): Likewise.
19133         (BUS_ADRALN): Likewise.
19134         (BUS_ADRERR): Likewise.
19135         (BUS_OBJERR): Likewise.
19136         (BUS_MCEERR_AR): Likewise.
19137         (BUS_MCEERR_AO): Likewise.
19138         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19139         (TRAP_TRACE): Likewise.
19140         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19141         __USE_XOPEN2K8].
19142         (CLD_KILLED): Likewise.
19143         (CLD_DUMPED): Likewise.
19144         (CLD_TRAPPED): Likewise.
19145         (CLD_STOPPED): Likewise.
19146         (CLD_CONTINUED): Likewise.
19147         (POLL_IN): Likewise.
19148         (POLL_OUT): Likewise.
19149         (POLL_MSG): Likewise.
19150         (POLL_ERR): Likewise.
19151         (POLL_PRI): Likewise.
19152         (POLL_HUP): Likewise.
19153         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
19154         (ILL_ILLOPN): Likewise.
19155         (ILL_ILLADR): Likewise.
19156         (ILL_ILLTRP): Likewise.
19157         (ILL_PRVOPC): Likewise.
19158         (ILL_PRVREG): Likewise.
19159         (ILL_COPROC): Likewise.
19160         (ILL_BADSTK): Likewise.
19161         (FPE_INTDIV): Likewise.
19162         (FPE_INTOVF): Likewise.
19163         (FPE_FLTDIV): Likewise.
19164         (FPE_FLTOVF): Likewise.
19165         (FPE_FLTUND): Likewise.
19166         (FPE_FLTRES): Likewise.
19167         (FPE_FLTINV): Likewise.
19168         (FPE_FLTSUB): Likewise.
19169         (SEGV_MAPERR): Likewise.
19170         (SEGV_ACCERR): Likewise.
19171         (BUS_ADRALN): Likewise.
19172         (BUS_ADRERR): Likewise.
19173         (BUS_OBJERR): Likewise.
19174         (BUS_MCEERR_AR): Likewise.
19175         (BUS_MCEERR_AO): Likewise.
19176         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19177         (TRAP_TRACE): Likewise.
19178         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19179         __USE_XOPEN2K8].
19180         (CLD_KILLED): Likewise.
19181         (CLD_DUMPED): Likewise.
19182         (CLD_TRAPPED): Likewise.
19183         (CLD_STOPPED): Likewise.
19184         (CLD_CONTINUED): Likewise.
19185         (POLL_IN): Likewise.
19186         (POLL_OUT): Likewise.
19187         (POLL_MSG): Likewise.
19188         (POLL_ERR): Likewise.
19189         (POLL_PRI): Likewise.
19190         (POLL_HUP): Likewise.
19191         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
19192         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19194         [BZ #16670]
19195         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
19196         before #include of <time.h>.
19197         [!__USE_XOPEN2K] (__need_timespec): Likewise.
19198         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
19199         (test-xfail-UNIX98/sched.h/conform): Likewise.
19201 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19203         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
19204         error absence of trapping exception support.
19205         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19207 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
19209         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
19210         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
19211         * timezone/Makefile (testdata): Move definition above include of
19212         Rules.
19213         (test-zones): New variable.
19214         (tests-special): Add zone files.
19215         (build-testdata): Use $(evaluate-test).
19217         * elf/Makefile (tests-special): Rename tests to end with .out.
19218         ($(objpfx)noload-mem): Likewise.
19219         ($(objpfx)tst-leaks1-mem): Likewise.
19220         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
19221         * iconv/Makefile (xtests-special): Change test-iconvconfig to
19222         $(objpfx)test-iconvconfig.out.
19223         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
19224         set -e inside subshell and redirect output to file.
19225         * iconvdata/Makefile (generated): Rename tests to end with .out.
19226         Correct type.
19227         (tests-special): Rename tests to end with .out.
19228         ($(objpfx)mtrace-tst-loading): Likewise.
19229         * intl/Makefile (generated): Likewise.
19230         (tests-special): Likewise.
19231         ($(objpfx)mtrace-tst-gettext): Likewise.
19232         * misc/Makefile (generated): Likewise.
19233         (tests-special): Likewise.
19234         ($(objpfx)tst-error1-mem): Likewise.
19235         * nptl/Makefile (tests-special): Likewise.
19236         ($(objpfx)tst-stack3-mem): Likewise.
19237         (generated): Likewise.
19238         * posix/Makefile (generated): Likewise.
19239         (tests-special): Likewise.
19240         (xtests-special): Likewise.
19241         ($(objpfx)tst-fnmatch-mem): Likewise.
19242         ($(objpfx)bug-regex2-mem): Likewise.
19243         ($(objpfx)bug-regex14-mem): Likewise.
19244         ($(objpfx)bug-regex21-mem): Likewise.
19245         ($(objpfx)bug-regex31-mem): Likewise.
19246         ($(objpfx)tst-vfork3-mem): Likewise.
19247         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19248         ($(objpfx)tst-pcre-mem): Likewise.
19249         ($(objpfx)tst-boost-mem): Likewise.
19250         ($(objpfx)bug-ga2-mem): Likewise.
19251         ($(objpfx)bug-glob2-mem): Likewise.
19252         * resolv/Makefile (generate): Likewise.
19253         (tests-special): Likewise.
19254         (xtests-special): Likewise.
19255         (generated): Likewise.
19256         ($(objpfx)mtrace-tst-leaks): Likewise.
19257         ($(objpfx)mtrace-tst-leaks2): Likewise.
19259         * scripts/merge-test-results.sh: New file.
19260         * Makefile (tests-special-notdir): New variable.
19261         (tests): Run merge-test-results.sh.
19262         (xtests): Likewise.
19263         * Rules (tests-special-notdir): New variable.
19264         (xtests-special-notdir): Likewise.
19265         (tests): Run merge-test-results.sh
19266         (xtests): Likewise.
19268         * Makeconfig (test-xfail-name): New variable.
19269         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
19270         compute variable name for expected failures.
19271         * conform/Makefile (conformtest-headers-data): New variable.
19272         (conformtest-standards): Likewise.
19273         (conformtest-headers-ISO): Likewise.
19274         (conformtest-headers-ISO99): Likewise.
19275         (conformtest-headers-ISO11): Likewise.
19276         (conformtest-headers-POSIX): Likewise.
19277         (conformtest-headers-XPG3): Likewise.
19278         (conformtest-headers-XPG4): Likewise.
19279         (conformtest-headers-UNIX98): Likewise.
19280         (conformtest-headers-XOPEN2K): Likewise.
19281         (conformtest-headers-POSIX2008): Likewise.
19282         (conformtest-headers-XOPEN2K8): Likewise.
19283         (conformtest-header-list-base): Likewise.
19284         (conformtest-header-list-tests): Likewise.
19285         (conformtest-header-base): Likewise.
19286         (conformtest-header-tests): Likewise.
19287         (tests-special): Add $(conformtest-header-list-tests).  If
19288         [$(fast-check) && !$(cross-compiling)], add
19289         $(conformtest-header-tests) instead of
19290         $(objpfx)run-conformtest.out.
19291         (generated): Add $(conformtest-header-list-base).  If
19292         [$(fast-check) && !$(cross-compiling)], add
19293         $(conformtest-header-base).  Remove previous setting.
19294         ($(conformtest-header-list-tests)): New target.
19295         (test-xfail-run-conformtest): Remove variable.
19296         ($(objpfx)run-conformtest.out): Remove target.
19297         (test-xfail-ISO11/complex.h/conform): New variable.
19298         (test-xfail-ISO11/stdalign.h/conform): Likewise.
19299         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19300         (test-xfail-XPG3/varargs.h/conform): Likewise.
19301         (test-xfail-XPG4/varargs.h/conform): Likewise.
19302         (test-xfail-UNIX98/varargs.h/conform): Likewise.
19303         (test-xfail-XPG4/ndbm.h/conform): Likewise.
19304         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
19305         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
19306         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
19307         (test-xfail-XPG3/fcntl.h/conform): Likewise.
19308         (test-xfail-XPG3/ftw.h/conform): Likewise.
19309         (test-xfail-XPG3/grp.h/conform): Likewise.
19310         (test-xfail-XPG3/langinfo.h/conform): Likewise.
19311         (test-xfail-XPG3/limits.h/conform): Likewise.
19312         (test-xfail-XPG3/pwd.h/conform): Likewise.
19313         (test-xfail-XPG3/search.h/conform): Likewise.
19314         (test-xfail-XPG3/signal.h/conform): Likewise.
19315         (test-xfail-XPG3/stdio.h/conform): Likewise.
19316         (test-xfail-XPG3/stdlib.h/conform): Likewise.
19317         (test-xfail-XPG3/string.h/conform): Likewise.
19318         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
19319         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
19320         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19321         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19322         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
19323         (test-xfail-XPG3/sys/types.h/conform): Likewise.
19324         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
19325         (test-xfail-XPG3/termios.h/conform): Likewise.
19326         (test-xfail-XPG3/time.h/conform): Likewise.
19327         (test-xfail-XPG3/unistd.h/conform): Likewise.
19328         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
19329         (test-xfail-XPG4/fcntl.h/conform): Likewise.
19330         (test-xfail-XPG4/langinfo.h/conform): Likewise.
19331         (test-xfail-XPG4/netdb.h/conform): Likewise.
19332         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
19333         (test-xfail-XPG4/signal.h/conform): Likewise.
19334         (test-xfail-XPG4/stdio.h/conform): Likewise.
19335         (test-xfail-XPG4/stdlib.h/conform): Likewise.
19336         (test-xfail-XPG4/stropts.h/conform): Likewise.
19337         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19338         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19339         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19340         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19341         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19342         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
19343         (test-xfail-XPG4/sys/time.h/conform): Likewise.
19344         (test-xfail-XPG4/sys/types.h/conform): Likewise.
19345         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
19346         (test-xfail-XPG4/termios.h/conform): Likewise.
19347         (test-xfail-XPG4/ucontext.h/conform): Likewise.
19348         (test-xfail-XPG4/unistd.h/conform): Likewise.
19349         (test-xfail-XPG4/utmpx.h/conform): Likewise.
19350         (test-xfail-POSIX/sched.h/conform): Likewise.
19351         (test-xfail-POSIX/signal.h/conform): Likewise.
19352         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19353         (test-xfail-POSIX/tar.h/conform): Likewise.
19354         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
19355         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
19356         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
19357         (test-xfail-UNIX98/netdb.h/conform): Likewise.
19358         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
19359         (test-xfail-UNIX98/sched.h/conform): Likewise.
19360         (test-xfail-UNIX98/signal.h/conform): Likewise.
19361         (test-xfail-UNIX98/stdio.h/conform): Likewise.
19362         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
19363         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19364         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19365         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19366         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19367         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19368         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19369         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19370         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
19371         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
19372         (test-xfail-UNIX98/unistd.h/conform): Likewise.
19373         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19374         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
19375         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
19376         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
19377         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
19378         (test-xfail-XOPEN2K/math.h/conform): Likewise.
19379         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
19380         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19381         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19382         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
19383         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
19384         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
19385         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
19386         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19387         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19388         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19389         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19390         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19391         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19392         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
19393         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
19394         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
19395         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
19396         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19397         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
19398         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19399         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
19400         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
19401         (test-xfail-POSIX2008/signal.h/conform): Likewise.
19402         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19403         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
19404         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
19405         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19406         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19407         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
19408         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
19409         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19410         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19411         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
19412         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
19413         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19414         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19415         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19416         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
19417         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19418         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19419         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19420         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19421         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
19422         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
19423         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
19424         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
19425         (conformtest-cc-flags): Likewise.
19426         ($(conformtest-header-tests): New target.
19427         * conform/check-header-lists.sh: New file.
19428         * conform/run-conformtest.sh: Remove.
19430         * conform/conformtest.pl: Allow ' and \ in values given for
19431         constants.
19432         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
19433         inclusion.
19434         [POSIX] (sys/types.h): Likewise.
19435         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
19436         inclusion.
19437         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
19438         inclusion.
19439         * conform/data/signal.h-data (SIGIO): Remove expectation.
19440         [XPG3] (SIGBUS): Do not expect.
19441         [POSIX || XPG3] (SIGPOLL): Likewise.
19442         [POSIX || XPG3] (SIGPROF): Likewise.
19443         [POSIX || XPG3] (SIGSYS): Likewise.
19444         [XPG3] (SIGTRAP): Likewise.
19445         [POSIX || XPG3] (SIGURG): Likewise.
19446         [POSIX || XPG3] (SIGVTALRM): Likewise.
19447         [POSIX || XPG3] (SIGXCPU): Likewise.
19448         [POSIX || XPG3] (SIGXFSZ): Likewise.
19449         [POSIX] (SA_SIGINFO): Expect.
19450         [XPG3] (siginfo_t): Do not expect type or contents.
19451         [POSIX] (si_pid): Do not expect element.
19452         [POSIX] (si_uid): Likewise.
19453         [POSIX] (si_addr): Likewise.
19454         [POSIX] (si_status): Likewise.
19455         [POSIX] (si_band): Likewise.
19456         [XPG4] (si_value): Likewise.
19457         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
19458         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
19459         [POSIX || XPG3] (ILL_ILLADR): Likewise.
19460         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
19461         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
19462         [POSIX || XPG3] (ILL_PRVREG): Likewise.
19463         [POSIX || XPG3] (ILL_COPROC): Likewise.
19464         [POSIX || XPG3] (ILL_BADSTK): Likewise.
19465         [POSIX || XPG3] (FPE_INTDIV): Likewise.
19466         [POSIX || XPG3] (FPE_INTOVF): Likewise.
19467         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
19468         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
19469         [POSIX || XPG3] (FPE_FLTUND): Likewise.
19470         [POSIX || XPG3] (FPE_FLTRES): Likewise.
19471         [POSIX || XPG3] (FPE_FLTINV): Likewise.
19472         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
19473         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
19474         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
19475         [POSIX || XPG3] (BUS_ADRALN): Likewise.
19476         [POSIX || XPG3] (BUS_ADRERR): Likewise.
19477         [POSIX || XPG3] (BUS_OBJERR): Likewise.
19478         [POSIX || XPG3] (CLD_EXITED): Likewise.
19479         [POSIX || XPG3] (CLD_KILLED): Likewise.
19480         [POSIX || XPG3] (CLD_DUMPED): Likewise.
19481         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
19482         [POSIX || XPG3] (CLD_STOPPED): Likewise.
19483         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
19484         [POSIX || XPG3] (POLL_IN): Likewise.
19485         [POSIX || XPG3] (POLL_OUT): Likewise.
19486         [POSIX || XPG3] (POLL_MSG): Likewise.
19487         [POSIX || XPG3] (POLL_ERR): Likewise.
19488         [POSIX || XPG3] (POLL_PRI): Likewise.
19489         [POSIX || XPG3] (POLL_HUP): Likewise.
19490         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
19491         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
19492         (SIG*): Do not allow.
19493         [XPG3] (si_*): Likewise.
19494         [XPG3] (SI_*): Likewise.
19495         [XPG3 || XPG4] (sigev_*): Likewise.
19496         [XPG3 || XPG4] (SIGEV_*): Likewise.
19497         [XPG3 || XPG4] (sival_*): Likewise.
19498         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
19499         [POSIX || XPG3] (BUS_*): Likewise.
19500         [POSIX || XPG3] (CLD_*): Likewise.
19501         [POSIX || XPG3] (FPE_*): Likewise.
19502         [POSIX || XPG3] (ILL_*): Likewise.
19503         [POSIX || XPG3] (POLL_*): Likewise.
19504         [POSIX || XPG3] (SEGV_*): Likewise.
19505         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
19506         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
19507         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
19508         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
19509         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
19510         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
19511         Specify type and value.
19512         (TVERSLEN): Likewise.
19513         (REGTYPE): Likewise.
19514         (AREGTYPE): Likewise.
19515         (LNKTYPE): Likewise.
19516         (SYMTYPE): Likewise.
19517         (CHRTYPE): Likewise.
19518         (BLKTYPE): Likewise.
19519         (DIRTYPE): Likewise.
19520         (FIFOTYPE): Likewise.
19521         (CONTTYPE): Likewise.
19522         (TSUID): Likewise.
19523         (TSGID): Likewise.
19524         (TSVTX): Likewise.
19525         (TUREAD): Likewise.
19526         (TUWRITE): Likewise.
19527         (TUEXEC): Likewise.
19528         (TGREAD): Likewise.
19529         (TGWRITE): Likewise.
19530         (TGEXEC): Likewise.
19531         (TOREAD): Likewise.
19532         (TOWRITE): Likewise.
19533         (TOEXEC): Likewise.
19534         [POSIX] (TSVTX): Expect constant.
19536 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
19538         * Makefile (tests): Change dependencies to ....
19539         (tests-special): ... additions to this variable.
19540         (tests): Depend on $(tests-special).
19541         * Makerules (check-abi-list): New variable.
19542         (check-abi): Depend on $(check-abi-list).
19543         [$(subdir) = elf] (tests-special): Add
19544         $(objpfx)check-abi-libc.out.
19545         [$(build-shared) = yes && subdir] (tests-special): Add
19546         $(check-abi-list).
19547         [$(build-shared) = yes && subdir] (tests): Do not depend on
19548         check-abi.
19549         * Rules (tests): Depend on $(tests-special).
19550         (xtests): Depend on $(xtests-special).
19551         * catgets/Makefile (tests): Change dependencies to ....
19552         (tests-special): ... additions to this variable.
19553         * conform/Makefile (tests): Change dependencies to ....
19554         (tests-special): ... additions to this variable.
19555         * elf/Makefile (tests): Change dependencies to ....
19556         (tests-special): ... additions to this variable.
19557         * grp/Makefile (tests): Change dependencies to ....
19558         (tests-special): ... additions to this variable.
19559         * iconv/Makefile (xtests): Change dependencies to ....
19560         (xtests-special): ... additions to this variable.
19561         * iconvdata/Makefile (tests): Change dependencies to ....
19562         (tests-special): ... additions to this variable.
19563         * intl/Makefile (tests): Change dependencies to ....
19564         (tests-special): ... additions to this variable.  Also add
19565         $(objpfx)tst-gettext.out.
19566         * io/Makefile (tests): Change dependencies to ....
19567         (tests-special): ... additions to this variable.
19568         * libio/Makefile (tests): Change dependencies to ....
19569         (tests-special): ... additions to this variable.
19570         * malloc/Makefile (tests): Change dependencies to ....
19571         (tests-special): ... additions to this variable.
19572         * misc/Makefile (tests): Change dependencies to ....
19573         (tests-special): ... additions to this variable.
19574         * nptl/Makefile (tests): Change dependencies to ....
19575         (tests-special): ... additions to this variable.
19576         * nptl_db/Makefile (tests): Change dependencies to ....
19577         (tests-special): ... additions to this variable.
19578         * posix/Makefile (tests): Change dependencies to ....
19579         (tests-special): ... additions to this variable.
19580         (xtests): Change dependencies to ....
19581         (xtests-special): ... additions to this variable.
19582         * resolv/Makefile (tests): Change dependencies to ....
19583         (tests-special): ... additions to this variable.
19584         (xtests): Change dependencies to ....
19585         (xtests-special): ... additions to this variable.
19586         * stdio-common/Makefile (tests): Change dependencies to ....
19587         (tests-special): ... additions to this variable.
19588         (do-tst-unbputc): Remove target.
19589         (do-tst-printf): Likewise.
19590         * stdlib/Makefile (tests): Change dependencies to ....
19591         (tests-special): ... additions to this variable.
19592         * string/Makefile (tests): Change dependencies to ....
19593         (tests-special): ... additions to this variable.
19594         * sysdeps/x86/Makefile (tests): Change dependencies to ....
19595         (tests-special): ... additions to this variable.
19597         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
19598         whole file.
19599         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
19600         whole file.
19601         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
19602         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
19604         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
19605         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
19606         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
19607         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
19608         * conform/data/libgen.h-data [XPG3]: Likewise.
19609         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
19610         * conform/data/ndbm.h-data [XPG3]: Likewise.
19611         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19612         * conform/data/netdb.h-data [XPG3]: Likewise.
19613         * conform/data/netinet/in.h-data [XPG3]: Likewise.
19614         * conform/data/poll.h-data [XPG3]: Likewise.
19615         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19616         * conform/data/strings.h-data [XPG3]: Likewise.
19617         * conform/data/stropts.h-data [XPG3]: Likewise.
19618         * conform/data/sys/mman.h-data [XPG3]: Likewise.
19619         * conform/data/sys/resource.h-data [XPG3]: Likewise.
19620         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
19621         Likewise.
19622         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
19623         * conform/data/sys/time.h-data [XPG3]: Likewise.
19624         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
19625         * conform/data/sys/uio.h-data [XPG3]: Likewise.
19626         * conform/data/sys/un.h-data [XPG3]: Likewise.
19627         * conform/data/syslog.h-data [XPG3]: Likewise.
19628         * conform/data/ucontext.h-data [XPG3]: Likewise.
19629         * conform/data/utmpx.h-data [XPG3]: Likewise.
19630         * conform/data/varargs.h-data [UNIX98]: Enable file.
19632         * manual/Makefile (INSTALL_INFO): Remove variable setting.
19634         * math/libm-test.inc (struct test_f_f_data): Move expected results
19635         into structure for each rounding mode.
19636         (struct test_ff_f_data): Likewise.
19637         (struct test_ff_f_data_nexttoward): Likewise.
19638         (struct test_fi_f_data): Likewise.
19639         (struct test_fl_f_data): Likewise.
19640         (struct test_if_f_data): Likewise.
19641         (struct test_fff_f_data): Likewise.
19642         (struct test_c_f_data): Likewise.
19643         (struct test_f_f1_data): Likewise.
19644         (struct test_fF_f1_data): Likewise.
19645         (struct test_ffI_f1_data): Likewise.
19646         (struct test_c_c_data): Likewise.
19647         (struct test_cc_c_data): Likewise.
19648         (struct test_f_i_data): Likewise.
19649         (struct test_ff_i_data): Likewise.
19650         (struct test_f_l_data): Likewise.
19651         (struct test_f_L_data): Likewise.
19652         (struct test_fFF_11_data): Likewise.
19653         (RM_): New macro.
19654         (RM_FE_DOWNWARD): Likewise.
19655         (RM_FE_TONEAREST): Likewise.
19656         (RM_FE_TOWARDZERO): Likewise.
19657         (RM_FE_UPWARD): Likewise.
19658         (RUN_TEST_LOOP_f_f): Update references to expected results.
19659         (RUN_TEST_LOOP_2_f): Likewise.
19660         (RUN_TEST_LOOP_fff_f): Likewise.
19661         (RUN_TEST_LOOP_c_f): Likewise.
19662         (RUN_TEST_LOOP_f_f1): Likewise.
19663         (RUN_TEST_LOOP_fF_f1): Likewise.
19664         (RUN_TEST_LOOP_fI_f1): Likewise.
19665         (RUN_TEST_LOOP_ffI_f1): Likewise.
19666         (RUN_TEST_LOOP_c_c): Likewise.
19667         (RUN_TEST_LOOP_cc_c): Likewise.
19668         (RUN_TEST_LOOP_f_i): Likewise.
19669         (RUN_TEST_LOOP_f_i_tg): Likewise.
19670         (RUN_TEST_LOOP_ff_i_tg): Likewise.
19671         (RUN_TEST_LOOP_f_b): Likewise.
19672         (RUN_TEST_LOOP_f_b_tg): Likewise.
19673         (RUN_TEST_LOOP_f_l): Likewise.
19674         (RUN_TEST_LOOP_f_L): Likewise.
19675         (RUN_TEST_LOOP_fFF_11): Likewise.
19676         * math/gen-libm-test.pl (parse_args): Output four copies of
19677         expected results for each test.
19679         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19680         (__ASSUME_UTIMES): Remove.
19681         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19682         (__ASSUME_UTIMES): Likewise.
19684         * math/gen-auto-libm-tests.c: Update comment on output format.
19685         (output_for_one_input_case): Generate before-rounding and
19686         after-rounding information as conditions on output flags not
19687         floating-point format.
19688         * math/auto-libm-test-out: Regenerated.
19689         * math/gen-libm-test.pl (cond_value): New function.
19690         (or_cond_value): Use cond_value.
19691         (generate_testfile): Handle conditional exceptions.
19693 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
19695         * math/libm-test.inc (max_valid_error): New variable.
19696         (init_max_error): Take new argument specifying whether function
19697         results are exactly determined.  Set max_valid_error and bound
19698         other variables for errors based on this argument.
19699         (set_max_error): Do not record results above max_valid_error.
19700         (check_float_internal): Only accept errors of up to 0.5ulps if
19701         also at most max_valid_error.
19702         (START): Take new argument EXACT and pass it to init_max_error.
19703         (acos_test): Update call to START.
19704         (acos_test_tonearest): Likewise.
19705         (acos_test_towardzero): Likewise.
19706         (acos_test_downward): Likewise.
19707         (acos_test_upward): Likewise.
19708         (acosh_test): Likewise.
19709         (asin_test): Likewise.
19710         (asin_test_tonearest): Likewise.
19711         (asin_test_towardzero): Likewise.
19712         (asin_test_downward): Likewise.
19713         (asin_test_upward): Likewise.
19714         (asinh_test): Likewise.
19715         (atan_test): Likewise.
19716         (atanh_test): Likewise.
19717         (atan2_test): Likewise.
19718         (cabs_test): Likewise.
19719         (cacos_test): Likewise.
19720         (cacosh_test): Likewise.
19721         (carg_test): Likewise.
19722         (casin_test): Likewise.
19723         (casinh_test): Likewise.
19724         (catan_test): Likewise.
19725         (catanh_test): Likewise.
19726         (cbrt_test): Likewise.
19727         (ccos_test): Likewise.
19728         (ccosh_test): Likewise.
19729         (ceil_test): Likewise.
19730         (cexp_test): Likewise.
19731         (cimag_test): Likewise.
19732         (clog_test): Likewise.
19733         (clog10_test): Likewise.
19734         (conj_test): Likewise.
19735         (copysign_test): Likewise.
19736         (cos_test): Likewise.
19737         (cos_test_tonearest): Likewise.
19738         (cos_test_towardzero): Likewise.
19739         (cos_test_downward): Likewise.
19740         (cos_test_upward): Likewise.
19741         (cosh_test): Likewise.
19742         (cosh_test_tonearest): Likewise.
19743         (cosh_test_towardzero): Likewise.
19744         (cosh_test_downward): Likewise.
19745         (cosh_test_upward): Likewise.
19746         (cpow_test): Likewise.
19747         (cproj_test): Likewise.
19748         (creal_test): Likewise.
19749         (csin_test): Likewise.
19750         (csinh_test): Likewise.
19751         (csqrt_test): Likewise.
19752         (ctan_test): Likewise.
19753         (ctan_test_tonearest): Likewise.
19754         (ctan_test_towardzero): Likewise.
19755         (ctan_test_downward): Likewise.
19756         (ctan_test_upward): Likewise.
19757         (ctanh_test): Likewise.
19758         (ctanh_test_tonearest): Likewise.
19759         (ctanh_test_towardzero): Likewise.
19760         (ctanh_test_downward): Likewise.
19761         (ctanh_test_upward): Likewise.
19762         (erf_test): Likewise.
19763         (erfc_test): Likewise.
19764         (exp_test): Likewise.
19765         (exp_test_tonearest): Likewise.
19766         (exp_test_towardzero): Likewise.
19767         (exp_test_downward): Likewise.
19768         (exp_test_upward): Likewise.
19769         (exp10_test): Likewise.
19770         (exp10_test_tonearest): Likewise.
19771         (exp10_test_towardzero): Likewise.
19772         (exp10_test_downward): Likewise.
19773         (exp10_test_upward): Likewise.
19774         (pow10_test): Likewise.
19775         (exp2_test): Likewise.
19776         (expm1_test): Likewise.
19777         (expm1_test_tonearest): Likewise.
19778         (expm1_test_towardzero): Likewise.
19779         (expm1_test_downward): Likewise.
19780         (expm1_test_upward): Likewise.
19781         (fabs_test): Likewise.
19782         (fdim_test): Likewise.
19783         (floor_test): Likewise.
19784         (fma_test): Likewise.
19785         (fma_test_towardzero): Likewise.
19786         (fma_test_downward): Likewise.
19787         (fma_test_upward): Likewise.
19788         (fmax_test): Likewise.
19789         (fmin_test): Likewise.
19790         (fmod_test): Likewise.
19791         (fpclassify_test): Likewise.
19792         (frexp_test): Likewise.
19793         (hypot_test): Likewise.
19794         (ilogb_test): Likewise.
19795         (isfinite_test): Likewise.
19796         (finite_test): Likewise.
19797         (isgreater_test): Likewise.
19798         (isgreaterequal_test): Likewise.
19799         (isinf_test): Likewise.
19800         (isless_test): Likewise.
19801         (islessequal_test): Likewise.
19802         (islessgreater_test): Likewise.
19803         (isnan_test): Likewise.
19804         (isnormal_test): Likewise.
19805         (issignaling_test): Likewise.
19806         (isunordered_test): Likewise.
19807         (j0_test): Likewise.
19808         (j1_test): Likewise.
19809         (jn_test): Likewise.
19810         (ldexp_test): Likewise.
19811         (lgamma_test): Likewise.
19812         (gamma_test): Likewise.
19813         (lrint_test): Likewise.
19814         (lrint_test_tonearest): Likewise.
19815         (lrint_test_towardzero): Likewise.
19816         (lrint_test_downward): Likewise.
19817         (lrint_test_upward): Likewise.
19818         (llrint_test): Likewise.
19819         (llrint_test_tonearest): Likewise.
19820         (llrint_test_towardzero): Likewise.
19821         (llrint_test_downward): Likewise.
19822         (llrint_test_upward): Likewise.
19823         (log_test): Likewise.
19824         (log10_test): Likewise.
19825         (log1p_test): Likewise.
19826         (log2_test): Likewise.
19827         (logb_test): Likewise.
19828         (logb_test_downward): Likewise.
19829         (lround_test): Likewise.
19830         (llround_test): Likewise.
19831         (modf_test): Likewise.
19832         (nearbyint_test): Likewise.
19833         (nextafter_test): Likewise.
19834         (nexttoward_test): Likewise.
19835         (pow_test): Likewise.
19836         (pow_test_tonearest): Likewise.
19837         (pow_test_towardzero): Likewise.
19838         (pow_test_downward): Likewise.
19839         (pow_test_upward): Likewise.
19840         (remainder_test): Likewise.
19841         (drem_test): Likewise.
19842         (remainder_test_tonearest): Likewise.
19843         (drem_test_tonearest): Likewise.
19844         (remainder_test_towardzero): Likewise.
19845         (drem_test_towardzero): Likewise.
19846         (remainder_test_downward): Likewise.
19847         (drem_test_downward): Likewise.
19848         (remainder_test_upward): Likewise.
19849         (drem_test_upward): Likewise.
19850         (remquo_test): Likewise.
19851         (rint_test): Likewise.
19852         (rint_test_tonearest): Likewise.
19853         (rint_test_towardzero): Likewise.
19854         (rint_test_downward): Likewise.
19855         (rint_test_upward): Likewise.
19856         (round_test): Likewise.
19857         (scalb_test): Likewise.
19858         (scalbn_test): Likewise.
19859         (scalbln_test): Likewise.
19860         (signbit_test): Likewise.
19861         (sin_test): Likewise.
19862         (sin_test_tonearest): Likewise.
19863         (sin_test_towardzero): Likewise.
19864         (sin_test_downward): Likewise.
19865         (sin_test_upward): Likewise.
19866         (sincos_test): Likewise.
19867         (sinh_test): Likewise.
19868         (sinh_test_tonearest): Likewise.
19869         (sinh_test_towardzero): Likewise.
19870         (sinh_test_downward): Likewise.
19871         (sinh_test_upward): Likewise.
19872         (sqrt_test): Likewise.
19873         (sqrt_test_tonearest): Likewise.
19874         (sqrt_test_towardzero): Likewise.
19875         (sqrt_test_downward): Likewise.
19876         (sqrt_test_upward): Likewise.
19877         (tan_test): Likewise.
19878         (tan_test_tonearest): Likewise.
19879         (tan_test_towardzero): Likewise.
19880         (tan_test_downward): Likewise.
19881         (tan_test_upward): Likewise.
19882         (tanh_test): Likewise.
19883         (tgamma_test): Likewise.
19884         (trunc_test): Likewise.
19885         (y0_test): Likewise.
19886         (y1_test): Likewise.
19887         (yn_test): Likewise.
19888         (significand_test): Likewise.
19890         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
19891         individual tests in comment.
19892         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
19893         (prev_max_error): New variable.
19894         (prev_real_max_error): Likewise.
19895         (prev_imag_max_error): Likewise.
19896         (compare_ulp_data): Don't refer to test names in comment.
19897         (find_test_ulps): Remove function.
19898         (find_function_ulps): Likewise.
19899         (find_complex_function_ulps): Likewise.
19900         (init_max_error): Take function name as argument.  Look up ulps
19901         for that function.
19902         (print_ulps): Remove function.
19903         (print_max_error): Use prev_max_error instead of calling
19904         find_function_ulps.
19905         (print_complex_max_error): Use prev_real_max_error and
19906         prev_imag_max_error instead of calling find_complex_function_ulps.
19907         (check_float_internal): Take max_ulp parameter instead of calling
19908         find_test_ulps.  Don't call print_ulps.
19909         (check_float): Update call to check_float_internal.
19910         (check_complex): Update calls to check_float_internal.
19911         (START): Pass argument to init_max_error.
19912         * math/gen-libm-test.pl (%results): Don't include "kind"
19913         information.
19914         (parse_ulps): Don't handle ulps of individual tests.
19915         (print_ulps_file): Likewise.
19916         (output_ulps): Likewise.
19917         * math/README.libm-test: Update.
19918         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
19919         individual tests.
19920         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
19921         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
19922         * sysdeps/arm/libm-test-ulps: Likewise.
19923         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19924         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
19925         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
19926         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
19927         * sysdeps/microblaze/libm-test-ulps: Likewise.
19928         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19929         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19930         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19931         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
19932         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19933         * sysdeps/sh/libm-test-ulps: Likewise.
19934         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19935         * sysdeps/tile/libm-test-ulps: Likewise.
19936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19938 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
19940         * math/libm-test.inc (print_complex_max_error): Check separately
19941         whether real and imaginary errors are within allowed range and
19942         pass 0 to print_complex_function_ulps instead of value within
19943         allowed range.
19945 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19947         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
19948         formatting.
19949         (get_handles_fopen): Likewise.
19950         (do_write_test): Likewise.
19952         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
19954         * libio/fileops.c (do_ftell): Use cached offset when
19955         available.
19956         * libio/iofwide.c (do_ftell_wide): Likewise.
19957         * libio/iofdopen.c (_IO_new_fdopen): Don't use
19958         _IO_file_attach.
19959         * libio/wfileops.c (_IO_fwide): Don't cache offset.
19961         [BZ #16532]
19962         * libio/libioP.h (get_file_offset): New function.
19963         * libio/fileops.c (get_file_offset): Likewise.
19964         (do_ftell): Likewise.
19965         (_IO_new_file_seekoff): Split out ftell logic.
19966         * libio/wfileops.c (do_ftell_wide): Likewise.
19967         (_IO_wfile_seekoff): Split out ftell logic.
19968         * libio/tst-ftell-active-handler.c: New test case.
19969         * libio/Makefile (tests): Add it.
19971 2014-03-03  Roland McGrath  <roland@hack.frob.com>
19973         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
19974         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
19976 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19978         [BZ #16639]
19979         * nscd/connections.c (nscd_init): Call do_exit.
19980         (start_threads): Call do_exit and notify_parent.
19981         (begin_drop_privileges): Call do_exit.
19982         (finish_drop_privileges): Likewise.
19983         * nscd/selinux.c (preserve_capabilities): Likewise.
19984         (install_real_capabilities): Likewise.
19985         (nscd_selinux_enabled): Likewise.
19986         (avc_create_thread): Likewise.
19987         (avc_alloc_lock): Likewise.
19988         (nscd_avc_init): Likewise.
19989         * nscd/nscd.c (parent_fd): New static variable.
19990         (main): Create a pipe between parent and child processes.
19991         Skip closing parent_fd.
19992         (monitor_child): New function.
19993         (do_exit): Likewise.
19994         (notify_parent): Likewise.
19995         * nscd/nscd.h (notify_parent): Likewise.
19996         (do_exit): Likewise.
19998 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
20000         * malloc/malloc.c (__libc_calloc): Revert last change.
20002 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20006 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20008         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
20009         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
20010         implementation.
20011         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20012         (__libc_ifunc_impl_list): Likewise.
20013         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
20014         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
20015         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
20016         * string/strrchr.c: Define STRRCHR.
20018 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
20020         * benchtest/bench-strtok.c (simple_strtok): Delete.
20021         (strtok_string): Use as benchmark.
20022         * string/strtok (STRTOK): New macro.
20024 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
20026         * manual/threads.texi: Add header and standard comments to all
20027         functions.
20029         * elf/dl-lookup.c (check_match): New function.
20030         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
20031         (do_lookup_x): Remove nested function check_match. Use non-nested
20032         function check_match.
20034 2014-02-28  Roland McGrath  <roland@hack.frob.com>
20036         * csu/Makefile (generated, before-compile): Use += rather than =.
20037         * catgets/Makefile (generated, generated-dirs): Likewise.
20038         * debug/Makefile (generated): Likewise.
20039         * dlfcn/Makefile (generated): Likewise.
20040         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
20041         * iconvdata/Makefile (before-compile, generated): Likewise.
20042         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
20043         * libio/Makefile (generated): Likewise.
20044         * malloc/Makefile (generated): Likewise.
20045         * manual/Makefile (generated, generated-dirs): Likewise.
20046         * misc/Makefile (generated): Likewise.
20047         * posix/Makefile (generated): Likewise.
20048         * resolv/Makefile (generated): Likewise.
20049         * sunrpc/Makefile (generated, generated-dirs): Likewise.
20050         * timezone/Makefile (generated, generated-dirs): Likewise.
20052         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
20054 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20056         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20057         power8 implementation.
20058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
20059         file: POWER8 llround ifunc implementation.
20060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20061         (__lllround): Add POWER8 implementation.
20062         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
20063         POWER8 llround implementation.
20065         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
20066         power8 implementation.
20067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
20068         file: POWER8 llrint ifunc implementation.
20069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
20070         Add POWER8 implementation.
20071         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
20072         POWER8 llrint implementation.
20074         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
20075         power8 implementation.
20076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
20077         file: POWER8 finite ifunc implementation.
20078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
20079         Add POWER8 implementation.
20080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
20081         Likewise.
20082         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
20083         POWER8 finite implementation.
20084         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
20086         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
20087         power8 implementation.
20088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
20089         file: POWER8 isinf ifunc implementation.
20090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
20091         POWER8 implementation.
20092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
20093         Likewise.
20094         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
20095         isinf implementation.
20096         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
20098         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20099         (INIT_ARCH): Add hwcap2 initialization.
20100         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20101         power8 implementation.
20102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
20103         file: POWER8 isnan ifunc implementation.
20104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
20105         POWER8 implementation.
20106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
20107         Likewise.
20108         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
20109         isnan implementation.
20110         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
20112 2014-02-27  Joey Ye  <joey.ye@arm.com>
20114         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20115         (_FP_NANFRAC_Q): Set to zero.
20117 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20119         [BZ #16623]
20120         * math/auto-libm-test-in: New test inputs.
20121         * math/auto-libm-test-out: Regenerate.
20122         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
20123         and DA.
20124         (__cos): Likewise.
20125         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20127 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
20129         * scripts/evaluate-test.sh: Take new argument indicating whether
20130         failure is expected.
20131         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
20132         indicating whether failure is expected.
20133         * conform/Makefile (test-xfail-run-conformtest): New variable.
20134         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
20135         level.
20136         * posix/Makefile (test-xfail-annexc): New variable.
20137         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
20139 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
20141         * argp/Makefile: Include Makeconfig immediately after defining
20142         subdir.
20143         * assert/Makefile: Likewise.
20144         * benchtests/Makefile: Likewise.
20145         * catgets/Makefile: Likewise.
20146         * conform/Makefile: Likewise.
20147         * crypt/Makefile: Likewise.
20148         * csu/Makefile: Likewise.
20149         (all): Remove target.
20150         * ctype/Makefile: Include Makeconfig immediately after defining
20151         subdir.
20152         * debug/Makefile: Likewise.
20153         * dirent/Makefile: Likewise.
20154         * dlfcn/Makefile: Likewise.
20155         * gmon/Makefile: Likewise.
20156         * gnulib/Makefile: Likewise.
20157         * grp/Makefile: Likewise.
20158         * gshadow/Makefile: Likewise.
20159         * hesiod/Makefile: Likewise.
20160         * hurd/Makefile: Likewise.
20161         (all): Remove target.
20162         * iconvdata/Makefile: Include Makeconfig immediately after
20163         defining subdir.
20164         * inet/Makefile: Likewise.
20165         * intl/Makefile: Likewise.
20166         * io/Makefile: Likewise.
20167         * libio/Makefile: Likewise.
20168         (all): Remove target.
20169         * locale/Makefile: Include Makeconfig immediately after defining
20170         subdir.
20171         * login/Makefile: Likewise.
20172         * mach/Makefile: Likewise.
20173         (all): Remove target.
20174         * malloc/Makefile: Include Makeconfig immediately after defining
20175         subdir.
20176         (all): Remove target.
20177         * manual/Makefile: Include Makeconfig immediately after defining
20178         subdir.
20179         * math/Makefile: Likewise.
20180         * misc/Makefile: Likewise.
20181         * nis/Makefile: Likewise.
20182         * nss/Makefile: Likewise.
20183         * po/Makefile: Likewise.
20184         (all): Remove target.
20185         * posix/Makefile: Include Makeconfig immediately after defining
20186         subdir.
20187         * pwd/Makefile: Likewise.
20188         * resolv/Makefile: Likewise.
20189         * resource/Makefile: Likewise.
20190         * rt/Makefile: Likewise.
20191         * setjmp/Makefile: Likewise.
20192         * shadow/Makefile: Likewise.
20193         * signal/Makefile: Likewise.
20194         * socket/Makefile: Likewise.
20195         * soft-fp/Makefile: Likewise.
20196         * stdio-common/Makefile: Likewise.
20197         * stdlib/Makefile: Likewise.
20198         * streams/Makefile: Likewise.
20199         * string/Makefile: Likewise.
20200         * sunrpc/Makefile: Likewise.
20201         (all): Remove target.
20202         * sysvipc/Makefile: Include Makeconfig immediately after defining
20203         subdir.
20204         * termios/Makefile: Likewise.
20205         * time/Makefile: Likewise.
20206         * timezone/Makefile: Likewise.
20207         (all): Remove target.
20208         * wcsmbs/Makefile: Include Makeconfig immediately after defining
20209         subdir.
20210         * wctype/Makefile: Likewise.
20212 2014-02-26  Steve Ellcey  <sellcey@mips.com>
20214         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
20215         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
20216         (libc_feholdexcept_setround_mips): Ditto.
20217         (libc_feholdsetround): New.
20218         (libc_feholdsetroundf): New.
20219         (libc_feholdsetroundl): New.
20220         (libc_feupdateenv_test_mips): New.
20221         (libc_feupdateenv_test): New.
20222         (libc_feupdateenv_testf): New.
20223         (libc_feupdateenv_testl): New.
20224         (libc_feresetround): New.
20225         (libc_feresetroundf): New.
20226         (libc_feresetroundl): New.
20227         (libc_fetestexcept_mips): New.
20228         (libc_fetestexcept): New.
20229         (libc_fetestexceptf): New.
20230         (libc_fetestexceptl): New.
20231         (HAVE_RM_CTX): New.
20232         (libc_feholdexcept_setround_mips_ctx): New.
20233         (libc_feholdexcept_setround_ctx): New.
20234         (libc_feholdexcept_setroundf_ctx): New.
20235         (libc_feholdexcept_setroundl_ctx): New.
20236         (libc_fesetenv_mips_ctx): New.
20237         (libc_fesetenv_ctx): New.
20238         (libc_fesetenv_ctxf): New.
20239         (libc_fesetenv_ctxl): New.
20240         (libc_feupdateenv_mips_ctx): New.
20241         (libc_feupdateenv_ctx): New.
20242         (libc_feupdateenvf_ctx): New.
20243         (libc_feupdateenvl_ctx): New.
20244         (libc_feholdsetround_mips_ctx): New.
20245         (libc_feholdsetround_ctx): New.
20246         (libc_feholdsetroundf_ctx): New.
20247         (libc_feholdsetroundl_ctx): New.
20248         (libc_feresetround_mips_ctx): New.
20249         (libc_feresetround_ctx): New.
20250         (libc_feresetroundf_ctx): New.
20251         (libc_feresetroundl_ctx): New.
20253 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
20255         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
20257         * manual/ipc.texi: New file.
20258         * manual/Makefile (chapters): Add ipc.
20259         * manual/job.texi: Add "Inter-Process Communication" to next.
20260         * manual/process.texi: Add "Inter-Process Communication" to prev.
20262 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20264         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20266 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
20268         * malloc/malloc.c (__libc_calloc): Simplify implementation.
20270         * manual/arith.texi: Fix spaces after sentences.
20271         * manual/charset.texi: Likewise.
20272         * manual/errno.texi: Likewise.
20273         * manual/install.texi: Likewise.
20274         * manual/llio.texi: Likewise.
20275         * manual/locale.texi: Likewise.
20276         * manual/maint.texi: Likewise.
20277         * manual/math.texi: Likewise.
20278         * manual/memory.texi: Likewise.
20279         * manual/message.texi: Likewise.
20280         * manual/probes.texi: Likewise.
20281         * manual/resource.texi: Likewise.
20282         * manual/signal.texi: Likewise.
20283         * manual/socket.texi: Likewise.
20284         * manual/stdio.texi: Likewise.
20285         * manual/string.texi: Likewise.
20286         * manual/time.texi: Likewise.
20287         * manual/users.texi: Likewise.
20289 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
20291         [BZ #16632]
20292         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
20293         _DEFAULT_SOURCE is defined.
20295 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
20296             Carlos O'Donell  <carlos@redhat.com>
20298         [BZ #16613]
20299         * elf/dl-tls.c (_dl_count_modids): New function.
20300         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
20301         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
20302         audit library and increment generation counter.
20303         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
20304         * elf/tst-audit9.c: New file.
20305         * elf/tst-auditmod9a.c: New file.
20306         * elf/tst-auditmod9b.c: New file.
20307         * elf/Makefile: Add rules to build and run tst-audit9.
20309 2014-02-25  Florian Weimer  <fweimer@redhat.com>
20311         [BZ #15347]
20312         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
20314 2014-02-25  Will Newton  <will.newton@linaro.org>
20316         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
20317         (__longjmp): Restore sp and lr before restoring callee
20318         saved registers.  Add longjmp and longjmp_target
20319         SystemTap probe point.
20320         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
20321         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
20322         Define to zero to match jmpbuf layout.
20323         * sysdeps/arm/setjmp.S: Include stap-probe.h.
20324         (__sigsetjmp): Save sp and lr before saving callee
20325         saved registers.  Add setjmp SystemTap probe point.
20327 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20329         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20331 2014-02-24  Andreas Schwab  <schwab@suse.de>
20333         [BZ #15804]
20334         * elf/pldd.c (wait_for_ptrace_stop): New function.
20335         (main): Call it after attaching.
20337 2014-02-22  Roland McGrath  <roland@hack.frob.com>
20339         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
20340         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
20341         Versions files is now verboten.
20342         * hurd/Versions (libc: GLIBC_2.0):
20343         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
20344         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
20345         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
20346         * mach/Versions: Likewise.
20348         * csu/Versions: Remove unused %include.
20349         * resolv/Versions: Likewise.
20351 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
20353         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
20354         ($(objpfx)check-local-headers.out): Likewise.
20355         ($(objpfx)begin-end-check.out): Likewise.
20356         * Makerules (check-abi-%.out): Likewise.
20357         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
20358         ($(objpfx)test2.cat): Likewise.
20359         ($(objpfx)de/libc.cat): Likewise.
20360         ($(objpfx)test-gencat.out): Likewise.
20361         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
20362         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
20363         ($(objpfx)noload-mem): Likewise.
20364         ($(objpfx)tst-pathopt.out): Likewise.
20365         ($(objpfx)tst-rtld-load-self.out): Likewise.
20366         ($(objpfx)tst-array1-cmp.out): Likewise.
20367         ($(objpfx)tst-array1-static-cmp.out): Likewise.
20368         ($(objpfx)tst-array2-cmp.out): Likewise.
20369         ($(objpfx)tst-array3-cmp.out): Likewise.
20370         ($(objpfx)tst-array4-cmp.out): Likewise.
20371         ($(objpfx)tst-array5-cmp.out): Likewise.
20372         ($(objpfx)tst-array5-static-cmp.out): Likewise.
20373         ($(objpfx)check-textrel.out): Likewise.
20374         ($(objpfx)check-execstack.out): Likewise.
20375         ($(objpfx)check-localplt.out): Likewise.
20376         ($(objpfx)order2-cmp.out): Likewise.
20377         ($(objpfx)tst-leaks1-mem): Likewise.
20378         ($(objpfx)tst-leaks1-static-mem): Likewise.
20379         ($(objpfx)tst-initorder-cmp.out): Likewise.
20380         ($(objpfx)tst-initorder2-cmp.out): Likewise.
20381         ($(objpfx)tst-unused-dep.out): Likewise.
20382         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
20383         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
20384         * iconv/Makefile (test-iconvconfig): Likewise.
20385         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
20386         ($(objpfx)iconv-test.out): Likewise.
20387         ($(objpfx)tst-tables.out): Likewise.
20388         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
20389         ($(objpfx)tst-gettext.out): Likewise.
20390         ($(objpfx)tst-translit.out): Likewise.
20391         ($(objpfx)tst-gettext2.out): Likewise.
20392         ($(objpfx)tst-gettext4.out): Likewise.
20393         ($(objpfx)tst-gettext6.out): Likewise.
20394         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
20395         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
20396         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
20397         ($(objpfx)tst-fopenloc-mem.out): Likewise.
20398         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
20399         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
20400         * posix/Makefile ($(objpfx)globtest.out): Likewise.
20401         ($(objpfx)wordexp-tst.out): Likewise.
20402         ($(objpfx)annexc.out): Likewise.
20403         ($(objpfx)tst-fnmatch-mem): Likewise.
20404         ($(objpfx)bug-regex2-mem): Likewise.
20405         ($(objpfx)bug-regex14-mem): Likewise.
20406         ($(objpfx)bug-regex21-mem): Likewise.
20407         ($(objpfx)bug-regex31-mem): Likewise.
20408         ($(objpfx)tst-vfork3-mem): Likewise.
20409         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20410         ($(objpfx)tst-pcre-mem): Likewise.
20411         ($(objpfx)tst-boost-mem): Likewise.
20412         ($(objpfx)tst-getconf.out): Likewise.
20413         ($(objpfx)bug-ga2-mem): Likewise.
20414         ($(objpfx)bug-glob2-mem): Likewise.
20415         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
20416         ($(objpfx)mtrace-tst-leaks2): Likewise.
20417         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
20418         ($(objpfx)tst-printf.out): Likewise.
20419         ($(objpfx)tst-setvbuf1.out): Likewise.
20420         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
20421         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
20422         ($(objpfx)tst-fmtmsg.out): Likewise.
20423         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
20424         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
20426         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
20427         * bits/sigaction.h [__USE_MISC]: Likewise.
20428         * bits/waitstatus.h: Update #endif comments.
20429         * ctype/ctype.h: Likewise.
20430         * dirent/dirent.h: Likewise.
20431         [__USE_MISC]: Remove redundant conditionals.
20432         * grp/grp.h: Update #endif comments.
20433         [__USE_GNU]: Remove redundant conditionals.
20434         [__USE_MISC]: Likewise.
20435         * inet/netinet/in.h [__USE_GNU]: Likewise.
20436         * io/sys/stat.h [__USE_MISC]: Likewise.
20437         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
20438         * libio/bits/stdio.h: Update #endif comments.
20439         [__USE_MISC]: Remove redundant conditionals.
20440         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
20441         * libio/stdio.h: Update #endif comments.
20442         [__USE_MISC]: Remove redundant conditionals.
20443         * math/bits/math-finite.h [__USE_MISC]: Likewise.
20444         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
20445         * math/math.h: Update #else and #endif comments.
20446         [__USE_MISC]: Remove redundant conditionals.
20447         * misc/sys/uio.h: Update #endif comments.
20448         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
20449         * posix/glob.h [__USE_MISC]: Likewise.
20450         * posix/sys/types.h: Update #endif comments.
20451         [__USE_MISC]: Remove redundant conditionals.
20452         * posix/sys/wait.h: Update #endif comments.
20453         [__USE_MISC]: Remove redundant conditionals.
20454         * posix/unistd.h: Update #endif comments.
20455         [__USE_MISC]: Remove redundant conditionals.
20456         * pwd/pwd.h [__USE_GNU]: Likewise.
20457         [__USE_MISC]: Likewise.
20458         * resolv/netdb.h [__USE_GNU]: Likewise.
20459         * signal/signal.h: Update #endif comments.
20460         [__USE_MISC]: Remove redundant conditionals.
20461         * stdlib/stdlib.h: Update #else and #endif comments.
20462         [__USE_MISC]: Remove redundant conditionals.
20463         [__USE_GNU]: Likewise.
20464         * string/bits/string2.h [__USE_MISC]: Likewise.
20465         * string/string.h: Update #endif comments.
20466         [__USE_MISC]: Remove redundant conditionals.
20467         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
20468         Likewise.
20469         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
20470         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
20471         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
20472         Likewise.
20473         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
20474         Likewise.
20475         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
20476         comments.
20477         [__USE_MISC]: Remove redundant conditionals.
20478         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
20479         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
20480         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
20481         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
20482         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
20483         Likewise.
20484         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
20485         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
20486         Likewise.
20487         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
20488         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
20489         Likewise.
20490         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
20491         Likewise.
20492         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
20493         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
20494         Likewise.
20495         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
20496         Likewise.
20497         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
20498         * sysdeps/x86/bits/string.h: Update #endif comments.
20499         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
20500         conditionals.
20501         * time/sys/time.h: Update #endif comments.
20502         * time/time.h: Likewise.
20503         [__USE_MISC]: Remove redundant conditionals.
20505 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
20507         [BZ #16600]
20508         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
20510 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
20512         * Versions.def (librt): Add GLIBC_2.17.
20514 2014-02-21  Adam Conrad  <adconrad@0c3.net>
20516         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
20517         synonym for _SYS_AUXV_H to allow direct inclusion.
20518         * sysdeps/sparc/bits/hwcap.h: Likewise.
20519         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
20520         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
20521         * sysdeps/sparc/sysdep.h: Likewise.
20523 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20525         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
20527 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20529         * benchtests/bench-strrchr.c: Print length instead of position.
20531 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
20533         [BZ #16611]
20534         * sysdeps/unix/sysv/linux/kernel-features.h
20535         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
20536         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
20537         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
20538         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
20539         Likewise.
20540         [__i386__ || __powerpc__ || __sh__ || __sparc__]
20541         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20542         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
20543         (__ASSUME_SENDMMSG): Define instead of using previous
20544         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
20545         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20546         (__ASSUME_SENDMMSG_SYSCALL): Define.
20547         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20548         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
20549         Likewise.
20550         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20551         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20552         Likewise.
20553         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20554         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20555         Likewise.
20556         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
20557         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20558         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20559         [__ASSUME_SENDMMSG]: Change conditionals to
20560         [__ASSUME_SENDMMSG_SOCKETCALL].
20561         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20562         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
20563         Define.
20564         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20565         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
20566         Likewise.
20567         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
20568         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20569         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20570         [!__ASSUME_SENDMMSG]: Change conditional to
20571         [!__ASSUME_SENDMMSG_SOCKETCALL].
20572         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20573         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20574         Define.
20576         [BZ #16610]
20577         * sysdeps/unix/sysv/linux/kernel-features.h
20578         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
20579         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
20580         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
20581         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
20582         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20583         [__i386__ || __sparc__]
20584         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20585         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
20586         (__ASSUME_RECVMMSG): Define instead of using previous
20587         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
20588         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20589         (__ASSUME_RECVMMSG_SYSCALL): Define.
20590         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20591         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20592         Likewise.
20593         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20594         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20595         Likewise.
20596         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20597         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20598         Likewise.
20599         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
20600         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20601         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20602         [__ASSUME_RECVMMSG]: Change condition to
20603         [__ASSUME_RECVMMSG_SOCKETCALL].
20604         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20605         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20606         Define.
20607         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20608         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20609         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20610         Likewise.
20611         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
20612         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20613         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20614         [!__ASSUME_RECVMMSG]: Change condition to
20615         [!__ASSUME_RECVMMSG_SOCKETCALL].
20616         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20617         (__ASSUME_RECVMMSG_SYSCALL): Define.
20619         [BZ #16609]
20620         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
20621         __powerpc__ || __s390__ || __sh__ || __sparc__]
20622         (__ASSUME_SOCKETCALL): Define.
20623         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
20624         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
20625         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
20626         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
20627         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20628         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
20629         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
20630         (__ASSUME_ACCEPT4): Define instead of using previous
20631         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
20632         __powerpc__ || __sparc__ || __s390__)] condition.
20633         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20634         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20635         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
20636         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20637         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20638         [!__ASSUME_ACCEPT4]: Change condition to
20639         [!__ASSUME_ACCEPT4_SOCKETCALL].
20640         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20641         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
20642         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
20643         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20644         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
20645         __ASSUME_ACCEPT4_SYSCALL.
20646         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
20647         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
20648         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20649         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
20650         __ASSUME_ACCEPT4_SYSCALL.
20651         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
20652         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20653         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20654         [__ASSUME_ACCEPT4]: Change condition to
20655         [__ASSUME_ACCEPT4_SOCKETCALL].
20656         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20657         (__ASSUME_SOCKETCALL): Define.
20658         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
20659         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20660         (__ASSUME_SOCKETCALL): Define.
20661         (__ASSUME_ACCEPT4): Remove.
20662         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
20663         Define.
20664         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20665         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
20666         Likewise.
20667         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20668         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20670         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
20671         macro.
20672         (HWCAP_ARM_LPAE): Likewise.
20673         (HWCAP_ARM_EVTSTRM): Likewise.
20674         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
20675         Add vpfd32, lpae and evtstrm.
20676         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
20677         Increase to 22.
20679 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
20681         * math/auto-libm-test-in: Add tests of clog10.
20682         * math/auto-libm-test-out: Regenerated.
20683         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
20684         * sysdeps/i386/fpu/libm-test-ulps: Update.
20685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20687 2014-02-18  Andreas Schwab  <schwab@suse.de>
20689         [BZ #16574]
20690         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
20691         Store non-zero if the second buffer was newly allocated.
20692         (send_dg): Likewise.
20693         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
20694         to send_vc and send_dg.
20695         (res_nsend): Pass NULL for ansp2_malloced.
20696         * resolv/res_query.c (__libc_res_nquery): Add parameter
20697         answerp2_malloced and pass it down to __libc_res_nsend.
20698         (res_nquery): Pass additional NULL to __libc_res_nquery.
20699         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
20700         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
20701         second answer buffer if answerp2_malloced was set.
20702         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
20703         (__libc_res_nquerydomain): Add parameter
20704         answerp2_malloced and pass it down to __libc_res_nquery.
20705         (res_nquerydomain): Pass additional NULL to
20706         __libc_res_nquerydomain.
20707         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
20708         additional NULL to __libc_res_nsend and __libc_res_nquery.
20709         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
20710         additional NULL to __libc_res_nsearch.
20711         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
20712         parameter of __libc_res_nsearch to check for separately allocated
20713         second buffer.
20714         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
20715         __libc_res_nquery.
20716         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
20717         additional NULL to __libc_res_nquery.
20718         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
20719         __libc_res_nsearch.
20720         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
20721         * include/resolv.h: Update prototypes of __libc_res_nquery,
20722         __libc_res_nsearch, __libc_res_nsend.
20724 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
20726         * math/auto-libm-test-in: Add tests of fma.
20727         * math/auto-libm-test-out: Regenerated.
20728         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
20729         (fma_towardzero_test_data): Likewise.
20730         (fma_downward_test_data): Likewise.
20731         (fma_upward_test_data): Likewise.
20732         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
20733         mpc_mode.
20734         (rounding_modes): Add values for new field.
20735         (func_calc_method): Add value mpfr_fff_f.
20736         (func_calc_desc): Add mpfr_fff_f union field.
20737         (test_function): Add field exact_args.
20738         (FUNC): Add macro argument EXACT_ARGS.
20739         (FUNC_mpfr_f_f): Update call to FUNC.
20740         (FUNC_mpfr_f_f): Likewise.
20741         (FUNC_mpfr_ff_f): Likewise.
20742         (FUNC_mpfr_if_f): Likewise.
20743         (FUNC_mpc_c_f): Likewise.
20744         (FUNC_mpc_c_c): Likewise.
20745         (test_functions): Add fma.  Update calls to FUNC.
20746         (handle_input_arg): Add argument exact_args.
20747         (add_test): Update call to handle_input_arg.
20748         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
20749         (output_for_one_input_case): Update call to calc_generic_results.
20750         Recalculate exact zero results in each rounding mode.
20752         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
20753         non-negative before setting low bit.
20754         * math/auto-libm-test-in: Mark one asin test possibly having
20755         spurious underflow.
20756         * math/auto-libm-test-out: Regenerated.
20757         * sysdeps/i386/fpu/libm-test-ulps: Update.
20758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20760 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
20762         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
20763         * sysdeps/unix/sysv/linux/microblaze: Move directory from
20764         ports/sysdeps/unix/sysv/linux/microblaze.
20765         * README: Add missing listing for microblaze*-*-linux-gnu.
20767 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
20769         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
20770         duplicate code
20772 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
20774         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
20775         * sysdeps/unix/sysv/linux/ia64: Move directory from
20776         ports/sysdeps/unix/sysv/linux/ia64.
20777         * README: Update listing for ia64-*-linux-gnu.
20779 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
20780             Joseph Myers  <joseph@codesourcery.com>
20782         * Makeconfig (test-name): New variable.
20783         (evaluate-test): Likewise.
20784         * Makerules (do-test-clean): Remove .test-result files.
20785         (common-mostlyclean): Likewise.
20786         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
20787         * scripts/evaluate-test.sh: New file.
20789 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
20791         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
20792         separate $(objpfx)tst-fopenloc-cmp.out and
20793         $(objpfx)tst-fopenloc-mem.out targets.
20794         (tests): Update dependencies.
20795         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
20796         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
20797         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
20798         (tst-rxspencer-no-utf8-ARGS): New variable.
20799         (tst-rxspencer-no-utf8-ENV): Likewise.
20800         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
20801         instead of $(objpfx)tst-rxspencer-mem.
20802         ($(objpfx)tst-rxspencer-mem): Change target to
20803         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
20804         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
20805         * posix/tst-rxspencer-no-utf8.c: New file.
20807         * elf/Makefile ($(objpfx)order.out): Remove rule.
20808         [$(run-built-tests) = yes] (tests): Depend on
20809         $(objpfx)order-cmp.out.
20810         ($(objpfx)order-cmp.out): New rule.
20811         [$(run-built-tests) = yes] (tests): Depend on
20812         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
20813         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
20814         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
20815         $(objpfx)tst-array5-static-cmp.out.
20816         ($(objpfx)tst-array1.out): Remove rule.
20817         ($(objpfx)tst-array1-cmp.out): New rule.
20818         ($(objpfx)tst-array1-static.out): Remove rule.
20819         ($(objpfx)tst-array1-static-cmp.out): New rule.
20820         ($(objpfx)tst-array2.out): Remove rule.
20821         ($(objpfx)tst-array2-cmp.out): New rule.
20822         ($(objpfx)tst-array3.out): Remove rule.
20823         ($(objpfx)tst-array3-cmp.out): New rule.
20824         ($(objpfx)tst-array4.out): Remove rule.
20825         ($(objpfx)tst-array4-cmp.out): New rule.
20826         ($(objpfx)tst-array5.out): Remove rule.
20827         ($(objpfx)tst-array5-cmp.out): New rule.
20828         ($(objpfx)tst-array5-static.out): Remove rule.
20829         ($(objpfx)tst-array5-static-cmp.out): New rule.
20830         [$(run-built-tests) = yes] (tests): Depend on
20831         $(objpfx)order2-cmp.out.
20832         ($(objpfx)order2.out): Remove rule.
20833         ($(objpfx)order2-cmp.out): New rule.
20834         ($(objpfx)tst-initorder.out): Remove rule.
20835         [$(run-built-tests) = yes] (tests): Depend on
20836         $(objpfx)tst-initorder-cmp.out.
20837         ($(objpfx)tst-initorder-cmp.out): New rule.
20838         ($(objpfx)tst-initorder2.out): Remove rule.
20839         [$(run-built-tests) = yes] (tests): Depend on
20840         $(objpfx)tst-initorder2-cmp.out.
20841         ($(objpfx)tst-initorder2-cmp.out): New rule.
20842         [$(run-built-tests) = yes] (tests): Depend on
20843         $(objpfx)tst-unused-dep-cmp.out.
20844         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
20845         ($(objpfx)tst-unused-dep-cmp.out): New rule.
20846         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
20847         on $(objpfx)tst-setvbuf1-cmp.out.
20848         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
20849         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
20850         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
20851         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
20852         ($(objpfx)tst-svc.out): Remove rule.
20853         ($(objpfx)tst-svc-cmp.out): New rule.
20855 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
20857         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
20858         * ctype/ctype.h [__USE_MISC]: Likewise.
20859         * dirent/dirent.h [__USE_MISC]: Likewise.
20860         * grp/grp.h [__USE_MISC]: Likewise.
20861         * io/fcntl.h [__USE_MISC]: Likewise.
20862         * io/sys/stat.h [__USE_MISC]: Likewise.
20863         * libio/stdio.h [__USE_MISC]: Likewise.
20864         * posix/unistd.h [__USE_MISC]: Likewise.
20865         * pwd/pwd.h [__USE_MISC]: Likewise.
20866         * stdlib.h [__USE_MISC]: Likewise.
20867         * string/bits/string2.h [__USE_MISC]: Likewise.
20868         * string/string.h [__USE_MISC]: Likewise.
20869         * time/time.h [__USE_MISC]: Likewise.
20871 2014-02-13  Andreas Schwab  <schwab@suse.de>
20873         [BZ #16574]
20874         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
20875         second answer buffer if it was separately allocated.
20877 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
20879         * sysdeps/mips/math-tests.h: Include <features.h>.
20880         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20881         (ROUNDING_TESTS_long_double): Do not define.
20882         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20883         (EXCEPTION_TESTS_long_double): Likewise.
20884         * sysdeps/mips/mips64/libm-test-ulps: Update.
20886         * include/features.h (__USE_BSD): Remove macro definitions.
20887         (__USE_SVID): Likewise.
20888         (_BSD_SOURCE): Likewise.
20889         (_SVID_SOURCE): Likewise.
20890         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
20891         from definition of _DEFAULT_SOURCE.
20892         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
20893         [_DEFAULT_SOURCE].
20894         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
20895         * bits/mman.h [__USE_BSD]: Likewise.
20896         * bits/termios.h [__USE_BSD]: Likewise.
20897         * bits/waitstatus.h [__USE_BSD]: Likewise.
20898         * ctype/ctype.h [__USE_SVID]: Likewise.
20899         * dirent/dirent.h [__USE_BSD]: Likewise.
20900         * grp/grp.h [__USE_SVID]: Likewise.
20901         [__USE_BSD]: Likewise.
20902         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
20903         * io/fcntl.h [__USE_BSD]: Likewise.
20904         * io/ftw.h [__USE_BSD]: Likewise.
20905         * io/sys/stat.h [__USE_BSD]: Likewise.
20906         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
20907         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
20908         * libio/stdio.h [__USE_SVID]: Likewise.
20909         [__USE_BSD]: Likewise.
20910         * math/math.h [__USE_SVID]: Likewise.
20911         [__USE_BSD]: Likewise.
20912         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
20913         * misc/bits/syslog.h [__USE_BSD]: Likewise.
20914         * misc/search.h [__USE_SVID]: Likewise.
20915         * misc/sys/mman.h [__USE_BSD]: Likewise.
20916         * misc/sys/syslog.h [__USE_BSD]: Likewise.
20917         * misc/sys/uio.h [__USE_BSD]: Likewise.
20918         * posix/bits/unistd.h [__USE_BSD]: Likewise.
20919         * posix/glob.h [__USE_BSD]: Likewise.
20920         * posix/regex.h [__USE_BSD]: Likewise.
20921         * posix/sys/types.h [__USE_BSD]: Likewise.
20922         [__USE_SVID]: Likewise.
20923         * posix/sys/utsname.h [__USE_SVID]: Likewise.
20924         * posix/sys/wait.h [__USE_BSD]: Likewise.
20925         [__USE_SVID]: Likewise.
20926         * posix/unistd.h [__USE_BSD]: Likewise.
20927         [__USE_SVID]: Likewise.
20928         * pwd/pwd.h [__USE_SVID]: Likewise.
20929         * resolv/netdb.h [__USE_BSD]: Likewise.
20930         * setjmp/setjmp.h [__USE_BSD]: Likewise.
20931         * signal/signal.h [__USE_BSD]: Likewise.
20932         [__USE_SVID]: Likewise.
20933         * socket/sys/socket.h [__USE_BSD]: Likewise.
20934         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
20935         * stdlib/stdlib.h [__USE_BSD]: Likewise.
20936         [__USE_SVID]: Likewise.
20937         * string/bits/string2.h [__USE_BSD]: Likewise.
20938         [__USE_SVID]: Likewise.
20939         * string/bits/string3.h [__USE_BSD]: Likewise.
20940         * string/endian.h [__USE_BSD]: Likewise.
20941         * string/string.h [__USE_SVID]: Likewise.
20942         [__USE_BSD]: Likewise.
20943         * string/strings.h [__USE_BSD]: Likewise.
20944         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
20945         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
20946         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
20947         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
20948         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
20949         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
20950         Likewise.
20951         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
20952         Likewise.
20953         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
20954         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
20955         Likewise.
20956         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
20957         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
20958         Likewise.
20959         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
20960         Likewise.
20961         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
20962         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
20963         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
20964         Likewise.
20965         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
20966         Likewise.
20967         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
20968         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
20969         * termios/termios.h [__USE_BSD]: Likewise.
20970         * time/sys/time.h [__USE_BSD]: Likewise.
20971         * time/time.h [__USE_BSD]: Likewise.
20972         [__USE_SVID]: Likewise.
20974         * Makefile (subdir_targets): Remove subdir_lint.out.
20976         * stdio-common/Makefile (do-tst-unbputc): Remove target.
20977         (do-tst-printf): Likewise.
20978         (tests): Depend directly on $(objpfx)tst-unbputc.out and
20979         $(objpfx)tst-printf.out.
20981         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
20983         * Makerules (check-abi-%): Change target to
20984         $(objpfx)check-abi-%.out.
20985         (check-abi target): Update dependencies.
20986         (check-abi-pattern variable): Redirect output of diff to $@.
20987         (check-abi variable): Likewise.
20988         * elf/Makefile (check-abi): Update dependencies.
20990         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
20991         unused.
20992         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
20993         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
20994         subnormal range.
20995         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
20996         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
20997         value has largest subnormal exponent.
20998         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
20999         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
21000         * sysdeps/aarch64/soft-fp/sfp-machine.h
21001         (_FP_TININESS_AFTER_ROUNDING): New macro.
21002         * sysdeps/alpha/soft-fp/sfp-machine.h
21003         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21004         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21005         Likewise.
21006         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
21007         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21008         * sysdeps/mips/soft-fp/sfp-machine.h
21009         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21010         * sysdeps/powerpc/soft-fp/sfp-machine.h
21011         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21012         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21013         Likewise.
21014         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21015         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21016         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21017         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21018         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21019         Likewise.
21021 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
21023         [BZ #16545]
21024         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
21025         model 1.
21027 2014-02-12  Richard Henderson  <rth@redhat.com>
21029         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
21030         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
21031         * sysdeps/unix/sysv/linux/alpha: Move directory from
21032         ports/sysdeps/unix/sysv/linux/alpha.
21033         * README: Update listing for alpha-*-linux-gnu.
21035 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
21037         * include/features.h: Update comment documenting feature test
21038         macros.
21039         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
21040         _DEFAULT_SOURCE.
21041         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
21042         (_SVID_SOURCE): Likewise.
21043         (_DEFAULT_SOURCE): Update description of default features.
21044         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
21045         with _GNU_SOURCE.
21046         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
21047         (S_ISVTX): Likewise.
21048         * manual/math.texi (Mathematical Constants): Likewise.
21049         * manual/signal.texi (Interrupted Primitives): Likewise.
21050         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
21051         * math/test-matherr.c (_SVID_SOURCE): Do not define.
21052         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
21053         Don't refer to _SVID_SOURCE in warning text.
21055         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21057         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
21058         already defined.
21059         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
21060         * sysdeps/mips/dl-lookup.c: Remove.
21061         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
21063 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21065         [BZ #16447]
21066         * math/auto-libm-test-in: Add testcase for expl.
21067         * math/auto-libm-test-out: Regenerate.
21068         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
21069         calculation of unsafe.
21070         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
21072 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21074         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
21075         * sysdeps/unix/sysv/linux/aarch64: Move directory from
21076         ports/sysdeps/unix/sysv/linux/aarch64.
21077         * README: Update listing for aarch64*-*-linux-gnu.
21079 2014-02-11  Will Newton  <will.newton@linaro.org>
21081         * manual/probes.texi (Mathematical Function Probes): Use
21082         "triggered" instead of "hit".
21084         * manual/probes.texi (Internal Probes): Add documentation
21085         of setjmp, longjmp and longjmp_target probes.
21087         * include/stap-probe.h: Add comment about probe argument
21088         format.
21090         * malloc/mtrace.c (attribute_hidden): Remove unused macro
21091         definition.  (tr_where, tr_freehook, tr_mallochook,
21092         tr_reallochook, tr_memalignhook): Use ANSI protoype.
21094 2014-02-11  David S. Miller  <davem@davemloft.net>
21096         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
21097         processing int_tests.
21099 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
21101         * sysdeps/mips: Move directory from ports/sysdeps/mips.
21102         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
21103         * sysdeps/unix/sysv/linux/mips: Move directory from
21104         ports/sysdeps/unix/sysv/linux/mips.
21105         * README: Update listing for mips-*-linux-gnu and
21106         mips64-*-linux-gnu.
21108 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
21110         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
21111         * sysdeps/unix/sysv/linux/m68k: Move directory from
21112         ports/sysdeps/unix/sysv/linux/m68k.
21113         * README: Update listing for m68k-*-linux-gnu.
21115 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
21117         * sysdeps/tile: Move directory from ports/sysdeps/tile.
21118         * sysdeps/unix/sysv/linux/generic: Move directory from
21119         ports/sysdeps/unix/sysv/linux/generic.
21120         * sysdeps/unix/sysv/linux/tile: Move directory from
21121         ports/sysdeps/unix/sysv/linux/tile.
21122         * README: Update listing for tile*-*-linux-gnu.
21124 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
21126         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
21127         __builtin_expect.
21128         * benchtests/bench-memmem.c (simple_memmem): Likewise.
21129         * catgets/open_catalog.c (__open_catalog): Likewise.
21130         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
21131         * debug/confstr_chk.c: Likewise.
21132         * debug/fread_chk.c (__fread_chk): Likewise.
21133         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
21134         * debug/getgroups_chk.c: Likewise.
21135         * debug/mbsnrtowcs_chk.c: Likewise.
21136         * debug/mbsrtowcs_chk.c: Likewise.
21137         * debug/mbstowcs_chk.c: Likewise.
21138         * debug/memcpy_chk.c: Likewise.
21139         * debug/memmove_chk.c: Likewise.
21140         * debug/mempcpy_chk.c: Likewise.
21141         * debug/memset_chk.c: Likewise.
21142         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21143         * debug/strcat_chk.c (__strcat_chk): Likewise.
21144         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
21145         * debug/strncat_chk.c (__strncat_chk): Likewise.
21146         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
21147         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
21148         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
21149         * debug/wcpncpy_chk.c: Likewise.
21150         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21151         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
21152         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
21153         * debug/wcsncpy_chk.c: Likewise.
21154         * debug/wcsnrtombs_chk.c: Likewise.
21155         * debug/wcsrtombs_chk.c: Likewise.
21156         * debug/wcstombs_chk.c: Likewise.
21157         * debug/wmemcpy_chk.c: Likewise.
21158         * debug/wmemmove_chk.c: Likewise.
21159         * debug/wmempcpy_chk.c: Likewise.
21160         * debug/wmemset_chk.c: Likewise.
21161         * dirent/scandirat.c (SCANDIRAT): Likewise.
21162         * dlfcn/dladdr1.c (dladdr1): Likewise.
21163         * dlfcn/dladdr.c (dladdr): Likewise.
21164         * dlfcn/dlclose.c (dlclose_doit): Likewise.
21165         * dlfcn/dlerror.c (__dlerror): Likewise.
21166         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
21167         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
21168         * dlfcn/dlopen.c (dlopen_doit): Likewise.
21169         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21170         * dlfcn/dlsym.c (dlsym_doit): Likewise.
21171         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
21172         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
21173         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
21174         Likewise.
21175         * elf/dl-conflict.c: Likewise.
21176         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
21177         * elf/dl-dst.h: Likewise.
21178         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
21179         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
21180         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
21181         * elf/dl-init.c (call_init, _dl_init): Likewise.
21182         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
21183         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
21184         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
21185         Likewise.
21186         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
21187         Likewise.
21188         * elf/dl-minimal.c (__libc_memalign): Likewise.
21189         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
21190         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21191         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
21192         * elf/dl-sym.c (do_sym): Likewise.
21193         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
21194         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
21195         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
21196         * elf/dl-writev.h (_dl_writev): Likewise.
21197         * elf/ldconfig.c (search_dir): Likewise.
21198         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
21199         (dl_main): Likewise.
21200         * elf/setup-vdso.h (setup_vdso): Likewise.
21201         * grp/compat-initgroups.c (compat_call): Likewise.
21202         * grp/fgetgrent.c (fgetgrent): Likewise.
21203         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
21204         * grp/putgrent.c (putgrent): Likewise.
21205         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21206         Likewise.
21207         * hurd/hurdinit.c: Likewise.
21208         * iconvdata/8bit-gap.c (struct): Likewise.
21209         * iconvdata/ansi_x3.110.c : Likewise.
21210         * iconvdata/big5.c : Likewise.
21211         * iconvdata/big5hkscs.c : Likewise.
21212         * iconvdata/cp1255.c: Likewise.
21213         * iconvdata/cp1258.c : Likewise.
21214         * iconvdata/cp932.c : Likewise.
21215         * iconvdata/euc-cn.c: Likewise.
21216         * iconvdata/euc-jisx0213.c : Likewise.
21217         * iconvdata/euc-jp.c: Likewise.
21218         * iconvdata/euc-jp-ms.c : Likewise.
21219         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
21220         * iconvdata/gb18030.c : Likewise.
21221         * iconvdata/gbbig5.c (const): Likewise.
21222         * iconvdata/gbgbk.c: Likewise.
21223         * iconvdata/gbk.c : Likewise.
21224         * iconvdata/ibm1364.c : Likewise.
21225         * iconvdata/ibm930.c : Likewise.
21226         * iconvdata/ibm932.c: Likewise.
21227         * iconvdata/ibm933.c : Likewise.
21228         * iconvdata/ibm935.c : Likewise.
21229         * iconvdata/ibm937.c : Likewise.
21230         * iconvdata/ibm939.c : Likewise.
21231         * iconvdata/ibm943.c: Likewise.
21232         * iconvdata/iso_11548-1.c: Likewise.
21233         * iconvdata/iso-2022-cn.c : Likewise.
21234         * iconvdata/iso-2022-cn-ext.c : Likewise.
21235         * iconvdata/iso-2022-jp-3.c: Likewise.
21236         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
21237         * iconvdata/iso-2022-kr.c : Likewise.
21238         * iconvdata/iso646.c (gconv_end): Likewise.
21239         * iconvdata/iso_6937-2.c : Likewise.
21240         * iconvdata/iso_6937.c : Likewise.
21241         * iconvdata/iso8859-1.c: Likewise.
21242         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
21243         * iconvdata/shift_jisx0213.c : Likewise.
21244         * iconvdata/sjis.c : Likewise.
21245         * iconvdata/t.61.c : Likewise.
21246         * iconvdata/tcvn5712-1.c : Likewise.
21247         * iconvdata/tscii.c: Likewise.
21248         * iconvdata/uhc.c : Likewise.
21249         * iconvdata/unicode.c (gconv_end): Likewise.
21250         * iconvdata/utf-16.c (gconv_end): Likewise.
21251         * iconvdata/utf-32.c (gconv_end): Likewise.
21252         * iconvdata/utf-7.c (base64): Likewise.
21253         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
21254         * iconv/gconv_close.c (__gconv_close): Likewise.
21255         * iconv/gconv_open.c (__gconv_open): Likewise.
21256         * iconv/gconv_simple.c (internal_ucs4_loop_single)
21257         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
21258         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
21259         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
21260         (ucs4le_internal_loop_single): Likewise.
21261         * iconv/iconv.c (iconv): Likewise.
21262         * iconv/iconv_close.c: Likewise.
21263         * iconv/loop.c (SINGLE): Likewise.
21264         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
21265         * include/atomic.h: Likewise.
21266         * inet/inet6_option.c (option_alloc): Likewise.
21267         * intl/bindtextdom.c (set_binding_values): Likewise.
21268         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
21269         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
21270         * intl/localealias.c (read_alias_file): Likewise.
21271         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21272         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
21273         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
21274         * libio/fmemopen.c (fmemopen): Likewise.
21275         * libio/iofgets.c (_IO_fgets): Likewise.
21276         * libio/iofgets_u.c (fgets_unlocked): Likewise.
21277         * libio/iofgetws.c (fgetws): Likewise.
21278         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21279         * libio/iogetdelim.c (_IO_getdelim): Likewise.
21280         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
21281         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
21282         * locale/findlocale.c (_nl_find_locale): Likewise.
21283         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
21284         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
21285         Likewise.
21286         * locale/setlocale.c (setlocale): Likewise.
21287         * login/programs/pt_chown.c (main): Likewise.
21288         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
21289         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
21290         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
21291         (mmap, mmap64, mremap, munmap): Likewise.
21292         * math/e_exp2l.c: Likewise.
21293         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
21294         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
21295         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
21296         * math/s_catan.c (__catan): Likewise.
21297         * math/s_catanf.c (__catanf): Likewise.
21298         * math/s_catanh.c (__catanh): Likewise.
21299         * math/s_catanhf.c (__catanhf): Likewise.
21300         * math/s_catanhl.c (__catanhl): Likewise.
21301         * math/s_catanl.c (__catanl): Likewise.
21302         * math/s_ccosh.c (__ccosh): Likewise.
21303         * math/s_ccoshf.c (__ccoshf): Likewise.
21304         * math/s_ccoshl.c (__ccoshl): Likewise.
21305         * math/s_cexp.c (__cexp): Likewise.
21306         * math/s_cexpf.c (__cexpf): Likewise.
21307         * math/s_cexpl.c (__cexpl): Likewise.
21308         * math/s_clog10.c (__clog10): Likewise.
21309         * math/s_clog10f.c (__clog10f): Likewise.
21310         * math/s_clog10l.c (__clog10l): Likewise.
21311         * math/s_clog.c (__clog): Likewise.
21312         * math/s_clogf.c (__clogf): Likewise.
21313         * math/s_clogl.c (__clogl): Likewise.
21314         * math/s_csin.c (__csin): Likewise.
21315         * math/s_csinf.c (__csinf): Likewise.
21316         * math/s_csinh.c (__csinh): Likewise.
21317         * math/s_csinhf.c (__csinhf): Likewise.
21318         * math/s_csinhl.c (__csinhl): Likewise.
21319         * math/s_csinl.c (__csinl): Likewise.
21320         * math/s_csqrt.c (__csqrt): Likewise.
21321         * math/s_csqrtf.c (__csqrtf): Likewise.
21322         * math/s_csqrtl.c (__csqrtl): Likewise.
21323         * math/s_ctan.c (__ctan): Likewise.
21324         * math/s_ctanf.c (__ctanf): Likewise.
21325         * math/s_ctanh.c (__ctanh): Likewise.
21326         * math/s_ctanhf.c (__ctanhf): Likewise.
21327         * math/s_ctanhl.c (__ctanhl): Likewise.
21328         * math/s_ctanl.c (__ctanl): Likewise.
21329         * math/w_pow.c: Likewise.
21330         * math/w_powf.c: Likewise.
21331         * math/w_powl.c: Likewise.
21332         * math/w_scalb.c (sysv_scalb): Likewise.
21333         * math/w_scalbf.c (sysv_scalbf): Likewise.
21334         * math/w_scalbl.c (sysv_scalbl): Likewise.
21335         * misc/error.c (error_tail): Likewise.
21336         * misc/pselect.c (__pselect): Likewise.
21337         * nis/nis_callback.c (__nis_create_callback): Likewise.
21338         * nis/nis_call.c (__nisfind_server): Likewise.
21339         * nis/nis_creategroup.c (nis_creategroup): Likewise.
21340         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
21341         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
21342         * nis/nis_getservlist.c (nis_getservlist): Likewise.
21343         * nis/nis_lookup.c (nis_lookup): Likewise.
21344         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
21345         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
21346         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
21347         * nis/nis_xdr.c (xdr_endpoint): Likewise.
21348         * nis/nss_compat/compat-grp.c (getgrent_next_file)
21349         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
21350         * nis/nss_compat/compat-initgroups.c (add_group)
21351         (internal_getgrent_r): Likewise.
21352         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
21353         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
21354         * nis/nss_compat/compat-spwd.c (getspent_next_file)
21355         (internal_getspnam_r): Likewise.
21356         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
21357         (_nss_nis_getaliasbyname_r): Likewise.
21358         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
21359         (_nss_nis_getntohost_r): Likewise.
21360         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
21361         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
21362         (_nss_nis_getgrgid_r): Likewise.
21363         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
21364         (internal_nis_gethostent_r, internal_gethostbyname2_r)
21365         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
21366         (_nss_nis_gethostbyname4_r): Likewise.
21367         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
21368         (initgroups_netid): Likewise.
21369         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
21370         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
21371         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
21372         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
21373         (_nss_nis_getprotobynumber_r): Likewise.
21374         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
21375         (_nss_nis_getsecretkey): Likewise.
21376         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
21377         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
21378         (_nss_nis_getpwuid_r): Likewise.
21379         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
21380         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
21381         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
21382         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
21383         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
21384         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
21385         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
21386         Likewise.
21387         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
21388         (_nss_nisplus_getntohost_r): Likewise.
21389         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
21390         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
21391         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
21392         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
21393         Likewise.
21394         * nis/nss_nisplus/nisplus-initgroups.c
21395         (_nss_nisplus_initgroups_dyn): Likewise.
21396         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
21397         (_nss_nisplus_getnetbyaddr_r): Likewise.
21398         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
21399         (_nss_nisplus_getprotobynumber_r): Likewise.
21400         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
21401         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
21402         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
21403         Likewise.
21404         * nis/nss_nisplus/nisplus-service.c
21405         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
21406         (_nss_nisplus_getservbyport_r): Likewise.
21407         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
21408         (_nss_nisplus_getspnam_r): Likewise.
21409         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
21410         Likewise.
21411         * nscd/aicache.c (addhstaiX): Likewise.
21412         * nscd/cache.c (cache_search, prune_cache): Likewise.
21413         * nscd/connections.c (register_traced_file, send_ro_fd)
21414         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
21415         (main_loop_epoll): Likewise.
21416         * nscd/grpcache.c (addgrbyX): Likewise.
21417         * nscd/hstcache.c (addhstbyX): Likewise.
21418         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21419         * nscd/mem.c (gc, mempool_alloc): Likewise.
21420         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
21421         (addinnetgrX): Likewise.
21422         * nscd/nscd-client.h (__nscd_acquire_maplock)
21423         (__nscd_drop_map_ref): Likewise.
21424         * nscd/nscd_getai.c (__nscd_getai): Likewise.
21425         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21426         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
21427         Likewise.
21428         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
21429         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21430         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
21431         (__nscd_get_map_ref): Likewise.
21432         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
21433         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
21434         Likewise.
21435         * nscd/pwdcache.c (addpwbyX): Likewise.
21436         * nscd/selinux.c (preserve_capabilities): Likewise.
21437         * nscd/servicescache.c (addservbyX): Likewise.
21438         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
21439         * posix/fnmatch.c (fnmatch): Likewise.
21440         * posix/getopt.c (_getopt_internal_r): Likewise.
21441         * posix/glob.c (glob, glob_in_dir): Likewise.
21442         * posix/wordexp.c (exec_comm_child): Likewise.
21443         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
21444         (getanswer_r, gaih_getanswer_slice): Likewise.
21445         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
21446         * resolv/res_init.c: Likewise.
21447         * resolv/res_mkquery.c (res_nmkquery): Likewise.
21448         * resolv/res_query.c (__libc_res_nquery): Likewise.
21449         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
21450         Likewise.
21451         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
21452         * stdio-common/perror.c (perror): Likewise.
21453         * stdio-common/printf_fp.c (___printf_fp): Likewise.
21454         * stdio-common/tmpnam.c (tmpnam): Likewise.
21455         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21456         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
21457         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21458         Likewise.
21459         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21460         * stdlib/putenv.c (putenv): Likewise.
21461         * stdlib/setenv.c (__add_to_environ): Likewise.
21462         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21463         * stdlib/strtol_l.c (INTERNAL): Likewise.
21464         * string/memmem.c (memmem): Likewise.
21465         * string/strerror.c (strerror): Likewise.
21466         * string/strnlen.c (__strnlen): Likewise.
21467         * string/test-memmem.c (simple_memmem): Likewise.
21468         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
21469         * sunrpc/pm_getport.c (__get_socket): Likewise.
21470         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
21471         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
21472         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
21473         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
21474         Likewise.
21475         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
21476         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21477         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
21478         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
21479         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
21480         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
21481         Likewise.
21482         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
21483         Likewise.
21484         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
21485         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
21486         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21487         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
21488         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
21489         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
21490         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21491         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
21492         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
21493         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
21494         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21495         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
21496         Likewise.
21497         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
21498         Likewise.
21499         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
21500         Likewise.
21501         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
21502         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21503         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
21504         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
21505         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
21506         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
21507         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21508         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
21509         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
21510         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
21511         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
21512         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21513         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21514         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21515         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21516         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
21517         Likewise.
21518         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
21519         Likewise.
21520         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
21521         Likewise.
21522         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
21523         Likewise.
21524         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21525         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21526         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
21527         Likewise.
21528         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
21529         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
21530         * sysdeps/posix/opendir.c (__opendirat): Likewise.
21531         * sysdeps/posix/sleep.c: Likewise.
21532         * sysdeps/posix/tempname.c: Likewise.
21533         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
21534         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21535         Likewise.
21536         * sysdeps/powerpc/powerpc32/dl-machine.h
21537         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
21538         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21539         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21540         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
21541         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
21542         Likewise.
21543         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
21544         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
21545         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21546         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
21547         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21548         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
21549         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
21550         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
21551         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21552         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
21553         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
21554         (elf_machine_lazy_rel): Likewise.
21555         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21556         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
21557         (elf_machine_lazy_rel): Likewise.
21558         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
21559         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
21560         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
21561         * sysdeps/unix/grantpt.c (grantpt): Likewise.
21562         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
21563         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
21564         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
21565         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21566         Likewise.
21567         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21568         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21569         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
21570         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
21571         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21572         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21573         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
21574         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
21575         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
21576         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21577         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21578         Likewise.
21579         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
21580         (__posix_fallocate64_l64): Likewise.
21581         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
21582         (posix_fallocate): Likewise.
21583         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21584         Likewise.
21585         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21586         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
21587         (getifaddrs_internal): Likewise.
21588         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
21589         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
21590         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
21591         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21592         * sysdeps/unix/sysv/linux/posix_fallocate64.c
21593         (__posix_fallocate64_l64): Likewise.
21594         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21595         Likewise.
21596         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
21597         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
21598         (__get_clockfreq): Likewise.
21599         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
21600         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21601         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
21602         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21603         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21604         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
21605         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21606         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
21607         Likewise.
21608         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
21609         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
21610         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
21611         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
21612         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21613         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
21614         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
21615         Likewise.
21616         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21617         (posix_fallocate): Likewise.
21618         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21619         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
21620         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
21621         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
21622         (elf_machine_rela, elf_machine_rela_relative)
21623         (elf_machine_lazy_rel): Likewise.
21624         * time/asctime.c (asctime_internal): Likewise.
21625         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
21626         * time/tzset.c (__tzset_parse_tz): Likewise.
21627         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21628         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21629         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
21630         * wcsmbs/wcsmbsload.h: Likewise.
21632         [BZ #15894]
21633         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
21635         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
21636         (arena_get2): Remove THREAD_STATS conditionals.
21637         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
21638         (__malloc_stats, int): Likewise.
21640 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
21642         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
21643         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
21645         * manual/setjmp.texi: Fix typos/grammar errors.
21647         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
21648         Only return early when n is <= 0.  Delete unused return statement.
21650         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
21651         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21652         * debug/tst-longjmp_chk3.c: New file.
21654         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
21655         (test_main): Replace code with set_fortify_handler call.
21656         * debug/test-strcpy_chk.c: Likewise.
21657         * debug/tst-chk1.c: Likewise.
21658         * debug/tst-longjmp_chk.c: Likewise.
21659         * test-skeleton.c: Include fcntl.h & paths.h
21660         (set_fortify_handler): Define.
21662         * debug/tst-longjmp_chk.c: Add header comment and include
21663         ../test-skeleton.c.
21664         (do_test): Mark static.
21665         (TEST_FUNCTION): Define.
21667         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
21668         (IP_PMTUDISC_INTERFACE): Likewise.
21669         (IP_MULTICAST_IF): Likewise.
21670         (IP_MULTICAST_TTL): Likewise.
21671         (IP_MULTICAST_LOOP): Likewise.
21672         (IP_ADD_MEMBERSHIP): Likewise.
21673         (IP_DROP_MEMBERSHIP): Likewise.
21674         (IP_UNBLOCK_SOURCE): Likewise.
21675         (IP_BLOCK_SOURCE): Likewise.
21676         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
21677         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
21678         (IP_MSFILTER): Likewise.
21679         (MCAST_JOIN_GROUP): Likewise.
21680         (MCAST_BLOCK_SOURCE): Likewise.
21681         (MCAST_UNBLOCK_SOURCE): Likewise.
21682         (MCAST_LEAVE_GROUP): Likewise.
21683         (MCAST_JOIN_SOURCE_GROUP): Likewise.
21684         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
21685         (MCAST_MSFILTER): Likewise.
21686         (IP_MULTICAST_ALL): Likewise.
21687         (IP_UNICAST_IF): Likewise.
21689         * timezone/Makefile: Delete $(have-ksh) check.
21690         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
21691         * timezone/tzselect.ksh: Add +x mode bits.
21693         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
21694         (ANON_INODE_FS_MAGIC): Likewise.
21695         (BDEVFS_MAGIC): Likewise.
21696         (BINFMTFS_MAGIC): Likewise.
21697         (BTRFS_TEST_MAGIC): Likewise.
21698         (CRAMFS_MAGIC_WEND): Likewise.
21699         (DEBUGFS_MAGIC): Likewise.
21700         (ECRYPTFS_SUPER_MAGIC): Likewise.
21701         (EXT3_SUPER_MAGIC): Likewise.
21702         (EXT4_SUPER_MAGIC): Likewise.
21703         (FUTEXFS_SUPER_MAGIC): Likewise.
21704         (HOSTFS_SUPER_MAGIC): Likewise.
21705         (HUGETLBFS_MAGIC): Likewise.
21706         (MINIX3_SUPER_MAGIC): Likewise.
21707         (MTD_INODE_FS_MAGIC): Likewise.
21708         (NILFS_SUPER_MAGIC): Likewise.
21709         (OPENPROM_SUPER_MAGIC): Likewise.
21710         (PIPEFS_MAGIC): Likewise.
21711         (PSTOREFS_MAGIC): Likewise.
21712         (QNX6_SUPER_MAGIC): Likewise.
21713         (RAMFS_MAGIC): Likewise.
21714         (REISERFS_SUPER_MAGIC_STRING): Likewise.
21715         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
21716         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
21717         (SECURITYFS_MAGIC): Likewise.
21718         (SELINUX_MAGIC): Likewise.
21719         (SMACK_MAGIC): Likewise.
21720         (SOCKFS_MAGIC): Likewise.
21721         (SQUASHFS_MAGIC): Likewise.
21722         (STACK_END_MAGIC): Likewise.
21723         (TMPFS_MAGIC): Likewise.
21724         (USBDEVICE_SUPER_MAGIC): Likewise.
21725         (V9FS_MAGIC): Likewise.
21726         (XENFS_SUPER_MAGIC): Likewise.
21727         (CRAMFS_MAGIC): Fix typo in comment.
21728         (EXT2_SUPER_MAGIC): Update comment.
21729         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
21731 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
21733         * sysdeps/arm: Move directory from ports/sysdeps/arm.
21734         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
21735         * sysdeps/unix/sysv/linux/arm: Move directory from
21736         ports/sysdeps/unix/sysv/linux/arm.
21737         * README: Update listing for arm-*-linux-gnueabi.
21739         * README: Remove mention of am33.
21741 2014-02-07  Roland McGrath  <roland@hack.frob.com>
21743         * bits/sigset.h (__sigemptyset): Use a statement expression rather
21744         than the comma operator, to avoid "rhs of comma has no effect"
21745         compiler warnings.
21746         (__sigfillset, __sigandset, __sigorset): Likewise.
21747         * include/signal.h (__sigemptyset): Likewise.
21748         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
21750 2014-02-07  Allan McRae  <allan@archlinux.org>
21752         * version.h (RELEASE): Set to "development".
21753         (VERSION): Set to "2.19.90"
21754         * NEWS: Add 2.20 section.
21756 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
21758         [BZ #16529]
21759         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
21761 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21763         * manual/contrib.texi: Update entry for Carlos O'Donell,
21764         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
21766 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
21768         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
21770         * sysdeps/unix/sysv/linux/kernel-features.h
21771         [__LINUX_KERNEL_VERSION >= 0x020621]
21772         (__ASSUME_PROC_PID_TASK_COMM): Define.
21774 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21776         [BZ #16398]
21777         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
21778         conversion when destination buffer does not have enough space.
21779         * libio/tst-ftell-partial-wide.c: New test case.
21780         * libio/Makefile (tests): Add tst-ftell-partial-wide.
21782         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
21783         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
21784         Leonard and Allan McRae.
21786 2014-02-04  David S. Miller  <davem@davemloft.net>
21788         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
21789         32-bit.
21791 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
21794         New file
21795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
21796         New file
21797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
21798         New file.
21799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
21800         New file.
21801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
21802         New file.
21803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
21804         New file.
21805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
21806         New file.
21807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
21808         New file.
21809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
21810         New file.
21811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
21812         New file.
21813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
21814         New file.
21815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
21816         New file.
21817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
21818         New file.
21820 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21822         * nptl/shlib-versions: Change powerpc*le start to 2.17.
21823         * shlib-versions: Likewise.
21825 2014-02-04  Roland McGrath  <roland@hack.frob.com>
21826             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21828         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
21829         (abilist-pattern): New variable, set to %-le.abilist.
21831         * Makerules (abilist-pattern): New variable.
21832         (vpath): Use $(abilist-pattern) in place of %.abilist.
21833         (check-abi-% pattern rule): Likewise.
21834         (check-abi, update-abi): Likewise.
21836 2014-02-04  Eric Wong  <normalperson@yhbt.net>
21838         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21840 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
21842         * manual/startup.texi: Add next, previous, and top entries for
21843         the `Program Arguments' and `Environment Variables' nodes.
21845 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
21847         * manual/macros.texi: Add comments before MTASC-safety macros.
21849         * manual/users.texi: Document MTASC-safety properties.
21851         * manual/threads.texi (pthread_key_create, pthread_key_delete)
21852         (pthread_getspecific, pthread_setspecific): Format with
21853         @deftypefun, and add @safety note.
21854         * manual/signal.texi: Move comments that analyze the above
21855         functions to their home place.
21857 2014-02-03  Allan McRae  <allan@archlinux.org>
21859         * po/sl.po: Update Slovenian translation from translation project.
21861 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
21863         * manual/time.texi (timegm): Add missing blank after @c.
21864         Reported by Joseph Myers <joseph@codesourcery.com>.
21866 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
21868         * manual/check-safety.sh: New.
21869         * manual/Makefile ($(objpfx)stamp-summary): Run it.
21871         * manual/terminal.texi: Document MTASC-safety properties.
21873         * manual/filesys.texi: Document MTASC-safety properties.
21875         * manual/errno.texi: Document MTASC-safety properties.
21877         * manual/intro.texi: Document safety identifiers and
21878         conditionals.
21880         * manual/string.texi (wcstok): Fix prototype.
21881         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
21883         * manual/time.texi: Document MTASC-safety properties.
21885         * manual/string.texi: Document MTASC-safety properties.
21887         * manual/threads.texi: Document MTASC-safety properties.
21889         * manual/stdio.texi: Document MTASC-safety properties.
21891         * manual/syslog.texi: Document MTASC-safety properties.
21893         * manual/sysinfo.texi: Document MTASC-safety properties.
21895         * manual/startup.texi: Document MTASC-safety properties.
21897         * manual/socket.texi: Document MTASC-safety properties.
21899         * manual/signal.texi: Document MTASC-safety properties.
21901 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
21903         * manual/setjmp.texi: Document MTASC-safety properties.
21905         * manual/search.texi: Document MTASC-safety properties.
21907         * manual/resource.texi: Document MTASC-safety properties.
21909         * manual/process.texi: Document MTASC-safety properties.
21911         * manual/platform.texi: Document MTASC-safety properties.
21913         * manual/pipe.texi: Document MTASC-safety properties.
21915         * manual/pattern.texi: Document MTASC-safety properties.
21917         * manual/message.texi: Document MTASC-safety properties.
21919         [BZ #12751]
21920         * manual/memory.texi: Document MTASC-safety properties.
21922         * manual/math.texi: Document MTASC-safety properties.
21924         * manual/locale.texi: Document MTASC-safety properties.
21926         * manual/llio.texi: Document MTASC-safety properties.
21928         * manual/libdl.texi: New.
21930         * manual/lang.texi: Document MTASC-safety properties.
21932         * manual/job.texi: Document MTASC-safety properties.
21934         * manual/getopt.texi: Document MTASC-safety properties.
21936         * manual/ctype.texi: Document MTASC-safety properties.
21938 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
21940         [BZ #16046]
21941         * csu/libc-tls.c (static_map): Remove variable.
21942         (__libc_setup_tls): Use main executable's link map for TLS data.
21943         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
21944         casing for LM_ID_BASE and GL(dl_nns).
21945         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
21946         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
21947         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
21948         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
21949         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
21950         member.
21951         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
21952         l_phnum members.
21954 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
21956         * manual/debug.texi: Document MTASC-safety properties.
21958 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
21960         [BZ #16510]
21961         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
21962         of __x86_64__ when disabling x87 inline functions.
21964 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
21966         * manual/charset.texi: Document MTASC-safety properties.
21968         * manual/crypt.texi: Document MTASC-safety properties.
21970         * manual/conf.texi: Document MTASC-safety properties.
21972         * manual/arith.texi: Document MTASC-safety properties.
21974         * manual/argp.texi: Document MTASC-safety properties.
21976         * manual/macros.texi: Introduce macros to document multi
21977         thread, asynchronous signal and asynchronous cancellation
21978         safety properties.
21979         * manual/intro.texi: Introduce the properties themselves.
21981 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21983         * sysdeps/sh/sh4/Makefile: New file.
21985 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
21987         * math/gen-libm-test.pl ($srcdir): New variable.
21988         ($auto_input): Use it.
21990 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21992         [BZ #16506]
21993         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
21994         access beyond array bounds when parsing netgroups file.
21996         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
21997         the old buffer before realloc.
21999 2014-01-27  Allan McRae  <allan@archlinux.org>
22001         * po/fr.po: Update French translation from translation project.
22003 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22005         * sysdeps/sh/libm-test-ulps: Regenerate.
22007 2014-01-24  David S. Miller  <davem@davemloft.net>
22009         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
22011 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22013         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
22014         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
22016 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22018         [BZ #16474]
22019         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
22020         string pointers after reallocation.
22022 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22024         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
22025         __SH4A__ instead of __SH_FPU_ANY__.
22027 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22029         * sysdeps/sh/fpu_control.h: New file.
22030         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
22031         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
22032         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
22033         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
22034         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
22035         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
22036         * sysdeps/sh/sys/ucontext.h: Remove.
22037         * sysdeps/sh/sys: Remove directory.
22039 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22041         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
22042         s390/sys/ucontext.h.
22043         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
22044         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
22046 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
22048         [BZ #15605]
22049         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
22051 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22053         [BZ#16431]
22054         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22055         Adjust the vDSO correctly for internal calls.
22056         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
22058 2014-01-20  Allan McRae  <allan@archlinux.org>
22060         * po/ca.po: Update Catalan translation from translation project.
22062 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
22064         * sysdeps/s390/sotruss-lib.c: New file.
22066 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22068         [BZ#16430]
22069         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
22070         (__GI___gettimeofday): Alias for a different internal symbol to avoid
22071         local calls issues by not having a PLT stub required for IFUNC calls.
22072         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
22074 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
22076         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
22077         * math/test-fpucw-static.c: Likewise.
22079 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22081         [BZ #16453]
22082         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
22084 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22086         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
22087         implementation for powerpc.
22089 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
22091         [BZ #14782]
22092         * sysdeps/posix/system.c (__libc_system): Do not enable
22093         asynchronous cancellation.
22095 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22097         [BZ #16427]
22098         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
22099         handling only for numbers special also in the IEEE case.
22101 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22103         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22105 2014-01-11  Allan McRae  <allan@archlinux.org>
22107         * po/bg.po: Update Bulgarian translation from translation project.
22109         * po/de.po: Update German translation from translation project.
22111 2014-01-10  Roland McGrath  <roland@hack.frob.com>
22113         * sysdeps/generic/gcc-compat.h: New file.
22115 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22117         * benchtests/asin-inputs: Correct slow inputs.
22118         * benchtests/acos-inputs: Likewise.
22120 2014-01-10  Allan McRae  <allan@archlinux.org>
22122         * po:sv.po: Update Swedish translation from translation project.
22124         * po/vi.po: Update Vietnamese translation from translation project.
22126         * po/eo.po: Update Esperanto translation from translation project.
22128         * po/cs.po: Update Czech translation from translation project.
22130         * po/nl.po: Update Dutch translation from translation project.
22132         * po/pl.po: Update Polish translation from translation project.
22134         * po/ru.po: Update Russian translation from translation project.
22136         * po/uk.po: Update Ukrainian translation from translation project.
22138 2014-01-08  Brooks Moses  <bmoses@google.com>
22140         * elf/dl-load.c: Fix comment typo.
22142 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
22144         * po/header.pot: Rename to...
22145         * po/pot.header: ... this.
22146         * po/Makefile: Use pot.header.
22148 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
22149             Maxim Kuvyrkov  <maxim@kugelworks.com>
22151         [BZ #16394]
22152         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
22153         SRC and DEST against LEN.
22155 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22157         [BZ #16414]
22158         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
22159         implementation.
22160         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
22162 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22164         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22166 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
22168         [BZ #16408]
22169         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
22170         for large positive arguments.
22172 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
22174         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22176         * math/auto-libm-test-in: Mark various tests with
22177         xfail-rounding:ldbl-128ibm.
22178         * math/auto-libm-test-out: Regenerated.
22180         [BZ #16407]
22181         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
22182         Increase overflow threshold.
22184 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
22186         [BZ #14286]
22187         * stdio-common/vfprintf.c: Check for integer overflow.
22189 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22191         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
22192         the first argument and return value of __tls_get_addr_internal.
22194 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22196         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
22197         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
22199 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22201         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
22202         * sysdeps/s390/rtld-global-offsets.sym: New file.
22203         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
22204         GLIBC_2.19 symbol.
22205         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
22206         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
22207         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22208         ... this.
22209         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
22210         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22211         ... this.
22212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22213         Regenerate.
22214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22215         Regenerate.
22216         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
22217         halfs of GPRs for high_gprs contexts.
22218         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
22219         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
22220         field.
22221         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
22222         uc_flags field.
22223         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
22224         64 bit versions:
22225         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
22226         for high GPRs (uc_high_gprs) and for future extensions
22227         (__reserved).
22228         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
22229         for future extensions (__reserved).
22230         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
22231         64 bit versions:
22232         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
22233         SC_HIGHGPRS offset definition.
22234         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
22235         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
22237         * Versions.def: Add GLIBC_2.19 for libpthread.
22238         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
22239         siglongjmp for libpthread with GLIBC_2.19 symver.
22240         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
22241         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
22242         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
22243         * sysdeps/s390/__longjmp.c: New file.
22244         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
22245         * sysdeps/s390/longjmp.c: New file.
22246         * sysdeps/s390/setjmp.S: New file.
22247         * sysdeps/s390/sigjmp.S: New file.
22248         * sysdeps/s390/v1-longjmp.c: New file.
22249         * sysdeps/s390/v1-setjmp.h: New file.
22250         * sysdeps/s390/v1-sigjmp.c: New file.
22251         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
22252         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
22253         GLIBC_2.19 version.
22254         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
22255         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
22256         versioned symbols for ____longjmp_chk.
22257         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22258         Likewise.
22259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22260         Regenerate.
22261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22262         Regenerate.
22263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22264         Regenerate.
22265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22266         Regenerate.
22267         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
22268         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
22269         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
22270         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
22271         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
22272         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
22273         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
22274         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
22275         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
22276         * sysdeps/s390/rtld-__longjmp.c: New file.
22277         * sysdeps/s390/rtld-setjmp.S: New file.
22279 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
22281         [BZ #16400]
22282         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22283         Return -__logl (x) for small positive arguments without evaluating
22284         a polynomial.
22286 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
22288         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
22289         Rename to ...
22290         (__ptrace_peeksiginfo_args): ... this.
22291         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22292         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22293         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22295 2014-01-06  Allan McRae  <allan@archlinux.org>
22297         * inet/netinet/in.h: Fix typo in comment.
22299 2014-01-05  Andreas Jaeger  <aj@suse.de>
22301         * sysdeps/i386/fpu/libm-test-ulps: Update.
22303 2014-01-05  Allan McRae  <allan@archlinux.org>
22305         * po/libc.pot: Regenerated.
22307         * malloc/memusagestat.c: Fix gettext call formatting.
22309 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
22311         * nscd/nscd.c: Improve usage() output.
22313 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
22315         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
22316         * sysdeps/unix/sysv/linux/configure: Regenerated.
22317         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
22318         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
22320 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
22322         [BZ #16390]
22323         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22324         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
22326 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22328         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
22329         extra tokens at end of #undef directive.
22330         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22331         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22332         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22334 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
22336         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22338         * math/auto-libm-test-in: Mark various tests with
22339         xfail-rounding:ldbl-128ibm.
22340         * math/auto-libm-test-out: Regenerated.
22342 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
22344         [BZ #16386]
22345         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
22346         numbers with subnormal high part when calculating exponent.
22348         [BZ #16385]
22349         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
22350         fabs.
22352         [BZ #16384]
22353         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
22354         M_LN2l.
22355         (__ieee754_acoshl): Use __log1pl not __log1p.
22357 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
22359         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
22360         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
22361         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
22362         (grow_heap, heap_trim, _int_new_arena, get_free_list)
22363         (reused_arena, arena_get2): Convert to GNU style.
22364         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
22365         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
22366         (memalign_check, __malloc_set_state): Likewise.
22367         * malloc/mallocbug.c (main): Likewise.
22368         * malloc/malloc.c (__malloc_assert, malloc_init_state)
22369         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
22370         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
22371         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
22372         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
22373         (__posix_memalign, malloc_info): Likewise.
22374         * malloc/malloc.h: Likewise.
22375         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
22376         (mallochook, memalignhook, reallochook, mabort): Likewise.
22377         * malloc/mcheck.h: Likewise.
22378         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
22379         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
22380         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
22381         * malloc/morecore.c (__default_morecore): Likewise.
22382         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
22383         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
22384         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
22385         (print_and_abort): Likewise.
22386         * malloc/obstack.h: Likewise.
22387         * malloc/set-freeres.c (__libc_freeres): Likewise.
22388         * malloc/tst-mallocstate.c (main): Likewise.
22389         * malloc/tst-mtrace.c (main): Likewise.
22390         * malloc/tst-realloc.c (do_test): Likewise.
22392 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22394         [BZ #16366]
22395         * nscd/netgroupcache.c (do_notfound): New function.
22396         (addgetnetgrentX): Use it.
22398         [BZ # 16365]
22399         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
22400         NSS_STATUS_NOTFOUND.
22402 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
22404         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22407 2014-01-01  Allan McRae  <allan@archlinux.org>
22409         * scripts/update-copyrights: Update configure input file suffix.
22411         * NEWS: Update copyright year.
22412         * catgets/gencat.c: Likewise.
22413         * csu/version.c: Likewise.
22414         * debug/catchsegv.sh: Likewise.
22415         * debug/pcprofiledump.c: Likewise.
22416         * debug/xtrace.sh: Likewise.
22417         * elf/ldconfig.c: Likewise.
22418         * elf/ldd.bash.in: Likewise.
22419         * elf/pldd.c: Likewise.
22420         * elf/sotruss.ksh: Likewise.
22421         * elf/sprof.c: Likewise.
22422         * iconv/iconv_prog.c: Likewise.
22423         * iconv/iconvconfig.c: Likewise.
22424         * locale/programs/locale.c: Likewise.
22425         * locale/programs/localedef.c: Likewise.
22426         * login/programs/pt_chown.c: Likewise.
22427         * malloc/memusage.sh: Likewise.
22428         * malloc/memusagestat.c: Likewise.
22429         * malloc/mtrace.pl: Likewise.
22430         * manual/libc.texinfo: Likewise.
22431         * nscd/nscd.c: Likewise.
22432         * nss/getent.c: Likewise.
22433         * nss/makedb.c: Likewise.
22434         * posix/getconf.c: Likewise.
22435         * scripts/test-installation.pl: Likewise.
22437         * All files with FSF copyright notices: Update copyright dates
22438         using scripts/update-copyrights.
22439         * intl/plural.c: Regenerated.
22440         * locale/programs/charmap-kw.h: Likewise.
22441         * locale/programs/locfile-kw.h: Likewise.
22443 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
22445         * sysdeps/unix/sysv/linux/configure: Regenerated.
22446         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
22447         the linux/fanotify.h header.
22448         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
22449         HAVE_LINUX_FANOTIFY_H is defined.
22451 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22453         * benchtests/cos-inputs: New inputs.
22454         * benchtests/sin-inputs: Likewise.
22456         * benchtests/atan-inputs: New inputs. Fix name of multiple
22457         precision fallback inputs.
22459         * benchtests/atanh-inputs: New inputs.
22460         * benchtests/tanh-inputs: Likewise.
22462         * benchtests/acosh-inputs: New inputs.
22463         * benchtests/asinh-inputs: Likewise.
22465         * benchtests/cosh-inputs: New inputs.
22466         * benchtests/sinh-inputs: Likewise.
22468         * benchtests/acos-inputs: Add more inputs.
22469         * benchtests/asin-inputs: Likewise.
22471 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
22473         [BZ #16375]
22474         * manual/arith.texi: Fix spelling.
22475         * manual/charset.texi: Likewise.
22476         * manual/errno.texi: Likewise.
22477         * manual/filesys.texi: Likewise.
22478         * manual/lang.texi: Likewise.
22479         * manual/llio.texi: Likewise.
22480         * manual/locale.texi: Likewise.
22481         * manual/message.texi: Likewise.
22482         * manual/resource.texi: Likewise.
22483         * manual/search.texi: Likewise.
22484         * manual/setjmp.texi: Likewise.
22485         * manual/stdio.texi: Likewise.
22486         * manual/string.texi: Likewise.
22487         * manual/sysinfo.texi: Likewise.
22488         * manual/time.texi: Likewise.
22490 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
22492         * po/sl.po: New file.
22494 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
22496         * .gitignore: Add core/.gdbinit/.gdb_history.
22498 2013-12-27  Allan McRae  <allan@archlinux.org>
22500         [BZ #16369]
22501         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
22502         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
22504 2013-12-24  Brooks Moses  <bmoses@google.com>
22506         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
22507         all compilers that claim C++98 compliance, not just GCC.
22508         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22509         Likewise.
22511 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
22513         * NEWS: Restore accidentally deleted bug-fix entries.
22515 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
22516             Ondřej Bílka  <neleai@seznam.cz>
22518         [BZ #15073]
22519         * malloc/malloc.c (_int_free): Perform sanity check only if we
22520         have_lock.
22522 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
22524         [BZ #12986]
22525         * manual/stdio.texi (String Input Conversions): Clarify that character
22526         classes are not supported.
22528 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22530         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22532 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
22534         [BZ #16337]
22535         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22536         Calculate results for small negative arguments directly rather
22537         than using reflection formula with special underflow handling.
22539         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
22540         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
22541         sysdeps/unix/bsd/bsd4.4/syscalls.list.
22542         (fchflags): Likewise.
22543         (revoke): Likewise.
22544         (setlogin): Likewise.
22545         (sigaltstack): Likewise.
22546         (wait4): Likewise.
22547         (sigblock): Remove.
22548         (sigsetmask): Likewise.
22549         (wait3): Likewise.
22550         (waitpid): Likewise.
22551         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
22552         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
22553         file.
22554         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
22555         * sysdeps/unix/bsd/Makefile: ... here.
22556         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
22557         * sysdeps/unix/bsd/Versions: ... here.
22558         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
22559         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
22560         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
22561         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
22562         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
22563         * sysdeps/unix/bsd/sigblock.c: ... here.
22564         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
22565         * sysdeps/unix/bsd/sigsetmask.c: ... here.
22566         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
22567         * sysdeps/unix/bsd/sigvec.c: ... here.
22568         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
22569         * sysdeps/unix/bsd/tcdrain.c: ... here.
22570         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
22571         * sysdeps/unix/bsd/tcgetattr.c: ... here.
22572         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
22573         * sysdeps/unix/bsd/tcsetattr.c: ... here.
22574         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
22575         * sysdeps/unix/bsd/wait.c: ... here.
22576         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
22577         * sysdeps/unix/bsd/wait3.c: ... here.
22578         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
22579         * sysdeps/unix/bsd/waitpid.c: ... here.
22581 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
22583         [BZ #16356]
22584         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
22585         round-to-nearest for [!USE_AS_EXPM1L].
22586         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
22587         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
22588         more tests of exp and exp10.  Expect some exp10 tests to miss
22589         exceptions or fail in directed rounding modes.
22590         * math/auto-libm-test-out: Regenerated.
22591         * math/libm-test.inc (exp10_tonearest_test_data): New array.
22592         (exp10_test_tonearest): New function.
22593         (exp10_towardzero_test_data): New array.
22594         (exp10_test_towardzero): New function.
22595         (exp10_downward_test_data): New array.
22596         (exp10_test_downward): New function.
22597         (exp10_upward_test_data): New array.
22598         (exp10_test_upward): New function.
22599         (main): Call the new functions.
22600         * sysdeps/i386/fpu/libm-test-ulps: Update.
22601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22603 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
22605         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22606         asinh, atan, atan2, atanh, cbrt, cos and cosh.
22607         * math/auto-libm-test-out: Regenerated.
22608         * math/libm-test.inc (acosh_test_data): Add more tests.
22609         (atanh_test_data): Likewise.
22610         (ceil_test_data): Likewise.
22611         (copysign_test_data): Likewise.
22612         * sysdeps/i386/fpu/libm-test-ulps: Update.
22613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22615         * timezone/checktab.awk: Update from tzcode 2013i.
22616         * timezone/private.h: Likewise.
22617         * timezone/scheck.c: Likewise.
22618         * timezone/tzfile.h: Likewise.
22619         * timezone/tzselect.ksh: Likewise.
22620         * timezone/zdump.c: Likewise.
22621         * timezone/zic.c: Likewise.
22623         * math/auto-libm-test-in: Add tests of cpow.
22624         * math/auto-libm-test-out: Regenerated.
22625         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
22626         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22627         mpc_cc_c.
22628         (func_calc_desc): Add mpc_cc_c union field.
22629         (test_functions): Add cpow.
22630         (special_fill_2pi): New function.
22631         (special_real_inputs): Add 2pi.
22632         (calc_generic_results): Handle mpc_cc_c.
22633         * sysdeps/i386/fpu/libm-test-ulps: Update.
22634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22636         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
22637         csqrt, ctan and ctanh.
22638         * math/auto-libm-test-out: Regenerated.
22639         * math/libm-test.inc (TEST_COND_x86_64): New macro.
22640         (TEST_COND_x86): Likewise.
22641         (ccos_test_data): Use AUTO_TESTS_c_c.
22642         (ccosh_test_data): Likewise.
22643         (cexp_test_data): Likewise.
22644         (clog_test_data): Likewise.
22645         (csqrt_test_data): Likewise.
22646         (ctan_test_data): Likewise.
22647         (ctan_tonearest_test_data): Likewise.
22648         (ctan_towardzero_test_data): Likewise.
22649         (ctan_downward_test_data): Likewise.
22650         (ctan_upward_test_data): Likewise.
22651         (ctanh_test_data): Likewise.
22652         (ctanh_tonearest_test_data): Likewise.
22653         (ctanh_towardzero_test_data): Likewise.
22654         (ctanh_downward_test_data): Likewise.
22655         (ctanh_upward_test_data): Likewise.
22656         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22657         mpc_c_c.
22658         (func_calc_desc): Add mpc_c_c union field.
22659         (FUNC_mpc_c_c): New macro.
22660         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
22661         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
22662         ctanh.
22663         (special_fill_min_subnorm_p120): New function.
22664         (special_real_inputs): Add min_subnorm_p120.
22665         (calc_generic_results): Handle mpc_c_c.
22666         * sysdeps/i386/fpu/libm-test-ulps: Update.
22667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22669 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22671         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
22672         (do_sin_slow): New functions.
22673         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
22674         (cslow2, csloww1, csloww2): Use the new functions.
22676         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
22677         Use M to change sign of result instead of X.  Assume X is
22678         positive.
22679         (csloww1): Likewise.
22680         (__sin): Adjust.
22681         (__cos): Adjust.
22683         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
22684         arguments A and DA.
22685         (__sin): Adjust.
22686         (__cos): Likewise.
22688         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
22689         (__cos): Likewise.
22690         (sloww1): Don't adjust sign of DX.
22691         (csloww1): Likewise.
22692         (sloww2): Use X directly and don't adjust sign of DX.
22693         (csloww2): Likewise.
22695 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
22697         * math/auto-libm-test-in: Add tests of cabs and carg.
22698         * math/auto-libm-test-out: Regenerated.
22699         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
22700         (carg_test_data): Likewise.
22701         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22702         mpc_c_f.
22703         (func_calc_desc): Add mpc_c_f union field.
22704         (test_functions): Add cabs and carg.
22705         (calc_generic_results): Handle mpc_c_f.
22707         * sysdeps/powerpc/powerpc32/libgcc-compat.S
22708         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
22709         as a macro and a compat symbol.
22710         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22711         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22712         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22713         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22714         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
22715         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
22716         not use .hidden.
22717         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
22718         Likewise.
22719         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
22720         Likewise.
22721         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
22722         Likewise.
22723         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
22724         Likewise.
22725         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
22726         Likewise.
22727         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
22728         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
22729         from GLIBC_2.3.2.
22731 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22735 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
22737         * manual/texinfo.tex: Update to version 2013-11-26.10 with
22738         trailing whitespace removed.
22739         * scripts/config.guess: Update to version 2013-11-29.
22740         * scripts/config.sub: Update to version 2013-10-01.
22742         * math/auto-libm-test-in: Add tests of sincos.
22743         * math/auto-libm-test-out: Regenerated.
22744         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
22745         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22746         mpfr_f_11.
22747         (func_calc_desc): Add mpfr_f_11 union field.
22748         (test_functions): Add sincos.
22749         (calc_generic_results): Handle mpfr_f_11.
22750         * sysdeps/i386/fpu/libm-test-ulps: Update.
22751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22753 2013-12-19  Andreas Schwab  <schwab@suse.de>
22755         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
22756         CALL_MCOUNT.
22757         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22758         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
22759         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
22761 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
22763         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
22764         * sysdeps/i386/fpu/libm-test-ulps: Update.
22765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22767         [BZ #16293]
22768         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
22769         round-to-nearest mode when using frndint.
22770         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
22771         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22772         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22773         Likewise.
22774         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
22775         sinh test to fail.
22776         * math/auto-libm-test-out: Regenerated.
22777         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
22778         (TEST_COND_x86): Likewise.
22779         (expm1_tonearest_test_data): New array.
22780         (expm1_test_tonearest): New function.
22781         (expm1_towardzero_test_data): New array.
22782         (expm1_test_towardzero): New function.
22783         (expm1_downward_test_data): New array.
22784         (expm1_test_downward): New function.
22785         (expm1_upward_test_data): New array.
22786         (expm1_test_upward): New function.
22787         (main): Run the new test functions.
22788         * sysdeps/i386/fpu/libm-test-ulps: Update.
22789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22791         * include/features.h: Update comment documenting feature test
22792         macros.  Mention _DEFAULT_SOURCE in comment.
22793         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
22794         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
22795         _BSD_SOURCE and _SVID_SOURCE.
22796         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
22797         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
22798         !_SVID_SOURCE]: Likewise.
22799         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22800         (__USE_POSIX_IMPLICITLY): Define.
22801         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22802         (_POSIX_SOURCE): Undefine and redefine.
22803         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22804         (_POSIX_C_SOURCE): Likewise.
22805         * manual/creature.texi (_DEFAULT_SOURCE): Document.
22806         (Feature Test Macros): Update documentation of default features.
22808 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22810         * benchtests/Makefile: Add bench-strtok.
22811         * benchtests/bench-strtok.c: New file: strtok benchtest.
22813 2013-12-19  Allan McRae  <allan@archlinux.org>
22815         * manual/install.texi: Suppress menu for plain text output.
22816         * INSTALL: Regenerated.
22818 2013-12-18  Brooks Moses  <bmoses@google.com>
22820         [BZ #15846]
22821         * misc/getauxval.c: Include errno.h.
22822         (__getauxval): Set errno to ENOENT if the requested type is not
22823         found.
22824         * misc/sys/auxv.h (getauxval): Document that it may set errno;
22825         don't declare with __attribute_const__.
22826         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
22827         * manual/startup.texi: Document that getauxval sets errno.
22829 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
22831         * math/auto-libm-test-in: Add tests of jn and yn.
22832         * math/auto-libm-test-out: Regenerated.
22833         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
22834         (yn_test_data): Likewise.
22835         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22836         mpfr_if_f.
22837         (func_calc_desc): Add mpfr_if_f union field.
22838         (FUNC_mpfr_if_f): New macro.
22839         (test_functions): Add jn and yn.
22840         (calc_generic_results): Assert type of second input for
22841         mpfr_ff_f.  Handle mpfr_if_f.
22842         (output_for_one_input_case): Disable all checking for arguments
22843         fitting floating-point types in case of an integer argument.
22844         * sysdeps/i386/fpu/libm-test-ulps: Update.
22845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22848         Don't expect fegetround reference in libm.so.
22850 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22852         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
22853         $(config-cflags-nofma).
22855 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
22857         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
22858         * math/auto-libm-test-out: Regenerated.
22860         [BZ #16338]
22861         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
22862         to determine exponent and adjust argument to have exponent of -1.
22863         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
22864         log2.
22865         * math/auto-libm-test-out: Regenerated.
22866         * sysdeps/i386/fpu/libm-test-ulps: Update.
22867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22869 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
22871         * manual/probes.texi: Remove cases when per-thread arenas are
22872         disabled.
22874 2013-12-18  Andreas Schwab  <schwab@suse.de>
22876         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
22877         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
22878         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
22879         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
22880         * sysdeps/i386/i686/multiarch/Makefile: Update.
22881         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
22883 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
22885         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
22886         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
22888 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
22890         [BZ #15968]
22891         Support TZ transition times < 00:00:00.
22892         This is needed for version-3 tz-format files; it supports time
22893         stamps past 2037 for America/Godthab (the only entry in the tz
22894         database for which this change is relevant).
22895         * manual/time.texi (TZ Variable): Document transition times
22896         from -167:59:59 through -00:00:01.
22897         * time/tzset.c (tz_rule): Time of day is now signed.
22898         (__tzset_parse_tz): Parse negative time of day.
22900         Document TZ transition times >= 25:00:00.
22901         * manual/time.texi (TZ Variable): Document transition times from
22902         25:00:00 through 167:59:59.  These are already supported, and this
22903         support will help with version-3 tz-format files.
22905         * manual/time.texi (TZ Variable): Modernize North America example
22906         to reflect current (i.e., 2007-and-later) daylight saving rules.
22908         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
22910 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
22912         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
22913         * sysdeps/unix/bsd/bits/stat.h: Likewise.
22914         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
22915         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22916         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
22917         * sysdeps/unix/bsd/bsdstat.h: Likewise.
22918         * sysdeps/unix/bsd/clock.c: Likewise.
22919         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
22920         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
22921         * sysdeps/unix/bsd/init-posix.c: Likewise.
22922         * sysdeps/unix/bsd/poll.c: Likewise.
22923         * sysdeps/unix/bsd/ptsname.c: Likewise.
22924         * sysdeps/unix/bsd/seekdir.c: Likewise.
22925         * sysdeps/unix/bsd/setegid.c: Likewise.
22926         * sysdeps/unix/bsd/seteuid.c: Likewise.
22927         * sysdeps/unix/bsd/setgid.c: Likewise.
22928         * sysdeps/unix/bsd/setrgid.c: Likewise.
22929         * sysdeps/unix/bsd/setruid.c: Likewise.
22930         * sysdeps/unix/bsd/setsid.c: Likewise.
22931         * sysdeps/unix/bsd/setuid.c: Likewise.
22932         * sysdeps/unix/bsd/sigaction.c: Likewise.
22933         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
22934         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
22935         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
22936         * sysdeps/unix/bsd/telldir.c: Likewise.
22937         * sysdeps/unix/bsd/times.c: Likewise.
22938         * sysdeps/unix/bsd/usleep.c: Likewise.
22940         * misc/Makefile (install-lib): Remove libbsd-compat.a.
22941         ($(objpfx)libbsd-compat.a): Remove rule.
22943         * include/features.h (__FAVOR_BSD): Do not define.
22944         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
22945         features conflicting with POSIX.
22946         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
22947         (_BSD_SOURCE): Remove description of not being a subset of other
22948         feature test macros.
22949         * manual/job.texi (getpgrp): Do not document BSD version.
22950         (getpgid): Do not document by reference to BSD getpgrp.
22951         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
22952         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
22953         * signal/signal.h [__FAVOR_BSD]: Likewise.
22954         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
22955         instead of making contents conditional on [__FAVOR_BSD].
22956         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
22958 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22960         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22962 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
22964         [BZ #16314]
22965         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
22966         values below 2**-450, not 2**-500.
22967         * math/auto-libm-test-in: Don't allow spurious underflow from
22968         hypot.
22969         * math/auto-libm-test-out: Regenerated.
22971         [BZ #16316]
22972         [BZ #16330]
22973         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
22974         values of ha and hb and sort them after adjusting subnormal
22975         arguments.
22976         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
22977         Likewise.
22978         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
22979         values of ea and eb and sort them after adjusting subnormal
22980         arguments.
22981         * math/auto-libm-test-in: Do not expect some hypot tests of
22982         subnormals to fail.  Add more hypot tests.
22983         * math/auto-libm-test-out: Regenerated.
22985 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22987         [BZ #13304]
22988         * sysdeps/sh/s_fma.c: New file.
22989         * sysdeps/sh/s_fmaf.c: New file.
22990         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
22991         version.
22992         * sysdeps/sh/Implies: Add sh/soft-fp.
22994 2013-12-16  Roland McGrath  <roland@hack.frob.com>
22996         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
22997         level of indirection to members `objname', `errstring', `malloced'.
22998         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
22999         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
23000         it as the __longjmp argument (just pass 1 instead).
23001         (_dl_catch_error): Initialize C with argument pointers and address of
23002         volatile local ERRCODE rather than copying values out of C at return.
23004 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
23006         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
23007         * math/auto-libm-test-out: Regenerated.
23008         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
23009         (hypot_test_data): Likewise.
23010         (pow_test_data): Likewise.
23011         (pow_tonearest_test_data): Likewise.
23012         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23013         mpfr_ff_f.
23014         (func_calc_desc): Add mpfr_ff_f union field.
23015         (FUNC_mpfr_ff_f): New macro.
23016         (test_functions): Add atan2, hypot and pow.
23017         (special_fill_min): New function.
23018         (special_fill_minus_min): Likewise.
23019         (special_fill_min_subnorm): Likewise.
23020         (special_fill_minus_min_subnorm): Likewise.
23021         (special_real_inputs): Add min, -min, min_subnorm and
23022         -min_subnorm.
23023         (calc_generic_results): Handle mpfr_ff_f.
23024         * sysdeps/i386/fpu/libm-test-ulps: Update.
23025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23027 2013-12-16  Will Newton  <will.newton@linaro.org>
23029         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
23030         (Aligned Memory Blocks): Add documentation for aligned_alloc
23031         and suggest it as an alternative to posix_memalign.
23032         (Hooks for Malloc): Document __memalign_hook is also called
23033         for aligned_alloc.  (Summary of Malloc): Add summary for
23034         aligned alloc.  Document __memalign_hook is also called
23035         for aligned_alloc.
23037 2013-12-16  Will Newton  <will.newton@linaro.org>
23039         * manual/memory.texi (Malloc Examples): Clarify default
23040         alignment documentation.  Suggest posix_memalign rather
23041         than memalign or valloc.
23042         (Aligned Memory Blocks): Remove suggestion to use memalign
23043         or valloc.  Remove obsolete comment about BSD.
23044         Document memalign errno values and mark the function obsolete.
23045         Document posix_memalign returned error codes.  Mark valloc
23046         as obsolete.  (Hooks for Malloc): __memalign_hook is also
23047         called for posix_memalign and valloc.
23048         (Summary of Malloc): Add posix_memalign to function summary.
23049         __memalign_hook is also called for posix_memalign and valloc.
23051 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23053         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
23054         TAYLOR_SIN.
23055         (__sin): Adjust.
23056         (__cos): Likewise.
23057         (sloww): Use mynumber union.  Expand ternary operator into
23058         if-else statements.
23059         (cslow): use mynumber union.
23061 2013-12-16  Allan McRae  <allan@archlinux.org>
23063         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
23064         * configure: Regenerated.
23066         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
23068         [BZ #14120]
23069         * configure.ac: Added --enable-maintainer-mode. Check for
23070         autoconf when enabled.
23071         * configure: Regenerated.
23073         * nscd/nscd.service: New file.
23074         * nscd/nscd.tmpfiles: New file.
23076 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
23078         [BZ #12100]
23079         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
23080         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
23081         * sysdeps/x86_64/multiarch/strstr.c: ... here.
23082         (strstr): Add __strstr_sse2_unaligned ifunc.
23083         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
23084         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
23085         (strcasestr): Remove __strcasestr_sse42 ifunc.
23086         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
23087         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23088         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23090 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23092         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
23093         * sysdeps/sh/bits/fenv.h: ... here.
23094         * sysdeps/sh/sh4/fpu/bits: Remove directory.
23096 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23098         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
23100         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
23101         hypotf multiarch implementations.
23102         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
23103         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
23104         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
23105         multiarch hypot for PPC64.
23106         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
23107         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
23108         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
23109         multiarch hypotf for PPC64.
23111         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
23112         modff multiarch implementations.
23113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
23114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
23115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
23116         multiarch modf for PPC64.
23117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
23118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
23119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
23120         multiarch modff for PPC64.
23122         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
23123         and logl multiarch implementations.
23124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
23125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
23126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
23127         multiarch logb for PPC64.
23128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
23129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
23130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
23131         multiarch logb for PPC64.
23132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
23133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
23134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
23135         multiarch logb for PPC64.
23137         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
23138         isinff multiarch implementation.
23139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
23140         file.
23141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
23142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
23143         multiarch isinf for PPC64.
23144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
23145         file.
23146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
23147         multiarch isinff for PPC64.
23149         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
23150         finitef multiarch implementation.
23151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
23152         file.
23153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
23154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
23155         multiarch finite for PPC64.
23156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
23157         file.
23158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
23159         multiarch finitef for PPC64.
23161         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
23162         lrint multiarch implementation.
23163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
23164         file.
23165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
23166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
23167         multiarch llrint for PPC64.
23168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
23169         multiarch lrint for PPC64.
23171         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
23172         copysignf multiarch implementation.
23173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
23174         file.
23175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
23176         file.
23177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
23178         multiarch copysign for PPC64.
23179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
23180         multiarch copysignf for PPC64.
23182         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
23183         multiarch implementation.
23184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
23185         file.
23186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
23187         file.
23188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
23189         file.
23190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
23191         file.
23192         multiarch llround for PPC64.
23193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
23194         multiarch trunc for PPC64.
23195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
23196         multiarch truncf for PPC64.
23198         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
23199         multiarch implementation.
23200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
23201         file.
23202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
23203         file.
23204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
23205         file.
23206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
23207         file.
23208         multiarch llround for PPC64.
23209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
23210         multiarch round for PPC64.
23211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
23212         multiarch roundf for PPC64.
23214         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
23215         multiarch implementation.
23216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
23217         file.
23218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
23219         file.
23220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
23221         file.
23222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
23223         file.
23224         multiarch llround for PPC64.
23225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
23226         multiarch floor for PPC64.
23227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
23228         multiarch floorf for PPC64.
23230         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
23231         multiarch implementation.
23232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
23233         file.
23234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
23235         file.
23236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
23237         file.
23238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
23239         file.
23240         multiarch llround for PPC64.
23241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
23242         multiarch ceil for PPC64.
23243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
23244         multiarch ceilf for PPC64.
23246         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23247         multiarch implementation.
23248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
23249         file.
23250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
23251         file.
23252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
23253         file.
23254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
23255         multiarch llround for PPC64.
23256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
23257         multiarch lround for PPC64.
23259         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23260         multiarch implementation.
23261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
23262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
23263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
23264         file.
23265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
23266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
23267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
23268         multiarch isnan for PPC64.
23269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
23270         multiarch isnanf for PPC64.
23272         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
23273         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
23274         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
23275         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
23276         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
23277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
23279         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
23280         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23281         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23282         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23284         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
23285         multiarch implementations.
23286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23287         (__libc_ifunc_impl_list): Likewise.
23288         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
23289         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
23290         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
23291         multiarch stpcpy for PPC64.
23293         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
23294         multiarch implementations.
23295         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23296         (__libc_ifunc_impl_list): Likewise.
23297         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
23298         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
23299         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
23300         multiarch strcpy for PPC64.
23302         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
23303         redefine function name.
23304         (_wordcopy_fwd_dest_aligned): Likewise.
23305         (_wordcopy_bwd_aligned): Likewise.
23306         (_wordcopy_bwd_dest_aligned): Likewise.
23307         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
23308         multiarch implementations.
23309         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23310         (__libc_ifunc_impl_list): Likewise.
23311         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
23312         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
23313         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
23314         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
23315         multiarch wcscpy for PPC64.
23317         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
23318         multiarch implementations.
23319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23320         (__libc_ifunc_impl_list): Likewise.
23321         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
23322         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
23323         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
23324         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
23325         multiarch wcscpy for PPC64.
23327         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
23328         multiarch implementations.
23329         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23330         (__libc_ifunc_impl_list): Likewise.
23331         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
23332         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
23333         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
23334         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
23335         multiarch wcsrchr for PPC64.
23337         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
23338         multiarch implementations.
23339         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23340         (__libc_ifunc_impl_list): Likewise.
23341         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
23342         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
23343         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
23344         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
23345         multiarch wcschr for PPC64.
23347         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
23348         multiarch implementations.
23349         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23350         (__libc_ifunc_impl_list): Likewise.
23351         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
23352         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
23353         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
23354         multiarch strchrnul for PPC64.
23356         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
23357         implementations.
23358         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23359         (__libc_ifunc_impl_list): Likewise.
23360         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
23361         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
23362         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
23363         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
23364         strchr for PPC64.
23366         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
23367         implementations.
23368         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23369         (__libc_ifunc_impl_list): Likewise.
23370         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
23371         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
23372         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
23373         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
23374         strncmp for PPC64.
23376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
23377         multiarch implementations.
23378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23379         (__libc_ifunc_impl_list): Likewise.
23380         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
23381         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
23382         strncasecmp for PPC64.
23383         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
23384         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
23385         multiarch strncasecmp_l for PPC64.
23387         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
23388         multiarch implementations.
23389         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23390         (__libc_ifunc_impl_list): Likewise.
23391         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
23392         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
23393         multiarch strcasecmp for PPC64.
23394         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
23395         file.
23396         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
23397         multiarch strcasecmp_l for PPC64.
23399         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
23400         implementations.
23401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23402         (__libc_ifunc_impl_list): Likewise.
23403         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
23404         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
23405         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
23406         strnlen for PPC64.
23408         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
23409         implementations.
23410         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23411         (__libc_ifunc_impl_list): Likewise.
23412         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
23413         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
23414         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
23415         strlen for PPC64.
23417         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
23418         implementations.
23419         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23420         (__libc_ifunc_impl_list): Likewise.
23421         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
23422         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
23423         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
23424         rawmemrchr for PPC64.
23426         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
23427         implementation.
23428         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23429         (__libc_ifunc_impl_list): Likewise.
23430         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
23431         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
23432         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
23433         memrchr for PPC64.
23435         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
23436         implementation.
23437         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23438         (__libc_ifunc_impl_list): Likewise.
23439         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
23440         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
23441         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
23442         memchr for PPC64.
23444         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
23445         implementation.
23446         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23447         (__libc_ifunc_impl_list): Likewise.
23448         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
23449         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
23450         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
23451         mempcpy for PPC64.
23453         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
23454         avoid cretion of __bzero symbol.
23455         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
23456         Likewise.
23457         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
23458         Likewise.
23459         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
23460         Likewise.
23461         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
23462         multiarch implementations.
23463         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23464         (__libc_ifunc_impl_list): Likewise.
23465         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
23466         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
23467         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
23468         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
23469         bzero for PPC32.
23470         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
23471         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
23472         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
23473         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
23474         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
23475         memset for PPC64.
23476         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
23478         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
23479         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
23480         implementations.
23481         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23482         (__libc_ifunc_impl_list): Likewise.
23483         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
23484         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
23485         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
23486         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
23487         memcmp for PPC64.
23489         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
23490         multiarch for POWER/PPC64.
23491         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23492         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
23493         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
23494         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
23495         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
23496         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
23497         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
23498         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
23499         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
23500         memcpy for PPC64.
23502         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
23503         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
23504         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
23505         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
23506         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
23507         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
23508         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
23509         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
23510         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
23511         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
23512         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
23513         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
23514         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
23515         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
23516         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
23517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
23518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
23519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
23520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
23521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
23522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
23523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
23525 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23527         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
23529 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23531         * benchtests/Makefile (bench): Add exp2 and log2.
23532         (LDLIBS-bench-exp2): Add -lm.
23533         (LDLIBS-bench-log2): Likewise.
23534         * benchtests/exp2-inputs: New inputs file.
23535         * benchtests/log2-inputs: New inputs file.
23536         * benchtests/log-inputs: Add new inputs.
23537         * benchtests/tan-inputs: Likewise.
23539 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23541         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
23542         definition...
23543         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
23544         (csloww2): ... from here.
23546         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
23547         instead of structures.
23548         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
23549         (POLYNOMIAL): Likewise.
23550         (TAYLOR_SLOW): Likewise.
23551         (__sin): Likewise.
23552         (__cos): Likewise.
23553         (slow1): Likewise.
23554         (slow2): Likewise.
23555         (sloww): Likewise.
23556         (sloww1); Likewise.
23557         (sloww2): Likewise.
23558         (bsloww1): Likewise.
23559         (bsloww2): Likewise.
23560         (cslow2): Likewise.
23561         (csloww): Likewise.
23562         (csloww1): Likewise.
23563         (csloww2): Likewise.
23565 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
23567         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
23568         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
23569         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
23570         * malloc/hooks.c (realloc_check): Likewise.
23572         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
23573         * malloc/arena.c: Remove PER_THREAD conditional.
23574         [!PER_THREAD]: Remove code.
23575         (ptmalloc_unlock_all2): Likewise.
23576         (ptmalloc_init): Likewise.
23577         (_int_new_arena): Likewise.
23578         (arena_get2): Likewise.
23579         * malloc/hooks.c (__malloc_get_state): Likewise.
23580         (__malloc_set_state): Likewise.
23581         * malloc/malloc.c: Likewise.
23582         (struct malloc_state): Likewise.
23583         (struct malloc_par): Likewise.
23584         (__libc_realloc): Likewise.
23585         (__libc_mallopt): Likewise.
23587 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23589         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
23591 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
23593         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
23594         macro to a function.  Check for zero perturb_byte.
23595         (_int_malloc, _int_free): Remove zero perturb_byte checks.
23597         * malloc/malloc.c: (force_reg): Remove.
23598         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
23599         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
23600         force_reg by atomic_forced_read.
23601         * malloc/arena.c (ptmalloc_init): Likewise.
23602         * malloc/hooks.c (top_check): Likewise.
23604 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23606         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23608 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
23610         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23612 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
23614         * math/auto-libm-test-in: Add tests of lgamma.
23615         * math/auto-libm-test-out: Regenerated.
23616         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
23617         (M_LOG_2_SQRT_PIl): Likewise.
23618         (lgamma_test_data): Use AUTO_TESTS_f_f1.
23619         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23620         mpfr_f_f1.
23621         (func_calc_desc): Add mpfr_f_f1 union field.
23622         (ARGS1): New macro.
23623         (ARGS2): Likewise.
23624         (ARGS3): Likewise.
23625         (ARGS4): Likewise.
23626         (RET1): Likewise.
23627         (RET2): Likewise.
23628         (CALC): Likewise.
23629         (FUNC): Likewise.
23630         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
23631         (test_functions): Add lgamma.
23632         (calc_generic_results): Handle mpfr_f_f1.
23633         * sysdeps/i386/fpu/libm-test-ulps: Update.
23634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23636 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23638         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
23639         __mpn_add_n for PowerPC64/POWER7.
23640         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
23641         __mpn_sub_n for PowerPC64/POWER7.
23643         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
23644         __mpn_addmul_1 for PowerPC64.
23645         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
23646         __mpn_submul_1 for PowerPC64.
23647         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
23648         for PowerPC64.
23649         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
23650         for PowerPC64.
23652 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
23654         [BZ #15089]
23655         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
23657 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23659         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
23661         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
23662         add multiarch folders.
23663         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
23664         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
23665         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
23666         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
23667         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
23668         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
23669         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
23670         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
23671         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
23672         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
23673         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
23674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
23675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
23676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
23677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
23678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
23679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
23681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23682         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
23683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
23684         New file.
23685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
23686         New file.
23687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
23688         multiarch __ieee754_hypot for PowerPC32.
23689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
23690         New file.
23691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
23692         New file.
23693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
23694         multiarch __ieee754_hypotf for PowerPC32.
23696         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
23697         long_double_symbol only if __logbl is defined.
23698         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
23699         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
23700         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
23701         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
23702         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
23703         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
23704         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
23705         path for implementation.
23706         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
23707         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
23708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
23709         logb, and logbl multiarch implementations for PowerPC32.
23710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
23711         file.
23712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
23713         file.
23714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
23715         multiarch logb for PowerPC32.
23716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
23717         file.
23718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
23719         file.
23720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
23721         multiarch logbf for PowerPC32.
23722         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
23723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
23724         file.
23725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
23726         multiarch logbl implementation for PowerPC32.
23728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
23729         and modff multiarch implementations.
23730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
23731         New file.
23732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
23733         New file.
23734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
23735         multiarch modf for PowerPC32.
23736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
23737         New file.
23738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
23739         New file.
23740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
23741         multiarch modff for PowerPC32.
23743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
23744         and lrintf multiarch implementations.
23745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
23746         New file.
23747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
23748         New file.
23749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
23750         multiarch lrint for PowerPC32.
23751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
23752         file: multiarch lrintf for PowerPC32.
23754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
23755         and lroundf multiarch implementations.
23756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
23757         New file.
23758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
23759         New file.
23760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
23761         New file.
23762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
23763         multiarch lround for PowerPC32.
23764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
23765         file: multiarch lroundf for PowerPC32.
23767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23768         copysign and copysignf multiarch implementations.
23769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
23770         New file.
23771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
23772         New file.
23773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
23774         file: multiarch copysign for PowerPC32.
23775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
23776         file: multiarch copysignf for PowerPC32.
23778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
23779         and truncf multiarch implementations.
23780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
23781         New file.
23782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
23783         file.
23784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
23785         multiarch trunc for PowerPC32.
23786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
23787         New file.
23788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
23789         New file.
23790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
23791         multiarch truncf for PowerPC32.
23793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
23794         and roundf multiarch implementations.
23795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
23796         New file.
23797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
23798         file.
23799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
23800         multiarch round for PowerPC32.
23801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
23802         New file.
23803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
23804         New file.
23805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
23806         multiarch roundf for PowerPC32.
23808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
23809         and floorf multiarch implementations.
23810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
23811         New file.
23812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
23813         file.
23814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
23815         multiarch floor for PowerPC32.
23816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
23817         New file.
23818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
23819         New file.
23820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
23821         multiarch floorf for PowerPC32.
23823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
23824         and ceilf multiarch implementations.
23825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
23826         New file.
23827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
23828         file.
23829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
23830         multiarch ceil for PowerPC32.
23831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
23832         New file.
23833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
23834         file.
23835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
23836         multiarch ceilf for PowerPC32.
23838         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
23839         is defined.
23840         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
23841         FINITEF is defined.
23842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
23843         and finitef multiarch implementations.
23844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
23845         New file.
23846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
23847         file.
23848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
23849         multiarch finite for PowerPC32.
23850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
23851         New file.
23852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
23853         file: multiarch finitef for PowerPC32.
23855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
23856         and isinff multiarch implementations.
23857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
23858         file.
23859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
23860         file.
23861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
23862         multiarch isinf for PowerPC32.
23863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
23864         New file.
23865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
23866         multiarch isinff for PowerPC32.
23868         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
23869         alias when __isnan is defined.
23870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
23871         and isnanf multiarch implementations.
23872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
23873         file.
23874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
23875         file.
23876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
23877         file.
23878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
23879         file.
23880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
23881         multiarch isnan for PowerPC32.
23882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
23883         New file.
23884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
23885         New file.
23886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
23887         multiarch isnanf for PowerPC32.
23889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
23890         and sqrtf multiarch implementations.
23891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
23892         file.
23893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
23894         file.
23895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
23896         multiarch sqrt for PowerPC32.
23897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
23898         file.
23899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
23900         file.
23901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
23902         multiarch sqrtf for PowerPC32.
23904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
23905         and llroundf multiarch implementations.
23906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
23907         New file.
23908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
23909         New file.
23910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
23911         New file.
23912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
23913         file: multiarch llround for PowerPC32.
23914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
23915         file: multiarch llroundf for PowerPC32.
23917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
23918         multiarch PowerPC32 fpu implementations.
23919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
23920         New file.
23921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
23922         New file.
23923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
23924         multiarch llrint for PowerPC32.
23925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
23926         New file.
23927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
23928         New file.
23929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
23930         file.
23932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
23934         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
23935         file.
23936         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
23937         file.
23938         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
23939         file.
23940         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
23941         multiarch wordcopy for PPC32.
23942         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23943         wordcopy objects.
23944         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23945         (__libc_ifunc_impl_list): Likewise.
23946         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
23947         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
23948         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
23949         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
23950         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
23951         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
23953         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
23954         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
23955         file.
23956         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
23957         file.
23958         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
23959         file.
23960         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
23961         multiarch wcscpy for PPC32.
23962         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23963         multiarch objects.
23964         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23965         (__libc_ifunc_impl_list): Likewise.
23966         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23967         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23968         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
23969         sysdeps/powerpc/power6/wcscpy.c.
23971         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
23972         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
23973         file.
23974         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
23975         file.
23976         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
23977         file.
23978         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
23979         multiarch wcsrchr for PPC32.
23980         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23981         multiarch objects.
23982         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23983         (__libc_ifunc_impl_list): Likewise.
23984         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23985         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23986         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
23987         sysdeps/powerpc/power6/wcsrchr.c.
23989         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
23990         file.
23991         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
23992         file.
23993         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
23994         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
23995         multiarch wcschr for PPc32.
23996         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23997         multiarch objects.
23998         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23999         (__libc_ifunc_impl_list): Likewise.
24000         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
24001         * sysdeps/powerpc/power6/wcschr.c: ... to here.
24002         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
24003         sysdeps/powerpc/power6/wcschr.c.
24005         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
24006         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
24007         file.
24008         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
24009         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
24010         file: multiarch strchr for PPC32.
24011         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
24012         multiarch objects.
24013         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24014         (__libc_ifunc_impl_list): Likewise.
24016         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
24017         name.
24018         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
24019         file.
24020         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
24021         file.
24022         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
24023         multiarch strchrnul for PPC32.
24024         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
24025         multiarch objects.
24026         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24027         (__libc_ifunc_impl_list): Likewise.
24029         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
24030         file.
24031         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
24032         multiarch strncasecmp for PPC32.
24033         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
24034         file.
24035         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
24036         multiarch strncasecmp_l for PPC32.
24037         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
24038         strncasecmp multiarch objects.
24039         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24040         (__libc_ifunc_impl_list): Likewise.
24042         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
24043         file.
24044         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
24045         multiarch strncasecmp for PPC32.
24046         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24047         New file.
24048         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
24049         multiarch strcasecmp_l for PPC32.
24050         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
24051         multiarch objects.
24052         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24053         (__libc_ifunc_impl_list): Likewise.
24055         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
24056         file.
24057         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
24058         file.
24059         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
24060         multiarch strncmp for PPC32.
24061         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
24062         multiarch objects.
24063         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24064         (__libc_ifunc_impl_list): Likewise.
24066         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
24067         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
24068         file.
24069         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
24070         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
24071         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
24072         multiarch objects.
24073         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24074         (__libc_ifunc_impl_list): Likewise.
24076         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
24077         file.
24078         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
24079         file.
24080         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
24081         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
24082         multiarch objects.
24083         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24084         (__libc_ifunc_impl_list): Likewise.
24086         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
24087         file.
24088         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
24089         file.
24090         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
24091         multiarch rawmemchr for PPC32.
24092         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
24093         multiarch objects.
24094         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24095         (__libc_ifunc_impl_list): Likewise.
24097         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
24098         file.
24099         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
24100         file.
24101         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
24102         file: memrchr multiarch for PPC32.
24103         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
24104         multiarch objects.
24105         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24106         (__libc_ifunc_impl_list): Likewise.
24108         * string/memchr.c (__memchr): Using macro to redefine symbol name.
24109         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
24110         file.
24111         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
24112         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
24113         multiarch memchr for PPC32.
24114         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
24115         multiarch objects.
24116         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24117         (__libc_ifunc_impl_list): Likewise.
24119         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
24120         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
24121         file.
24122         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
24123         file.
24124         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
24125         file: multiarch mempcpy for PPC32.
24126         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
24127         multiarch objects.
24128         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24129         (__libc_ifunc_impl_list): Likewise.
24131         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
24132         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
24133         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
24134         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
24135         multiarch bzero for PPC32.
24136         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
24137         file.
24138         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
24139         file.
24140         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
24141         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
24142         file: multiarch memset for PPC32.
24143         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
24144         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
24145         memset multiarch objects.
24146         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24147         (__libc_ifunc_impl_list): Likewise.
24149         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
24150         file.
24151         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
24152         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
24153         memcmp for PPC32.
24154         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
24155         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
24156         multiarch objects.
24157         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24158         (__libc_ifunc_impl_list): Likewise.
24160         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
24161         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
24162         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
24163         file.
24164         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
24165         file.
24166         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
24167         file.
24168         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
24169         multiarch memcpy for PPC32.
24170         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
24171         multiarch objects.
24172         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24173         (__libc_ifunc_impl_list): Likewise.
24175         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
24176         support multiarch for POWER/PPC32.
24177         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
24178         Likewise.
24179         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
24181         Implies file to make multiarch folder appers before the fpu and
24182         default folder for power4 configuration.
24184 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24186         * scripts/bench.pl: Append volatile keyword to type.
24188 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24190         * sysdeps/sh/sotruss-lib.c: New file.
24191         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
24193 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24197 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
24199         [BZ #6810]
24200         * math/w_tgamma.c: Include <errno.h>.
24201         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
24202         * math/w_tgammaf.c: Include <errno.h>.
24203         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
24204         * math/w_tgammal.c: Include <errno.h>.
24205         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
24206         * math/auto-libm-test-in: Do not allow missing errno on tgamma
24207         underflow.  Add more tgamma tests.
24208         * math/auto-libm-test-out: Regenerated.
24209         * sysdeps/i386/fpu/libm-test-ulps: Update.
24210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24212         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
24213         sin, sinh, tan, tanh, tgamma, y0 and y1.
24214         * math/auto-libm-test-out: Regenerated.
24215         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24216         (TEST_COND_x86): Likewise.
24217         (M_E2l): Remove macro.
24218         (M_E3l): Likewise.
24219         (M_2_SQRT_PIl): Likewise.
24220         (M_SQRT_PIl): Likewise.
24221         (M_1_DIV_El): Likewise.
24222         (log_test_data): Use AUTO_TESTS_f_f.
24223         (log10_test_data): Likewise.
24224         (log1p_test_data): Likewise.
24225         (log2_test_data): Likewise.
24226         (sin_test_data): Likewise.
24227         (sin_tonearest_test_data): Likewise.
24228         (sin_towardzero_test_data): Likewise.
24229         (sin_downward_test_data): Likewise.
24230         (sin_upward_test_data): Likewise.
24231         (sinh_test_data): Likewise.
24232         (sinh_tonearest_test_data): Likewise.
24233         (sinh_towardzero_test_data): Likewise.
24234         (sinh_downward_test_data): Likewise.
24235         (sinh_upward_test_data): Likewise.
24236         (tan_test_data): Likewise.
24237         (tan_tonearest_test_data): Likewise.
24238         (tan_towardzero_test_data): Likewise.
24239         (tan_downward_test_data): Likewise.
24240         (tan_upward_test_data): Likewise.
24241         (tanh_test_data): Likewise.
24242         (tgamma_test_data): Likewise.
24243         (y0_test_data): Likewise.
24244         (y1_test_data): Likewise.
24245         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
24246         (special_real_inputs): Add pi/4.
24247         * sysdeps/i386/fpu/libm-test-ulps: Update.
24248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24250 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24252         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
24253         "longjmp_target" static probes.
24254         (__longjmp): Rename to __longjmp_symbol.
24255         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24256         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
24257         on which longjmp to generate.
24258         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24259         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
24260         probe.
24261         (__sigsetjmp): Rename to __sigsetjmp_symbol.
24262         (__sigjmp_save): Rename to __sigjmp_save_symbol.
24263         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24264         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
24265         and __sigjmp_save_symbol based on which sigsetjmp to generated.
24266         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
24267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
24268         __longjmp_symbol based on which __longjmp to generate.
24269         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
24270         probe.
24271         (setjmp): Rename to setjmp_symbol.
24272         (__sigsetjmp): Rename to __sigsetjmp_symbol.
24273         (_setjmp): Rename to _setjmp_symbol.
24274         (__sigsetjmp): Rename to __sigsetjmp_symbol.
24275         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
24276         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
24277         which setjmp to generate.
24278         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
24279         "longjmp_target" static probes.
24281 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24283         * benchtests/README: Add note about output arguments.
24284         * benchtests/bench-sincos.c: Remove file.
24285         * benchtests/sincos-inputs: New file.
24286         * scripts/bench.pl: Identify output arguments and define
24287         static variables for them.
24289         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
24291         [BZ #15941]
24292         * Makefile (INSTALL): Add install-plain.texi as the primary
24293         dependency.
24294         * manual/install-plain.texi: New file.
24295         * manual/install.texi: Include node directive only for
24296         non-plaintext output.
24298 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
24300         * stdlib/longlong.h: Update from GCC.
24302         [BZ #6807]
24303         [BZ #15901]
24304         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
24305         * math/w_j0f.c (y0f): Likewise.
24306         * math/w_j0l.c (__y0l): Likewise.
24307         * math/w_j1.c (y1): Likewise.
24308         * math/w_j1f.c (y1f): Likewise.
24309         * math/w_j1l.c (__y1l): Likewise
24310         * math/w_jn.c (yn): Likewise.
24311         * math/w_jnf.c (ynf): Likewise.
24312         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
24313         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
24314         value for Bessel function domain errors outside _SVID_ mode.
24315         Adjust sign of return value for yn (negative integer, 0).
24316         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
24317         by zero in return for negative x and set sign appropriately for
24318         negative n.
24319         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
24320         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24321         * math/libm-test.inc (y0_test_data): Add more tests and adjust
24322         expectations in error cases.
24323         (y1_test_data): Likewise.
24324         (yn_test_data): Likewise.
24325         * sysdeps/i386/fpu/libm-test-ulps: Update.
24326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24328 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24330         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
24331         "64" to "64-v1".  Add "64-v2".
24332         (abi-64-options): Rename to ...
24333         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
24334         (abi-64-condition): Rename to ...
24335         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
24336         (abi-64-ld-soname): Rename to ...
24337         (abi-64-v1-ld-soname): ... this.
24338         (abi-64-v2-options): Define.
24339         (abi-64-v2-condition): Likewise.
24340         (abi-64-v2-ld-soname): Likewise.
24341         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
24342         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
24343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
24344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
24345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
24347 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24348             Alan Modra  <amodra@gmail.com>
24350         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
24351         New versions for use with the ELFv2 ABI.
24352         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
24353         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
24354         declaration.
24355         (struct La_ppc64v2_retval): Likewise.
24356         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
24357         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
24358         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
24359         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
24360         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
24361         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24362         Do not save or restore CR.
24363         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
24364         (_dl_profile_resolve): Do no save or restore CR.  Support extended
24365         return values for ELFv2 ABI.  Fix location of FPR return registers.
24366         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
24367         updated values for _CALL_ELF == 2.
24368         (La_regs, La_retval, int_retval): Likewise.
24370 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24372         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
24373         (FRAME_MIN_SIZE_PARM): Likewise.
24374         (FRAME_BACKCHAIN): Likewise.
24375         (FRAME_CR_SAVE): Likewise.
24376         (FRAME_LR_SAVE): Likewise.
24377         (FRAME_TOC_SAVE): Likewise.
24378         (FRAME_PARM_SAVE): Likewise.
24379         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
24380         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
24381         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24382         (call_mcount_parm_offset): New macro.
24383         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
24384         (PROF): Use symbolic stack frame offsets.
24385         (TAIL_CALL_SYSCALL_ERROR): Likewise.
24386         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
24387         Redefine in terms of FRAME_MIN_SIZE.
24388         (_dl_runtime_resolve): Use symbolic stack frame offsets.
24389         (_dl_profile_resolve): Likewise.  Update comment.
24390         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
24391         symbols stack frame offsets.
24392         (__sigsetjmp): Likewise.
24393         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
24394         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
24395         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
24396         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
24398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
24399         (FRAME_BACKCHAIN): Remove.
24400         (FRAME_CR_SAVE): Likewise.
24401         (FRAME_LR_SAVE): Likewise.
24402         (FRAME_COMPILER_DW): Likewise.
24403         (FRAME_LINKER_DW): Likewise.
24404         (FRAME_TOC_SAVE): Likewise.
24405         (FRAME_PARM_SAVE): Likewise.
24406         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
24407         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
24408         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
24410         (CHECK_SP): Use symbolic stack frame offsets.
24411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
24412         zone" instead of caller's parameter save area for temp storage.
24413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24414         Likewise.  Also, use symbolic stack frame offsets.
24415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
24416         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
24417         our own stack frame instead of the caller's.
24418         (__socket): Use symbolic stack frame offsets.
24420 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24421             Alan Modra  <amodra@gmail.com>
24423         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
24424         Define.
24425         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
24426         (PPC64_LOCAL_ENTRY_OFFSET): Define.
24427         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
24428         New function.
24429         (elf_machine_fixup_plt): Call it.
24430         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
24431         reloc arguments.
24432         (elf_machine_rela): Update call to elf_machine_plt_conflict.
24433         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24434         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
24435         r2 before calling target.
24437 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24438             Alan Modra  <amodra@gmail.com>
24440         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
24441         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
24442         versions of macros to support ELFv2 ABI.
24443         (LOCALENTRY): New macro.
24444         (ENTRY, EALIGN): Use it.
24445         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
24446         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
24447         fall through into ENTRY entry point.
24448         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
24449         Only define if _CALL_ELF != 2.
24451         (elf_machine_matches_host): Verify ABI version matches.
24452         (RTLD_START): Use LOCALENTRY.
24453         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
24454         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
24455         (PLT_ENTRY_WORDS): New macro.
24456         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
24457         (elf_machine_runtime_setup): Support ELFv2 ABI.
24458         (elf_machine_fixup_plt): Likewise.
24459         (elf_machine_plt_conflict): Likewise.
24460         (resolve_ifunc): Likewise.
24461         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24462         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24463         Likewise.
24464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
24465         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
24466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24467         (makecontext): Support ELFv2 ABI.
24468         * elf/elf.h (EF_PPC64_ABI): Define.
24470 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24472         * sysdeps/powerpc/powerpc64/sysdep.h
24473         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
24474         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
24475         (ENTRY) [ASSEMBLER]: ... but instead here ...
24476         (EALIGN) [ASSEMBLER]: ... and here.
24477         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
24478         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
24479         (ENTRY_2) [!ASSEMBLER]: Use it.
24480         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
24481         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
24482         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24483         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
24484         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
24485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
24486         Use PPC64_LOAD_FUNCPTR.
24488         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
24490 2013-12-04  Alan Modra  <amodra@gmail.com>
24492         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
24493         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
24494         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
24495         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
24497         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
24498         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
24499         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
24500         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
24501         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
24502         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
24504 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24507         (__makecontext): Fix incorrect CFI when backtracing out of
24508         context created via makecontext.
24509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
24510         (__setcontext): Fix incorrect CFI during switch to new context.
24511         (__novec_setcontext): Likewise.
24513 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
24515         [BZ #4772]
24516         * time/strptime_l.c (__strptime_internal): Allow modifiers
24517         in strptime.
24518         * time/tst-strptime.c (day_tests): Add testcase.
24520 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24522         * scripts/bench.pl: Skip over blank lines.
24524 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
24526         [BZ #926]
24527         * manual/time.texi (Calendar Time): Clarify what timezone functions
24528         use.
24530 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24534 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
24536         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
24537         implementation.
24538         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
24539         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
24540         * debug/memset_chk.c (__memset_chk): Likewise.
24541         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
24542         * debug/strncpy_chk.c: Likewise.
24544 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
24546         [BZ #15268]
24547         [BZ #15425]
24548         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
24549         (__ieee754_exp): For possibly underflowing results, check size of
24550         result and force underflow exception if required.
24551         * math/auto-libm-test-in: Add more tests of exp.
24552         * math/auto-libm-test-out: Regenerated.
24553         * sysdeps/i386/fpu/libm-test-ulps: Update.
24554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24556         [BZ #16283]
24557         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
24558         * math/w_exp2f.c (__exp2f): Likewise.
24559         * math/w_exp2l.c (__exp2l): Likewise.
24560         * math/auto-libm-test-in: Do not allow missing errno on exp2
24561         underflow.
24562         * math/auto-libm-test-out: Regenerated.
24564 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
24566         [BZ #16274]
24567         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
24568         handle filename validation.
24569         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
24570         (do_open): Delete.
24572 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
24574         [BZ #6786]
24575         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
24576         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
24577         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
24578         <float.h>.
24579         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
24580         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
24581         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24582         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
24583         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24584         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
24585         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24586         * math/auto-libm-test-in: Don't allow missing errno from erfc.
24587         Add more erfc tests.
24588         * math/auto-libm-test-out: Regenerated.
24589         * sysdeps/i386/fpu/libm-test-ulps: Update.
24590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24592         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
24593         exp2, expm1, j0 and j1.
24594         * math/auto-libm-test-out: Regenerated.
24595         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
24596         (erfc_test_data): Likewise.
24597         (exp_test_data): Likewise.
24598         (exp_tonearest_test_data): Likewise.
24599         (exp_towardzero_test_data): Likewise.
24600         (exp_downward_test_data): Likewise.
24601         (exp_upward_test_data): Likewise.
24602         (exp10_test_data): Likewise.
24603         (exp2_test_data): Likewise.
24604         (expm1_test_data): Likewise.
24605         (j0_test_data): Likewise.
24606         (j1_test_data): Likewise.
24607         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
24608         (input_flag_type): Add flag_xfail_rounding.
24609         (input_flags): Add xfail-rounding.
24610         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
24611         (output_for_one_input_case): Handle flag_xfail_rounding.
24612         * sysdeps/i386/fpu/libm-test-ulps: Update.
24613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24615 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
24617         [BZ #16289]
24618         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
24619         division by 0.
24621 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24623         [BZ #16195]
24624         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
24625         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
24626         (STAP_PROBE0): New macro.
24627         (STAP_PROBE1): Likewise.
24628         (STAP_PROBE2): Likewise.
24629         (STAP_PROBE3): Likewise.
24630         (STAP_PROBE4): Likewise.
24632 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
24634         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
24636 2013-12-02  Steve Ellcey  <sellcey@mips.com>
24638         * benchtests/Makefile (bench): Add sqrt.
24639         (LDLIBS-bench-sqrt): New.
24640         * benchtests/sqrt-input: New.
24642 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
24644         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
24645         (GAIH_EAI): Likewise.
24646         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
24647         (gaih_inet): Likewise.
24648         (getaddrinfo): Don't use GAIH_EAI.
24650         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
24651         (struct gaih): Remove definition.
24653 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24655         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
24656         Use HERRNOP directly.
24658 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24660         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24662 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
24664         * math/gen-auto-libm-tests.c (test_functions): Add more
24665         single-argument functions.
24666         (special_fill_pi_2): New function.
24667         (special_fill_minus_pi_2): Likewise.
24668         (special_fill_pi_6): Likewise.
24669         (special_fill_minus_pi_6): Likewise.
24670         (special_fill_pi_3): Likewise.
24671         (special_fill_2pi_3): Likewise.
24672         (special_fill_e): Likewise.
24673         (special_fill_1_e): Likewise.
24674         (special_fill_e_minus_1): Likewise.
24675         (special_real_inputs): Add more special inputs.
24676         (output_for_one_input_case): Do not require ERANGE on underflow to
24677         zero if round-to-nearest result does not underflow to zero, unless
24678         exact results required.
24679         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
24680         atan, atanh, cbrt, cos and cosh.
24681         * math/auto-libm-test-out: Regenerated.
24682         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
24683         (acos_tonearest_test_data): Likewise.
24684         (acos_towardzero_test_data): Likewise.
24685         (acos_downward_test_data): Likewise.
24686         (acos_upward_test_data): Likewise.
24687         (acosh_test_data): Likewise.
24688         (asin_test_data): Likewise.
24689         (asin_tonearest_test_data): Likewise.
24690         (asin_towardzero_test_data): Likewise.
24691         (asin_upward_test_data): Likewise.
24692         (asinh_test_data): Likewise.
24693         (atan_test_data): Likewise.
24694         (atanh_test_data): Likewise.
24695         (cbrt_test_data): Likewise.
24696         (cos_test_data): Likewise.
24697         (cos_tonearest_test_data): Likewise.
24698         (cos_towardzero_test_data): Likewise.
24699         (cos_downward_test_data): Likewise.
24700         (cos_upward_test_data): Likewise.
24701         (cosh_test_data): Likewise.
24702         (cosh_tonearest_test_data): Likewise.
24703         (cosh_towardzero_test_data): Likewise.
24704         (cosh_downward_test_data): Likewise.
24705         (cosh_upward_test_data): Likewise.
24706         * sysdeps/i386/fpu/libm-test-ulps: Update.
24707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24709 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
24711         [BZ #6787]
24712         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
24713         * math/w_exp10f.c (__exp10f): Likewise.
24714         * math/w_exp10l.c (__exp10l): Likewise.
24715         * math/libm-test.inc (exp10_test_data): Add more tests and expect
24716         errno settings in existing tests.
24718         [BZ #14032]
24719         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
24720         precision control set to double precision.
24721         * sysdeps/i386/fpu/w_sqrt.c: New file.
24722         * math/auto-libm-test-in: Add more tests.
24723         * math/auto-libm-test-out: Update.
24725         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
24726         (sqrt_test_tonearest): New function.
24727         (sqrt_towardzero_test_data): New variable.
24728         (sqrt_test_towardzero): New function.
24729         (sqrt_downward_test_data): New variable.
24730         (sqrt_test_downward): New function.
24731         (sqrt_upward_test_data): New variable.
24732         (sqrt_test_upward): New function.
24733         (main): Call the new functions.
24735         * math/gen-auto-libm-tests.c: New file.
24736         * math/auto-libm-test-in: Likewise.
24737         * math/auto-libm-test-out: New generated file.
24738         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
24739         variables.
24740         (%beautify): Add generated representations of zero.
24741         (top level): Set $auto_input and call parse_auto_input.
24742         (beautify): Remove trailing "f" from hex float constants.
24743         (parse_args): Handle XFAIL_TEST.
24744         (convert_condition): New function.
24745         (or_value): Likewise.
24746         (or_cond_value): Likewise.
24747         (generate_testfile): Handle AUTO_TESTS_* lines.
24748         (parse_auto_input): New function.
24749         * math/libm-test.inc (XFAIL_TEST): New macro.
24750         (ERRNO_UNCHANGED): Update value.
24751         (ERRNO_EDOM): Likewise.
24752         (ERRNO_ERANGE): Likewise.
24753         (IGNORE_RESULT): Likewise.
24754         (TEST_COND_flt_32): New macro.
24755         (TEST_COND_dbl_64): Likewise.
24756         (TEST_COND_ldbl_96_intel): Likewise.
24757         (TEST_COND_ldbl_96_m68k): Likewise.
24758         (TEST_COND_ldbl_128): Likewise.
24759         (TEST_COND_ldbl_128ibm): Likewise.
24760         (TEST_COND_long32): Likewise.
24761         (TEST_COND_long64): Likewise.
24762         (TEST_COND_before_rounding): Likewise.
24763         (TEST_COND_after_rounding): Likewise.
24764         (enable_test): Handle XFAIL_TEST flag.
24765         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
24766         with finite results.
24767         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
24768         auto-libm-test-out.
24770 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24771             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24773         [BZ #16214]
24774         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
24775         __tls_get_addr_internal instead of __tls_get_offset in order to
24776         avoid GOT pointer dependency.  Make rtld export
24777         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
24778         __tls_get_addr since we are a __tls_get_offset platform.
24779         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
24780         GOT pointer being set up before.
24781         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
24783 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
24785         * manual/math.texi (Errors in Math Functions): Document accuracy
24786         goals.
24788         [BZ #15004]
24789         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
24790         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
24791         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24792         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24793         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24794         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24795         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24796         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24797         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24798         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24799         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24800         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24801         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24802         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24803         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24804         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24806         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
24807         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
24808         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
24809         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
24810         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
24811         Likewise.
24812         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
24813         Likewise.
24814         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
24815         Likewise.
24816         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
24817         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
24818         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
24819         atomic-feupdateenv and flt-rounds.
24820         * sysdeps/powerpc/nofpu/Versions (libc): Add
24821         __atomic_feholdexcept, __atomic_feclearexcept,
24822         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
24823         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
24824         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
24825         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
24826         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
24827         here.
24828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24829         Update.
24831         * manual/arith.texi (FP Exceptions): Document that exceptions may
24832         not be raised when matherr is used.
24833         (Math Error Reporting): Document overflow in directed rounding
24834         modes.  Document that errno may not be set when finite values are
24835         returned on overflow.  Document intent to set errno on underflow
24836         only for underflow to zero.
24838         [BZ #16271]
24839         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
24840         round-to-nearest then adjust result for other rounding modes.
24841         * include/fenv.h (fegetround): Use libm_hidden_proto.
24842         * math/fegetround.c (fegetround): Use libm_hidden_def.
24843         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24844         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24845         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24846         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24847         Likewise.
24848         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
24849         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24850         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24851         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
24853 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24855         [BZ #16077]
24856         * nss/Versions (libnss_files): Add
24857         _nss_files_gethostbyname3_r.
24858         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
24859         New function.
24860         (HOST_DB_LOOKUP): Remove macro.
24861         (_nss_files_gethostbyname_r): Implement function without the
24862         HOST_DB_LOOKUP macro.
24863         (_nss_files_gethostbyname2_r): Likewise.
24865 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
24867         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
24869 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
24871         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
24872         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
24873         warning.
24875 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24877         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
24878         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
24879         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
24880         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24881         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
24882         __fe_nomask_env_priv and attribute_hidden.
24883         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
24884         (libc_feupdateenv_test_ppc): Likewise.
24885         (libc_feresetround_ppc): Likewise.
24886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24887         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
24888         compat_symbol macro.
24889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24890         (__fe_nomask_env): Likewise.
24891         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
24893 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
24895         * string/Makefile: Remove ifunc tests.
24896         * string/test-string.h: Define TEST_IFUNC.
24897         * string/test-bcopy-ifunc.c: Remove.
24898         * string/test-bzero-ifunc.c: Likewise.
24899         * string/test-memccpy-ifunc.c: Likewise.
24900         * string/test-memchr-ifunc.c: Likewise.
24901         * string/test-memcmp-ifunc.c: Likewise.
24902         * string/test-memcpy-ifunc.c: Likewise.
24903         * string/test-memmem-ifunc.c: Likewise.
24904         * string/test-memmove-ifunc.c: Likewise.
24905         * string/test-mempcpy-ifunc.c: Likewise.
24906         * string/test-memrchr-ifunc.c: Likewise.
24907         * string/test-memset-ifunc.c: Likewise.
24908         * string/test-rawmemchr-ifunc.c: Likewise.
24909         * string/test-stpcpy-ifunc.c: Likewise.
24910         * string/test-stpncpy-ifunc.c: Likewise.
24911         * string/test-strcasecmp-ifunc.c: Likewise.
24912         * string/test-strcasestr-ifunc.c: Likewise.
24913         * string/test-strcat-ifunc.c: Likewise.
24914         * string/test-strchr-ifunc.c: Likewise.
24915         * string/test-strchrnul-ifunc.c: Likewise.
24916         * string/test-strcmp-ifunc.c: Likewise.
24917         * string/test-strcpy-ifunc.c: Likewise.
24918         * string/test-strcspn-ifunc.c: Likewise.
24919         * string/test-strlen-ifunc.c: Likewise.
24920         * string/test-strncasecmp-ifunc.c: Likewise.
24921         * string/test-strncat-ifunc.c: Likewise.
24922         * string/test-strncmp-ifunc.c: Likewise.
24923         * string/test-strncpy-ifunc.c: Likewise.
24924         * string/test-strnlen-ifunc.c: Likewise.
24925         * string/test-strpbrk-ifunc.c: Likewise.
24926         * string/test-strrchr-ifunc.c: Likewise.
24927         * string/test-strspn-ifunc.c: Likewise.
24928         * string/test-strstr-ifunc.c: Likewise.
24930 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
24932         * benchtests/Makefile: Remove ifunc tests.
24933         * benchtests/bench-string.h: Define TEST_IFUNC.
24934         * benchtests/bench-bcopy-ifunc.c: Remove.
24935         * benchtests/bench-bzero-ifunc.c: Likewise.
24936         * benchtests/bench-memccpy-ifunc.c: Likewise.
24937         * benchtests/bench-memchr-ifunc.c: Likewise.
24938         * benchtests/bench-memcmp-ifunc.c: Likewise.
24939         * benchtests/bench-memcpy-ifunc.c: Likewise.
24940         * benchtests/bench-memmem-ifunc.c: Likewise.
24941         * benchtests/bench-memmove-ifunc.c: Likewise.
24942         * benchtests/bench-mempcpy-ifunc.c: Likewise.
24943         * benchtests/bench-memrchr-ifunc.c: Likewise.
24944         * benchtests/bench-memset-ifunc.c: Likewise.
24945         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
24946         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
24947         * benchtests/bench-stpcpy-ifunc.c: Likewise.
24948         * benchtests/bench-stpncpy-ifunc.c: Likewise.
24949         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
24950         * benchtests/bench-strcasestr-ifunc.c: Likewise.
24951         * benchtests/bench-strcat-ifunc.c: Likewise.
24952         * benchtests/bench-strchr-ifunc.c: Likewise.
24953         * benchtests/bench-strchrnul-ifunc.c: Likewise.
24954         * benchtests/bench-strcmp-ifunc.c: Likewise.
24955         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
24956         * benchtests/bench-strcpy-ifunc.c: Likewise.
24957         * benchtests/bench-strcspn-ifunc.c: Likewise.
24958         * benchtests/bench-strlen-ifunc.c: Likewise.
24959         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
24960         * benchtests/bench-strncat-ifunc.c: Likewise.
24961         * benchtests/bench-strncmp-ifunc.c: Likewise.
24962         * benchtests/bench-strncpy-ifunc.c: Likewise.
24963         * benchtests/bench-strnlen-ifunc.c: Likewise.
24964         * benchtests/bench-strpbrk-ifunc.c: Likewise.
24965         * benchtests/bench-strrchr-ifunc.c: Likewise.
24966         * benchtests/bench-strsep-ifunc.c: Likewise.
24967         * benchtests/bench-strspn-ifunc.c: Likewise.
24968         * benchtests/bench-strstr-ifunc.c: Likewise.
24970 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
24972         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
24974 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
24976         * resolv/netdb.h: Use __glibc_reserved instead __unused.
24977         * rt/aio.h: Likewise.
24978         * sysdeps/gnu/bits/utmp.h: Likewise.
24979         * sysdeps/gnu/bits/utmpx.h: Likewise.
24980         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24981         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
24982         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
24983         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
24984         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
24985         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
24986         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
24987         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
24988         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
24989         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
24990         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
24991         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
24992         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
24993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
24994         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24995         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
24996         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
24997         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
24998         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
24999         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
25000         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
25001         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
25002         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
25003         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25004         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
25005         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25006         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
25007         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
25008         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
25009         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
25010         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
25011         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
25012         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
25013         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25014         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
25015         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
25016         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
25017         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
25018         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
25019         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
25020         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
25021         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25023 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
25025         [BZ #16245]
25026         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
25027         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
25029 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
25031         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
25032         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25033         Likewise.
25035 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25037         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
25038         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
25039         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
25040         (__fesetround): Remove define.
25041         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
25042         rounding and exceptions handling.
25043         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
25044         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
25045         (__fe_nomask_env): Likewise.
25046         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
25047         __fegetround instead of fegetround.
25048         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25049         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
25051 2013-11-21  Roland McGrath  <roland@hack.frob.com>
25053         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
25054         it's there.
25056         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
25058 2013-11-21  Meador Inge  <meadori@codesourcery.com>
25060         [BZ #11157]
25061         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
25062         (encrypt_r): Likewise.
25063         * malloc/obstack.h (obstack_free): Likewise.
25064         * posix/unistd.h (encrypt): Likewise.
25066 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
25068         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
25069         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
25070         DL_CALL_DT_FINI() that call the functions directly.
25071         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
25072         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
25073         * elf/dl-fini.c: Likewise.
25075 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
25077         * malloc/hooks.c (memalign_check): Add alignment rounding.
25078         * malloc/malloc.c (_mid_memalign): New function.
25079         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
25080         Implement by calling _mid_memalign.
25081         * manual/probes.texi (Memory Allocation Probes): Remove
25082         memory_valloc_retry and memory_pvalloc_retry.
25084 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25086         * locale/programs/locarchive.c (open_archive): Add const
25087         qualifier to ARCHIVEFNAME and copy default fname to
25088         DEFAULT_FNAME.
25090         [BZ #15601]
25091         * libio/tst-widetext.input: Rename Oriya to Odia.
25092         * locale/iso-639.def: Likewise.
25094         * manual/probes.texi (Mathematical Function Probes): Add
25095         documentation for sin, cos, asin and acos probes.
25096         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
25097         (__sin32): Add slowasin probe.
25098         (__cos32): Add slowacos probe.
25099         (__mpsin): Add slowsin probe.
25100         (__mpcos): Add slowcos probe.
25102 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
25104         [BZ #15483]
25105         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
25106         thread-local __sim_exceptions_thread and global
25107         __sim_exceptions_global.
25108         (__sim_disabled_exceptions): Change to thread-local
25109         __sim_disabled_exceptions_thread and global
25110         __sim_disabled_exceptions_global.
25111         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25112         and global __sim_round_mode_global.
25113         (__simulate_exceptions): Use thread-local floating-point state and
25114         set global state from it as needed.
25115         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
25116         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
25117         __sim_round_mode_thread.
25118         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
25119         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
25120         and global __sim_exceptions_global.
25121         (__sim_disabled_exceptions): Change to thread-local
25122         __sim_disabled_exceptions_thread and global
25123         __sim_disabled_exceptions_global.
25124         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25125         and global __sim_round_mode_global.
25126         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
25127         (SIM_SET_GLOBAL): Likewise.
25128         * sysdeps/powerpc/soft-fp/sfp-machine.h
25129         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
25130         __sim_round_mode_thread.
25131         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
25132         __sim_disabled_exceptions_thread.
25133         (__sim_exceptions): Change to __sim_exceptions_thread.
25134         (__sim_disabled_exceptions): Change to
25135         __sim_disabled_exceptions_thread.
25136         (__sim_round_mode): Change to __sim_round_mode_thread.
25137         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
25138         thread-local floating-point state and set global state from it as
25139         needed.
25140         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
25141         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
25142         (__sim_disabled_exceptions): Remove extern declaration.
25143         (feenableexcept): Use thread-local floating-point state and set
25144         global state from it as needed.
25145         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
25146         extern declaration.
25147         (__sim_disabled_exceptions): Likewise.
25148         (__sim_round_mode): Likewise.
25149         (__fegetenv): Use thread-local floating-point state.
25150         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
25151         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25152         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
25153         floating-point state and set global state from it as needed.
25154         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
25155         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25156         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
25157         Likewise.
25158         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25159         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
25160         Likewise.
25161         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
25162         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
25163         Use __sim_round_mode_thread.
25164         * math/test-fenv-tls.c: New file.
25165         * math/Makefile (tests): Add test-fenv-tls.
25166         ($(objpfx)test-fenv-tls): Depend on
25167         $(common-objpfx)nptl/libpthread.so.
25169 2013-11-19  Andreas Schwab  <schwab@suse.de>
25171         * locale/programs/locale.c (show_info): Decode wordarray elements.
25172         * locale/categories.def (LC_MONETARY): Add element for
25173         _NL_MONETARY_CRNCYSTR.
25174         * locale/C-monetary.c (conversion_rate): New variable.
25175         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
25176         element.
25178 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
25180         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
25181         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
25183 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
25185         * elf/Makefile (tst-auxv): New test.
25186         * elf/tst-auxv.c: New
25187         * elf/rtld.c (dl_main): Adjust AT_EXECFN
25189 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
25191         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
25192         (hidden_proto): Caller changed.
25193         (hidden_tls_proto): New macro.
25194         (libc_hidden_tls_proto): Likewise.
25195         (rtld_hidden_tls_proto): Likewise.
25196         (libm_hidden_tls_proto): Likewise.
25197         (libresolv_hidden_tls_proto): Likewise.
25198         (librt_hidden_tls_proto): Likewise.
25199         (libdl_hidden_tls_proto): Likewise.
25200         (libnss_files_hidden_tls_proto): Likewise.
25201         (libnsl_hidden_tls_proto): Likewise.
25202         (libnss_nisplus_hidden_tls_proto): Likewise.
25203         (libutil_hidden_tls_proto): Likewise.
25205 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
25207         [BZ #10253]
25208         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
25209         (decompose_rpath): Defer expansion to fillin_rpath.
25210         (_dl_init_paths): Pass linkmap to fillin_rpath.
25212 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25214         * benchtests/Makefile: Add strsep.
25215         * benchtests/bench-strsep.c: New file: strsep benchtest.
25216         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
25218 2013-11-18  Andreas Schwab  <schwab@suse.de>
25220         * locale/programs/locale.c (show_info) [case byte]: Check for
25221         '\377' instead of '\177'.
25222         * locale/C-monetary.c (not_available): Always use "\377".
25223         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
25224         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
25225         detect unavailable sign_posn locale elements.
25226         * locale/localeconv.c (__localeconv): For grouping and
25227         mon_grouping handle "\177" and "\377" like no grouping.
25228         (INT_ELEM): New macro.  Use it to set all numeric members.
25229         * locale/programs/ld-monetary.c (monetary_read)
25230         <tok_mon_grouping>: Normalize single -1 to the empty string.
25231         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
25232         Likewise.
25234 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
25236         [BZ #16055]
25237         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
25238         when we match (nil).
25239         * stdio-common/tst-sscanf.c (struct test): Add testcase.
25241 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
25243         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
25244         (NO_TEST_INLINE): Update value.
25245         (ERRNO_UNCHANGED): Likewise.
25246         (ERRNO_EDOM): Likewise.
25247         (ERRNO_ERANGE): Likewise.
25248         (IGNORE_RESULT): Likewise.
25249         (check_float_internal): Check signs of NaN results if
25250         TEST_NAN_SIGN used.
25251         (check_complex): Pass TEST_NAN_SIGN flag through to second
25252         check_float_internal call.
25253         (copysign_test_data): Add tests with quiet NaNs as second
25254         argument.  Use TEST_NAN_SIGN.
25255         (fabs_test_data): Add test of negative quiet NaN argument.  Use
25256         TEST_NAN_SIGN.
25257         (signbit_test_data): Add tests of quiet NaN argument.
25258         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
25260         * math/gen-libm-test.pl (show_exceptions): Take extra argument
25261         $ignore_result.
25262         (parse_args): Handle function results specified as IGNORE.
25263         * math/libm-test.inc (IGNORE_RESULT): New macro.
25264         (check_float_internal): Do not check numerical result if flag
25265         IGNORE_RESULT set.
25266         (check_complex): Pass through IGNORE_RESULT to second
25267         check_float_internal call.
25268         (check_int): Do not check numerical result if flag IGNORE_RESULT
25269         set.
25270         (check_long): Likewise.
25271         (check_bool): Likewise.
25272         (check_longlong): Likewise.
25273         (lrint_test_data): Add tests of infinite and NaN arguments.
25274         (lrint_tonearest_test_data): Likewise.
25275         (lrint_towardzero_test_data): Likewise.
25276         (lrint_downward_test_data): Likewise.
25277         (lrint_upward_test_data): Likewise.
25278         (llrint_test_data): Likewise.
25279         (llrint_tonearest_test_data): Likewise.
25280         (llrint_towardzero_test_data): Likewise.
25281         (llrint_downward_test_data): Likewise.
25282         (llrint_upward_test_data): Likewise.
25283         (lround_test_data): Likewise.
25284         (llround_test_data): Likewise.
25286         * math/libm-test.inc (NO_TEST_INLINE): New macro.
25287         (ERRNO_UNCHANGED): Update value.
25288         (ERRNO_EDOM): Likewise.
25289         (ERRNO_ERANGE): Likewise.
25290         (NO_TEST_INLINE_FLOAT): New macro.
25291         (NO_TEST_INLINE_DOUBLE): Likewise.
25292         (enable_test): New function.
25293         (RUN_TEST_f_f): Check enable_test before running test.
25294         (RUN_TEST_2_f): Likewise.
25295         (RUN_TEST_fff_f): Likewise.
25296         (RUN_TEST_c_f): Likewise.
25297         (RUN_TEST_f_f1): Likewise.
25298         (RUN_TEST_fF_f1): Likewise.
25299         (RUN_TEST_fI_f1): Likewise.
25300         (RUN_TEST_ffI_f1): Likewise.
25301         (RUN_TEST_c_c): Likewise.
25302         (RUN_TEST_cc_c): Likewise.
25303         (RUN_TEST_f_i): Likewise.
25304         (RUN_TEST_f_i_tg): Likewise.
25305         (RUN_TEST_ff_i_tg): Likewise.
25306         (RUN_TEST_f_b): Likewise.
25307         (RUN_TEST_f_b_tg): Likewise.
25308         (RUN_TEST_f_l): Likewise.
25309         (RUN_TEST_f_L): Likewise.
25310         (RUN_TEST_fFF_11): Likewise.
25311         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
25312         conditionals.
25313         (cosh_test_data): Likewise.
25314         (exp_test_data): Likewise.
25315         (expm1_test_data): Likewise.
25316         (hypot_test_data): Likewise.
25317         (pow_test_data): Likewise.
25318         (sinh_test_data): Likewise.
25319         (tanh_test_data): Likewise.
25320         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
25321         flags argument.
25323         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
25324         tests with quiet NaN input and output.
25325         (acosh_test_data): Likewise.
25326         (asin_test_data): Likewise.
25327         (asinh_test_data): Likewise.
25328         (atan_test_data): Likewise.
25329         (atanh_test_data): Likewise.
25330         (atan2_test_data): Likewise.
25331         (cbrt_test_data): Likewise.
25332         (cos_test_data): Likewise.
25333         (cosh_test_data): Likewise.
25334         (erf_test_data): Likewise.
25335         (erfc_test_data): Likewise.
25336         (exp_test_data): Likewise.
25337         (exp10_test_data): Likewise.
25338         (exp2_test_data): Likewise.
25339         (expm1_test_data): Likewise.
25340         (hypot_test_data): Likewise.
25341         (j0_test_data): Likewise.
25342         (j1_test_data): Likewise.
25343         (jn_test_data): Likewise.
25344         (lgamma_test_data): Likewise.
25345         (log_test_data): Likewise.
25346         (log10_test_data): Likewise.
25347         (log1p_test_data): Likewise.
25348         (log2_test_data): Likewise.
25349         (pow_test_data): Likewise.
25350         (scalb_test_data): Likewise.
25351         (sin_test_data): Likewise.
25352         (sincos_test_data): Likewise.
25353         (sinh_test_data): Likewise.
25354         (tan_test_data): Likewise.
25355         (tanh_test_data): Likewise.
25356         (tgamma_test_data): Likewise.
25357         (y0_test_data): Likewise.
25358         (y1_test_data): Likewise.
25359         (yn_test_data): Likewise.
25361         [BZ #16167]
25362         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
25363         argument being NaN and avoid computations with second argument in
25364         that case.
25365         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25366         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25367         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25369 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
25371         * locale/iso-639.def: Add Chitwani Tharu (the).
25373 2013-11-14  Andreas Schwab  <schwab@suse.de>
25375         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
25376         word instead of empty string.
25378 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25381         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
25382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25383         (__fe_nomask_env): Likewise.
25385 2013-11-13  Steve Ellcey  <sellcey@mips.com>
25387         * benchtests/bench-timing.h: Include time.h.
25389 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
25391         [BZ #15997]
25392         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
25393         to 3.4.0 for x32.
25394         * sysdeps/unix/sysv/linux/configure: Regenerated.
25396 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
25398         [BZ #16151]
25399         * stdlib/strtod_l.c (round_and_return): Do not consider
25400         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
25401         exponent one less than half the least subnormal exponent.
25402         * stdlib/test-strtod-round-data: Add more tests.
25403         * stdlib/tst-strtod-round.c (tests): Regenerated.
25405 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25407         [BZ #14143]
25408         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
25409         (__fe_mask_env): Likewise.
25410         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
25411         libm_hidden_proto and add function prototype.
25412         (__fe_mask_env): Add function prototype.
25413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25414         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
25415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25416         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
25417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25418         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
25420 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25422         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
25423         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
25425 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25427         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
25428         of htab_find_slot().
25430 2013-11-11  David S. Miller  <davem@davemloft.net>
25432         [BZ #16150]
25433         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
25434         symbol in the non-vis3 case in static builds.
25435         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
25436         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
25437         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
25438         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
25440 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
25442         [BZ #387]
25443         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
25444         it is empty.
25446 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25448         * benchtests/Makefile: Add bench-strtod.
25449         * benchtests/bench-strtod.c: New file: strtod benchtest
25451 2013-11-11  Andreas Schwab  <schwab@suse.de>
25453         [BZ #16153]
25454         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
25455         terminating NUL in key length.
25457 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25459         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25460         Add artificial ODP entry for vDSO symbol for PPC64.
25461         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
25462         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25464 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
25466         [BZ #15374]
25467         * nss/getent.c (services_keys): Recognize services starting with digit.
25469 2013-11-06  David S. Miller  <davem@davemloft.net>
25471         [BZ #15985]
25472         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
25473         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
25475 2013-11-06  Will Newton  <will.newton@linaro.org>
25477         * manual/memory.texi (Malloc Examples): Remove register
25478         keyword from examples.
25480 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
25482         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
25484 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
25486         [BZ #6981]
25487         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
25488         depending on [__GCC_IEC_559 > 0].
25489         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
25490         depending on [__GCC_IEC_559_COMPLEX > 0].
25492 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
25494         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
25495         to iso-639.def.
25497 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
25499         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
25501 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
25503         [BZ #16112]
25504         * malloc/malloc (malloc_info): Do not handle first bin as
25505         special case.
25507 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
25509         * locale/iso-639.def: Add Central Nahuatl (nhn).
25511 2013-11-01  Bruno Haible  <bruno@clisp.org>
25513         [BZ #7003]
25514         * manual/math.texi (BSD Random): Specify range upper bound as
25515         in POSIX.
25517 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
25519         * locale/iso-639.def: Add Meadow Mari (mhr).
25521 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
25523         [BZ #14752], [BZ #15763]
25524         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
25525         Validate name.
25526         * rt/tst_shm.c: Add test for escaping directory.
25528 2013-10-31  Andreas Schwab  <schwab@suse.de>
25530         [BZ #15917]
25531         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
25532         followed by 'x' as part of digit sequence.
25533         * stdio-common/tst-sscanf.c (double_tests2): New tests.
25535 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
25537         [BZ #16037]
25538         * configure.ac: allow GNU Make 4.0 and greater.
25539         * configure: Regenerated.
25541 2013-10-30  Will Newton  <will.newton@linaro.org>
25543         [BZ #16038]
25544         * malloc/hooks.c (memalign_check): Limit alignment to the
25545         maximum representable power of two.
25546         * malloc/malloc.c (__libc_memalign): Likewise.
25547         * malloc/tst-memalign.c (do_test): Add test for very
25548         large alignment values.
25549         * malloc/tst-posix_memalign.c (do_test): Likewise.
25551 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
25553         [BZ #11087]
25554         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
25555         (munmap_chunk): Likewise.
25556         (mremap_chunk): Likewise.
25558 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
25560         [BZ #15799]
25561         * stdlib/div.c (div): Remove obsolete code.
25562         * stdlib/ldiv.c (ldiv): Likewise.
25563         * stdlib/lldiv.c (lldiv): Likewise.
25565 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25567         [BZ #16071]
25568         * nss/nss_files/files-XXX.c (get_contents_ret): New
25569         enumerator.
25570         (get_contents): New function.
25571         (internal_getent): Use it.  Expand size of LINEBUFLEN.
25573 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
25575         * configure.in: Moved to ...
25576         * configure.ac: ... here. Change reference to configure.in
25577         to configure.ac.
25578         * sysdeps/arm/preconfigure.ac: ... here.
25579         configure.in to configure.ac.
25580         * sysdeps/gnu/configure.in: Moved to ...
25581         * sysdeps/gnu/configure.ac: ... here.
25582         * sysdeps/i386/configure.in: Moved to ...
25583         * sysdeps/i386/configure.ac: ... here.
25584         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
25585         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
25586         * sysdeps/mach/configure.in: Moved to ...
25587         * sysdeps/mach/configure.ac: ... here.
25588         * sysdeps/mach/hurd/configure.in: Moved to ...
25589         * sysdeps/mach/hurd/configure.ac: ... here.
25590         * sysdeps/powerpc/configure.in: Moved to ...
25591         * sysdeps/powerpc/configure.ac: ... here.
25592         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
25593         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
25594         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
25595         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
25596         * sysdeps/s390/s390-32/configure.in: Moved to ...
25597         * sysdeps/s390/s390-32/configure.ac: ... here.
25598         * sysdeps/s390/s390-64/configure.in: Moved to ...
25599         * sysdeps/s390/s390-64/configure.ac: ... here.
25600         * sysdeps/sh/configure.in: Moved to ...
25601         * sysdeps/sh/configure.ac: ... here.
25602         * sysdeps/sparc/configure.in: Moved to ...
25603         * sysdeps/sparc/configure.ac: ... here.
25604         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
25605         * sysdeps/unix/sysv/linux/configure.ac: ... here.
25606         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
25607         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
25608         * sysdeps/x86_64/configure.in: Moved to ...
25609         * sysdeps/x86_64/configure.ac: ... here.
25610         * sysdeps/x86_64/preconfigure.in: Moved to ...
25611         * sysdeps/x86_64/preconfigure.ac: ... here.
25612         * aclocal.m4: Change reference to configure.in to configure.ac.
25613         * config.h.in: Likewise.
25614         * manual/install.texi: Likewise.
25615         * manual/maint.texi: Likewise.
25616         * Makefile: Likewise.
25617         * malloc/Makefile: Likewise.
25618         * nscd/Makefile: Likewise.
25619         * Makeconfig: Change reference to configure.in and
25620         preconfigure.in to configure.ac and preconfigure.ac
25621         respectively.
25622         * INSTALL: Regenerated.
25623         * configure: Likewise.
25624         * sysdeps/gnu/configure: Likewise.
25625         * sysdeps/i386/configure: Likewise.
25626         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
25627         * sysdeps/mach/configure: Likewise.
25628         * sysdeps/mach/hurd/configure: Likewise.
25629         * sysdeps/powerpc/configure: Likewise.
25630         * sysdeps/powerpc/powerpc32/configure: Likewise.
25631         * sysdeps/powerpc/powerpc64/configure: Likewise.
25632         * sysdeps/s390/s390-32/configure: Likewise.
25633         * sysdeps/s390/s390-64/configure: Likewise.
25634         * sysdeps/sh/configure: Likewise.
25635         * sysdeps/sparc/configure: Likewise.
25636         * sysdeps/unix/sysv/linux/configure: Likewise.
25637         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
25638         * sysdeps/x86_64/configure: Likewise.
25639         * sysdeps/x86_64/preconfigure: Likewise.
25641 2013-10-29  Andreas Schwab  <schwab@suse.de>
25643         * stdio-common/Makefile (tst-swscanf-ENV): Define.
25645 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25647         * benchtests/pow-inputs: Add new inputs.
25649         * benchtests/exp-inputs: Add new inputs.
25651         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
25652         conditional check for return value.
25653         (__cos32): Likewise.
25655 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25657         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
25658         to provide a boost for large inputs with word alignment.
25659         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
25660         implementation based on optimized PPC64 strcpy.
25661         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
25662         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
25663         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
25664         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
25666 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
25668         [BZ #2801]
25669         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
25671 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
25673         [BZ #14876]
25674         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
25675         * time/tst-strptime.c (day_tests): Add testcase.
25677 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
25679         [BZ #14029]
25680         * manual/pattern.texi: Acknowledge that fnmatch can fail.
25682 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
25684         [BZ #16074]
25685         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
25686         MAP_FAILED on error.
25688 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25690         [BZ #16072]
25691         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
25692         heap for large requests.
25694 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
25696         [BZ #9954]
25697         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
25698         result if the result has no associated interface.
25699         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
25700         interface for all 127.X.Y.Z addresses.
25702 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
25704         * locale/iso-639.def: Add Ligurian (lij)
25706 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
25708         [BZ #15825]
25709         * sunrpc/rpc_main.c: Document rpcgen -5.
25711 2013-10-19  Michael Stahl  <mstahl@redhat.com>
25713         * elf/rtld.c (do_preload): Print the reason why preloading failed.
25715 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
25717         [BZ #10278]
25718         * posix/glob.c: Match only directories when trailing slash is present.
25719         * posix/tst-gnuglob.c (my_opendir): Do not open files.
25720         (main): Add testcase.
25722 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
25724         [BZ #15670]
25725         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
25727 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
25729         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
25730         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
25731         AUTH_DES and cindex for FIPS 140-2.
25732         (DES Encryption): Add cindex FIPS 46-3.
25734         * locale/locarchive.h (struct locarhandle): Add fname.
25735         * locale/programs/localedef.c (main): Pass ARGV[remaining]
25736         if an optional argument was specified to --list-archive,
25737         otherwise NULL.
25738         * locale/programs/locarchive.c (show_archive_content): Take new
25739         argument fname and pass it via ah.fname to open_archive.
25740         * locale/programs/localedef.h: Update decl.
25741         (open_archive): If AH->fname is non-null, open that file
25742         rather than the default file name, and don't ignore ENOENT.
25743         (create_archive): Set AH.fname to NULL.
25744         (delete_locales_from_archive): Likewise.
25745         (add_locales_to_archive): Likewise.
25746         * locale/programs/locfile.c (write_all_categories): Likewise.
25748 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
25749             Aldy Hernandez  <aldyh@redhat.com>
25751         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
25752         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
25753         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
25754         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
25755         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
25756         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
25757         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
25758         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
25759         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
25760         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
25761         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
25762         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
25763         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
25764         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
25765         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
25766         Likewise.
25767         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
25768         Likewise.
25769         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
25770         Likewise.
25771         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
25772         Likewise.
25773         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
25774         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
25775         Likewise.
25776         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
25777         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
25778         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
25779         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
25780         Likewise.
25781         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
25782         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
25783         * sysdeps/powerpc/preconfigure: Likewise.
25784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
25785         Likewise.
25786         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
25787         Replace contents of file by #include of <fenv_libc.h>.
25788         * sysdeps/powerpc/soft-fp/sfp-machine.h
25789         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
25790         and <sys/prctl.h>.
25791         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
25792         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
25793         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
25794         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
25795         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
25796         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
25797         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
25798         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
25799         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
25800         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
25801         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
25802         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
25803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25804         Allow copysignl PLT reference to be missing.
25806 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
25807             Joseph Myers  <joseph@codesourcery.com
25809         [BZ #15948]
25810         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
25811         single character.
25812         (add_to_tablewc): Assert sequence of wide characters is nonempty.
25814 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25816         * elf/tst-tls-dlinfo.c: Don't include tls.h.
25817         * elf/tst-tls1.c: Likewise.
25818         * elf/tst-tls10.h: Likewise.
25819         * elf/tst-tls14.c: Likewise.
25820         * elf/tst-tls2.c: Likewise.
25821         * elf/tst-tls3.c: Likewise.
25822         * elf/tst-tls4.c: Likewise.
25823         * elf/tst-tls5.c: Likewise.
25824         * elf/tst-tls6.c: Likewise.
25825         * elf/tst-tls7.c: Likewise.
25826         * elf/tst-tls8.c: Likewise.
25827         * elf/tst-tls9.c: Likewise.
25828         * elf/tst-tlsmod1.c: Likewise.
25829         * elf/tst-tlsmod13.c: Likewise.
25830         * elf/tst-tlsmod13a.c: Likewise.
25831         * elf/tst-tlsmod14a.c: Likewise.
25832         * elf/tst-tlsmod16a.c: Likewise.
25833         * elf/tst-tlsmod16b.c: Likewise.
25834         * elf/tst-tlsmod2.c: Likewise.
25835         * elf/tst-tlsmod3.c: Likewise.
25836         * elf/tst-tlsmod4.c: Likewise.
25837         * elf/tst-tlsmod5.c: Likewise.
25838         * elf/tst-tlsmod6.c: Likewise.
25840 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
25842         [BZ #12486]
25843         * malloc/malloc.c: remove checks for statistics.
25845 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
25847         [BZ #15277]
25848         * inet/inet_net.c (inet_network): Detect additional invalid strings.
25849         * inet/tst-network.c: Add testcase.
25851 2013-10-17  Andreas Schwab  <schwab@suse.de>
25853         [BZ #15218]
25854         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
25855         to determine canonical name.
25857 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
25859         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
25860         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
25861         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25862         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25863         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25864         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25865         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25866         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25867         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25868         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25869         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25870         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25871         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25872         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25873         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25874         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25875         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25876         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25877         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25878         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25879         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25880         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25881         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25882         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
25883         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
25884         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25885         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25886         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
25887         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25888         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
25889         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25890         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25891         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25892         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25893         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25894         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25895         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25896         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25897         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25898         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25899         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25900         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25901         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25902         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25903         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25904         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25905         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25906         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25907         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25908         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25909         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25910         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25911         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25912         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25913         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25914         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25915         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25916         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25918 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
25920         [BZ #16041]
25921         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
25922         make result into a quiet NaN.
25924 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
25926         * soft-fp/adddf3.c: Fix horizontal whitespace.
25927         * soft-fp/addsf3.c: Likewise.
25928         * soft-fp/addtf3.c: Likewise.
25929         * soft-fp/divdf3.c: Likewise.
25930         * soft-fp/divsf3.c: Likewise.
25931         * soft-fp/divtf3.c: Likewise.
25932         * soft-fp/double.h: Likewise.
25933         * soft-fp/eqdf2.c: Likewise.
25934         * soft-fp/eqsf2.c: Likewise.
25935         * soft-fp/eqtf2.c: Likewise.
25936         * soft-fp/extenddftf2.c: Likewise.
25937         * soft-fp/extended.h: Likewise.
25938         * soft-fp/extendsfdf2.c: Likewise.
25939         * soft-fp/extendsftf2.c: Likewise.
25940         * soft-fp/extendxftf2.c: Likewise.
25941         * soft-fp/fixdfdi.c: Likewise.
25942         * soft-fp/fixdfsi.c: Likewise.
25943         * soft-fp/fixdfti.c: Likewise.
25944         * soft-fp/fixsfdi.c: Likewise.
25945         * soft-fp/fixsfsi.c: Likewise.
25946         * soft-fp/fixsfti.c: Likewise.
25947         * soft-fp/fixtfdi.c: Likewise.
25948         * soft-fp/fixtfsi.c: Likewise.
25949         * soft-fp/fixtfti.c: Likewise.
25950         * soft-fp/fixunsdfdi.c: Likewise.
25951         * soft-fp/fixunsdfsi.c: Likewise.
25952         * soft-fp/fixunsdfti.c: Likewise.
25953         * soft-fp/fixunssfdi.c: Likewise.
25954         * soft-fp/fixunssfsi.c: Likewise.
25955         * soft-fp/fixunssfti.c: Likewise.
25956         * soft-fp/fixunstfdi.c: Likewise.
25957         * soft-fp/fixunstfsi.c: Likewise.
25958         * soft-fp/fixunstfti.c: Likewise.
25959         * soft-fp/floatdidf.c: Likewise.
25960         * soft-fp/floatdisf.c: Likewise.
25961         * soft-fp/floatditf.c: Likewise.
25962         * soft-fp/floatsidf.c: Likewise.
25963         * soft-fp/floatsisf.c: Likewise.
25964         * soft-fp/floatsitf.c: Likewise.
25965         * soft-fp/floattidf.c: Likewise.
25966         * soft-fp/floattisf.c: Likewise.
25967         * soft-fp/floattitf.c: Likewise.
25968         * soft-fp/floatundidf.c: Likewise.
25969         * soft-fp/floatundisf.c: Likewise.
25970         * soft-fp/floatunditf.c: Likewise.
25971         * soft-fp/floatunsidf.c: Likewise.
25972         * soft-fp/floatunsisf.c: Likewise.
25973         * soft-fp/floatunsitf.c: Likewise.
25974         * soft-fp/floatuntidf.c: Likewise.
25975         * soft-fp/floatuntisf.c: Likewise.
25976         * soft-fp/floatuntitf.c: Likewise.
25977         * soft-fp/fmadf4.c: Likewise.
25978         * soft-fp/fmasf4.c: Likewise.
25979         * soft-fp/fmatf4.c: Likewise.
25980         * soft-fp/gedf2.c: Likewise.
25981         * soft-fp/gesf2.c: Likewise.
25982         * soft-fp/getf2.c: Likewise.
25983         * soft-fp/ledf2.c: Likewise.
25984         * soft-fp/lesf2.c: Likewise.
25985         * soft-fp/letf2.c: Likewise.
25986         * soft-fp/muldf3.c: Likewise.
25987         * soft-fp/mulsf3.c: Likewise.
25988         * soft-fp/multf3.c: Likewise.
25989         * soft-fp/negdf2.c: Likewise.
25990         * soft-fp/negsf2.c: Likewise.
25991         * soft-fp/negtf2.c: Likewise.
25992         * soft-fp/op-1.h: Likewise.
25993         * soft-fp/op-2.h: Likewise.
25994         * soft-fp/op-4.h: Likewise.
25995         * soft-fp/op-8.h: Likewise.
25996         * soft-fp/op-common.h: Likewise.
25997         * soft-fp/quad.h: Likewise.
25998         * soft-fp/single.h: Likewise.
25999         * soft-fp/soft-fp.h: Likewise.
26000         * soft-fp/sqrtdf2.c: Likewise.
26001         * soft-fp/sqrtsf2.c: Likewise.
26002         * soft-fp/sqrttf2.c: Likewise.
26003         * soft-fp/subdf3.c: Likewise.
26004         * soft-fp/subsf3.c: Likewise.
26005         * soft-fp/subtf3.c: Likewise.
26006         * soft-fp/truncdfsf2.c: Likewise.
26007         * soft-fp/trunctfdf2.c: Likewise.
26008         * soft-fp/trunctfsf2.c: Likewise.
26009         * soft-fp/trunctfxf2.c: Likewise.
26010         * soft-fp/unorddf2.c: Likewise.
26011         * soft-fp/unordsf2.c: Likewise.
26012         * soft-fp/unordtf2.c: Likewise.
26014 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
26016         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
26017         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
26019 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
26021         * elf/dl-libc.c: Clear initfini list after freeing.
26023 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
26025         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
26026         * soft-fp/addsf3.c: Likewise.
26027         * soft-fp/addtf3.c: Likewise.
26028         * soft-fp/divdf3.c: Likewise.
26029         * soft-fp/divsf3.c: Likewise.
26030         * soft-fp/divtf3.c: Likewise.
26031         * soft-fp/double.h: Likewise.
26032         * soft-fp/eqdf2.c: Likewise.
26033         * soft-fp/eqsf2.c: Likewise.
26034         * soft-fp/eqtf2.c: Likewise.
26035         * soft-fp/extenddftf2.c: Likewise.
26036         * soft-fp/extended.h: Likewise.
26037         * soft-fp/extendsfdf2.c: Likewise.
26038         * soft-fp/extendsftf2.c: Likewise.
26039         * soft-fp/extendxftf2.c: Likewise.
26040         * soft-fp/fixdfdi.c: Likewise.
26041         * soft-fp/fixdfsi.c: Likewise.
26042         * soft-fp/fixdfti.c: Likewise.
26043         * soft-fp/fixsfdi.c: Likewise.
26044         * soft-fp/fixsfsi.c: Likewise.
26045         * soft-fp/fixsfti.c: Likewise.
26046         * soft-fp/fixtfdi.c: Likewise.
26047         * soft-fp/fixtfsi.c: Likewise.
26048         * soft-fp/fixtfti.c: Likewise.
26049         * soft-fp/fixunsdfdi.c: Likewise.
26050         * soft-fp/fixunsdfsi.c: Likewise.
26051         * soft-fp/fixunsdfti.c: Likewise.
26052         * soft-fp/fixunssfdi.c: Likewise.
26053         * soft-fp/fixunssfsi.c: Likewise.
26054         * soft-fp/fixunssfti.c: Likewise.
26055         * soft-fp/fixunstfdi.c: Likewise.
26056         * soft-fp/fixunstfsi.c: Likewise.
26057         * soft-fp/fixunstfti.c: Likewise.
26058         * soft-fp/floatdidf.c: Likewise.
26059         * soft-fp/floatdisf.c: Likewise.
26060         * soft-fp/floatditf.c: Likewise.
26061         * soft-fp/floatsidf.c: Likewise.
26062         * soft-fp/floatsisf.c: Likewise.
26063         * soft-fp/floatsitf.c: Likewise.
26064         * soft-fp/floattidf.c: Likewise.
26065         * soft-fp/floattisf.c: Likewise.
26066         * soft-fp/floattitf.c: Likewise.
26067         * soft-fp/floatundidf.c: Likewise.
26068         * soft-fp/floatundisf.c: Likewise.
26069         * soft-fp/floatunsidf.c: Likewise.
26070         * soft-fp/floatunsisf.c: Likewise.
26071         * soft-fp/floatuntidf.c: Likewise.
26072         * soft-fp/floatuntisf.c: Likewise.
26073         * soft-fp/floatuntitf.c: Likewise.
26074         * soft-fp/fmadf4.c: Likewise.
26075         * soft-fp/fmasf4.c: Likewise.
26076         * soft-fp/fmatf4.c: Likewise.
26077         * soft-fp/gedf2.c: Likewise.
26078         * soft-fp/gesf2.c: Likewise.
26079         * soft-fp/getf2.c: Likewise.
26080         * soft-fp/ledf2.c: Likewise.
26081         * soft-fp/lesf2.c: Likewise.
26082         * soft-fp/letf2.c: Likewise.
26083         * soft-fp/muldf3.c: Likewise.
26084         * soft-fp/mulsf3.c: Likewise.
26085         * soft-fp/multf3.c: Likewise.
26086         * soft-fp/negdf2.c: Likewise.
26087         * soft-fp/negsf2.c: Likewise.
26088         * soft-fp/negtf2.c: Likewise.
26089         * soft-fp/op-1.h: Likewise.
26090         * soft-fp/op-2.h: Likewise.
26091         * soft-fp/op-4.h: Likewise.
26092         * soft-fp/op-8.h: Likewise.
26093         * soft-fp/op-common.h: Likewise.
26094         * soft-fp/quad.h: Likewise.
26095         * soft-fp/single.h: Likewise.
26096         * soft-fp/soft-fp.h: Likewise.
26097         * soft-fp/sqrtdf2.c: Likewise.
26098         * soft-fp/sqrtsf2.c: Likewise.
26099         * soft-fp/sqrttf2.c: Likewise.
26100         * soft-fp/subdf3.c: Likewise.
26101         * soft-fp/subsf3.c: Likewise.
26102         * soft-fp/subtf3.c: Likewise.
26103         * soft-fp/truncdfsf2.c: Likewise.
26104         * soft-fp/trunctfdf2.c: Likewise.
26105         * soft-fp/trunctfsf2.c: Likewise.
26106         * soft-fp/trunctfxf2.c: Likewise.
26107         * soft-fp/unorddf2.c: Likewise.
26108         * soft-fp/unordsf2.c: Likewise.
26109         * soft-fp/unordtf2.c: Likewise.
26111 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
26113         [BZ #15672]
26114         * misc/error.c (error_tail): Fix possible buffer overflow.
26116 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
26118         [BZ #13028]
26119         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
26120         address.
26122 2013-10-14  P. J. McDermott  <pj@pehjota.net>
26124         [BZ #832]
26125         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
26126         testing pipefail option.
26128 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
26130         * soft-fp/double.h: Indent preprocessor directives inside #if.
26131         * soft-fp/extended.h: Likewise.
26132         * soft-fp/op-2.h: Likewise.
26133         * soft-fp/op-4.h: Likewise.
26134         * soft-fp/op-common.h: Likewise.
26135         * soft-fp/quad.h: Likewise.
26136         * soft-fp/single.h: Likewise.
26137         * soft-fp/soft-fp.h: Likewise.
26139 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
26141         * iconv/iconv_prog.c: Fix typos.
26142         * stdio-common/psiginfo-data.h: Likewise.
26144 2013-10-12   Reuben Thomas <rrt@sc3d.org>
26146         [BZ #15764]
26147         * locale/setlocale.c: Fix typo.
26149 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
26151         [BZ #16036]
26152         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
26153         signaling NaN arguments.
26154         * soft-fp/unordsf2.c (__unordsf2): Likewise.
26155         * soft-fp/unordtf2.c (__unordtf2): Likewise.
26157         [BZ #14910]
26158         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
26159         unordered operands.
26160         * soft-fp/gesf2.c (__gesf2): Likewise.
26161         * soft-fp/getf2.c (__getf2): Likewise.
26162         * soft-fp/ledf2.c (__ledf2): Likewise.
26163         * soft-fp/lesf2.c (__lesf2): Likewise.
26164         * soft-fp/letf2.c (__letf2): Likewise.
26166         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
26167         * soft-fp/eqsf2.c (__eqsf2): Likewise.
26168         * soft-fp/eqtf2.c (__eqtf2): Likewise.
26169         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
26170         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
26171         * soft-fp/fixdfti.c (__fixdfti): Likewise.
26172         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
26173         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
26174         * soft-fp/fixsfti.c (__fixsfti): Likewise.
26175         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
26176         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
26177         * soft-fp/fixtfti.c (__fixtfti): Likewise.
26178         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
26179         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
26180         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
26181         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
26182         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
26183         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
26184         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
26185         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
26186         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
26187         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
26188         * soft-fp/floatdisf.c (__floatdisf): Likewise.
26189         * soft-fp/floatsisf.c (__floatsisf): Likewise.
26190         * soft-fp/floattidf.c (__floattidf): Likewise.
26191         * soft-fp/floattisf.c (__floattisf): Likewise.
26192         * soft-fp/floattitf.c (__floattitf): Likewise.
26193         * soft-fp/floatundidf.c (__floatundidf): Likewise.
26194         * soft-fp/floatundisf.c (__floatundisf): Likewise.
26195         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
26196         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
26197         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
26198         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
26199         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
26200         * soft-fp/gesf2.c (__gesf2): Likewise.
26201         * soft-fp/getf2.c (__getf2): Likewise.
26202         * soft-fp/ledf2.c (__ledf2): Likewise.
26203         * soft-fp/lesf2.c (__lesf2): Likewise.
26204         * soft-fp/letf2.c (__letf2): Likewise.
26206         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
26207         Undefine and redefine.
26208         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
26209         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
26210         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
26211         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
26212         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26213         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
26214         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26215         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
26216         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26217         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
26218         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26219         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
26220         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26221         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
26222         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26224         [BZ #16032]
26225         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
26226         without decrementing exponent if mantissa >= that for the
26227         denominator, not >.
26228         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
26229         denominator, not >.  Decrement exponent in < case instead of
26230         incrementing in >= case.
26231         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
26232         without decrementing exponent if mantissa >= that for the
26233         denominator, not >.
26235         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
26236         computing saturated result for unsigned overflow.
26238 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26239             Jeff Law  <law@redhat.com>
26241         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
26242         (atan2Mp): Add systemtap probe marker.
26243         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
26244         (__ieee754_log): Add systemtap probe marker.
26245         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
26246         (atanMp): Add systemtap probe marker.
26247         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
26248         (tanMp): Add systemtap probe marker.
26249         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
26250         (__slowexp): Add systemtap probe marker.
26251         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
26252         (__slowpow): Add systemtap probe marker.
26253         * manual/probes.texi: Document probes.
26255 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
26257         [BZ #15362]
26258         * libio/fileops.c (_IO_new_file_write): Return count of bytes
26259         written.
26260         (_IO_new_file_xsputn): Don't return EOF if nothing has been
26261         written.
26262         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
26263         written to buffer but not flushed.
26264         * libio/iofwrite_u.c:  Likewise.
26265         * libio/iopadn.c:  Return bytes returned even if EOF was
26266         encountered.
26267         * libio/iowpadn.c:  Likewise.
26268         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
26269         if _IO_padn does not write the whole buffer.
26270         [!COMPILE_WPRINTF] (PAD): Likewise.
26272 2013-10-10  David S. Miller  <davem@davemloft.net>
26274         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
26275         directory block.
26277 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
26279         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
26280         instead of FSF address.
26281         * soft-fp/fixdfti.c: Likewise.
26282         * soft-fp/fixsfti.c: Likewise.
26283         * soft-fp/fixtfti.c: Likewise.
26284         * soft-fp/fixunsdfti.c: Likewise.
26285         * soft-fp/fixunssfti.c: Likewise.
26286         * soft-fp/fixunstfti.c: Likewise.
26287         * soft-fp/floattidf.c: Likewise.
26288         * soft-fp/floattisf.c: Likewise.
26289         * soft-fp/floattitf.c: Likewise.
26290         * soft-fp/floatuntidf.c: Likewise.
26291         * soft-fp/floatuntisf.c: Likewise.
26292         * soft-fp/floatuntitf.c: Likewise.
26293         * soft-fp/trunctfxf2.c: Likewise.
26295         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
26296         * soft-fp/fixdfti.c: Likewise.
26297         * soft-fp/fixsfti.c: Likewise.
26298         * soft-fp/fixtfti.c: Likewise.
26299         * soft-fp/fixunsdfti.c: Likewise.
26300         * soft-fp/fixunssfti.c: Likewise.
26301         * soft-fp/fixunstfti.c: Likewise.
26302         * soft-fp/floattidf.c: Likewise.
26303         * soft-fp/floattisf.c: Likewise.
26304         * soft-fp/floattitf.c: Likewise.
26305         * soft-fp/floatuntidf.c: Likewise.
26306         * soft-fp/floatuntisf.c: Likewise.
26307         * soft-fp/floatuntitf.c: Likewise.
26308         * soft-fp/trunctfxf2.c: Likewise.
26310 2013-10-10  David S. Miller  <davem@davemloft.net>
26312         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26314 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
26316         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26317         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
26318         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
26319         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
26320         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
26321         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
26322         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
26324         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
26325         for NaNs before doing comparisons on argument.
26326         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26327         Likewise.
26329 2013-10-10  Will Newton  <will.newton@linaro.org>
26331         * malloc/hooks.c (memalign_check): Ensure the value of bytes
26332         passed to _int_memalign does not overflow.
26334 2013-10-10  Torvald Riegel  <triegel@redhat.com>
26336         * scripts/bench.pl: Add include-sources directive.
26337         * benchtests/README: Update documentation.
26339 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
26341         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
26342         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
26343         instead of FP_INIT_ROUNDMODE.
26344         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
26345         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
26347         [BZ #16034]
26348         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
26349         copy class of input value.
26350         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
26351         not handle exceptions.
26352         * soft-fp/negsf2.c (__negsf2): Likewise.
26353         * soft-fp/negtf2.c (__negtf2): Likewise.
26354         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
26356 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
26358         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
26359         semicolon.  From Linux kernel.
26361 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
26363         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
26365 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
26367         [BZ #156]
26368         * manual/socket.texi: Added statement about buffer
26369         for gethostbyname2_r.
26371 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
26373         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
26374         Use .p2align directive instead, throughout.
26375         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26376         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26377         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
26378         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26379         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26380         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26381         * sysdeps/x86_64/strchr.S: Likewise.
26382         * sysdeps/x86_64/strrchr.S: Likewise.
26384 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26386         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
26388         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
26390         * sysdeps/generic/math_private.h (__mpsin1): Remove
26391         declaration.
26392         (__mpcos1): Likewise.
26393         (__mpsin): New argument __range_reduce.
26394         (__mpcos): Likewise.
26395         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26396         (slow): Use __mpsin and __mpcos.
26397         (slow1): Likewise.
26398         (slow2): Likewise.
26399         (sloww): Likewise.
26400         (sloww1): Likewise.
26401         (sloww2): Likewise.
26402         (bsloww): Likewise.
26403         (bsloww1): Likewise.
26404         (bsloww2): Likewise.
26405         (cslow2): Likewise.
26406         (csloww): Likewise.
26407         (csloww1): Likewise.
26408         (csloww2): Likewise.
26409         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
26410         range_reduce.  Merge in __mpsin1.
26411         (__mpcos): Likewise.
26412         (__mpsin1): Remove.
26413         (__mpcos1): Likewise.
26415 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
26417         * locale/loadlocale.c (_nl_intern_locale_data): Use
26418         LOCFILE_ALIGNED_P.
26419         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
26420         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
26421         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
26422         obstack data is appropriately aligned.
26423         (obstack_int32_grow_fast): Likewise.
26424         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
26425         * locale/programs/locfile.c (add_locale_uint32): Likewise.
26426         (add_locale_uint32_array): Likewise.
26428 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
26430         * benchtests/Makefile: Remove ARGLIST and RET variables.
26431         ($(objpfx)bench-%.c): Pass only function name to the script.
26432         * benchtests/README: Update documentation.
26433         * benchtests/acos-inputs: Add new directives.
26434         * benchtests/acosh-inputs: Likewise.
26435         * benchtests/asin-inputs: Likewise.
26436         * benchtests/asinh-inputs: Likewise.
26437         * benchtests/atan-inputs: Likewise.
26438         * benchtests/atanh-inputs: Likewise.
26439         * benchtests/cos-inputs: Likewise.
26440         * benchtests/cosh-inputs: Likewise.
26441         * benchtests/exp-inputs: Likewise.
26442         * benchtests/log-inputs: Likewise.
26443         * benchtests/pow-inputs: Likewise.
26444         * benchtests/rint-inputs: Likewise.
26445         * benchtests/sin-inputs: Likewise.
26446         * benchtests/sinh-inputs: Likewise.
26447         * benchtests/tan-inputs: Likewise.
26448         * benchtests/tanh-inputs: Likewise.
26449         * scripts/bench.pl: Add support for new directives.
26451 2013-10-07  Alan Modra  <amodra@gmail.com>
26453         * README: Fix careless merge.
26455 2013-10-05  Alan Modra  <amodra@gmail.com>
26457         * NEWS: Mention powerpc64le support and bugs fixed.
26458         * README: Both big-endian and little-endian powerpc64 supported.
26460 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26462         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
26463         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
26464         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
26465         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
26467 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
26469         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
26470         match prototype.
26472 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
26474         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
26475         Move -mhard-float appending from
26476         ports/sysdeps/powerpc/powerpc32/Makefile.
26477         [$(with-fp) = yes] (ASFLAGS): Likewise.
26478         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
26479         * sysdeps/powerpc/nofpu: Move directory from
26480         ports/sysdeps/powerpc/nofpu.
26481         * sysdeps/powerpc/soft-fp: Move directory from
26482         ports/sysdeps/powerpc/soft-fp.
26483         * sysdeps/powerpc/powerpc32/405: Move directory from
26484         ports/sysdeps/powerpc/powerpc32/405.
26485         * sysdeps/powerpc/powerpc32/440: Move directory from
26486         ports/sysdeps/powerpc/powerpc32/440.
26487         * sysdeps/powerpc/powerpc32/464: Move directory from
26488         ports/sysdeps/powerpc/powerpc32/464.
26489         * sysdeps/powerpc/powerpc32/476: Move directory from
26490         ports/sysdeps/powerpc/powerpc32/476.
26491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
26492         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
26493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
26494         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
26495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
26496         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
26497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
26498         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
26499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
26500         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
26501         * README: Update for powerpc-*-linux-gnu software floating point
26502         support in libc.
26504         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
26505         case to powerpc/powerpc32*.
26506         * sysdeps/unix/sysv/linux/configure: Regenerated.
26508         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
26509         (_FPU_MASK_OM): Define as 0x04.
26510         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
26511         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
26512         0x00c10080.
26513         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
26514         0x0000003c.
26515         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
26517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
26518         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26519         getcontext_e500.
26520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
26521         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26522         setcontext_e500.
26523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
26524         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
26525         and setcontext_e500.
26527 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
26529         * locale/iso-3166.def: Update iso-1366.def and related occurrences
26531 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26533         * manual/threads.texi (Default Thread Attributes): Fix typo.
26535 2013-10-04  Will Newton  <will.newton@linaro.org>
26537         * malloc/Makefile: Add tst-memalign.
26538         * malloc/tst-memalign.c: New file.
26540         * malloc/tst-posix_memalign.c: Add comments.
26541         (do_test): Add comments and call free on all potentially
26542         allocated pointers. Add space after cast.
26544         * malloc/tst-pvalloc.c: Add comments.
26545         (do_test): Add comments and call free on all potentially
26546         allocated pointers. Remove duplicate check for NULL pointer.
26547         Add space after cast.
26549         * malloc/tst-valloc.c: Add comments.
26550         (do_test): Add comments and call free on all potentially
26551         allocated pointers. Remove duplicate check for NULL pointer.
26552         Add space after cast.
26554 2013-10-04  Alan Modra  <amodra@gmail.com>
26556         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26557         Use stdint types in rather than __attribute__((mode())).
26558         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26560 2013-10-04  Alan Modra  <amodra@gmail.com>
26562         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26563         Correct handling of unaligned relocs for little-endian.
26564         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26566 2013-10-04  Alan Modra  <amodra@gmail.com>
26568         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
26569         * configure: Regenerate.
26570         * nptl/shlib-versions: Powerpc*le starts at 2.18.
26571         * shlib-versions: Likewise.
26573 2013-10-04  Alan Modra  <amodra@gmail.com>
26575         * string/tester.c (test_memrchr): Increment reported test cycle.
26577 2013-10-04  Alan Modra  <amodra@gmail.com>
26579         * string/test-memcpy.c (do_one_test): When reporting errors, print
26580         string address and don't overrun end of string.
26582 2013-10-04  Alan Modra  <amodra@gmail.com>
26584         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
26585         insrdi.  Make better use of reg selection to speed exit slightly.
26586         Schedule entry path a little better.  Remove useless "are we done"
26587         checks on entry to main loop.  Handle wrapping around zero address.
26588         Correct main loop count.  Handle single left-over word from main
26589         loop inline rather than by using loop_small.  Remove extra word
26590         case in loop_small caused by wrong loop count.  Add little-endian
26591         support.
26592         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26593         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
26594         cache hint.
26595         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26596         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
26597         support.  Avoid rlwimi.
26598         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
26600 2013-10-04  Alan Modra  <amodra@gmail.com>
26602         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
26603         insrdi.  Formatting.
26604         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
26605         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26606         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
26607         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26608         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26609         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
26611 2013-10-04  Alan Modra  <amodra@gmail.com>
26613         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
26614         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26615         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26616         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
26617         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26618         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26619         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26620         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26621         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
26622         use of regs.  Use power7 mtocrf.  Tidy function tails.
26624 2013-10-04  Alan Modra  <amodra@gmail.com>
26626         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
26627         Formatting.  Consistently use rXXX register defines or rN defines.
26628         Use early exit labels that avoid restoring unused non-volatile regs.
26629         Make cr field use more consistent with rWORDn compares.  Rename
26630         regs used as shift registers for unaligned loop, using rN defines
26631         for short lifetime/multiple use regs.
26632         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26633         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
26634         addi 1,1,64 to pop stack frame.  Simplify return value code.
26635         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26637 2013-10-04  Alan Modra  <amodra@gmail.com>
26639         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
26640         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
26641         rather than rlwimi.
26642         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
26643         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
26644         little-endian support.  Correct typos.
26645         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
26646         rather than rlwimi.
26647         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
26648         in loop and entry code to keep "and." results.
26649         (strchr): Add little-endian support.  Comment.  Move cntlzd
26650         earlier in tail.
26651         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
26653 2013-10-04  Alan Modra  <amodra@gmail.com>
26655         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
26656         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
26657         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
26658         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
26660 2013-10-04  Alan Modra  <amodra@gmail.com>
26662         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
26663         (rTMP): Define as r11.
26664         (strcmp): Add little-endian support.  Optimise tail.
26665         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
26666         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26667         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26668         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26669         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26670         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26671         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26673 2013-10-04  Alan Modra  <amodra@gmail.com>
26675         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
26676         little-endian support.  Remove unnecessary "are we done" tests.
26677         Handle "s" wrapping around zero and extremely large "size".
26678         Correct main loop count.  Handle single left-over word from main
26679         loop inline rather than by using small_loop.  Correct comments.
26680         Delete "zero" tail, use "end_max" instead.
26681         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
26683 2013-10-04  Alan Modra  <amodra@gmail.com>
26685         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
26686         support.  Don't branch over align.
26687         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
26688         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
26689         support.  Rearrange tmp reg use to suit.  Comment.
26690         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
26692 2013-10-04  Alan Modra  <amodra@gmail.com>
26694         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
26696 2013-10-04  Alan Modra  <amodra@gmail.com>
26698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
26699         conditional form of branch and link when obtaining pc.
26700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
26702 2013-10-04  Alan Modra  <amodra@gmail.com>
26704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
26705         HIWORD/LOWORD.
26706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
26707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
26709 2013-10-04  Alan Modra  <amodra@gmail.com>
26711         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
26712         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
26713         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26714         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
26715         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26716         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26717         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
26718         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26719         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26720         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
26722 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
26723             Alistair Popple <alistair@ozlabs.au.ibm.com>
26724             Alan Modra <amodra@gmail.com>
26726         [BZ #15723]
26727         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
26728         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
26729         _dl_hwcap access for little-endian.
26730         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
26731         destroy vmx regs when saving unaligned.
26732         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
26733         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
26734         destroy vmx regs when saving unaligned.
26736 2013-10-04  Alan Modra  <amodra@gmail.com>
26738         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
26739         Don't use a union to pack hi/low value.
26741 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
26743         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
26744         for little-endian.
26745         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26746         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
26747         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26748         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26749         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26751 2013-10-04  Alan Modra  <amodra@gmail.com>
26753         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
26754         constants to usual value for .cst8 section, and remove redundant
26755         high address load.
26756         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
26757         constant for 0x1p52.  Load little-endian words of double from
26758         correct stack offsets.
26760 2013-10-04  Alan Modra  <amodra@gmail.com>
26762         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
26763         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
26764         words of double from correct stack offsets.
26765         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26766         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
26767         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26768         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26769         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26770         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26771         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26772         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26773         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26774         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26775         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26776         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26777         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26778         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26779         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26780         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
26781         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26783 2013-10-04  Alan Modra  <amodra@gmail.com>
26785         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
26786         64-bit int/double union.
26787         (_FPU_SETCW): Likewise.
26788         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
26789         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
26791 2013-10-04  Alan Modra  <amodra@gmail.com>
26793         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
26794         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
26796 2013-10-04  Alan Modra  <amodra@gmail.com>
26798         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
26799         use vector int constants.
26800         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
26802 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
26804         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
26805         array with long long.
26806         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
26807         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
26808         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
26809         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
26810         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
26811         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
26812         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
26813         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
26814         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
26815         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
26816         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
26817         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
26818         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
26820 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
26822         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
26823         (__signbit): Likewise.  Correct for little-endian.
26824         (__signbitl): Call __signbit.
26825         (lrint): Correct for little-endian.
26826         (lrintf): Call lrint.
26828 2013-10-04  Alan Modra  <amodra@gmail.com>
26830         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
26831         union 32-bit int array member with 64-bit int array.
26832         (t515, tm256): Double rather than long double.
26833         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
26835 2013-10-04  Alan Modra  <amodra@gmail.com>
26837         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
26838         Delete.
26839         (IEEE854_LONG_DOUBLE_BIAS): Delete.
26840         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
26841         version of math_ldbl.h.
26843 2013-10-04  Alan Modra  <amodra@gmail.com>
26845         [BZ #15734], [BZ #15735]
26846         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
26847         all uses of ieee875 long double macros and unions.  Simplify test
26848         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
26849         ldbl_extract_mantissa value for ix,iy exponents.  Properly
26850         normalize after ldbl_extract_mantissa, and don't add hidden bit
26851         already handled.  Don't treat low word of ieee854 mantissa like
26852         low word of IBM long double and mask off bit when testing for
26853         zero.
26854         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
26855         all uses of ieee875 long double macros and unions.  Simplify tests
26856         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
26857         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
26858         two1022, instead use their values.  Recognise that tests for large
26859         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
26860         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
26861         Rewrite all uses of ieee875 long double macros and unions.  Simplify
26862         test for 0.0L and nan.  Correct negation.
26863         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
26864         ieee875 long double macros and unions.  Correct output for large
26865         magnitude x.  Correct absolute value calculation.
26866         (__erfcl): Likewise.
26867         * math/libm-test.inc: Add tests for errors discovered in IBM long
26868         double versions of fmodl, remainderl, erfl and erfcl.
26870 2013-10-04  Alan Modra  <amodra@gmail.com>
26872         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
26873         all uses of ieee854 long double macros and unions.  Simplify tests
26874         for long doubles that are fully specified by the high double.
26875         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26876         Likewise.
26877         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
26878         Remove dead code too.
26879         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26880         (__ieee754_ynl): Likewise.
26881         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26882         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
26883         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
26884         Remove dead code too.
26885         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
26886         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
26887         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
26888         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
26889         Simplify.
26890         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
26891         Simplify.
26892         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
26893         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
26894         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
26895         Comment on variable precision.
26896         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
26897         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26898         Likewise.
26899         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26900         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26901         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26902         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
26903         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
26905 2013-10-04  Alan Modra  <amodra@gmail.com>
26907         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
26908         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
26909         all uses of ieee854 long double macros and unions.
26910         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
26911         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26912         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
26913         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
26914         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26915         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26916         Likewise.
26917         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
26918         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26919         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
26920         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26921         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
26922         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
26923         Simplify sign and nan test too.
26924         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
26925         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
26926         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
26927         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
26928         Likewise.
26929         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26930         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
26931         Likewise.
26932         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26933         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
26934         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
26935         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
26936         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
26937         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
26939 2013-10-04  Alan Modra  <amodra@gmail.com>
26941         * stdio-common/printf_size.c (__printf_size): Don't use
26942         union ieee854_long_double in fpnum union.
26943         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
26944         signbit macro to retrieve sign from long double.
26945         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
26946         retrieve sign from long double.
26947         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
26948         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
26949         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
26950         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26951         * math/test-misc.c (main): Don't use union ieee854_long_double.
26953 2013-10-04  Alan Modra  <amodra@gmail.com>
26955         [BZ #15680]
26956         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
26957         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
26958         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
26959         calculation.  Remove unnecessary test for denormal exponent.
26960         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
26961         Correct handling of denormals.  Avoid undefined shift behaviour.
26962         Correct normalisation of low mantissa when low double is denormal.
26963         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
26964         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
26965         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
26966         Correct normalisation of low mantissa.  Test for overflow of high
26967         mantissa and normalise.
26968         (ldbl_nearbyint): Use more readable constant for two52.
26969         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
26970         (__mpn_construct_long_double): Fix test for overflow of high
26971         mantissa and correct normalisation.  Avoid undefined shift.
26973 2013-10-04  Alan Modra  <amodra@gmail.com>
26975         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26976         (union ibm_extended_long_double): Define as an array of ieee754_double.
26977         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
26978         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
26979         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
26980         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26981         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26982         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
26983         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26984         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26985         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26986         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
26987         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26989 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
26991         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
26992         page size instead of calling getpagesize.
26994         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
26995         (LOCFILE_ALIGN_MASK): Likewise.
26996         (LOCFILE_ALIGN_UP): Likewise.
26997         (LOCFILE_ALIGNED_P): Likewise.
26998         * locale/programs/ld-collate.c (collate_output): Use the new
26999         macros instead of __alignof__ (int32_t).
27000         * locale/weight.h (findidx): Likewise.
27002 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
27004         [BZ #431]
27005         * manual/string.texi: Fix strncat and wcsncat.
27007 2013-10-03  Brooks Moses  <bmoses@google.com>
27009         [BZ #15915]
27010         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
27011         * Makerules: ...here, and adjust associated comments.
27013 2013-10-02  Will Newton  <will.newton@linaro.org>
27015         * malloc/Makefile: Add tst-pvalloc.
27016         * malloc/tst-pvalloc.c: New file.
27018 2013-10-02  Will Newton  <will.newton@linaro.org>
27020         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
27021         improve test coverage.
27023 2013-10-02  Will Newton  <will.newton@linaro.org>
27025         * malloc/Makefile: Add tst-posix_memalign.
27026         * malloc/tst-posix_memalign.c: New file.
27028 2013-10-01  Eric Blake  <eblake@redhat.com>
27030         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
27031         Use __THROWNL rather than __THROW on static functions.
27033 2013-09-30  Petr Machata  <pmachata@redhat.com>
27035         * elf/elf.h (R_AARCH64_ABS16): New macro.
27036         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
27037         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
27038         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
27039         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
27040         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
27041         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
27042         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
27043         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
27044         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
27045         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
27046         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
27047         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
27048         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
27049         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
27050         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
27051         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
27052         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
27053         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
27054         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
27055         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
27056         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
27057         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
27058         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
27059         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
27060         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
27061         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
27062         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
27063         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
27064         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
27065         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
27066         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
27067         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
27068         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
27069         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
27070         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
27071         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
27072         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
27073         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
27074         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
27075         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
27076         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
27077         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
27078         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
27079         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
27080         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
27081         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
27082         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
27083         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
27084         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
27085         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
27086         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
27087         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
27088         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
27089         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
27090         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
27091         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
27092         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
27093         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
27094         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
27095         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
27096         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
27097         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
27098         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
27099         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
27100         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
27101         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
27102         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
27103         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
27104         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
27105         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
27106         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
27107         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
27108         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
27109         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
27110         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
27111         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
27112         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
27113         (R_AARCH64_TLSDESC_LDR): Likewise.
27114         (R_AARCH64_TLSDESC_ADD): Likewise.
27115         (R_AARCH64_TLSDESC_CALL): Likewise.
27117 2013-09-30  Andreas Schwab  <schwab@suse.de>
27119         [BZ #15048]
27120         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
27121         the nss database lookup.
27122         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27123         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27125 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
27127         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
27129 2013-09-28  P. J. McDermott  <pj@pehjota.net>
27131         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
27132         ${Bash-specific parameter/pattern/string} parameter expansion.
27133         * sysdeps/unix/make-syscalls.sh: Likewise.
27135 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27137         * sysdeps/sh/stackguard-macros.h: New file.
27139 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
27141         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27142         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
27143         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
27144         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
27145         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27146         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
27148 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27150         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
27151         Fix thread ID register.
27153 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
27155         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
27156         [POSIX || UNIX98]: Require rather than permitting all symbols from
27157         <time.h>.
27158         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
27159         element of struct sched_param.
27160         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
27161         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
27162         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
27163         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
27164         constant.
27166 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
27168         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
27169         argument calculation.
27171 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
27173         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
27174         Expect macro.
27175         [POSIX] (pthread_attr_t): Do not require type.
27176         [POSIX] (pthread_cond_t): Likewise.
27177         [POSIX] (pthread_condattr_t): Likewise.
27178         [POSIX] (pthread_key_t): Likewise.
27179         [POSIX] (pthread_mutex_t): Likewise.
27180         [POSIX] (pthread_mutexattr_t): Likewise.
27181         [POSIX] (pthread_once_t): Likewise.
27182         [POSIX] (pthread_t): Likewise.
27183         [POSIX-based standards] (pthread_atfork): Expect function.
27185 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
27186             Richard Sandiford  <richard@codesourcery.com>
27188         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
27189         (swap_endianness_p): New extern variable.
27190         (set_big_endian): New inline function.
27191         (maybe_swap_uint32): Likewise.
27192         (maybe_swap_uint32_array): Likewise.
27193         (maybe_swap_uint32_obstack): Likewise.
27194         * locale/programs/locfile.c: Include <stdbool.h>.
27195         (swap_endianness_p): New variable.
27196         (add_locale_uint32): Call maybe_swap_uint32.
27197         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
27198         (write_locale_data): Call maybe_swap_uint32_array.
27199         * locale/programs/ld-collate.c (obstack_int32_grow): Call
27200         maybe_swap_uint32.
27201         (obstack_int32_grow_fast): Likewise.
27202         (output_weightwc): Call maybe_swap_uint32_obstack.
27203         (collate_output): Likewise.
27204         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
27205         (OPT_LITTLE_ENDIAN): Likewise.
27206         (options): Add --little-endian and --big-endian options.
27207         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
27208         * locale/programs/locarchive.c: Include "locfile.h".
27209         (GET): New macro.
27210         (SET): Likewise.
27211         (INC): Likewise.
27212         (create_archive): Use the new macros to access fields of
27213         structures directly mapped from or written to locale archives.
27214         (oldlocrecentcmp): Likewise.
27215         (enlarge_archive): Likewise.
27216         (insert_name): Likewise.
27217         (add_alias): Likewise.
27218         (add_locale): Likewise.
27219         (delete_locales_from_archive): Likewise.
27220         (show_archive_content): Likewise.
27221         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
27222         locale data.
27224 2013-09-24  Roland McGrath  <roland@hack.frob.com>
27226         * manual/freemanuals.texi: Updated from (newly) canonical copy at
27227         http://www.gnu.org/doc/freemanuals.texi.
27228         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
27230 2013-09-24  Will Newton  <will.newton@linaro.org>
27232         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
27233         macro.
27235 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
27237         * locale/hashval.h (compute_hashval): Interpret bytes of key as
27238         unsigned char.
27240 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
27242         * manual/threads.texi (POSIX Threads): Fix a typo.
27244 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27246         [BZ #14547]
27247         * string/tst-strcoll-overflow.c: New test case.
27248         * string/Makefile (xtests): Add tst-strcoll-overflow.
27249         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
27250         cache if string sizes may cause integer overflow.
27252         [BZ #14547]
27253         * string/strcoll_l.c (coll_seq): New members rule, idx,
27254         save_idx and back_us.
27255         (get_next_seq_nocache): New function.
27256         (do_compare_nocache): New function.
27257         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
27258         when malloc fails.
27260 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
27262         [BZ #15754]
27263         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
27264         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
27265         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
27267         [BZ #15754]
27268         * elf/Makefile (tests): Add tst-ptrguard1.
27269         (tests-static): Add tst-ptrguard1-static.
27270         (tst-ptrguard1-ARGS): Define.
27271         (tst-ptrguard1-static-ARGS): Define.
27272         * elf/tst-ptrguard1.c: New file.
27273         * elf/tst-ptrguard1-static.c: New file.
27274         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
27275         * sysdeps/i386/stackguard-macros.h: Likewise.
27276         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27277         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27278         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27279         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27280         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27281         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27283 2013-09-23  Hector Marco  <hecmargi@upv.es>
27284             Ismael Ripoll  <iripoll@disca.upv.es>
27285             Carlos O'Donell  <carlos@redhat.com>
27287         [BZ #15754]
27288         * sysdeps/generic/stackguard-macros.h: Define
27289         __pointer_chk_guard_local and POINTER_CHK_GUARD.
27290         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
27291         Define __pointer_chk_guard_local.
27292         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
27293         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
27295 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
27297         [BZ #15859]
27298         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
27300 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
27302         * include/string.h (__ffs): Declare as hidden.
27303         * string/ffs.c (__ffs): Define as hidden.
27304         * sysdeps/i386/ffs.c (__ffs): Likewise.
27305         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27306         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
27307         * sysdeps/s390/ffs.c (__ffs): Likewise.
27308         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
27310 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
27312         * NEWS: Mention malloc probes.
27314         * malloc/arena.c (new_heap): New memory_heap_new probe.
27315         (grow_heap): New memory_heap_more probe.
27316         (shrink_heap): New memory_heap_less probe.
27317         (heap_trim): New memory_heap_free probe.
27318         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
27319         (systrim): New memory_sbrk_less probe.
27320         * manual/probes.texi: Document them.
27322         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
27323         * manual/probes.texi: Document it.
27325         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
27326         (__libc_realloc): Add memory_realloc_retry probe.
27327         (__libc_memalign): Add memory_memalign_retry probe.
27328         (__libc_valloc): Add memory_valloc_retry probe.
27329         (__libc_pvalloc): Add memory_pvalloc_retry probe.
27330         (__libc_calloc): Add memory_calloc_retry probe.
27331         * manual/probes.texi: Document them.
27333         * malloc/arena.c (get_free_list): Add probe
27334         memory_arena_reuse_free_list.
27335         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
27336         and memory_arena_reuse.
27337         (arena_get2) [!PER_THREAD]: Likewise.
27338         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
27339         memory_arena_reuse_realloc.
27340         * manual/probes.texi: Document them.
27342         * malloc/malloc.c (__libc_free): Add
27343         memory_mallopt_free_dyn_thresholds probe.
27344         (__libc_mallopt): Add multiple memory_mallopt probes.
27345         * manual/probes.texi: Document them.
27347         * malloc/malloc.c: Include stap-probe.h.
27348         (__libc_mallopt): Add memory_mallopt probe.
27349         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
27350         * manual/probes.texi: New.
27351         * manual/Makefile (chapters): Add probes.
27352         * manual/threads.texi: Set next node.
27354 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
27356         [BZ #15963, #13985]
27357         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
27358         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
27359         Add `Chinese' to `nan' entry name.
27361 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27363         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
27364         (POLYNOMIAL): Likewise.
27365         (TAYLOR_SINCOS): Likewise.
27366         (TAYLOR_SLOW): Likewise.
27367         (__sin): Use TAYLOR_SINCOS.
27368         (__cos): Likewise.
27369         (slow): Use TAYLOR_SLOW.
27370         (sloww): Likewise.
27371         (bsloww): Likewise.
27372         (csloww): Likewise.
27374 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27376         * stdlib/strtod_l.c: Fix buffer overrun.
27378 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27380         * benchtests/Makefile (bench): Add sincos.
27381         * benchtests/bench-sincos.c: New file.
27383         * math/libm-test.inc (cos_test_data): New test inputs.
27384         (sin_test_data): Likewise.
27386         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
27387         macro.
27388         (__sin): Use it.
27389         (__cos): Likewise.
27390         (slow1): Likewise.
27391         (slow2): Likewise.
27392         (sloww1): Likewise.
27393         (sloww2): Likewise.
27394         (bsloww1): Likewise.
27395         (bsloww2): Likewise.
27396         (cslow2): Likewise.
27397         (csloww1): Likewise.
27398         (csloww2): Likewise.
27400         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
27401         function.
27402         (__sin): Use it.
27403         (__cos): Likewise.
27405         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
27406         gotos.
27407         (__cos): Likewise.
27409 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
27411         * config.h.in (HAVE_MIPS_NAN2008): New macro.
27412         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
27413         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
27414         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
27415         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
27416         * elf/cache.c (print_entry): Handle the new cache flags.
27418 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
27419             Aldy Hernandez  <aldyh@redhat.com>
27421         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
27422         Change condition to [_SOFT_FLOAT].
27423         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
27424         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
27425         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
27426         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
27427         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
27428         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
27429         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
27430         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
27431         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
27432         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
27433         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
27434         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
27435         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
27436         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
27437         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
27438         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
27439         declaration.
27441 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
27443         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
27444         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27445         (__longjmp): Use LOAD_GP to load saved GPRs.
27446         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
27447         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27448         (__sigsetjmp): Use SAVE_GP to save GPRs.
27450         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
27451         Do not append -msoft-float.
27452         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
27454 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27456         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
27458 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
27460         [BZ #15966]
27461         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
27462         (_FPU_GETCW): Use initial "__" on variable and field names but not
27463         on macro parameter name.
27464         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
27465         parentheses around reference to macro parameter.
27467 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
27469         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
27470         prototype.
27471         (ctype_startup): Use uint32_t in cast and sizeof for
27472         ctype->charnames.
27474 2013-09-11  Jia Liu  <proljc@gmail.com>
27476         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
27477         __daddr_t_defined.
27478         [__FreeBSD__]: Likewise.
27480 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
27482         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27483         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
27484         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
27485         (strchr): Remove __strchr_sse42 ifunc selection.
27486         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
27487         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
27489 2013-09-11  Will Newton  <will.newton@linaro.org>
27491         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
27492         parameter to RES. Remove hardcoded 1000 value.
27493         * benchtests/bench-skeleton.c (main): Pass RES parameter
27494         to TIMING_INIT and multiply result by 1000.
27496 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27498         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27500 2013-09-11  Andreas Schwab  <schwab@suse.de>
27502         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
27503         if not defined.
27504         (O_TMPFILE) [__USE_GNU]: Define.
27505         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
27506         Define.
27508 2013-09-11  Will Newton  <will.newton@linaro.org>
27510         [BZ #15857]
27511         * malloc/malloc.c (__libc_memalign): Check the value of bytes
27512         does not overflow.
27514 2013-09-11  Will Newton  <will.newton@linaro.org>
27516         [BZ #15856]
27517         * malloc/malloc.c (__libc_valloc): Check the value of bytes
27518         does not overflow.
27520 2013-09-11  Will Newton  <will.newton@linaro.org>
27522         [BZ #15855]
27523         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
27524         does not overflow.
27526 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
27528         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
27529         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27530         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27531         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27532         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27534 2013-09-10  Allan McRae  <allan@archlinux.org>
27536         [BZ #15748]
27537         * manual/arith.texi (Parsing of Floats): Clarify
27538         cross-reference.
27540         [BZ #15849]
27541         * manual/install.texi (Running make install): Mention
27542         --enable-pt-chown.
27543         * INSTALL: Regenerated.
27545 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
27547         * csu/init-first.c (_init): Remove the !SHARED condition around
27548         FPU control word initialization.
27549         * elf/dl-support.c (_dl_fpu_control): New variable.
27550         (_dl_aux_init) <AT_FPUCW>: Initialize it.
27551         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
27552         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
27553         * math/test-fpucw-static.c: New file.
27554         * math/test-fpucw-ieee.c: New file.
27555         * math/test-fpucw-ieee-static.c: New file.
27556         * math/Makefile (tests): Add `test-fpucw-ieee' and
27557         `$(tests-static)'.
27558         (tests-static): New variable.
27559         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
27560         dependency to...
27561         [($(build-shared),yes)]
27562         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27563         ... this.
27564         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
27565         New dependency.
27567 2013-09-09  Allan McRae  <allan@archlinux.org>
27569         [BZ #15939]
27570         * manual/string.texi (Collation Functions): Fix typo in
27571         strcoll example.
27572         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
27574         [BZ #15893]
27575         * stdlib/isomac.c (get_null_defines): Fix memory leak.
27577         [BZ #15892]
27578         * libio/memstream.c (open_memstream): Fix memory leak.
27579         * libio/wmemstream.c (open_wmemstream): Likewise.
27581         [BZ #15895]
27582         * nscd/netgroupcache.c: Fix nesting of ifdefs.
27584 2013-09-09  Will Newton  <will.newton@linaro.org>
27586         * malloc/Makefile: Add tst-realloc to tests.
27587         * malloc/tst-realloc.c: New file.
27589 2013-09-09  Allan McRae  <allan@archlinux.org>
27591         [BZ #15844]
27592         * COPYING: Update from GNU website to fix FSF address.
27593         * COPYING.LIB: Likewise.
27595 2013-09-06  David S. Miller  <davem@davemloft.net>
27597         * po/zh_TW.po: Update Chinese (traditional) translation from
27598         translation project.
27600 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
27601             Joseph Myers  <joseph@codesourcery.com>
27603         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
27604         "localeinfo.h".
27605         (obstack_chunk_alloc): New macro.
27606         (obstack_chunk_free): Likewise.
27607         (record_offset): New function.
27608         (init_locale_data): Likewise.
27609         (align_locale_data): Likewise.
27610         (add_locale_empty): Likewise.
27611         (add_locale_raw_data): Likewise.
27612         (add_locale_raw_obstack): Likewise.
27613         (add_locale_string): Likewise.
27614         (add_locale_wstring): Likewise.
27615         (add_locale_uint32): Likewise.
27616         (add_locale_uint32_array): Likewise.
27617         (add_locale_char): Likewise.
27618         (start_locale_structure): Likewise.
27619         (end_locale_structure): Likewise.
27620         (start_locale_prelude): Likewise.
27621         (end_locale_prelude): Likewise.
27622         (write_locale_data): Take locale_file structure rather than an
27623         iovec.
27624         * locale/programs/locfile.h: Include "obstack.h".
27625         (struct locale_file): Change to store locale file contents instead
27626         of header.
27627         (init_locale_data): New prototype.
27628         (align_locale_data): Likewise.
27629         (add_locale_empty): Likewise.
27630         (add_locale_raw_data): Likewise.
27631         (add_locale_raw_obstack): Likewise.
27632         (add_locale_string): Likewise.
27633         (add_locale_wstring): Likewise.
27634         (add_locale_uint32): Likewise.
27635         (add_locale_uint32_array): Likewise.
27636         (add_locale_char): Likewise.
27637         (start_locale_structure): Likewise.
27638         (end_locale_structure): Likewise.
27639         (start_locale_prelude): Likewise.
27640         (end_locale_prelude): Likewise.
27641         (write_locale_data): Update prototype.
27642         * locale/programs/3level.h (struct TABLE): Remove result field.
27643         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
27644         Use new locale_file interface.
27645         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
27646         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
27647         * locale/programs/ld-address.c (address_output): Use new
27648         locale_file interface.
27649         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
27650         NO_ADD_LOCALE.
27651         (collate_finish): Don't call collseq_table_finalize.
27652         (collate_output): Use new locale_file interface.
27653         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
27654         in file.
27655         (NO_FINALIZE): Change to NO_ADD_LOCALE.
27656         (TABLE): Move defines earlier in file.
27657         (ELEMENT): Likewise.
27658         (DEFAULT): Likewise.
27659         (wctrans_table_add): Move macro and inline function earlier in
27660         file.
27661         (struct wctype_table): Move type earlier in file.
27662         (add_locale_wctype_table): New static prototype.
27663         (struct locale_ctype_t): Use logical types instead of struct iovec
27664         pointers for members.
27665         (ctype_output): Use new locale_file interface.
27666         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
27667         new locale_file interface.
27668         (allocate_arrays): Update for use of new locale_file interface.
27669         * locale/programs/ld-identification.c (identification_output): Use
27670         new locale_file interface.
27671         * locale/programs/ld-measurement.c (measurement_output): Likewise.
27672         * locale/programs/ld-messages.c (messages_output): Likewise.
27673         * locale/programs/ld-monetary.c (monetary_output): Likewise.
27674         * locale/programs/ld-name.c (name_output): Likewise.
27675         * locale/programs/ld-numeric.c (numeric_output): Likewise.
27676         * locale/programs/ld-paper.c (paper_output): Likewise.
27677         * locale/programs/ld-telephone.c (telephone_output): Likewise.
27678         * locale/programs/ld-time.c (time_output): Likewise.
27680 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27682         * benchtests/Makefile: Add memrchr benchmark.
27683         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
27684         benchmark as memrchr.
27685         * benchtests/bench-memrchr-ifunc.c: New file.
27686         * benchtests/bench-memrchr.c: New file.
27688 2013-09-06   Will Newton  <will.newton@linaro.org>
27690         * benchtests/Makefile (string-bench): Add memcpy.
27692 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
27693             Cong Wang  <amwang@redhat.com>
27695         [BZ #15850]
27696         * sysdeps/unix/sysv/linux/bits/in.h
27697         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
27698         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
27699         before __USE_KERNEL_IPV6_DEFS uses.
27700         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
27701         IPPROTO_BEETPH.
27702         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
27703         sockaddr_in6, or ipv6_mreq.
27705 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27707         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
27708         memory access for final bytes in some large inputs.
27709         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
27711 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27713         * string/test-memrchr.c: New file.
27714         * string/test-memrchr-ifunc.c: New file.
27715         * string/Makefile: Add new memrchr testcase.
27717 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
27719         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
27720         fanotify_init returns EPERM.
27722 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
27724         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
27725         errors.
27726         (top level): Treat second token from macro or constant entries for
27727         allowed headers as allowed.
27728         * include/complex.h: Condition internal declarations on
27729         [!_ISOMAC].
27730         * include/fenv.h: Condition include of <stdbool.h> and internal
27731         declarations on [!_ISOMAC].
27733 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
27735         [BZ #15923]
27736         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
27738 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
27740         * configure.in (--enable-versioning): Remove configure option.
27741         (libc_cv_asm_symver_directive): Remove configure test.
27742         (libc_cv_ld_version_script_option): Likewise.
27743         (VERSIONING): Remove variable and AC_SUBST.
27744         (DO_VERSIONING): Remove AC_DEFINE.
27745         * configure: Regenerated.
27746         * config.h.in (DO_VERSIONING): Remove macro.
27747         * Makerules [$(versioning) = yes]: Change conditionals to
27748         [$(build-shared) = yes].
27749         * config.make.in (versioning): Remove variable.
27750         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
27751         [$(build-shared) = yes].
27752         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
27753         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
27754         * elf/Makefile [$(versioning) = yes]: Change conditionals to
27755         [$(build-shared) = yes].
27756         * extra-lib.mk [$(versioning) = yes]: Likewise.
27757         * hurd/Makefile [$(versioning) = yes]: Likewise.
27758         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
27759         [SHARED].
27760         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
27761         [SHARED].
27762         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27763         [SHARED && !NO_HIDDEN].
27764         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
27765         [SHARED].
27766         [SHARED && DO_VERSIONING]: Likewise..
27767         * libio/Makefile [$(versioning) = yes]: Change conditionals to
27768         [$(build-shared) = yes].
27769         * manual/install.texi (--disable-versioning): Remove
27770         documentation.
27771         * INSTALL: Regenerated.
27772         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
27773         to [SHARED].
27774         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
27775         [$(build-shared) = yes].
27776         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
27777         * sysdeps/i386/i686/multiarch/strstr-c.c
27778         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27779         [SHARED && !NO_HIDDEN].
27780         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
27781         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
27782         * sysdeps/powerpc/powerpc32/dl-machine.c
27783         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
27784         * sysdeps/powerpc/powerpc32/sysdep.h
27785         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
27786         to [SHARED && PIC && !NO_HIDDEN].
27787         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
27788         conditional to [SHARED].
27790 2013-09-04   Will Newton  <will.newton@linaro.org>
27792         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
27793         * benchtests/bench-string.h: Include bench-timing.h instead
27794         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
27795         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
27796         call to HP_TIMING_DIFF_INIT.
27797         * benchtests/bench-memccpy.c: Use bench-timing.h macros
27798         instead of hp-timing.h macros.
27799         * benchtests/bench-memchr.c: Likewise.
27800         * benchtests/bench-memcmp.c: Likewise.
27801         * benchtests/bench-memcpy.c: Likewise.
27802         * benchtests/bench-memmem.c: Likewise.
27803         * benchtests/bench-memmove.c: Likewise.
27804         * benchtests/bench-memset.c: Likewise.
27805         * benchtests/bench-rawmemchr.c: Likewise.
27806         * benchtests/bench-strcasecmp.c: Likewise.
27807         * benchtests/bench-strcasestr.c: Likewise.
27808         * benchtests/bench-strcat.c: Likewise.
27809         * benchtests/bench-strchr.c: Likewise.
27810         * benchtests/bench-strcmp.c: Likewise.
27811         * benchtests/bench-strcpy.c: Likewise.
27812         * benchtests/bench-strcpy_chk.c: Likewise.
27813         * benchtests/bench-strlen.c: Likewise.
27814         * benchtests/bench-strncasecmp.c: Likewise.
27815         * benchtests/bench-strncat.c: Likewise.
27816         * benchtests/bench-strncmp.c: Likewise.
27817         * benchtests/bench-strncpy.c: Likewise.
27818         * benchtests/bench-strnlen.c: Likewise.
27819         * benchtests/bench-strpbrk.c: Likewise.
27820         * benchtests/bench-strrchr.c: Likewise.
27821         * benchtests/bench-strspn.c: Likewise.
27822         * benchtests/bench-strstr.c: Likewise.
27824 2013-09-04  Will Newton  <will.newton@linaro.org>
27826         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
27828 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
27830         [BZ #15427]
27831         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27832         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
27833         * math/libm-test.inc (lgamma_test_data): Add more tests.
27834         * sysdeps/i386/fpu/libm-test-ulps: Update.
27835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27837 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
27839         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
27840         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27841         Add ifunc.
27842         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27843         Add strcmp-sse2-unaligned
27844         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
27846 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
27848         * Versions.def (libc): Add GLIBC_2.19.
27850 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
27852         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
27853         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
27855 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
27857         [BZ #14155]
27858         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
27859         intermediate calculations in recurrence.
27860         (__ieee754_ynf): Likewise.
27861         * math/libm-test.inc (jn_test_data): Do not allow spurious
27862         underflow exception.  Add more tests.
27863         (yn_test_data): Add more tests.
27864         * sysdeps/i386/fpu/libm-test-ulps: Update.
27865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27867 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
27869         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
27871 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
27873         * csu/init-first.c: Fix then/than typos.
27874         * locale/programs/ld-collate.c: Likewise.
27875         * locale/programs/linereader.h: Likewise.
27876         * manual/charset.texi: Likewise.
27877         * manual/filesys.texi: Likewise.
27878         * manual/stdio.texi: Likewise.
27879         * manual/string.texi: Likewise.
27880         * stdlib/fmtmsg.c: Likewise.
27881         * sysdeps/i386/stpncpy.S: Likewise.
27882         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27883         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27884         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27885         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27887 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
27889         * elf/dl-open.c: Fix typos.
27890         * iconvdata/gbbig5.c: Likewise.
27891         * iconvdata/iso-2022-jp.c: Likewise.
27892         * iconv/gconv_int.h: Likewise.
27893         * iconv/loop.c: Likewise.
27894         * nis/rpcsvc/nis.h: Likewise.
27895         * resolv/ns_name.c: Likewise.
27896         * stdio-common/vfscanf.c: Likewise.
27897         * streams/stropts.h: Likewise.
27898         * sunrpc/rpc_thread.c: Likewise.
27899         * sysdeps/i386/strpbrk.S: Likewise.
27900         * sysdeps/ieee754/k_standard.c: Likewise.
27901         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27902         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27903         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
27904         * sysdeps/mach/hurd/profil.c: Likewise.
27905         * sysdeps/s390/dl-procinfo.h: Likewise.
27906         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
27907         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27908         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
27909         * sysdeps/x86_64/dl-trampoline.S: Likewise.
27910         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27912 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
27914         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
27915         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
27917 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
27919         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
27920         aix specific files.
27921         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
27922         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
27923         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
27924         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
27925         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
27926         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
27927         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
27928         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
27930 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
27931             Roland McGrath  <roland@hack.frob.com>
27933         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
27934         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
27936 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27938         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
27939         __executable_start symbol instead of _start.
27941 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
27943         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
27944         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
27945         Move macros to...
27946         * sysdeps/gnu/ldsodefs.h: ... this new file.
27948         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
27949         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
27950         instead of ELFOSABI_LINUX.
27952         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
27953         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
27954         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
27955         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
27956         Likewise.
27957         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
27958         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
27959         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
27960         Likewise.
27961         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27962         (ibm_extended_long_double): Add ieee_nan member.
27963         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
27964         (do_test): New function.
27966         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
27967         TEST_TRUNC.
27968         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
27969         functions, renamed from truncdfsf_test, trunctfsf_test,
27970         trunctfdf_test.
27971         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
27972         functions.
27973         (do_test): Run all these.
27975 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
27977         * argp/argp-help.c: Fix typos.
27978         * argp/argp-parse.c: Likewise.
27979         * debug/backtracesyms.c: Likewise.
27980         * elf/elf.h: Likewise.
27981         * malloc/malloc.c: Likewise.
27982         * nis/nis_print.c: Likewise.
27983         * resolv/res_comp.c: Likewise.
27984         * stdlib/stdlib.h: Likewise.
27985         * sunrpc/clnt_tcp.c: Likewise.
27986         * sunrpc/clnt_udp.c: Likewise.
27987         * sunrpc/clnt_unix.c: Likewise.
27988         * sysdeps/unix/bsd/ptsname.c: Likewise.
27989         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27990         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
27991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
27992         Likewise.
27993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
27994         Likewise.
27995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27996         Likewise.
27997         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27999 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28001         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
28002         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28004 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
28006         [BZ #15897]
28007         * dlfcn/Makefile (tests): Add bug-dl-leaf.
28008         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
28009         ($(objpfx)bug-dl-leaf): New rule.
28010         ($(objpfx)bug-dl-leaf.so): Likewise.
28011         ($(objpfx)bug-dl-leaf.out): Likewise.
28012         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
28013         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
28014         * dlfcn/bug-dl-leaf.c: New test.
28015         * dlfcn/bug-dl-leaf-lib.c: Likewise.
28016         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
28017         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
28018         (dlclose): Likewise.
28019         (dlmopen): Likewise.
28021 2013-08-27  Roland McGrath  <roland@hack.frob.com>
28023         * include/netdb.h [!_ISOMAC]:
28024         Don't include <tls.h>.
28025         (h_errno, __libc_h_errno): Move declaration and macros out of
28026         [_LIBC_REENTRANT].
28028         * include/resolv.h [_RESOLV_H_]:
28029         Don't include <tls.h>.
28030         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
28031         * resolv/res_libc.c: Don't include <tls.h>.
28032         (_res): Use __attribute__ ((nocommon)) in place of
28033         __attribute__ ((section (".bss"))).
28035         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
28036         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
28038         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
28040         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
28041         only under [SIOCGIFCONF && SIOCGIFNETMASK].
28043         * resolv/res_mkquery.c: Include <sys/time.h>.
28045         * inet/ifreq.c: Moved to ...
28046         * sysdeps/unix/ifreq.c: ... here.
28047         * inet/ifreq.c: New file, true stub version.
28049         * socket/sa_len.c: New file.
28050         * socket/Makefile (aux): Add it.
28051         * sysdeps/unix/sysv/linux/Makefile
28052         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
28053         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
28054         and #include <socket/sa_len.c>.
28055         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
28056         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
28058         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
28059         * bits/socket.h: ... here.
28061         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
28062         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
28063         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
28065 2013-08-27  Andreas Schwab  <schwab@suse.de>
28067         [BZ #15736]
28068         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
28069         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
28070         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
28071         * string/test-strcasecmp.c (test_main): Run tests in several
28072         locales.
28073         * string/test-strncasecmp.c (test_main): Likewise.
28075         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
28076         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
28077         to __strcasecmp_nonascii and __strncasecmp_nonascii.
28078         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
28079         (__strncasecmp_ssse3) [PIC]: Likewise.
28081 2013-08-26  Roland McGrath  <roland@hack.frob.com>
28083         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
28085         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
28086         instead of explicitly declaring xdecrypt.
28087         * nis/nss_nis/nis-publickey.c: Likewise.
28089 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28091         [BZ #15890]
28092         * nscd/aicache.c: Include res_hconf.h.
28093         (addhstaiX): Initialize res_hconf.
28095 2013-08-26  Andreas Schwab  <schwab@suse.de>
28097         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
28098         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
28100 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28102         * nscd/aicache.c (addhstaiX): Fix indentation.
28104 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
28106         * configure.ac: Quote $build_pt_chown test.
28107         * configure: Regenerated.
28109 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
28111         [BZ #15532]
28112         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
28113         * math/s_cexpf.c (__cexpf): Likewise.
28114         * math/s_cexpl.c (__cexpl): Likewise.
28115         * math/libm-test.inc (cexp_test_data): Correct expected return
28116         value for NaN + i0.  Add another test.
28118 2013-08-22  David S. Miller  <davem@davemloft.net>
28120         * po/ca.po: Update Catalan translation from translation project.
28121         * po/uk.po: Add Ukrainian translations from translation project.
28123 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
28125         [BZ #15797]
28126         * math/s_fdim.c (__fdim): Check for infinite arguments if result
28127         is infinite, not alongside NaN test.
28128         * math/s_fdimf.c (__fdimf): Likewise.
28129         * math/s_fdiml.c (__fdiml): Likewise.
28130         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
28131         errno is unchanged.
28133 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
28135         * argp/argp-help.c: Fix typos.
28136         * crypt/speeds.c: Likewise.
28137         * csu/check_fds.c: Likewise.
28138         * elf/dl-load.c: Likewise.
28139         * elf/dl-open.c: Likewise.
28140         * elf/reldep3.c: Likewise.
28141         * elf/reldep.c: Likewise.
28142         * elf/sprof.c: Likewise.
28143         * iconv/iconv_charmap.c: Likewise.
28144         * iconv/skeleton.c: Likewise.
28145         * iconv/strtab.c: Likewise.
28146         * io/lockf64.c: Likewise.
28147         * libio/libioP.h: Likewise.
28148         * resolv/gai_notify.c: Likewise.
28149         * resolv/ns_name.c: Likewise.
28150         * resolv/ns_samedomain.c: Likewise.
28151         * resolv/res_send.c: Likewise.
28152         * stdlib/random.c: Likewise.
28153         * sunrpc/rpc/xdr.h: Likewise.
28154         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
28155         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28156         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28157         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28158         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28159         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28160         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28161         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28162         * sysdeps/mach/hurd/check_fds.c: Likewise.
28163         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28164         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28165         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28166         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28167         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28168         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28169         * sysdeps/pthread/aio_notify.c: Likewise.
28170         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
28171         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
28172         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
28173         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28174         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28176 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28178         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
28179         version if bit_Slow_SSE4_2 is set.
28180         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28181         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28183 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28185         [BZ #15867]
28186         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
28187         trampoline stack frame information.
28188         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
28189         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
28190         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
28191         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
28192         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
28193         * sysdeps/unix/sysv/linux/powerpc/init-first.c
28194         (_libc_vdso_platform_setup): Initialize the signal trampolines.
28195         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
28196         sa_flags value.
28197         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
28198         interrupting a syscall and set with option SA_SIGINFO.
28200 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
28202         [BZ #15531]
28203         * math/s_cproj.c (__cproj): Only return an infinity if one part of
28204         argument is infinite.
28205         * math/s_cprojf.c (__cprojf): Likewise.
28206         * math/s_cprojl.c (__cprojl): Likewise.
28207         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
28208         * math/libm-test.inc (cproj_test_data): Add more tests.
28210         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
28212         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
28213         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
28214         size.  Use __ffs to determine corresponding shift.
28216 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
28217             Roland McGrath  <roland@hack.frob.com>
28219         * Makefile (INSTALL): Remove trailing blank lines from output of
28220         makeinfo.
28222 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28224         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
28225         Align 32 bit compat elf_greg to 8 bytes.
28227 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
28229         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
28231 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28233         * string/strcoll_l.c (coll_seq): New structure.
28234         (get_next_seq_cached): New function.
28235         (get_next_seq): New function.
28236         (do_compare): New function.
28237         (STRCOLL): Use GNU style definition.  Simplify implementation
28238         by using get_next_seq, get_next_seq_cached and do_compare.
28240 2013-08-16  Florian Weimer  <fweimer@redhat.com>
28242         [BZ #14699]
28243         CVE-2013-4237
28244         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
28245         member.
28246         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
28247         member.
28248         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
28249         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
28250         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
28251         conditional.
28252         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
28253         GETDENTS_64BIT_ALIGNED.
28254         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28255         * manual/filesys.texi (Reading/Closing Directory): Document
28256         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
28257         strongly.
28258         * manual/conf.texi (Limits for Files): Add portability note to
28259         NAME_MAX, PATH_MAX.
28260         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
28262 2013-08-13  Andreas Schwab  <schwab@suse.de>
28264         [BZ #15749]
28265         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
28266         of fabs.
28267         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
28268         LDBL_MAX_EXP >= 16384]: Add tests for it.
28270 2013-08-12  David S. Miller  <davem@davemloft.net>
28272         * version.h (RELEASE): Set to "development".
28273         (VERSION): Set to "2.18.90".
28274         * NEWS: Add 2.19 section.
28276 2013-08-03  David S. Miller  <davem@davemloft.net>
28278         * po/ko.po: Update Korean translation from translation project.
28280 2013-08-01  David S. Miller  <davem@davemloft.net>
28282         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
28283         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
28284         Bilka.
28286 2013-07-30  David S. Miller  <davem@davemloft.net>
28288         * po/fr.po: Update French translation from translation project.
28290 2013-07-28  David S. Miller  <davem@davemloft.net>
28292         * po/cs.po: Update Czech translation from translation project.
28294         * po/sv.po: Update Swedish translation from translation project.
28296 2013-07-27  David S. Miller  <davem@davemloft.net>
28298         * po/eo.po: Update Esperanto translation from translation project.
28300         * po/vi.po: Update Vietnamese translation from translation project.
28302         * po/de.po: Update German translation from translation project.
28304 2013-07-26  David S. Miller  <davem@davemloft.net>
28306         * po/bg.po: Update Bulgarian translation from translation project.
28308         * po/nl.po: Update Dutch translation from translation project.
28309         * po/pl.po: Update Polish translation from translation project.
28310         * po/ru.po: Update Russian translation from translation project.
28312 2013-07-24  David S. Miller  <davem@davemloft.net>
28314         * po/libc.pot: Update.
28316 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28318         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
28319         variable page size.
28320         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
28321         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
28322         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
28324 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28326         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
28328 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28329             Andreas Schwab  <schwab@suse.de>
28330             Roland McGrath  <roland@hack.frob.com>
28331             Joseph Myers  <joseph@codesourcery.com>
28332             Carlos O'Donell  <carlos@redhat.com>
28334         [BZ #15755]
28335         * config.h.in: Define HAVE_PT_CHOWN.
28336         * config.make.in (build-pt-chown): New variable.
28337         * configure.in (--enable-pt_chown): New configure option.
28338         * configure: Regenerate.
28339         * login/Makefile: Include Makeconfig.  Build pt_chown only if
28340         build-pt-chown is enabled.
28341         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
28342         pt_chown to fix pty ownership.
28343         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
28344         CLOSE_ALL_FDS.
28345         * manual/install.texi (Configuring and compiling): Mention
28346         --enable-pt_chown. Add @findex for grantpt.
28347         * INSTALL: Regenerate.
28349 2013-07-20  David S. Miller  <davem@davemloft.net>
28351         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
28352         difference between 32-bit and 64-bit.
28354 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
28356         [BZ #15711]
28357         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
28358         Avoid system header dependency with -ffreestanding.
28359         ($(objpfx)bits/syscall%d): Likewise.
28361 2013-07-13  David S. Miller  <davem@davemloft.net>
28363         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
28364         underflows from atanl/atan2l due to bug 15319.
28365         (casinh_test_data): Likewise.
28367 2013-07-07  David S. Miller  <davem@davemloft.net>
28369         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
28371 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
28373         * sysdeps/i386/fpu/libm-test-ulps: Update.
28374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28376 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28378         * configure.in (--enable-lock-elision): Fix message text.
28379         * INSTALL: Regenerate.
28380         * configure: Regenerate.
28382 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28384         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28386 2013-07-03  Andreas Jaeger  <aj@suse.de>
28388         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
28389         define.
28390         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
28391         (ptrace_peeksiginfo_args): Add.
28392         (__ptrace_peeksiginfo_flags): Add.
28393         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28394         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28395         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28397 2013-07-03  Allan McRae  <allan@archlinux.org>
28399         * sysdeps/i386/fpu/libm-test-ulps: Update.
28401 2013-07-02  David S. Miller  <davem@davemloft.net>
28403         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28405 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
28407         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28409 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
28411         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28414 2013-07-02  Andi Kleen <ak@linux.intel.com>
28416         * config.h.in (ENABLE_LOCK_ELISION): Add.
28417         * configure.in (--enable-lock-elision): Add option.
28418         * manual/install.texi: Document --enable lock elision.
28419         * configure: Regenerate
28420         * INSTALL: Regenerate.
28422 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
28424         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
28425         SSE4.2 strcasecmp for libc.a.
28426         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28428 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
28430         [BZ #13304]
28431         * soft-fp/op-common.h (_FP_FMA): New macro.
28432         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
28433         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
28434         (_FP_MUL_MEAT_1_imm): ... here.
28435         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
28436         (_FP_MUL_MEAT_1_wide): ... here.
28437         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
28438         (_FP_MUL_MEAT_1_hard): ... here.
28439         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
28440         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
28441         (_FP_MUL_MEAT_2_wide): ... here.
28442         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
28443         (_FP_MUL_MEAT_2_wide_3mul): ... here.
28444         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
28445         (_FP_MUL_MEAT_2_gmp): ... here.
28446         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
28447         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
28448         (_FP_MUL_MEAT_4_wide): ... here.
28449         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
28450         (_FP_MUL_MEAT_4_gmp): ... here.
28451         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
28452         (_FP_WFRACBITS_DW_S): Likewise.
28453         (_FP_WFRACXBITS_DW_S): Likewise.
28454         (_FP_HIGHBIT_DW_S): Likewise.
28455         (FP_FMA_S): Likewise.
28456         (_FP_FRAC_HIGH_DW_S): Likewise.
28457         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
28458         (_FP_WFRACBITS_DW_D): Likewise.
28459         (_FP_WFRACXBITS_DW_D): Likewise.
28460         (_FP_HIGHBIT_DW_D): Likewise.
28461         (FP_FMA_D): Likewise.
28462         (_FP_FRAC_HIGH_DW_D): Likewise.
28463         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
28464         (_FP_WFRACBITS_DW_E): Likewise.
28465         (_FP_WFRACXBITS_DW_E): Likewise.
28466         (_FP_HIGHBIT_DW_E): Likewise.
28467         (FP_FMA_E): Likewise.
28468         (_FP_FRAC_HIGH_DW_E): Likewise.
28469         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
28470         (_FP_WFRACBITS_DW_Q): Likewise.
28471         (_FP_WFRACXBITS_DW_Q): Likewise.
28472         (_FP_HIGHBIT_DW_Q): Likewise.
28473         (FP_FMA_Q): Likewise.
28474         (_FP_FRAC_HIGH_DW_Q): Likewise.
28475         * soft-fp/fmasf4.c: New file.
28476         * soft-fp/fmadf4.c: Likewise.
28477         * soft-fp/fmatf4.c: Likewise.
28479 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28481         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28482         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
28483         Silvermont.
28484         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
28485         macro.
28486         (index_Slow_SSE4_2): Likewise.
28487         (index_Prefer_PMINUB_for_stringop): Likewise.
28488         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
28489         bit_Slow_SSE4_2 is set.
28490         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28491         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28493 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28495         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
28496         rtld_global._dl_hwcap2.
28497         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
28498         POWER8.
28499         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
28500         POWER8 feature descriptions defined in _dl_hwcap2.
28501         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
28502         string handling for POWER8 feature bits.
28503         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
28504         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
28505         _dl_powerpc_cap_flags.
28506         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
28507         * sysdeps/powerpc/rtld-global-offsets.sym
28508         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
28509         _dl_hwcap2 in the rtld_global_ro structure.
28511 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28513         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
28514         hardware capabilities in support of AT_HWCAP2.
28515         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
28516         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
28517         GLRO(dl_hwcap2).
28518         (_dl_show_auxv): Add support for calling _dl_procinfo to display
28519         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
28520         explicitly the unknown a_type display mechanism is used.
28521         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
28522         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
28523         struct member.
28524         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
28525         to macro prototype for AT_HWCAP2 support.
28526         * sysdeps/i386/dl-procinfo.h: Likewise.
28527         * sysdeps/s390/dl-procinfo.h: Likewise.
28528         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
28529         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
28530         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
28531         return -1 for unknown a_type display fallback.
28532         * sysdeps/sparc/dl-procinfo.h: Likewise.
28533         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
28534         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
28536 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
28538         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
28539         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
28541 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
28543         [BZ #12492]
28544         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
28545         mprotect making __stack_prot writable.
28547 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
28548             Joseph Myers  <joseph@codesourcery.com>
28550         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
28551         as being properly aligned.
28553 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
28555         * dlfcn/modstatic5.c: New file.
28556         * dlfcn/tststatic5.c: New file.
28557         * dlfcn/Makefile (tests): Add tststatic5.
28558         (tests-static): Likewise.
28559         (modules-names): Add modstatic5.
28560         (tststatic5-ENV): New variable.
28561         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
28563         [BZ #15022]
28564         * elf/dl-support.c (_dl_main_map): New variable.
28565         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
28566         (_dl_nns, _dl_load_adds): Set to 1.
28567         (_dl_initial_searchlist): Refer to _dl_main_map.
28568         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
28569         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
28570         call to _dl_get_origin.
28571         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
28572         around call_map.
28573         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
28574         * dlfcn/modstatic3.c: New file.
28575         * dlfcn/tststatic3.c: New file.
28576         * dlfcn/tststatic4.c: New file.
28577         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
28578         (tests-static): Likewise.
28579         (modules-names): Add modstatic3.
28580         (tststatic3-ENV, tststatic4-ENV): New variables.
28581         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
28582         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
28584 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
28586         * configure.in (CC): Require GCC version 4.4 or later.
28587         * configure: Regenerated.
28588         * manual/install.texi (Tools for Compilation): Update GCC version
28589         requirement.
28590         * INSTALL: Regenerated.
28592 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28594         [BZ #15674]
28595         * string/test-memcmp.c (check2): New.
28596         (main): Call check2.
28598         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
28600 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
28602         [BZ #15022]
28603         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
28604         over to...
28605         (dl_open_worker) [!SHARED]: ... here.
28607 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28609         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
28611 2013-06-25  Richard Henderson  <rth@redhat.com>
28613         * locale/programs/locarchive.c: Include <libc-internal.h>
28615 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
28617         * manual/texinfo.tex: Update to version 2013-06-21.17, with
28618         trailing whitespace removed.
28620 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
28622         [BZ #10283]
28623         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
28624         * locale/programs/locarchive.c: Include libc-mmap.h.
28625         (prepare_address_space): Take two new outputs (the mmap base and len).
28626         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
28627         values.
28628         (create_archive): Declare new mmap base and len values for
28629         prepare_address_space, and store the result in ah.
28630         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
28631         (enlarge_archive): If ah->mmap_base is not NULL, use that and
28632         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28633         Declare new mmap base and len values for
28634         prepare_address_space, and store the result in new_ah.
28635         (open_archive): Declare new mmap base and len values for
28636         prepare_address_space, and store the result in ah.
28637         (close_archive): If ah->mmap_base is not NULL, use that and
28638         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28639         * sysdeps/generic/libc-mmap.h: New file.
28641 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
28643         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
28644         (ALIGN_UP): Likewise.
28645         (PTR_ALIGN_DOWN): Likewise.
28646         (PTR_ALIGN_UP): Likewise.
28648 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28650         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
28651         entry mapped to PPC_PLATFORM_POWER8.
28652         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
28653         POWER8.
28654         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
28655         (_dl_string_platform): Add case for exporting platform position for
28656         POWER8.
28657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
28658         search path to sysdeps/powerpc/powerpc32/power8 directory.
28659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
28660         search path to sysdeps/powerpc/powerpc64/power8 directory.
28661         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
28662         power7 directories.
28663         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
28664         power7 directories.
28666 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28668         * INSTALL: Regenerate.
28670         * nscd/connections.c (nscd_init): Fix comment.
28672 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
28674         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
28676         [BZ #15667]
28677         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
28678         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
28680 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
28682         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
28683         DL_DST_REQ_STATIC.
28684         (DL_DST_REQ_STATIC): Remove macro.
28686 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
28688         [BZ #7006]
28689         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
28690         with a shift of 0 bits.
28692 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
28694         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
28695         $(tststatic-ENV).
28697 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28699         [BZ #15655]
28700         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
28702 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28704         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
28705         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
28706         accepts -fno-tree-loop-distribute-patterns.
28707         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
28708         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
28709         recursive call.
28710         * string/memset.c (memset): Likewise.
28711         * string/test-memmove.c (simple_memmove): Disable loop transformation
28712         to library calls.
28713         * string/test-memset.c (simple_memset): Likewise.
28714         * benchtests/bench-memmove.c (simple_memmove): Likewise.
28715         * benchtests/bench-memset.c (simple_memset): Likewise.
28716         * configure: Regenerated.
28718 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
28720         * math/test-misc.c (main): Ignore fesetround failure when failures
28721         of subsequent rounding tests would be ignored.
28723         [BZ #15654]
28724         * math/fedisblxcpt.c (fedisableexcept): Return 0.
28725         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
28726         * math/fegetenv.c (__fegetenv): Return 0.
28727         * math/fegetexcept.c (fegetexcept): Return 0.
28728         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
28729         FE_TONEAREST.
28730         * math/feholdexcpt.c (feholdexcept): Return 0.
28731         * math/fesetenv.c (__fesetenv): Return 0.
28732         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
28733         argument FE_TONEAREST.
28734         * math/feupdateenv.c (__feupdateenv): Return 0.
28735         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
28737 2013-06-18  Roland McGrath  <roland@hack.frob.com>
28739         * elf/rtld-Rules (rtld-compile-command.S): New variable.
28740         (rtld-compile-command.s, rtld-compile-command.c): New variables.
28741         ($(objpfx)rtld-%.os rules): Use them.
28743 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28745         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
28746         fields.
28748 2013-06-17  Roland McGrath  <roland@hack.frob.com>
28750         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
28751         length of target pattern, then descending length of dependency pattern.
28752         * configure.in (AWK): Require gawk 3.1.2 or newer.
28753         * manual/install.texi (Tools for Compilation): Say that we do.
28754         * configure: Regenerated.
28756         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
28757         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
28758         * scripts/sysd-rules.awk: ... this new script.
28759         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
28760         than a glob-style pattern.
28762 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
28764         * math/test-misc.c (main): Do not treat incorrectly rounded
28765         conversions as failure unless ROUNDING_TESTS passes.
28767 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
28769         [BZ #15631]
28770         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
28771         restore exception state around main square root computation, then
28772         check for inexactness explicitly.
28774         * math/libm-test.inc (fma_test_data): Add another test.
28776 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28778         * manual/threads.texi (Non-POSIX Extensions): New document
28779         node.  Document pthread_getattr_default_np and
28780         pthread_setattr_default_np.
28782         * Versions.def (libpthread): Add GLIBC_2.18.
28783         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
28784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28785         Likewise.
28786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28787         Likewise.
28788         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28789         Likewise.
28790         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28791         Likewise.
28792         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
28793         Likewise.
28794         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28795         Likewise.
28796         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28797         Likewise.
28798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28799         Likewise.
28800         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28801         Likewise.
28803 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28805         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28806         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
28808 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28809             H.J. Lu  <hjl.tools@gmail.com>
28811         [BZ #15627]
28812         * sysdeps/x86_64/rtld-memset.c: Remove file.
28813         * sysdeps/x86_64/rtld-memset.S: New file.
28815 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
28817         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
28818         (test_in_one_mode): Take arguments for whether the rounding mode
28819         is supported for each floating-point type.
28820         (do_test): Pass new arguments to test_in_one_mode using
28821         ROUNDING_TESTS.
28823 2013-06-13  Roland McGrath  <roland@hack.frob.com>
28825         * posix/tst-waitid.c (do_test): Distinguish different instances of
28826         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
28827         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
28828         before entering the kernel for waitpid.
28830 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28832         * NEWS: Fix note on clock function precision.  Text by Roland
28833         McGrath.
28835 2013-06-13  Roland McGrath  <roland@hack.frob.com>
28837         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
28838         it into place only when and if the sanity check passes.
28840 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
28842         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
28843         output for whether conversion result is exact.  Take argument
28844         indicating whether type is IBM long double.
28845         (round_for_all): Change need_exact field to ibm_ld.
28846         * stdlib/tst-strtod-round.c (struct exactness): New type.
28847         (struct test): Change bool ld_ok field to struct exactness exact.
28848         (TEST): Update all definitions for change to field.
28849         (tests): Regenerate array contents.
28850         (test_in_one_mode): Take pointer to new field instead of old ld_ok
28851         field value.  Check for IBM long double here.
28852         (do_test): Update calls to test_in_one_mode.
28854 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28856         [BZ #12515]
28857         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
28858         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
28860 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28862         [BZ #15605]
28863         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
28864         generated by the compiler on loop optimizations.
28865         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
28866         general definitions.
28868 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
28870         * math/bug-nextafter.c: Include <math-tests.h>.
28871         (main): Only test for exceptions if EXCEPTION_TESTS is true for
28872         the relevant type.
28873         * math/bug-nexttoward.c: Include <math-tests.h>.
28874         (main): Only test for exceptions if EXCEPTION_TESTS is true for
28875         the relevant type.
28876         * math/test-misc.c: Include <math-tests.h>.
28877         (main): Only test for exceptions if EXCEPTION_TESTS is true for
28878         the relevant type.
28880 2013-06-12  Andreas Jaeger  <aj@suse.de>
28882         * po/ia.po: Update Interlingua translation from translation
28883         project.
28885 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28887         * include/fenv.h: Include stdbool.h.
28888         (struct rm_ctx): New structure.
28889         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
28890         Define macro.
28891         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
28892         (SET_RESTORE_ROUNDF): Likewise.
28893         (SET_RESTORE_ROUNDL): Likewise.
28894         (SET_RESTORE_ROUND_NOEX): Likewise.
28895         (SET_RESTORE_ROUND_NOEXF): Likewise.
28896         (SET_RESTORE_ROUND_NOEXL): Likewise.
28897         (SET_RESTORE_ROUND_53BIT): Likewise.
28898         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
28899         (libc_feresetround_noexf_ctx): Likewise.
28900         (libc_feresetround_noexl_ctx): Likewise.
28901         (libc_feholdsetround_53bit_ctx): Likewise.
28902         (libc_feresetround_53bit_ctx): Likewise.
28903         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
28904         (libc_feholdexcept_setround_sse_ctx): New function.
28905         (libc_fesetenv_sse_ctx): Likewise.
28906         (libc_feupdateenv_sse_ctx): Likewise.
28907         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
28908         (libc_feholdexcept_setround_387_ctx): Likewise.
28909         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
28910         (libc_feholdsetround_387_prec_ctx): Likewise.
28911         (libc_feholdsetround_387_ctx): Likewise.
28912         (libc_feholdsetround_387_53bit_ctx): Likewise.
28913         (libc_feholdsetround_sse_ctx): Likewise.
28914         (libc_feresetround_sse_ctx): Likewise.
28915         (libc_feresetround_387_ctx): Likewise.
28916         (libc_feupdateenv_387_ctx): Likewise.
28917         (libc_feholdexcept_setroundf_ctx): Define macro.
28918         (libc_fesetenvf_ctx): Likewise.
28919         (libc_feupdateenvf_ctx): Likewise.
28920         (libc_feholdsetroundf_ctx): Likewise.
28921         (libc_feresetroundf_ctx): Likewise.
28922         (libc_feholdexcept_setround_ctx): Likewise.
28923         (libc_fesetenv_ctx): Likewise.
28924         (libc_feupdateenv_ctx): Likewise.
28925         (libc_feholdsetround_ctx): Likewise.
28926         (libc_feresetround_ctx): Likewise.
28927         (libc_feholdexcept_setroundl_ctx): Likewise.
28928         (libc_feupdateenvl_ctx): Likewise.
28929         (libc_feholdsetroundl_ctx): Likewise.
28930         (libc_feresetroundl_ctx): Likewise.
28931         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
28932         (libc_feresetround_53bit_ctx): Likewise.
28934 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28936         * locale/iso-639.def: Convert to UTF-8.
28938 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
28940         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
28941         (EXCEPTION_TESTS_double): Likewise.
28942         (EXCEPTION_TESTS_long_double): Likewise.
28943         (EXCEPTION_TESTS): Likewise.
28944         * math/libm-test.inc (test_exceptions): Only test exceptions if
28945         EXCEPTION_TESTS (FLOAT).
28947 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28949         * benchtests/Makefile (string-bench): Add strcpy_chk and
28950         stpcpy_chk.
28951         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
28952         * benchtests/bench-stpcpy_chk.c: New file.
28953         * benchtests/bench-strcpy_chk-ifunc.c: New file.
28954         * benchtests/bench-strcpy_chk.c: New file.
28955         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
28956         code.
28957         (do_test): Likewise.
28959 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28961         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
28962         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
28963         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
28964         with tabs where appropriate.
28965         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
28966         dl-procinfo.h.
28967         [PPC_PLATFORM_PPC440]: Likewise.
28968         [PPC_PLATFORM_PPC464]: Likewise.
28969         [PPC_PLATFORM_PPC476]: Likewise.
28970         (_dl_string_platform): Add support for detecting ppc405, ppc440,
28971         ppc464, and ppc476 platform strings merging from ports/
28972         dl-procinfo.h.
28974 2013-06-11  Andreas Schwab  <schwab@suse.de>
28976         [BZ #14991]
28977         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
28978         (from_ucs4_idx): Regenerate.
28979         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
28980         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
28981         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
28982         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
28983         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
28984         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
28985         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
28986         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
28987         from FROM_LOOP and TO_LOOP specific macros.
28988         (BODY): Handle combining characters.
28989         * iconvdata/BIG5HKSCS.irreversible: Update.
28990         * iconvdata/BIG5HKSCS.precomposed: New file.
28991         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
28992         characters.
28993         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
28995 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28997         * include/sys/time.h: Fix indentation and add copyright header.
28999         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
29000         (do_test): Likewise.
29001         * string/test-memchr.c (do_one_test): Likewise.
29002         (do_test): Likewise.
29003         * string/test-memcmp.c (do_one_test): Likewise.
29004         (do_test): Likewise.
29005         * string/test-memcpy.c (do_one_test): Likewise.
29006         (do_test): Likewise.
29007         * string/test-memmem.c (do_one_test): Likewise.
29008         (do_test): Likewise.
29009         (do_random_tests): Likewise.
29010         * string/test-memmove.c (do_one_test): Likewise.
29011         (do_test): Likewise.
29012         * string/test-memset.c (do_one_test): Likewise.
29013         (do_test): Likewise.
29014         * string/test-rawmemchr.c (do_one_test): Likewise.
29015         (do_test): Likewise.
29016         * string/test-strcasecmp.c (do_one_test): Likewise.
29017         (do_test): Likewise.
29018         * string/test-strcasestr.c (do_one_test): Likewise.
29019         (do_test): Likewise.
29020         * string/test-strcat.c (do_one_test): Likewise.
29021         (do_test): Likewise.
29022         * string/test-strchr.c (do_one_test): Likewise.
29023         (do_test): Likewise.
29024         * string/test-strcmp.c (do_one_test): Likewise.
29025         (do_test): Likewise.
29026         * string/test-strcpy.c (do_one_test): Likewise.
29027         (do_test): Likewise.
29028         * string/test-string.h: Likewise.
29029         (test_init): Likewise.
29030         * string/test-strlen.c (do_one_test): Likewise.
29031         (do_test): Likewise.
29032         * string/test-strncasecmp.c (do_one_test): Likewise.
29033         (do_test): Likewise.
29034         * string/test-strncat.c (do_one_test): Likewise.
29035         (do_test): Likewise.
29036         * string/test-strncmp.c (do_one_test): Likewise.
29037         (do_test_limit): Likewise.
29038         (do_test): Likewise.
29039         * string/test-strncpy.c (do_one_test): Likewise.
29040         (do_test): Likewise.
29041         * string/test-strnlen.c (do_one_test): Likewise.
29042         (do_test): Likewise.
29043         * string/test-strpbrk.c (do_one_test): Likewise.
29044         (do_test): Likewise.
29045         * string/test-strrchr.c (do_one_test): Likewise.
29046         (do_test): Likewise.
29047         * string/test-strspn.c (do_one_test): Likewise.
29048         (do_test): Likewise.
29049         * string/test-strstr.c (do_one_test): Likewise.
29050         (do_test): Likewise.
29052         * benchtests/Makefile (string-bench): Add string benchmarks.
29053         * benchtests/bench-bcopy-ifunc.c: New file.
29054         * benchtests/bench-bcopy.c: New file.
29055         * benchtests/bench-bzero-ifunc.c: New file.
29056         * benchtests/bench-bzero.c: New file.
29057         * benchtests/bench-memccpy-ifunc.c: New file.
29058         * benchtests/bench-memccpy.c: New file.
29059         * benchtests/bench-memchr-ifunc.c: New file.
29060         * benchtests/bench-memchr.c: New file.
29061         * benchtests/bench-memcmp-ifunc.c: New file.
29062         * benchtests/bench-memcmp.c: New file.
29063         * benchtests/bench-memmem-ifunc.c: New file.
29064         * benchtests/bench-memmem.c: New file.
29065         * benchtests/bench-memmove-ifunc.c: New file.
29066         * benchtests/bench-memmove.c: New file.
29067         * benchtests/bench-mempcpy-ifunc.c: New file.
29068         * benchtests/bench-mempcpy.c: New file.
29069         * benchtests/bench-memset-ifunc.c: New file.
29070         * benchtests/bench-memset.c: New file.
29071         * benchtests/bench-rawmemchr-ifunc.c: New file.
29072         * benchtests/bench-rawmemchr.c: New file.
29073         * benchtests/bench-stpcpy-ifunc.c: New file.
29074         * benchtests/bench-stpcpy.c: New file.
29075         * benchtests/bench-stpncpy-ifunc.c: New file.
29076         * benchtests/bench-stpncpy.c: New file.
29077         * benchtests/bench-strcasecmp-ifunc.c: New file.
29078         * benchtests/bench-strcasecmp.c: New file.
29079         * benchtests/bench-strcasestr-ifunc.c: New file.
29080         * benchtests/bench-strcasestr.c: New file.
29081         * benchtests/bench-strcat-ifunc.c: New file.
29082         * benchtests/bench-strcat.c: New file.
29083         * benchtests/bench-strchr-ifunc.c: New file.
29084         * benchtests/bench-strchr.c: New file.
29085         * benchtests/bench-strchrnul-ifunc.c: New file.
29086         * benchtests/bench-strchrnul.c: New file.
29087         * benchtests/bench-strcmp-ifunc.c: New file.
29088         * benchtests/bench-strcmp.c: New file.
29089         * benchtests/bench-strcpy-ifunc.c: New file.
29090         * benchtests/bench-strcpy.c: New file.
29091         * benchtests/bench-strcspn-ifunc.c: New file.
29092         * benchtests/bench-strcspn.c: New file.
29093         * benchtests/bench-strlen-ifunc.c: New file.
29094         * benchtests/bench-strlen.c: New file.
29095         * benchtests/bench-strncasecmp-ifunc.c: New file.
29096         * benchtests/bench-strncasecmp.c: New file.
29097         * benchtests/bench-strncat-ifunc.c: New file.
29098         * benchtests/bench-strncat.c: New file.
29099         * benchtests/bench-strncmp-ifunc.c: New file.
29100         * benchtests/bench-strncmp.c: New file.
29101         * benchtests/bench-strncpy-ifunc.c: New file.
29102         * benchtests/bench-strncpy.c: New file.
29103         * benchtests/bench-strnlen-ifunc.c: New file.
29104         * benchtests/bench-strnlen.c: New file.
29105         * benchtests/bench-strpbrk-ifunc.c: New file.
29106         * benchtests/bench-strpbrk.c: New file.
29107         * benchtests/bench-strrchr-ifunc.c: New file.
29108         * benchtests/bench-strrchr.c: New file.
29109         * benchtests/bench-strspn-ifunc.c: New file.
29110         * benchtests/bench-strspn.c: New file.
29111         * benchtests/bench-strstr-ifunc.c: New file.
29112         * benchtests/bench-strstr.c: New file.
29114         * benchtests/Makefile: Disable parallel execution of targets.
29115         (string-bench): Add memcpy.
29116         (benchset): New variable to store a list of benchmark sets.
29117         (bench-func): Renamed from bench.
29118         (bench-set): New target.
29119         (bench): Depend on bench-func and bench-set.
29120         * benchtests/README: Add section on benchmark sets.
29121         * benchtests/bench-memcpy-ifunc.c: New file.
29122         * benchtests/bench-memcpy.c: New file.
29123         * benchtests/bench-string.h: New file.
29125 2013-06-11  Andreas Schwab  <schwab@suse.de>
29127         [BZ #15577]
29128         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
29129         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
29130         values in the triple.
29131         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
29132         terminator in the group key.
29134 2013-06-11  Andreas Jaeger  <aj@suse.de>
29136         * po/zh_TW.po: Update Chinese (traditional) translation from
29137         translation project.
29139 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29141         * include/time.h (__clock_gettime): Add libc_hidden_proto.
29142         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
29143         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
29144         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29145         (clock_getcpuclockid): Likewise.
29146         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
29147         Add weak_alias and libc_hidden_def.
29148         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
29149         * rt/clock_gettime.c (clock_gettime): Rename to
29150         __clock_gettime.  Add weak_alias and libc_hidden_def.
29151         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
29152         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
29153         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
29154         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
29155         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
29156         Likewise.
29157         * rt/clock_settime.c (clock_settime): Rename to
29158         __clock_settime.  Add weak_alias and libc_hidden_def.
29159         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
29161 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
29163         * mach/err_boot.sub: Remove trailing whitespace.
29164         * mach/err_ipc.sub: Likewise.
29165         * mach/err_mach.sub: Likewise.
29167         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
29168         (ROUNDING_TESTS_double): Likewise.
29169         (ROUNDING_TESTS_long_double): Likewise.
29170         (ROUNDING_TESTS): Likewise.
29171         * math/libm-test.inc: Include <math-tests.h>.
29172         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
29173         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29174         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29175         (IF_ROUND_INIT_FE_UPWARD): Likewise.
29177 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29179         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
29180         of assigning.
29182 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
29184         * sysdeps/gnu/errlist.awk: Do not generate space at end of
29185         otherwise empty TRANS lines.
29186         * sysdeps/gnu/errlist.c: Regenerated.
29188         * catgets/gencat.c (error_print): Use (void) in function
29189         definition.
29190         * crypt/crypt_util.c (__init_des): Likewise.
29191         * crypt/speeds.c (Stop): Likewise.
29192         (main): Likewise.
29193         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
29194         * inet/ruserpass.c (token): Likewise.
29195         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
29196         * intl/localealias.c (extend_alias_table): Likewise.
29197         * intl/plural-exp.c (init_germanic_plural): Likewise.
29198         * libio/fcloseall.c (__fcloseall): Likewise.
29199         * libio/genops.c (_IO_flush_all): Likewise.
29200         (_IO_flush_all_linebuffered): Likewise.
29201         (_IO_cleanup): Likewise.
29202         (_IO_iter_begin): Likewise.
29203         (_IO_iter_end): Likewise.
29204         (_IO_list_lock): Likewise.
29205         (_IO_list_unlock): Likewise.
29206         (_IO_list_resetlock): Likewise.
29207         * libio/getchar.c (getchar): Likewise.
29208         * libio/getchar_u.c (getchar_unlocked): Likewise.
29209         * libio/getwchar.c (getwchar): Likewise.
29210         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
29211         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
29212         * login/getpt.c (__getpt): Likewise.
29213         * login/tst-utmp.c (main): Likewise.
29214         * malloc/hooks.c (__malloc_check_init): Likewise.
29215         * malloc/malloc.c (__malloc_stats): Likewise.
29216         * malloc/mtrace.c (tr_break): Likewise.
29217         (mtrace): Likewise.
29218         (muntrace): Likewise.
29219         * misc/fstab.c (endfsent): Likewise.
29220         * misc/getclktck.c (__getclktck): Likewise.
29221         * misc/getdtsz.c (__getdtablesize): Likewise.
29222         * misc/gethostid.c (gethostid): Likewise.
29223         * misc/getpagesize.c (__getpagesize): Likewise.
29224         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
29225         (__get_nprocs): Likewise.
29226         (__get_phys_pages): Likewise.
29227         (__get_avphys_pages): Likewise.
29228         * misc/getttyent.c (getttyent): Likewise.
29229         (setttyent): Likewise.
29230         (endttyent): Likewise.
29231         * misc/getusershell.c (getusershell): Likewise.
29232         (endusershell): Likewise.
29233         (setusershell): Likewise.
29234         (initshells): Likewise.
29235         * misc/hsearch.c (__hdestroy): Likewise.
29236         * misc/sync.c (sync): Likewise.
29237         * misc/syslog.c (closelog_internal): Likewise.
29238         (closelog): Likewise.
29239         * misc/ttyslot.c (ttyslot): Likewise.
29240         * misc/vhangup.c (vhangup): Likewise.
29241         * posix/fork.c (__fork): Likewise.
29242         * posix/getegid.c (__getegid): Likewise.
29243         * posix/geteuid.c (__geteuid): Likewise.
29244         * posix/getgid.c (__getgid): Likewise.
29245         * posix/getpid.c (__getpid): Likewise.
29246         * posix/getppid.c (__getppid): Likewise.
29247         * posix/getuid.c (__getuid): Likewise.
29248         * posix/pause.c (pause): Likewise.
29249         * posix/setpgrp.c (setpgrp): Likewise.
29250         * posix/setsid.c (__setsid): Likewise.
29251         * posix/test-vfork.c (noop): Likewise.
29252         * resolv/gethnamaddr.c (_endhtent): Likewise.
29253         (_gethtent): Likewise.
29254         (ht_endhostent): Likewise.
29255         (gethostent): Likewise.
29256         (dns_service): Likewise.
29257         * stdlib/drand48.c (drand48): Likewise.
29258         * stdlib/lrand48.c (lrand48): Likewise.
29259         * stdlib/mrand48.c (mrand48): Likewise.
29260         * stdlib/rand.c (rand): Likewise.
29261         * stdlib/random.c (__random): Likewise.
29262         * stdlib/setenv.c (clearenv): Likewise.
29263         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
29264         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
29265         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
29266         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
29267         (__get_nprocs): Likewise.
29268         (__get_phys_pages): Likewise.
29269         (__get_avphys_pages): Likewise.
29270         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
29271         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
29272         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
29273         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
29274         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
29275         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
29276         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
29277         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
29278         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
29279         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
29280         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
29281         * sysdeps/mach/hurd/sync.c (sync): Likewise.
29282         * sysdeps/posix/clock.c (clock): Likewise.
29283         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
29284         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
29285         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
29286         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
29287         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
29288         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29289         (__get_nprocs_conf): Likewise.
29290         (__get_phys_pages): Likewise.
29291         (__get_avphys_pages): Likewise.
29292         * time/clock.c (clock): Likewise.
29293         * time/tzset.c (__tzname_max): Likewise.
29295 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
29297         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
29298         (__bswap_32): Do not use "register".
29299         * crypt/crypt.c (_ufc_doit_r): Likewise.
29300         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
29301         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
29302         * gmon/gmon.c (__monstartup): Likewise.
29303         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
29304         * hurd/hurdmalloc.c (more_memory): Likewise.
29305         (malloc): Likewise.
29306         (free): Likewise.
29307         (realloc): Likewise.
29308         (malloc_fork_prepare): Likewise.
29309         (malloc_fork_parent): Likewise.
29310         (malloc_fork_child): Likewise.
29311         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
29312         (_svcauth_des): Likewise.
29313         * inet/inet_lnaof.c (inet_lnaof): Likewise.
29314         * inet/inet_net.c (inet_network): Likewise.
29315         * inet/inet_netof.c (inet_netof): Likewise.
29316         * inet/rcmd.c (__validuser2_sa): Likewise.
29317         * io/fts.c (fts_open): Likewise.
29318         (fts_load): Likewise.
29319         (fts_close): Likewise.
29320         (fts_read): Likewise.
29321         (fts_children): Likewise.
29322         (fts_build): Likewise.
29323         (fts_stat): Likewise.
29324         (fts_sort): Likewise.
29325         (fts_alloc): Likewise.
29326         (fts_lfree): Likewise.
29327         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
29328         (_IO_file_xsgetn): Likewise.
29329         (_IO_file_xsgetn_mmap): Likewise.
29330         * libio/iofopncook.c (_IO_cookie_read): Likewise.
29331         (_IO_cookie_write): Likewise.
29332         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
29333         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
29334         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
29335         * malloc/obstack.c (_obstack_begin): Likewise.
29336         (_obstack_begin_1): Likewise.
29337         (_obstack_newchunk): Likewise.
29338         (_obstack_allocated_p): Likewise.
29339         (obstack_free): Likewise.
29340         (_obstack_memory_used): Likewise.
29341         * misc/getttyent.c (getttynam): Likewise.
29342         (getttyent): Likewise.
29343         (skip): Likewise.
29344         (value): Likewise.
29345         * misc/getusershell.c (initshells): Likewise.
29346         * misc/syslog.c (__vsyslog_chk): Likewise.
29347         * misc/ttyslot.c (ttyslot): Likewise.
29348         * nis/nis_hash.c (__nis_hash): Likewise.
29349         * posix/fnmatch_loop.c (FCT): Likewise.
29350         * posix/getconf.c (print_all): Likewise.
29351         (main): Likewise.
29352         * posix/getopt.c (exchange): Likewise.
29353         * posix/glob.c (globfree): Likewise.
29354         (prefix_array): Likewise.
29355         (__glob_pattern_type): Likewise.
29356         * resolv/arpa/nameser.h (NS_GET16): Likewise.
29357         (NS_GET32): Likewise.
29358         (NS_PUT16): Likewise.
29359         (NS_PUT32): Likewise.
29360         * resolv/gethnamaddr.c (getanswer): Likewise.
29361         (gethostbyname2): Likewise.
29362         (gethostbyaddr): Likewise.
29363         (_gethtent): Likewise.
29364         (_gethtbyname2): Likewise.
29365         (_gethtbyaddr): Likewise.
29366         * resolv/ns_print.c (dst_s_get_int16): Likewise.
29367         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
29368         * resolv/res_init.c (__res_vinit): Likewise.
29369         (net_mask): Likewise.
29370         * resolv/res_mkquery.c (outchar): Likewise.
29371         (PRINT): Likewise.
29372         * stdio-common/printf_fp.c (outchar): Likewise.
29373         (PRINT): Likewise.
29374         * stdio-common/printf_fphex.c (outchar): Likewise.
29375         (PRINT): Likewise.
29376         * stdio-common/printf_size.c (outchar): Likewise.
29377         (PRINT): Likewise.
29378         * stdio-common/test_rdwr.c (main): Likewise.
29379         * stdio-common/tfformat.c (matches): Likewise.
29380         * stdio-common/vfprintf.c (outchar): Likewise.
29381         (printf_unknown): Likewise.
29382         (buffered_vfprintf): Likewise.
29383         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
29384         * stdio-common/xbug.c (AppendToBuffer): Likewise.
29385         (ReadFile): Likewise.
29386         * stdlib/qsort.c (SWAP): Likewise.
29387         (_quicksort): Likewise.
29388         * stdlib/setenv.c (__add_to_environ): Likewise.
29389         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
29390         * stdlib/strtol_l.c (__strtol_l): Likewise.
29391         * stdlib/tst-strtod.c (main): Likewise.
29392         * stdlib/tst-strtol.c (main): Likewise.
29393         * stdlib/tst-strtoll.c (main): Likewise.
29394         * string/bits/string2.h (__strcmp_cc): Likewise.
29395         (__strcmp_cg): Likewise.
29396         (__strcspn_c1): Likewise.
29397         (__strcspn_c2): Likewise.
29398         (__strcspn_c3): Likewise.
29399         (__strspn_c1): Likewise.
29400         (__strspn_c2): Likewise.
29401         (__strspn_c3): Likewise.
29402         (__strsep_1c): Likewise.
29403         (__strsep_2c): Likewise.
29404         (__strsep_3c): Likewise.
29405         * string/memccpy.c (__memccpy): Likewise.
29406         * string/stpcpy.c (__stpcpy): Likewise.
29407         * string/strcmp.c (strcmp): Likewise.
29408         * string/strrchr.c (strrchr): Likewise.
29409         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
29410         Likewise.
29411         * sysdeps/mach/hurd/getcwd.c
29412         (_hurd_canonicalize_directory_name_internal): Likewise.
29413         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
29414         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
29415         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
29416         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
29417         Likewise, in both definitions.
29418         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
29419         definitions.
29420         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
29421         64] (__bswap_64): Likewise.
29422         * time/test_time.c (main): Likewise.
29423         * time/tzfile.c (__tzfile_read): Likewise.
29424         (__tzfile_compute): Likewise.
29425         * time/tzset.c (__tzset_parse_tz): Likewise.
29426         (tzset_internal): Likewise.
29427         (compute_change): Likewise.
29428         * wcsmbs/wcscat.c (__wcscat): Likewise.
29429         * wcsmbs/wcschr.c (wcschr): Likewise.
29430         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29431         * wcsmbs/wcscspn.c (wcscspn): Likewise.
29432         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29433         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
29434         * wcsmbs/wcsspn.c (wcsspn): Likewise.
29435         * wcsmbs/wcsstr.c (wcsstr): Likewise.
29436         * wcsmbs/wmemchr.c (wmemchr): Likewise.
29437         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29438         * wcsmbs/wmemset.c (wmemset): Likewise.
29440 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
29442         * scripts/config.guess: Update to version 2013-05-16.
29443         * scripts/config.sub: Update to version 2013-04-24.
29444         * scripts/install-sh: Update to version 2011-11-20.07.
29445         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
29446         * scripts/move-if-change: Update to version 2012-01-06 07:23.
29448 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
29450         * debug/fgetws_u_chk.c: Fix leading whitespaces.
29451         * elf/sln.c: Likewise.
29452         * hurd/hurd/ioctl.h: Likewise.
29453         * hurd/hurdmalloc.c: Likewise.
29454         * hurd/xattr.c: Likewise.
29455         * include/shlib-compat.h: Likewise.
29456         * inet/ruserpass.c: Likewise.
29457         * libio/iofgets_u.c: Likewise.
29458         * libio/iofgetws_u.c: Likewise.
29459         * locale/programs/ld-identification.c: Likewise.
29460         * locale/programs/ld-time.c: Likewise.
29461         * mach/msg-destroy.c: Likewise.
29462         * nss/nss_files/files-netgrp.c: Likewise.
29463         * resolv/res_data.c: Likewise.
29464         * soft-fp/op-1.h: Likewise.
29465         * soft-fp/op-2.h: Likewise.
29466         * soft-fp/op-4.h: Likewise.
29467         * soft-fp/op-common.h: Likewise.
29468         * stdio-common/printf_fphex.c: Likewise.
29469         * stdlib/strtod_l.c: Likewise.
29470         * sunrpc/rpc/clnt.h: Likewise.
29471         * sysdeps/generic/framestate.c: Likewise.
29472         * sysdeps/i386/bsd-_setjmp.S: Likewise.
29473         * sysdeps/i386/bsd-setjmp.S: Likewise.
29474         * sysdeps/i386/__longjmp.S: Likewise.
29475         * sysdeps/i386/setjmp.S: Likewise.
29476         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29477         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29478         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29479         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29480         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29481         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29482         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29483         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29484         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29485         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29486         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29487         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29488         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29489         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29490         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29491         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29492         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29493         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
29494         * sysdeps/ieee754/support.c: Likewise.
29495         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29496         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
29497         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
29498         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
29499         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
29500         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
29501         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
29502         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
29503         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
29504         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
29505         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
29506         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
29507         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
29508         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
29509         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
29510         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
29511         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29514 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
29516         * posix/transbug.c: Remove executable mode.
29518 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
29520         * crypt/speeds.c: Remove trailing whitespace.
29521         * dlfcn/default.c: Likewise.
29522         * elf/ifuncdep2.c: Likewise.
29523         * elf/ifuncmain1.c: Likewise.
29524         * elf/ifuncmain1vis.c: Likewise.
29525         * elf/testobj.h: Likewise.
29526         * elf/tst-stackguard1.c: Likewise.
29527         * gmon/sys/gmon.h: Likewise.
29528         * hurd/hurdmsg.c: Likewise.
29529         * hurd/new-fd.c: Likewise.
29530         * hurd/ports-get.c: Likewise.
29531         * iconvdata/ibm1008_420.c: Likewise.
29532         * inet/tst-getni1.c: Likewise.
29533         * inet/tst-getni2.c: Likewise.
29534         * libio/ioungetc.c: Likewise.
29535         * libio/wfiledoalloc.c: Likewise.
29536         * manual/libm-err-tab.pl: Likewise.
29537         * math/w_dremf.c: Likewise.
29538         * misc/ftruncate.c: Likewise.
29539         * posix/bug-glob2.c: Likewise.
29540         * posix/tst-pcre.c: Likewise.
29541         * posix/wait4.c: Likewise.
29542         * resolv/README: Likewise.
29543         * resolv/res_debug.h: Likewise.
29544         * resolv/tst-inet_ntop.c: Likewise.
29545         * setjmp/bug269-setjmp.c: Likewise.
29546         * soft-fp/extended.h: 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-8.h: Likewise.
29551         * soft-fp/testit.c: Likewise.
29552         * stdio-common/bug16.c: Likewise.
29553         * stdlib/random.c: Likewise.
29554         * sunrpc/rpcsvc/rquota.x: Likewise.
29555         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
29556         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29557         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29558         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29559         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29560         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29561         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29562         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29563         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29564         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29565         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29566         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29567         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29568         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29569         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29570         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29571         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29572         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29573         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29574         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29575         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29576         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29577         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
29578         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29579         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29580         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29581         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29582         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29583         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29584         * sysdeps/ieee754/s_lib_version.c: Likewise.
29585         * sysdeps/mach/hurd/check_fds.c: Likewise.
29586         * sysdeps/mach/hurd/getsockname.c: Likewise.
29587         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
29588         * sysdeps/mach/hurd/recvfrom.c: Likewise.
29589         * sysdeps/powerpc/bits/link.h: Likewise.
29590         * sysdeps/powerpc/dl-procinfo.c: Likewise.
29591         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
29592         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
29593         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
29594         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29595         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29596         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
29597         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29598         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
29599         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29600         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
29601         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29602         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
29603         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29604         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29605         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29606         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29607         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29608         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29609         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29610         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29611         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
29612         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29613         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29614         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
29615         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29616         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29617         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29618         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29619         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29620         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29621         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29622         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29623         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29624         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
29625         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29626         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
29627         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29628         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
29629         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
29630         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
29631         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
29632         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
29633         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
29634         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29635         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
29636         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
29637         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29638         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
29639         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
29640         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29641         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29642         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29643         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29644         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
29645         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
29646         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
29647         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29648         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
29649         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
29650         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
29651         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
29652         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
29653         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29654         * sysdeps/powerpc/sysdep.h: Likewise.
29655         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29656         * sysdeps/s390/s390-64/sub_n.S: Likewise.
29657         * sysdeps/sh/dl-trampoline.S: Likewise.
29658         * sysdeps/sh/memset.S: Likewise.
29659         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
29660         * sysdeps/sh/strlen.S: Likewise.
29661         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
29662         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
29663         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
29664         * sysdeps/sparc/sparc32/rem.S: Likewise.
29665         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
29666         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
29667         * sysdeps/sparc/sparc32/strchr.S: Likewise.
29668         * sysdeps/sparc/sparc32/udiv.S: Likewise.
29669         * sysdeps/sparc/sparc32/urem.S: Likewise.
29670         * sysdeps/sparc/sparc64/add_n.S: Likewise.
29671         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29672         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
29673         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
29674         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
29675         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
29676         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
29677         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
29678         * sysdeps/unix/bsd/times.c: Likewise.
29679         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
29680         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
29681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
29684         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
29685         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29686         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
29687         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
29688         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
29689         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
29690         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29691         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
29692         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29693         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29694         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
29695         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29696         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
29697         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
29698         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
29699         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
29700         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
29701         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29702         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
29703         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
29704         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
29705         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
29706         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29707         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
29708         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
29709         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
29710         * sysdeps/x86_64/strcspn.S: Likewise.
29712 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29714         * locale/C-translit.h: Revert #include <stdint.h> because this is a
29715         generated file.  Regenerate properly from gen-translit.pl.
29716         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
29717         locale/C-translit.h.
29719 2013-06-05  Andreas Schwab  <schwab@suse.de>
29721         [BZ #15100]
29722         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
29723         week as 6 instead of -1.
29724         * time/tst-strptime.c (day_tests): Add test case.
29726 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29728         * sysdeps/generic/math_private.h
29729         (libc_feholdexcept_setround_53bit): Replace with
29730         libc_feholdsetround_53bit.
29731         (libc_feupdateenv_53bit): Replace with
29732         libc_feresetround_53bit.
29733         (SET_RESTORE_ROUND_53BIT): Adjust.
29735 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
29737         * string/test-strchrnul.c: Add copyright header.
29739         * posix/tst-getaddrinfo4.c: Increase test timeout.
29741 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
29743         [BZ #15536]
29744         * math/libm-test.inc (MAX_EXP): Remove
29745         (MIN_EXP): Define.
29746         (ulp): Use MIN_EXP - MANT_DIG.
29747         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
29749 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
29751         * po/be.po: Revert last change.
29752         * po/zh_CN.po: Likewise.
29753         * po/header.pot: Likewise.
29755 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
29757         * Makefile ($(common-objpfx)linkobj/libc.so): Define
29758         link-libc-deps to empty as target-specific variable.
29759         * Makerules (link-libc-args): New variable.
29760         (libc-for-link): Likewise.
29761         (link-libc-deps): Likewise.
29762         (lib%.so): Depend on $(link-libc-deps).  Link with
29763         $(link-libc-args).
29764         (build-module): Link with $(link-libc-args).
29765         (build-module-asneeded): Likewise.
29766         (build-module-helper-objlist): Filter out $(link-libc-deps) from
29767         list of objects.
29768         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
29769         target-specific variable.
29770         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
29771         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
29772         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
29773         libc.
29774         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
29775         libc and ld.so.
29776         ($(objpfx)libpcprofile.so): Likewise.
29777         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
29778         libc_nonshared.a.
29779         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
29780         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
29781         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
29782         $(link-libc-deps).
29783         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
29784         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
29785         * login/Makefile ($(objpfx)libutil.so): Likewise.
29786         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
29787         * math/Makefile ($(objpfx)libm.so): Likewise.
29788         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
29789         $(objpfx)libnsl.so): Define libc-for-link as target-specific
29790         variable instead of depending directly on libc.
29791         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
29792         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
29793         $(link-libc-deps).
29794         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
29795         libc.
29796         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
29797         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
29798         ($(objpfx)libanl.so): Likewise.
29799         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
29800         ld.so.
29801         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
29802         $(link-libc-deps).
29803         * sysdeps/i386/fpu/Makefile: Remove file.
29804         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
29805         ($(objpfx)libm.so): Remove dependency on ld.so.
29807 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
29809         [BZ # 15553]
29810         * nis/yp_xdr.c (XDRMAXNAME): Define.
29811         (XDRMAXRECORD): Define.
29812         (xdr_domainname): Use XDRMAXNAME.
29813         (xdr_mapname): Likewise.
29814         (xdr_peername): Likewise.
29815         (xdr_keydat): Use XDRMAXRECORD.
29816         (xdr_valdat): Likewise.
29818 2013-05-30  Jeff Law  <law@redhat.com>
29820         [BZ #14256]
29821         * manual/errno.texi (ESTALE): Update to account for more than
29822         just NFS file systems.
29823         * sysdeps/gnu/errlist.c: Regenerated.
29825 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29827         [BZ #15465]
29828         * elf/Makefile (tests): Add tst-null-argv.
29829         (modules-names):  Add tst-null-argv-lib.
29830         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
29831         (tst-null-argv-ENV): Set environment for tst-null-argv.
29832         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
29833         (RTLD_PROGNAME): New macro.
29834         * elf/tst-null-argv.c: New test case.
29835         * elf/tst-null-argv-lib.c: Library for test case.
29836         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
29837         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
29838         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
29839         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
29840         * elf/dl-init.c (call_init): Likewise.
29841         (_dl_init): Likewise.
29842         * elf/dl-load.c (print_search_path): Likewise.
29843         (_dl_map_object): Likewise.
29844         * elf/dl-lookup.c (do_lookup_x): Likewise.
29845         (add_dependency): Likewise.
29846         (_dl_lookup_symbol_x): Likewise.
29847         (_dl_debug_bindings): Likewise.
29848         * elf/dl-open.c (_dl_show_scope): Likewise.
29849         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29850         * elf/dl-version.c (match_symbol): Likewise.
29851         (_dl_check_map_versions): Likewise.
29852         * elf/rtld.c (dl_main): Likewise.
29853         (print_unresolved): Use RTLD_PROGNAME.
29854         (print_missing_version): Likewise.
29855         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
29856         (elf_machine_rela): Likewise.
29857         * sysdeps/powerpc/powerpc32/dl-machine.c
29858         (__process_machine_rela): Likewise.
29859         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29860         Likewise.
29861         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29862         Likewise.
29863         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29864         Likewise.
29865         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29866         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
29867         Likewise.
29868         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
29869         Likewise.
29870         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29872 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
29874         * po/be.po: Add descriptive title.
29875         * po/zh_CN.po: Likewise.
29876         * po/header.pot: Likewise.
29878 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
29880         * locale/programs/locarchive.c (create_archive): Inlucde fname in
29881         error message.
29882         (enlarge_archive): Likewise.
29884 2013-05-28  Ben North  <ben@redfrontdoor.org>
29886         * manual/arith.texi (frexp): It is the magnitude of the return
29887         value which lies in [0.5, 1), not the return value itself.
29889 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29891         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29893 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
29895         * stdio-common/bug26.c (main): Correct fscanf template.
29897         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
29898         declare _dl_skip_args.
29900         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
29901         Don't declare.
29903         * manual/platform.texi: Add missing @end deftypefun.
29905 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
29907         [BZ #15529]
29908         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
29909         bit of mantissa of 2^16382.
29910         * math/libm-test.inc (hypot_test_data): Add more tests.
29912         * math/libm-test.inc: Add drem and pow10 to list of tested
29913         functions.
29914         (pow10_test): New function.
29915         (drem_test): Likewise.
29916         (drem_test_tonearest): Likewise.
29917         (drem_test_towardzero): Likewise.
29918         (drem_test_downward): Likewise.
29919         (drem_test_upward): Likewise.
29920         (main): Call the new functions.
29922         * math/libm-test.inc (finite_test_data): Remove.
29923         (finite_test): Run tests from isfinite_test_data.
29924         (gamma_test_data): Remove.
29925         (gamma_test): Run tests from lgamma_test_data.
29926         * sysdeps/i386/fpu/libm-test-ulps: Update.
29927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29929 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29931         * manual/platform.texi: Add PowerPC PPR function set documentation.
29932         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
29933         implementation.
29935 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
29937         * math/libm-test.inc (MAX_EXP): Define.
29938         (ULPDIFF): Define.
29939         (ulp): New function.
29940         (check_float_internal): Use ULPDIFF.
29941         (cpow_test): Disable failing test.
29942         (check_ulp): Test ulp() implemetnation.
29943         (main): Call check_ulp before starting tests.
29945 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
29947         * math/gen-libm-test.pl (generate_testfile): Do not handle
29948         START_DATA and END_DATA.
29949         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
29950         END_DATA.
29951         (acos_tonearest_test_data): Likewise.
29952         (acos_towardzero_test_data): Likewise.
29953         (acos_downward_test_data): Likewise.
29954         (acos_upward_test_data): Likewise.
29955         (acosh_test_data): Likewise.
29956         (asin_test_data): Likewise.
29957         (asin_tonearest_test_data): Likewise.
29958         (asin_towardzero_test_data): Likewise.
29959         (asin_downward_test_data): Likewise.
29960         (asin_upward_test_data): Likewise.
29961         (asinh_test_data): Likewise.
29962         (atan_test_data): Likewise.
29963         (atanh_test_data): Likewise.
29964         (atan2_test_data): Likewise.
29965         (cabs_test_data): Likewise.
29966         (cacos_test_data): Likewise.
29967         (cacosh_test_data): Likewise.
29968         (carg_test_data): Likewise.
29969         (casin_test_data): Likewise.
29970         (casinh_test_data): Likewise.
29971         (catan_test_data): Likewise.
29972         (catanh_test_data): Likewise.
29973         (cbrt_test_data): Likewise.
29974         (ccos_test_data): Likewise.
29975         (ccosh_test_data): Likewise.
29976         (ceil_test_data): Likewise.
29977         (cexp_test_data): Likewise.
29978         (cimag_test_data): Likewise.
29979         (clog_test_data): Likewise.
29980         (clog10_test_data): Likewise.
29981         (conj_test_data): Likewise.
29982         (copysign_test_data): Likewise.
29983         (cos_test_data): Likewise.
29984         (cos_tonearest_test_data): Likewise.
29985         (cos_towardzero_test_data): Likewise.
29986         (cos_downward_test_data): Likewise.
29987         (cos_upward_test_data): Likewise.
29988         (cosh_test_data): Likewise.
29989         (cosh_tonearest_test_data): Likewise.
29990         (cosh_towardzero_test_data): Likewise.
29991         (cosh_downward_test_data): Likewise.
29992         (cosh_upward_test_data): Likewise.
29993         (cpow_test_data): Likewise.
29994         (cproj_test_data): Likewise.
29995         (creal_test_data): Likewise.
29996         (csin_test_data): Likewise.
29997         (csinh_test_data): Likewise.
29998         (csqrt_test_data): Likewise.
29999         (ctan_test_data): Likewise.
30000         (ctan_tonearest_test_data): Likewise.
30001         (ctan_towardzero_test_data): Likewise.
30002         (ctan_downward_test_data): Likewise.
30003         (ctan_upward_test_data): Likewise.
30004         (ctanh_test_data): Likewise.
30005         (ctanh_tonearest_test_data): Likewise.
30006         (ctanh_towardzero_test_data): Likewise.
30007         (ctanh_downward_test_data): Likewise.
30008         (ctanh_upward_test_data): Likewise.
30009         (erf_test_data): Likewise.
30010         (erfc_test_data): Likewise.
30011         (exp_test_data): Likewise.
30012         (exp_tonearest_test_data): Likewise.
30013         (exp_towardzero_test_data): Likewise.
30014         (exp_downward_test_data): Likewise.
30015         (exp_upward_test_data): Likewise.
30016         (exp10_test_data): Likewise.
30017         (exp2_test_data): Likewise.
30018         (expm1_test_data): Likewise.
30019         (fabs_test_data): Likewise.
30020         (fdim_test_data): Likewise.
30021         (finite_test_data): Likewise.
30022         (floor_test_data): Likewise.
30023         (fma_test_data): Likewise.
30024         (fma_towardzero_test_data): Likewise.
30025         (fma_downward_test_data): Likewise.
30026         (fma_upward_test_data): Likewise.
30027         (fmax_test_data): Likewise.
30028         (fmin_test_data): Likewise.
30029         (fmod_test_data): Likewise.
30030         (fpclassify_test_data): Likewise.
30031         (frexp_test_data): Likewise.
30032         (gamma_test_data): Likewise.
30033         (hypot_test_data): Likewise.
30034         (ilogb_test_data): Likewise.
30035         (isfinite_test_data): Likewise.
30036         (isgreater_test_data): Likewise.
30037         (isgreaterequal_test_data): Likewise.
30038         (isinf_test_data): Likewise.
30039         (isless_test_data): Likewise.
30040         (islessequal_test_data): Likewise.
30041         (islessgreater_test_data): Likewise.
30042         (isnan_test_data): Likewise.
30043         (isnormal_test_data): Likewise.
30044         (issignaling_test_data): Likewise.
30045         (isunordered_test_data): Likewise.
30046         (j0_test_data): Likewise.
30047         (j1_test_data): Likewise.
30048         (jn_test_data): Likewise.
30049         (ldexp_test_data): Likewise.
30050         (lgamma_test_data): Likewise.
30051         (lrint_test_data): Likewise.
30052         (lrint_tonearest_test_data): Likewise.
30053         (lrint_towardzero_test_data): Likewise.
30054         (lrint_downward_test_data): Likewise.
30055         (lrint_upward_test_data): Likewise.
30056         (llrint_test_data): Likewise.
30057         (llrint_tonearest_test_data): Likewise.
30058         (llrint_towardzero_test_data): Likewise.
30059         (llrint_downward_test_data): Likewise.
30060         (llrint_upward_test_data): Likewise.
30061         (log_test_data): Likewise.
30062         (log10_test_data): Likewise.
30063         (log1p_test_data): Likewise.
30064         (log2_test_data): Likewise.
30065         (logb_test_data): Likewise.
30066         (logb_downward_test_data): Likewise.
30067         (lround_test_data): Likewise.
30068         (llround_test_data): Likewise.
30069         (modf_test_data): Likewise.
30070         (nearbyint_test_data): Likewise.
30071         (nextafter_test_data): Likewise.
30072         (nexttoward_test_data): Likewise.
30073         (pow_test_data): Likewise.
30074         (pow_tonearest_test_data): Likewise.
30075         (pow_towardzero_test_data): Likewise.
30076         (pow_downward_test_data): Likewise.
30077         (pow_upward_test_data): Likewise.
30078         (remainder_test_data): Likewise.
30079         (remainder_tonearest_test_data): Likewise.
30080         (remainder_towardzero_test_data): Likewise.
30081         (remainder_downward_test_data): Likewise.
30082         (remainder_upward_test_data): Likewise.
30083         (remquo_test_data): Likewise.
30084         (rint_test_data): Likewise.
30085         (rint_tonearest_test_data): Likewise.
30086         (rint_towardzero_test_data): Likewise.
30087         (rint_downward_test_data): Likewise.
30088         (rint_upward_test_data): Likewise.
30089         (round_test_data): Likewise.
30090         (scalb_test_data): Likewise.
30091         (scalbn_test_data): Likewise.
30092         (scalbln_test_data): Likewise.
30093         (signbit_test_data): Likewise.
30094         (sin_test_data): Likewise.
30095         (sin_tonearest_test_data): Likewise.
30096         (sin_towardzero_test_data): Likewise.
30097         (sin_downward_test_data): Likewise.
30098         (sin_upward_test_data): Likewise.
30099         (sincos_test_data): Likewise.
30100         (sinh_test_data): Likewise.
30101         (sinh_tonearest_test_data): Likewise.
30102         (sinh_towardzero_test_data): Likewise.
30103         (sinh_downward_test_data): Likewise.
30104         (sinh_upward_test_data): Likewise.
30105         (sqrt_test_data): Likewise.
30106         (tan_test_data): Likewise.
30107         (tan_tonearest_test_data): Likewise.
30108         (tan_towardzero_test_data): Likewise.
30109         (tan_downward_test_data): Likewise.
30110         (tan_upward_test_data): Likewise.
30111         (tanh_test_data): Likewise.
30112         (tgamma_test_data): Likewise.
30113         (trunc_test_data): Likewise.
30114         (y0_test_data): Likewise.
30115         (y1_test_data): Likewise.
30116         (yn_test_data): Likewise.
30117         (significand_test_data): Likewise.
30119         * math/gen-libm-test.pl (@functions): Remove variable.
30120         (generate_testfile): Don't handle START and END lines.
30121         * math/libm-test.inc (START): New macro.
30122         (END): Likewise.
30123         (END_COMPLEX): Likewise.
30124         (acos_test): Use END macro without arguments.
30125         (acos_test_tonearest): Likewise.
30126         (acos_test_towardzero): Likewise.
30127         (acos_test_downward): Likewise.
30128         (acos_test_upward): Likewise.
30129         (acosh_test): Likewise.
30130         (asin_test): Likewise.
30131         (asin_test_tonearest): Likewise.
30132         (asin_test_towardzero): Likewise.
30133         (asin_test_downward): Likewise.
30134         (asin_test_upward): Likewise.
30135         (asinh_test): Likewise.
30136         (atan_test): Likewise.
30137         (atanh_test): Likewise.
30138         (atan2_test): Likewise.
30139         (cabs_test): Likewise.
30140         (cacos_test): Use END_COMPLEX macro without arguments.
30141         (cacosh_test): Likewise.
30142         (carg_test): Use END macro without arguments.
30143         (casin_test): Use END_COMPLEX macro without arguments.
30144         (casinh_test): Likewise.
30145         (catan_test): Likewise.
30146         (catanh_test): Likewise.
30147         (cbrt_test): Use END macro without arguments.
30148         (ccos_test): Use END_COMPLEX macro without arguments.
30149         (ccosh_test): Likewise.
30150         (ceil_test): Use END macro without arguments.
30151         (cexp_test): Use END_COMPLEX macro without arguments.
30152         (cimag_test): Use END macro without arguments.
30153         (clog_test): Use END_COMPLEX macro without arguments.
30154         (clog10_test): Likewise.
30155         (conj_test): Likewise.
30156         (copysign_test): Use END macro without arguments.
30157         (cos_test): Likewise.
30158         (cos_test_tonearest): Likewise.
30159         (cos_test_towardzero): Likewise.
30160         (cos_test_downward): Likewise.
30161         (cos_test_upward): Likewise.
30162         (cosh_test): Likewise.
30163         (cosh_test_tonearest): Likewise.
30164         (cosh_test_towardzero): Likewise.
30165         (cosh_test_downward): Likewise.
30166         (cosh_test_upward): Likewise.
30167         (cpow_test): Use END_COMPLEX macro without arguments.
30168         (cproj_test): Likewise.
30169         (creal_test): Use END macro without arguments.
30170         (csin_test): Use END_COMPLEX macro without arguments.
30171         (csinh_test): Likewise.
30172         (csqrt_test): Likewise.
30173         (ctan_test): Likewise.
30174         (ctan_test_tonearest): Likewise.
30175         (ctan_test_towardzero): Likewise.
30176         (ctan_test_downward): Likewise.
30177         (ctan_test_upward): Likewise.
30178         (ctanh_test): Likewise.
30179         (ctanh_test_tonearest): Likewise.
30180         (ctanh_test_towardzero): Likewise.
30181         (ctanh_test_downward): Likewise.
30182         (ctanh_test_upward): Likewise.
30183         (erf_test): Use END macro without arguments.
30184         (erfc_test): Likewise.
30185         (exp_test): Likewise.
30186         (exp_test_tonearest): Likewise.
30187         (exp_test_towardzero): Likewise.
30188         (exp_test_downward): Likewise.
30189         (exp_test_upward): Likewise.
30190         (exp10_test): Likewise.
30191         (exp2_test): Likewise.
30192         (expm1_test): Likewise.
30193         (fabs_test): Likewise.
30194         (fdim_test): Likewise.
30195         (finite_test): Likewise.
30196         (floor_test): Likewise.
30197         (fma_test): Likewise.
30198         (fma_test_towardzero): Likewise.
30199         (fma_test_downward): Likewise.
30200         (fma_test_upward): Likewise.
30201         (fmax_test): Likewise.
30202         (fmin_test): Likewise.
30203         (fmod_test): Likewise.
30204         (fpclassify_test): Likewise.
30205         (frexp_test): Likewise.
30206         (gamma_test): Likewise.
30207         (hypot_test): Likewise.
30208         (ilogb_test): Likewise.
30209         (isfinite_test): Likewise.
30210         (isgreater_test): Likewise.
30211         (isgreaterequal_test): Likewise.
30212         (isinf_test): Likewise.
30213         (isless_test): Likewise.
30214         (islessequal_test): Likewise.
30215         (islessgreater_test): Likewise.
30216         (isnan_test): Likewise.
30217         (isnormal_test): Likewise.
30218         (issignaling_test): Likewise.
30219         (isunordered_test): Likewise.
30220         (j0_test): Likewise.
30221         (j1_test): Likewise.
30222         (jn_test): Likewise.
30223         (ldexp_test): Likewise.
30224         (lgamma_test): Likewise.
30225         (lrint_test): Likewise.
30226         (lrint_test_tonearest): Likewise.
30227         (lrint_test_towardzero): Likewise.
30228         (lrint_test_downward): Likewise.
30229         (lrint_test_upward): Likewise.
30230         (llrint_test): Likewise.
30231         (llrint_test_tonearest): Likewise.
30232         (llrint_test_towardzero): Likewise.
30233         (llrint_test_downward): Likewise.
30234         (llrint_test_upward): Likewise.
30235         (log_test): Likewise.
30236         (log10_test): Likewise.
30237         (log1p_test): Likewise.
30238         (log2_test): Likewise.
30239         (logb_test): Likewise.
30240         (logb_test_downward): Likewise.
30241         (lround_test): Likewise.
30242         (llround_test): Likewise.
30243         (modf_test): Likewise.
30244         (nearbyint_test): Likewise.
30245         (nextafter_test): Likewise.
30246         (nexttoward_test): Likewise.
30247         (pow_test): Likewise.
30248         (pow_test_tonearest): Likewise.
30249         (pow_test_towardzero): Likewise.
30250         (pow_test_downward): Likewise.
30251         (pow_test_upward): Likewise.
30252         (remainder_test): Likewise.
30253         (remainder_test_tonearest): Likewise.
30254         (remainder_test_towardzero): Likewise.
30255         (remainder_test_downward): Likewise.
30256         (remainder_test_upward): Likewise.
30257         (remquo_test): Likewise.
30258         (rint_test): Likewise.
30259         (rint_test_tonearest): Likewise.
30260         (rint_test_towardzero): Likewise.
30261         (rint_test_downward): Likewise.
30262         (rint_test_upward): Likewise.
30263         (round_test): Likewise.
30264         (scalb_test): Likewise.
30265         (scalbn_test): Likewise.
30266         (scalbln_test): Likewise.
30267         (signbit_test): Likewise.
30268         (sin_test): Likewise.
30269         (sin_test_tonearest): Likewise.
30270         (sin_test_towardzero): Likewise.
30271         (sin_test_downward): Likewise.
30272         (sin_test_upward): Likewise.
30273         (sincos_test): Likewise.
30274         (sinh_test): Likewise.
30275         (sinh_test_tonearest): Likewise.
30276         (sinh_test_towardzero): Likewise.
30277         (sinh_test_downward): Likewise.
30278         (sinh_test_upward): Likewise.
30279         (sqrt_test): Likewise.
30280         (tan_test): Likewise.
30281         (tan_test_tonearest): Likewise.
30282         (tan_test_towardzero): Likewise.
30283         (tan_test_downward): Likewise.
30284         (tan_test_upward): Likewise.
30285         (tanh_test): Likewise.
30286         (tgamma_test): Likewise.
30287         (trunc_test): Likewise.
30288         (y0_test): Likewise.
30289         (y1_test): Likewise.
30290         (yn_test): Likewise.
30291         (significand_test): Likewise.
30293 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
30295         [BZ #15381]
30296         * libio/genops.c (_IO_no_init): Initialize wide struct info.
30298 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
30300         [BZ #14894]
30301         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
30302         __ppc_mdoio and __ppc_mdoom.
30303         * manual/platform.texi: Document new functions __ppc_yield,
30304         __ppc_mdoio and __ppc_mdoom.
30306 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
30308         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
30309         (main): Mention "tls" pseudo-hwcap is legacy.
30310         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
30312 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
30314         * math/gen-libm-test.pl (parse_args): Output only string of
30315         arguments as text for test name, not full call or descriptions of
30316         tests for extra outputs.
30317         (generate_testfile): Do not pass function name to parse_args.
30318         Generate this_func variable from START.
30319         * math/libm-test.inc (struct test_f_f_data): Rename test_name
30320         field to arg_str.
30321         (struct test_ff_f_data): Likewise.
30322         (test_ff_f_data_nexttoward): Likewise.
30323         (struct test_fi_f_data): Likewise.
30324         (struct test_fl_f_data): Likewise.
30325         (struct test_if_f_data): Likewise.
30326         (struct test_fff_f_data): Likewise.
30327         (struct test_c_f_data): Likewise.
30328         (struct test_f_f1_data): Likewise.  Remove field extra_name.
30329         (struct test_fF_f1_data): Likewise.
30330         (struct test_ffI_f1_data): Likewise.
30331         (struct test_c_c_data): Rename test_name field to arg_str.
30332         (struct test_cc_c_data): Likewise.
30333         (struct test_f_i_data): Likewise.
30334         (struct test_ff_i_data): Likewise.
30335         (struct test_f_l_data): Likewise.
30336         (struct test_f_L_data): Likewise.
30337         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
30338         and extra2_name.
30339         (COMMON_TEST_SETUP): New macro.
30340         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
30341         (COMMON_TEST_CLEANUP): Likewise.
30342         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
30343         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
30344         macros.
30345         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
30346         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
30347         macros.
30348         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
30349         (RUN_TEST_fff_f): Take argument string.  Call new setup and
30350         cleanup macros.
30351         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
30352         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
30353         macros.
30354         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
30355         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
30356         macros.
30357         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30358         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
30359         cleanup macros.
30360         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30361         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
30362         cleanup macros.
30363         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30364         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
30365         cleanup macros.
30366         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30367         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
30368         macros.
30369         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
30370         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
30371         macros.
30372         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
30373         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
30374         macros.
30375         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
30376         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
30377         cleanup macros.
30378         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
30379         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
30380         cleanup macros.
30381         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
30382         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
30383         macros.
30384         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
30385         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
30386         cleanup macros.
30387         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
30388         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
30389         macros.
30390         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
30391         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
30392         macros.
30393         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
30394         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
30395         cleanup macros.
30396         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
30398 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
30400         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
30401         to _sifields.sigfault.
30402         (si_addr_lsb): Define new macro.
30403         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30404         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30405         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
30407 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
30409         [BZ #15441]
30410         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
30411         returns -1.
30412         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
30413         null return -1.
30414         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
30415         loading the domain.
30417 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
30419         * math/gen-libm-test.pl (parse_args): Do not include expected
30420         result in test name.
30421         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
30422         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30423         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30424         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30425         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30428 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30430         * benchtests/Makefile: Sort function entries.
30432         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
30433         tanh, asinh, acosh, atanh.
30434         * benchtests/acos-inputs: New file.
30435         * benchtests/acosh-inputs: New file.
30436         * benchtests/asin-inputs: New file.
30437         * benchtests/asinh-inputs: New file.
30438         * benchtests/atanh-inputs: New file.
30439         * benchtests/cosh-inputs: New file.
30440         * benchtests/log-inputs: New file.
30441         * benchtests/sinh-inputs: New file.
30442         * benchtests/tanh-inputs: New file.
30444 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
30446         [BZ #15339]
30447         * posix/tst-getaddrinfo4.c: New test.
30448         * posix/Makefile (tests): Add it.
30450 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30452         [BZ #15339]
30453         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
30454         when no services were used.
30455         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
30456         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
30458 2013-05-21  Andreas Schwab  <schwab@suse.de>
30460         [BZ #15014]
30461         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
30462         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
30463         successful.
30464         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
30465         redundant variable declarations and reallocation of buffer when
30466         parsing as IPv6 address.  Always set NSS status when called from
30467         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
30468         buffer too small.  Correct computation of needed size.
30469         * nss/Makefile (tests): Add test-digits-dots.
30470         * nss/test-digits-dots.c: New test.
30472 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30474         * benchtests/Makefile: Remove instructions for adding
30475         benchmark tests.
30476         * benchtests/README: New file to explain how to execute and
30477         enhance the benchmark tests.
30479 2013-05-21  Andreas Schwab  <schwab@suse.de>
30481         [BZ #15493]
30482         * setjmp/Makefile (tests): Add tst-sigsetjmp.
30483         * setjmp/tst-sigsetjmp.c: New test.
30485 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
30487         * sysdeps/x86_64/memset.S (memset): New implementation.
30488         (__bzero): Likewise.
30489         (__memset_tail): New function.
30491 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
30493         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
30494         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
30495         __memcpy_sse2_unaligned ifunc selection.
30496         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30497         Add memcpy-sse2-unaligned.S.
30498         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30499         Add: __memcpy_sse2_unaligned.
30501 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
30503         [BZ #15490]
30504         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30505         math_force_eval before restoring floating-point envrionment.
30506         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
30507         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30508         Likewise.
30509         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
30510         <math_private.h>.
30511         (__nearbyintl): Use math_force_eval before restoring
30512         floating-point environment.
30513         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
30515         * math/gen-libm-test.pl (special_functions): Remove.
30516         (parse_args): Don't handle TEST_extra.  Handle functions with no
30517         return value.
30518         * math/libm-test.inc (struct test_sincos_data): Replace with
30519         struct test_fFF_11_data.
30520         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
30521         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
30522         (sincos_test_data): Change element type to struct
30523         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
30524         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
30525         RUN_TEST_LOOP_sincos.
30526         * math/README.libm-test: Don't mention special handling of
30527         individual functions.
30528         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
30529         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30530         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30531         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30532         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30535         * math/gen-libm-test.pl (get_variable): Remove function.
30536         (parse_args): Don't show pointer parameters to call in test
30537         names.  Use "extra output N" in test names for extra outputs
30538         rather than naming variables.
30540 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
30542         [BZ #15488]
30543         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
30544         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
30545         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
30546         double tests.
30547         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
30548         disable.
30549         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
30550         check_long_double.
30552         * math/gen-libm-test.pl (@tests): Remove variable.
30553         ($count): Likewise.
30554         (new_test): Remove function.
30555         (show_exceptions): New function.
30556         (special_functions): Use show_exceptions instead of new_test.
30557         (parse_args): Likewise.
30558         (generate_testfile): Pass only function name in generated call to
30559         print_max_error or print_complex_max_error.
30560         (get_ulps): Do not handle complex tests specially.
30561         (output_test): Rename to ...
30562         (get_all_ulps_for_test): ... this.  Return a string rather than
30563         printing to a file.  Require ulps to be present.
30564         (output_ulps): Generate arrays rather than #defines.
30565         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
30566         (struct ulp_data): New type.
30567         (BUILD_COMPLEX_ULP): Remove macro.
30568         (compare_ulp_data): New function.
30569         (find_ulps): Likewise.
30570         (find_test_ulps): Likewise.
30571         (find_function_ulps): Likewise.
30572         (find_complex_function_ulps): Likewise.
30573         (print_max_error): Determine allowed ulps using
30574         find_function_ulps.
30575         (print_complex_max_error): Determine allowed ulps using
30576         find_complex_function_ulps.
30577         (check_float_internal): Determine max ulps using find_test_ulps.
30578         (check_float): Do not take max_ulp parameter.  Update call to
30579         check_float_internal.
30580         (check_complex): Likewise.
30581         (check_int): Do not take max_ulp parameter.
30582         (check_long): Likewise.
30583         (check_bool): Likewise.
30584         (check_longlong): Likewise.
30585         (struct test_f_f_data): Remove max_ulp field.
30586         (struct test_ff_f_data): Likewise.
30587         (struct test_ff_f_data_nexttoward): Likewise.
30588         (struct test_fi_f_data): Likewise.
30589         (struct test_fl_f_data): Likewise.
30590         (struct test_if_f_data): Likewise.
30591         (struct test_fff_f_data): Likewise.
30592         (struct test_c_f_data): Likewise.
30593         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
30594         (struct test_fF_f1_data): Likewise.
30595         (struct test_ffI_f1_data): Likewise.
30596         (struct test_c_c_data): Remove max_ulp field.
30597         (struct test_cc_c_data): Likewise.
30598         (struct test_f_i_data): Likewise.
30599         (struct test_ff_i_data): Likewise.
30600         (struct test_f_l_data): Likewise.
30601         (struct test_f_L_data): Likewise.
30602         (struct test_sincos_data): Likewise.
30603         (RUN_TEST_f_f): Do not handle ulps.
30604         (RUN_TEST_LOOP_f_f): Likewise.
30605         (RUN_TEST_2_f): Likewise.
30606         (RUN_TEST_LOOP_2_f): Likewise.
30607         (RUN_TEST_fff_f): Likewise.
30608         (RUN_TEST_LOOP_fff_f): Likewise.
30609         (RUN_TEST_c_f): Likewise.
30610         (RUN_TEST_LOOP_c_f): Likewise.
30611         (RUN_TEST_f_f1): Likewise.
30612         (RUN_TEST_LOOP_f_f1): Likewise.
30613         (RUN_TEST_fF_f1): Likewise.
30614         (RUN_TEST_LOOP_fF_f1): Likewise.
30615         (RUN_TEST_fI_f1): Likewise.
30616         (RUN_TEST_LOOP_fI_f1): Likewise.
30617         (RUN_TEST_ffI_f1): Likewise.
30618         (RUN_TEST_LOOP_ffI_f1): Likewise.
30619         (RUN_TEST_c_c): Likewise.
30620         (RUN_TEST_LOOP_c_c): Likewise.
30621         (RUN_TEST_cc_c): Likewise.
30622         (RUN_TEST_LOOP_cc_c): Likewise.
30623         (RUN_TEST_f_i): Likewise.
30624         (RUN_TEST_LOOP_f_i): Likewise.
30625         (RUN_TEST_f_i_tg): Likewise.
30626         (RUN_TEST_LOOP_f_i_tg): Likewise.
30627         (RUN_TEST_ff_i_tg): Likewise.
30628         (RUN_TEST_LOOP_ff_i_tg): Likewise.
30629         (RUN_TEST_f_b): Likewise.
30630         (RUN_TEST_LOOP_f_b): Likewise.
30631         (RUN_TEST_f_b_tg): Likewise.
30632         (RUN_TEST_LOOP_f_b_tg): Likewise.
30633         (RUN_TEST_f_l): Likewise.
30634         (RUN_TEST_LOOP_f_l): Likewise.
30635         (RUN_TEST_f_L): Likewise.
30636         (RUN_TEST_LOOP_f_L): Likewise.
30637         (RUN_TEST_sincos): Likewise.
30638         (RUN_TEST_LOOP_sincos): Likewise.
30640 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
30642         [BZ #15480]
30643         [BZ #15485]
30644         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
30645         main case of finite arguments, set rounding mode to FE_TONEAREST
30646         and discard exceptions.
30647         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
30648         exceptions.
30649         (remainder_tonearest_test_data): New variable.
30650         (remainder_test_tonearest): New function.
30651         (remainder_towardzero_test_data): New variable.
30652         (remainder_test_towardzero): New function.
30653         (remainder_downward_test_data): New variable.
30654         (remainder_test_downward): New function.
30655         (remainder_upward_test_data): New variable.
30656         (remainder_test_upward): New function.
30657         (main): Call the new test functions.
30659         * math/libm-test.inc (struct test_f_f1_data): Remove field
30660         extra_init.
30661         (struct test_fF_f1_data): Likewise.
30662         (struct test_ffI_f1_data): Likewise.
30663         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
30664         based on value of EXTRA_EXPECTED.
30665         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30666         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
30667         EXTRA_VAR based on value of EXTRA_EXPECTED.
30668         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30669         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
30670         EXTRA_VAR based on value of EXTRA_EXPECTED.
30671         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30672         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
30673         EXTRA_VAR based on value of EXTRA_EXPECTED.
30674         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30675         * math/gen-libm-test.pl (parse_args): Don't output initializers
30676         for extra output values.
30678         * math/libm-test.inc (check_int): Expect result to be exactly
30679         equal to expected value and do not handle ulps.
30680         (check_long): Likewise.
30681         (check_longlong): Likewise.
30683         * math/libm-test.inc (ceil_test_data): Test for "inexact"
30684         exceptions.
30685         (cimag_test_data): Likewise.
30686         (conj_test_data): Likewise.
30687         (copysign_test_data): Likewise.
30688         (cproj_test_data): Likewise.
30689         (creal_test_data): Likewise.
30690         (fabs_test_data): Likewise.
30691         (fdim_test_data): Likewise.
30692         (finite_test_data): Likewise.
30693         (floor_test_data): Likewise.
30694         (fmax_test_data): Likewise.
30695         (fmin_test_data): Likewise.
30696         (fmod_test_data): Likewise.
30697         (fpclassify_test_data): Likewise.
30698         (frexp_test_data): Likewise.
30699         (ilogb_test_data): Likewise.
30700         (isfinite_test_data): Likewise.
30701         (isgreater_test_data): Likewise.
30702         (isgreaterequal_test_data): Likewise.
30703         (isinf_test_data): Likewise.
30704         (isless_test_data): Likewise.
30705         (islessequal_test_data): Likewise.
30706         (islessgreater_test_data): Likewise.
30707         (isnan_test_data): Likewise.
30708         (isnormal_test_data): Likewise.
30709         (issignaling_test_data): Likewise.
30710         (isunordered_test_data): Likewise.
30711         (ldexp_test_data): Likewise.
30712         (lrint_test_data): Likewise.
30713         (lrint_test_data) [TEST_FLOAT]: Disable one test.
30714         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
30715         (lrint_tonearest_test_data): Test for "inexact" exceptions.
30716         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30717         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
30718         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30719         test input.
30720         (lrint_towardzero_test_data): Test for "inexact" exceptions.
30721         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30722         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
30723         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
30724         that test input.
30725         (lrint_downward_test_data): Test for "inexact" exceptions.
30726         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30727         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
30728         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30729         test input.
30730         (lrint_upward_test_data): Test for "inexact" exceptions.
30731         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
30732         test input.
30733         (llrint_test_data): Test for "inexact" exceptions.
30734         (llrint_test_data) [TEST_FLOAT]: Disable one test.
30735         (llrint_tonearest_test_data): Test for "inexact" exceptions.
30736         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30737         (llrint_towardzero_test_data): Test for "inexact" exceptions.
30738         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30739         (llrint_downward_test_data): Test for "inexact" exceptions.
30740         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30741         (llrint_upward_test_data): Test for "inexact" exceptions.
30742         (logb_test_data): Likewise.
30743         (logb_downward_test_data): Likewise.
30744         (nextafter_test_data): Likewise.
30745         (nexttoward_test_data): Likewise.
30746         (remainder_test_data): Likewise.
30747         (remquo_test_data): Likewise.
30748         (scalbn_test_data): Likewise.
30749         (scalbln_test_data): Likewise.
30750         (signbit_test_data): Likewise.
30751         (sqrt_test_data): Likewise.
30752         (significand_test_data): Likewise.
30754 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30756         [BZ #15424]
30757         * benchtests/bench-modf.c (struct args): Mark arg0 as
30758         volatile.
30759         * scripts/bench.pl: Mark members of struct args as volatile.
30761 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30763         [BZ # 15497]
30764         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
30765         negative infinity on POWER6 or lower.
30766         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
30768 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
30770         [BZ #15442]
30771         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
30772         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
30773         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
30774         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
30775         (_FP_SETQNAN): New macro.
30776         (_FP_SETQNAN_SEMIRAW): Likewise.
30777         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
30778         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
30779         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
30780         (FP_EXTEND): Use _FP_FRAC_SNANP.
30781         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
30782         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
30783         into account.
30784         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30785         New macro.
30786         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30787         Likewise.
30789 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
30791         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
30792         with DIVIDE_BY_ZERO_EXCEPTION.
30793         (gamma_test_data): Likewise.
30794         (lgamma_test_data): Likewise.
30795         (log_test_data): Likewise.
30796         (log10_test_data): Likewise.
30797         (log2_test_data): Likewise.
30798         (tgamma_test_data): Likewise.
30800         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
30801         (acos_test_tonearest): Likewise.
30802         (acos_test_towardzero): Likewise.
30803         (acos_test_downward): Likewise.
30804         (acos_test_upward): Likewise.
30805         (acosh_test): Likewise.
30806         (asin_test): Likewise.
30807         (asin_test_tonearest): Likewise.
30808         (asin_test_towardzero): Likewise.
30809         (asin_test_downward): Likewise.
30810         (asin_test_upward): Likewise.
30811         (asinh_test): Likewise.
30812         (atan_test): Likewise.
30813         (atanh_test): Likewise.
30814         (atan2_test): Likewise.
30815         (cabs_test): Likewise.
30816         (cacos_test): Likewise.
30817         (cacosh_test): Likewise.
30818         (casin_test): Likewise.
30819         (casinh_test): Likewise.
30820         (catan_test): Likewise.
30821         (catanh_test): Likewise.
30822         (cbrt_test): Likewise.
30823         (ccos_test): Likewise.
30824         (ccosh_test): Likewise.
30825         (cexp_test): Likewise.
30826         (clog_test): Likewise.
30827         (clog10_test): Likewise.
30828         (cos_test): Likewise.
30829         (cos_test_tonearest): Likewise.
30830         (cos_test_towardzero): Likewise.
30831         (cos_test_downward): Likewise.
30832         (cos_test_upward): Likewise.
30833         (cosh_test): Likewise.
30834         (cosh_test_tonearest): Likewise.
30835         (cosh_test_towardzero): Likewise.
30836         (cosh_test_downward): Likewise.
30837         (cosh_test_upward): Likewise.
30838         (cpow_test): Likewise.
30839         (csin_test): Likewise.
30840         (csinh_test): Likewise.
30841         (csqrt_test): Likewise.
30842         (ctan_test): Likewise.
30843         (ctan_test_tonearest): Likewise.
30844         (ctan_test_towardzero): Likewise.
30845         (ctan_test_downward): Likewise.
30846         (ctan_test_upward): Likewise.
30847         (ctanh_test): Likewise.
30848         (ctanh_test_tonearest): Likewise.
30849         (ctanh_test_towardzero): Likewise.
30850         (ctanh_test_downward): Likewise.
30851         (ctanh_test_upward): Likewise.
30852         (erf_test): Likewise.
30853         (erfc_test): Likewise.
30854         (exp_test): Likewise.
30855         (exp_test_tonearest): Likewise.
30856         (exp_test_towardzero): Likewise.
30857         (exp_test_downward): Likewise.
30858         (exp_test_upward): Likewise.
30859         (exp10_test): Likewise.
30860         (exp2_test): Likewise.
30861         (expm1_test): Likewise.
30862         (fmod_test): Likewise.
30863         (gamma_test): Likewise.
30864         (hypot_test): Likewise.
30865         (j0_test): Likewise.
30866         (j1_test): Likewise.
30867         (jn_test): Likewise.
30868         (lgamma_test): Likewise.
30869         (log_test): Likewise.
30870         (log10_test): Likewise.
30871         (log1p_test): Likewise.
30872         (log2_test): Likewise.
30873         (logb_test_downward): Likewise.
30874         (pow_test): Likewise.
30875         (pow_test_tonearest): Likewise.
30876         (pow_test_towardzero): Likewise.
30877         (pow_test_downward): Likewise.
30878         (pow_test_upward): Likewise.
30879         (remainder_test): Likewise.
30880         (remquo_test): Likewise.
30881         (sin_test): Likewise.
30882         (sin_test_tonearest): Likewise.
30883         (sin_test_towardzero): Likewise.
30884         (sin_test_downward): Likewise.
30885         (sin_test_upward): Likewise.
30886         (sincos_test): Likewise.
30887         (sinh_test): Likewise.
30888         (sinh_test_tonearest): Likewise.
30889         (sinh_test_towardzero): Likewise.
30890         (sinh_test_downward): Likewise.
30891         (sinh_test_upward): Likewise.
30892         (sqrt_test): Likewise.
30893         (tan_test): Likewise.
30894         (tan_test_tonearest): Likewise.
30895         (tan_test_towardzero): Likewise.
30896         (tan_test_downward): Likewise.
30897         (tan_test_upward): Likewise.
30898         (tanh_test): Likewise.
30899         (tgamma_test): Likewise.
30900         (y0_test): Likewise.
30901         (y1_test): Likewise.
30902         (yn_test): Likewise.
30904         * math/gen-libm-test.pl (adjust_arg): Remove function.
30905         (special_function): Remove argument $in_func.  Only handle
30906         generating output for tables of tests, not inside functions.
30907         (parse_args): Likewise.
30908         (generate_testfile): Remove variable $in_func.  Update call to
30909         parse_args.
30910         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
30911         (MINUS_ZERO_INIT): Rename macro to minus_zero.
30912         (PLUS_INFTY_INIT): Rename macro to plus_infty.
30913         (MINUS_INFTY_INIT): Rename macro to minus_infty.
30914         (QNAN_VALUE_INIT): Rename macro to qnan_value.
30915         (MAX_VALUE_INIT): Rename macro to max_value.
30916         (MIN_VALUE_INIT): Rename macro to min_value.
30917         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
30918         (plus_zero): Remove variable.
30919         (minus_zero): Likewise.
30920         (plus_infty): Likewise.
30921         (minus_infty): Likewise.
30922         (qnan_value): Likewise.
30923         (max_value): Likewise.
30924         (min_value): Likewise.
30925         (min_subnorm_value): Likewise.
30927 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30929         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
30930         uint64_t or uint32_t usage.
30931         * crypt/sha256-block.c: Likewise.
30932         * crypt/sha256-crypt.c: Likewise.
30933         * crypt/sha256.c: Likewise.
30934         * crypt/sha512-block.c: Likewise.
30935         * crypt/sha512-crypt.c: Likewise.
30936         * crypt/sha512.c: Likewise.
30937         * debug/backtrace-tst.c: Likewise.
30938         * debug/pcprofiledump.c: Likewise.
30939         * elf/cache.c: Likewise.
30940         * elf/dl-cache.c: Likewise.
30941         * elf/dl-misc.c: Likewise.
30942         * elf/dl-profile.c: Likewise.
30943         * elf/dl-support.c: Likewise.
30944         * elf/ldconfig.c: Likewise.
30945         * elf/sprof.c: Likewise.
30946         * iconv/dummy-repertoire.c: Likewise.
30947         * iconv/iconv_charmap.c: Likewise.
30948         * iconv/skeleton.c: Likewise.
30949         * iconvdata/8bit-generic.c: Likewise.
30950         * iconvdata/cp737.h: Likewise.
30951         * iconvdata/cp775.h: Likewise.
30952         * iconvdata/ibm1008.h: Likewise.
30953         * iconvdata/ibm1025.h: Likewise.
30954         * iconvdata/ibm1046.h: Likewise.
30955         * iconvdata/ibm1097.h: Likewise.
30956         * iconvdata/ibm1112.h: Likewise.
30957         * iconvdata/ibm1122.h: Likewise.
30958         * iconvdata/ibm1123.h: Likewise.
30959         * iconvdata/ibm1124.h: Likewise.
30960         * iconvdata/ibm1129.h: Likewise.
30961         * iconvdata/ibm1130.h: Likewise.
30962         * iconvdata/ibm1132.h: Likewise.
30963         * iconvdata/ibm1133.h: Likewise.
30964         * iconvdata/ibm1137.h: Likewise.
30965         * iconvdata/ibm1140.h: Likewise.
30966         * iconvdata/ibm1141.h: Likewise.
30967         * iconvdata/ibm1142.h: Likewise.
30968         * iconvdata/ibm1143.h: Likewise.
30969         * iconvdata/ibm1144.h: Likewise.
30970         * iconvdata/ibm1145.h: Likewise.
30971         * iconvdata/ibm1146.h: Likewise.
30972         * iconvdata/ibm1147.h: Likewise.
30973         * iconvdata/ibm1148.h: Likewise.
30974         * iconvdata/ibm1149.h: Likewise.
30975         * iconvdata/ibm1153.h: Likewise.
30976         * iconvdata/ibm1154.h: Likewise.
30977         * iconvdata/ibm1155.h: Likewise.
30978         * iconvdata/ibm1156.h: Likewise.
30979         * iconvdata/ibm1157.h: Likewise.
30980         * iconvdata/ibm1158.h: Likewise.
30981         * iconvdata/ibm1160.h: Likewise.
30982         * iconvdata/ibm1161.h: Likewise.
30983         * iconvdata/ibm1162.h: Likewise.
30984         * iconvdata/ibm1163.h: Likewise.
30985         * iconvdata/ibm1164.h: Likewise.
30986         * iconvdata/ibm1166.h: Likewise.
30987         * iconvdata/ibm1167.h: Likewise.
30988         * iconvdata/ibm12712.h: Likewise.
30989         * iconvdata/ibm1390.h: Likewise.
30990         * iconvdata/ibm1399.h: Likewise.
30991         * iconvdata/ibm16804.h: Likewise.
30992         * iconvdata/ibm4517.h: Likewise.
30993         * iconvdata/ibm4899.h: Likewise.
30994         * iconvdata/ibm4909.h: Likewise.
30995         * iconvdata/ibm4971.h: Likewise.
30996         * iconvdata/ibm5347.h: Likewise.
30997         * iconvdata/ibm803.h: Likewise.
30998         * iconvdata/ibm856.h: Likewise.
30999         * iconvdata/ibm901.h: Likewise.
31000         * iconvdata/ibm902.h: Likewise.
31001         * iconvdata/ibm9030.h: Likewise.
31002         * iconvdata/ibm9066.h: Likewise.
31003         * iconvdata/ibm921.h: Likewise.
31004         * iconvdata/ibm922.h: Likewise.
31005         * iconvdata/ibm9448.h: Likewise.
31006         * iconvdata/isiri-3342.h: Likewise.
31007         * iconvdata/jis0201.h: Likewise.
31008         * include/link.h: Likewise.
31009         * include/netdb.h: Likewise.
31010         * inet/check_native.c: Likewise.
31011         * inet/check_pf.c: Likewise.
31012         * inet/getipv4sourcefilter.c: Likewise.
31013         * inet/getnameinfo.c: Likewise.
31014         * inet/getsourcefilter.c: Likewise.
31015         * inet/htonl.c: Likewise.
31016         * inet/setipv4sourcefilter.c: Likewise.
31017         * inet/setsourcefilter.c: Likewise.
31018         * inet/test-inet6_opt.c: Likewise.
31019         * inet/tst-network.c: Likewise.
31020         * locale/C-collate.c: Likewise.
31021         * locale/C-ctype.c: Likewise.
31022         * locale/C-time.c: Likewise.
31023         * locale/C-translit.h: Likewise.
31024         * locale/loadarchive.c: Likewise.
31025         * locale/programs/3level.h: Likewise.
31026         * locale/programs/charmap.c: Likewise.
31027         * locale/programs/charmap.h: Likewise.
31028         * locale/programs/ld-address.c: Likewise.
31029         * locale/programs/ld-collate.c: Likewise.
31030         * locale/programs/ld-ctype.c: Likewise.
31031         * locale/programs/ld-identification.c: Likewise.
31032         * locale/programs/ld-measurement.c: Likewise.
31033         * locale/programs/ld-messages.c: Likewise.
31034         * locale/programs/ld-monetary.c: Likewise.
31035         * locale/programs/ld-name.c: Likewise.
31036         * locale/programs/ld-numeric.c: Likewise.
31037         * locale/programs/ld-paper.c: Likewise.
31038         * locale/programs/ld-telephone.c: Likewise.
31039         * locale/programs/ld-time.c: Likewise.
31040         * locale/programs/linereader.c: Likewise.
31041         * locale/programs/locale.c: Likewise.
31042         * locale/programs/locarchive.c: Likewise.
31043         * locale/programs/locfile.h: Likewise.
31044         * locale/programs/repertoire.c: Likewise.
31045         * locale/programs/simple-hash.c: Likewise.
31046         * locale/programs/simple-hash.h: Likewise.
31047         * malloc/memusage.c: Likewise.
31048         * malloc/memusagestat.c: Likewise.
31049         * nis/nis_defaults.c: Likewise.
31050         * nis/nis_hash.c: Likewise.
31051         * nis/nis_print.c: Likewise.
31052         * nis/nis_xdr.c: Likewise.
31053         * nscd/connections.c: Likewise.
31054         * nscd/hstcache.c: Likewise.
31055         * nscd/nscd_gethst_r.c: Likewise.
31056         * nscd/nscd_getserv_r.c: Likewise.
31057         * nscd/nscd_helper.c: Likewise.
31058         * nscd/servicescache.c: Likewise.
31059         * nss/makedb.c: Likewise.
31060         * nss/nss_db/db-XXX.c: Likewise.
31061         * nss/nss_db/db-initgroups.c: Likewise.
31062         * nss/nss_db/db-netgrp.c: Likewise.
31063         * nss/nss_files/files-network.c: Likewise.
31064         * nss/nss_files/files-parse.c: Likewise.
31065         * posix/bug-regex5.c: Likewise.
31066         * posix/fnmatch_loop.c: Likewise.
31067         * posix/regcomp.c: Likewise.
31068         * posix/regexec.c: Likewise.
31069         * posix/tst-rfc3484-2.c: Likewise.
31070         * posix/tst-rfc3484-3.c: Likewise.
31071         * posix/tst-rfc3484.c: Likewise.
31072         * resolv/nss_dns/dns-canon.c: Likewise.
31073         * resolv/nss_dns/dns-network.c: Likewise.
31074         * resolv/res_init.c: Likewise.
31075         * resolv/res_mkquery.c: Likewise.
31076         * resolv/tst-aton.c: Likewise.
31077         * stdlib/cxa_atexit.c: Likewise.
31078         * stdlib/cxa_finalize.c: Likewise.
31079         * stdlib/gen-fpioconst.c: Likewise.
31080         * stdlib/strtol_l.c: Likewise.
31081         * string/tst-endian.c: Likewise.
31082         * sunrpc/auth_des.c: Likewise.
31083         * sunrpc/clnt_udp.c: Likewise.
31084         * sunrpc/rtime.c: Likewise.
31085         * sunrpc/svcauth_des.c: Likewise.
31086         * sunrpc/xdr.c: Likewise.
31087         * sunrpc/xdr_intXX_t.c: Likewise.
31088         * sunrpc/xdr_rec.c: Likewise.
31089         * sysdeps/generic/ldconfig.h: Likewise.
31090         * sysdeps/generic/ldsodefs.h: Likewise.
31091         * sysdeps/generic/memusage.h: Likewise.
31092         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
31093         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
31094         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
31095         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
31096         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31097         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31098         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
31099         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
31100         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31101         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31102         * sysdeps/posix/getaddrinfo.c: Likewise.
31103         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31104         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31105         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31106         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31107         * sysdeps/powerpc/test-gettimebase.c: Likewise.
31108         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31109         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
31110         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
31111         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31112         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
31113         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31114         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31115         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
31116         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
31117         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
31118         * sysdeps/x86_64/dl-tls.h: Likewise.
31119         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
31120         * time/alt_digit.c: Likewise.
31121         * time/era.c: Likewise.
31122         * wcsmbs/tst-c16c32-1.c: Likewise.
31124 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
31126         * math/libm-test.inc (struct test_sincos_data): New type.
31127         (RUN_TEST_LOOP_sincos): New macro.
31128         (sincos_test_data): New variable.
31129         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
31131 2013-05-16  Richard Henderson  <rth@redhat.com>
31133         * math/atest-exp2.c (LIMB64): New macro.
31134         (CONSTSZ): New macro.
31135         (mp_exp1, mp_exp_m1, mp_log2): New variables.
31136         (hexdig): Move ...
31137         (print_mpn_fp): ... to function scope.
31138         (read_mpn_hex): Remove.
31139         (get_log2): Remove.
31140         (exp2_mpn): Use mp_log2.
31141         (main): Use mp_exp1.
31143 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
31145         * math/libm-test.inc: Remove comment about not testing "inexact"
31146         exceptions.
31147         (INEXACT_EXCEPTION): New macro.
31148         (NO_INEXACT_EXCEPTION): Likewise.
31149         (INVALID_EXCEPTION_OK): Update value.
31150         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31151         (OVERFLOW_EXCEPTION_OK): Likewise.
31152         (UNDERFLOW_EXCEPTION_OK): Likewise.
31153         (IGNORE_ZERO_INF_SIGN): Likewise.
31154         (ERRNO_UNCHANGED): Likewise.
31155         (ERRNO_EDOM): Likewise.
31156         (ERRNO_ERANGE): Likewise.
31157         (test_exceptions): Handle testing "inexact" exceptions.
31158         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
31159         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
31160         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
31161         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
31162         INEXACT_EXCEPTION.
31163         (rint_towardzero_test_data): Likewise.
31164         (rint_downward_test_data): Likewise.
31165         (rint_upward_test_data): Likewise.
31167         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
31168         with OVERFLOW_EXCEPTION.
31169         (exp10_test_data): Likewise.
31170         (exp2_test_data): Likewise.
31171         (expm1_test_data): Likewise.
31172         (lgamma_test_data): Likewise.
31173         (pow_test_data): Likewise.
31174         (tgamma_test_data): Likewise.
31175         (yn_test_data): Remove duplicate test of overflow.
31177         * math/libm-test.inc (struct test_cc_c_data): New type.
31178         (RUN_TEST_LOOP_cc_c): New macro.
31179         (cpow_test_data): New variable.
31180         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
31182         * math/libm-test.inc (struct test_f_L_data): New type.
31183         (RUN_TEST_LOOP_f_L): New macro.
31184         (llrint_test_data): New variable.
31185         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
31186         (llrint_tonearest_test_data): New variable.
31187         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
31188         (llrint_towardzero_test_data): New variable.
31189         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
31190         (llrint_downward_test_data): New variable.
31191         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
31192         (llrint_upward_test_data): New variable.
31193         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
31194         (llround_test_data): New variable.
31195         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
31197 2013-05-13  Peter Collingbourne  <pcc@google.com>
31199         * math/atest-exp2.c (get_log2): Remove const attribute.
31201 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
31203         * math/libm-test.inc (struct test_f_l_data): New type.
31204         (RUN_TEST_LOOP_f_l): New macro.
31205         (lrint_test_data): New variable.
31206         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
31207         (lrint_tonearest_test_data): New variable.
31208         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
31209         (lrint_towardzero_test_data): New variable.
31210         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
31211         (lrint_downward_test_data): New variable.
31212         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
31213         (lrint_upward_test_data): New variable.
31214         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
31215         (lround_test_data): New variable.
31216         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
31218 2013-05-15  Peter Collingbourne  <pcc@google.com>
31220         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
31221         (EXTRACT_WORDS64) Use where appropriate.
31222         (INSERT_WORDS64) Likewise.
31224         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
31225         constraints with x constraints.
31226         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
31228         * malloc/obstack.c (_obstack_compat): Add initializer.
31230 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
31232         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
31233         si_trapno and add si_addr_lsb to _sifields.sigfault.
31234         (si_trapno): Remove macro.
31235         (si_addr_lsb): Define new macro.
31236         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31238 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
31240         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
31241         instead of TEST_f_l.
31242         (llrint_test_tonearest): Likewise.
31243         (llrint_test_towardzero): Likewise.
31244         (llrint_test_downward): Likewise.
31245         (llrint_test_upward): Likewise.
31246         (llround_test): Likewise.
31248         * math/libm-test.inc (struct test_f_i_data): Add comment.
31249         (RUN_TEST_LOOP_f_b): New macro.
31250         (RUN_TEST_LOOP_f_b_tg): Likewise.
31251         (finite_test_data): New variable.
31252         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
31253         (isfinite_test_data): New variable.
31254         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31255         (isinf_test_data): New variable.
31256         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31257         (isnan_test_data): New variable.
31258         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31259         (isnormal_test_data): New variable.
31260         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31261         (issignaling_test_data): New variable.
31262         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31263         (signbit_test_data): New variable.
31264         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31266         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
31267         with INVALID_EXCEPTION.
31268         (acosh_test_data): Likewise.
31269         (asin_test_data): Likewise.
31270         (atanh_test_data): Likewise.
31271         (fmod_test_data): Likewise.
31272         (log_test_data): Likewise.
31273         (log10_test_data): Likewise.
31274         (log2_test_data): Likewise.
31275         (pow_test_data): Likewise.
31276         (sqrt_test_data): Likewise.
31277         (y0_test_data): Likewise.
31278         (y1_test_data): Likewise.
31279         (yn_test_data): Likewise.
31281         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
31282         function contents.
31284         * math/libm-test.inc (struct test_ff_i_data): New type.
31285         (RUN_TEST_LOOP_ff_i_tg): New macro.
31286         (isgreater_test_data): New variable.
31287         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31288         (isgreaterequal_test_data): New variable.
31289         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31290         (isless_test_data): New variable.
31291         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31292         (islessequal_test_data): New variable.
31293         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31294         (islessgreater_test_data): New variable.
31295         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31296         (isunordered_test_data): New variable.
31297         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31299 2013-05-14  David S. Miller  <davem@davemloft.net>
31301         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31303 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
31305         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
31307         * math/libm-test.inc (struct test_fF_f1_data): Change type of
31308         extra_test to int.
31309         (struct test_f_i_data): Change type of max_ulp to int.
31311         * math/libm-test.inc (test_ffI_f1_data): New type.
31312         (RUN_TEST_LOOP_ffI_f1): New macro.
31313         (remquo_test_data): New variable.
31314         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
31316         * setjmp/tst-setjmp-fp.c: New file.
31317         * setjmp/Makefile (tests): Add tst-setjmp-fp.
31318         (link-libm): New variable.
31319         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
31321         * math/libm-test.inc (struct test_f_i_data): New type.
31322         (RUN_TEST_LOOP_f_i): New macro.
31323         (RUN_TEST_LOOP_f_i_tg): Likewise.
31324         (fpclassify_test_data): New variable.
31325         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
31326         (ilogb_test_data): New variable.
31327         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
31329         * math/libm-test.inc (scalbln_test): Correct function name in END
31330         call.
31332         * math/libm-test.inc (struct test_f_f1_data): Add comment.
31333         (RUN_TEST_LOOP_fI_f1): New macro.
31334         (frexp_test_data): New variable.
31335         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
31337         * math/libm-test.inc (struct test_fF_f1_data): New type.
31338         (RUN_TEST_LOOP_fF_f1): New macro.
31339         (modf_test_data): New variable.
31340         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
31342         * math/libm-test.inc (struct test_f_f1_data): New type.
31343         (RUN_TEST_LOOP_f_f1): New macro.
31344         (gamma_test_data): New variable.
31345         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31346         (lgamma_test_data): New variable.
31347         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31349 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
31351         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
31352         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
31353         (main): Comment "tls" pseudo-hwcap.
31355 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
31357         * math/libm-test.inc (struct test_fl_f_data): New type.
31358         (RUN_TEST_LOOP_fl_f): New variable.
31359         (scalbln_test_data): New variable.
31360         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
31362         * math/libm-test.inc (struct test_fi_f_data): New type.
31363         (RUN_TEST_LOOP_fi_f): New macro.
31364         (ldexp_test_data): New variable.
31365         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
31366         (scalbn_test_data): New variable.
31367         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
31369         * math/libm-test.inc (struct test_c_f_data): New type.
31370         (RUN_TEST_LOOP_c_f): New macro.
31371         (cabs_test_data): New variable.
31372         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
31373         (carg_test_data): New variable.
31374         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
31375         (cimag_test_data): New variable.
31376         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
31377         (creal_test_data): New variable.
31378         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
31380         * math/libm-test.inc (struct test_if_f_data): New type.
31381         (RUN_TEST_LOOP_if_f): New macro.
31382         (jn_test_data): New variable.
31383         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
31384         (yn_test_data): New variable.
31385         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
31387         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
31389 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31391         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
31392         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
31394 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31396         * benchtests/Makefile (CPPFLAGS-nonlib): Add
31397         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
31398         (bench-deps): Add bench-timing.h.
31399         * benchtests-bench-skeleton.c: Include bench-timing.h.
31400         (main): Use TIMING_* macros instead of clock_gettime.
31401         * benchtests/bench-timing.h: New file.
31403         [BZ #14582]
31404         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
31405         Renamed from _LIB_VERSION.
31406         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
31408 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
31410         * math/libm-test.inc (struct test_fff_f_data): New type.
31411         (RUN_TEST_LOOP_fff_f): New macro.
31412         (fma_test_data): New variable.
31413         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
31414         (fma_towardzero_test_data): New variable.
31415         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
31416         (fma_downward_test_data): New variable.
31417         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
31418         (fma_upward_test_data): New variable.
31419         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
31421         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
31422         (struct test_c_c_data): New type.
31423         (RUN_TEST_LOOP_c_c): New macro.
31424         (cacos_test_data): New variable.
31425         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
31426         (cacosh_test_data): New variable.
31427         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
31428         (casin_test_data): New variable.
31429         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
31430         (casinh_test_data): New variable.
31431         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
31432         (catan_test_data): New variable.
31433         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
31434         (catanh_test_data): New variable.
31435         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
31436         (ccos_test_data): New variable.
31437         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
31438         (ccosh_test_data): New variable.
31439         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
31440         (cexp_test_data): New variable.
31441         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
31442         (clog_test_data): New variable.
31443         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
31444         (clog10_test_data): New variable.
31445         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
31446         (conj_test_data): New variable.
31447         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
31448         (cproj_test_data): New variable.
31449         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
31450         (csin_test_data): New variable.
31451         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
31452         (csinh_test_data): New variable.
31453         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
31454         (csqrt_test_data): New variable.
31455         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
31456         (ctan_test_data): New variable.
31457         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
31458         (ctan_tonearest_test_data): New variable.
31459         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31460         (ctan_towardzero_test_data): New variable.
31461         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31462         (ctan_downward_test_data): New variable.
31463         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31464         (ctan_upward_test_data): New variable.
31465         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31466         (ctanh_test_data): New variable.
31467         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
31468         (ctanh_tonearest_test_data): New variable.
31469         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31470         (ctanh_towardzero_test_data): New variable.
31471         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31472         (ctanh_downward_test_data): New variable.
31473         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31474         (ctanh_upward_test_data): New variable.
31475         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31476         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
31477         of BUILD_COMPLEX.
31479         * math/libm-test.inc (struct test_ff_f_data): New type.
31480         (struct test_ff_f_data_nexttoward): Likewise.
31481         (RUN_TEST_LOOP_2_f): New macro.
31482         (RUN_TEST_LOOP_ff_f): Likewise.
31483         (atan2_test_data): New variable.
31484         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
31485         (copysign_test_data): New variable.
31486         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
31487         (fdim_test_data): New variable.
31488         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
31489         (fmax_test_data): New variable.
31490         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
31491         (fmin_test_data): New variable.
31492         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
31493         (fmod_test_data): New variable.
31494         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
31495         (hypot_test_data): New variable.
31496         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
31497         (nextafter_test_data): New variable.
31498         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
31499         (nexttoward_test_data): New variable.
31500         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
31501         (pow_test_data): New variable.
31502         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
31503         (pow_tonearest_test_data): New variable.
31504         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
31505         (pow_towardzero_test_data): New variable.
31506         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
31507         (pow_downward_test_data): New variable.
31508         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
31509         (pow_upward_test_data): New variable.
31510         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
31511         (remainder_test_data): New variable.
31512         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
31513         (scalb_test_data): New variable.
31514         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
31515         * sysdeps/i386/fpu/libm-test-ulps: Update.
31517 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
31519         * math/libm-test.inc (fma_test): Use max_value instead of local
31520         variable fltmax.
31521         (nextafter_test): Likewise.
31523         * math/libm-test.inc (acos_towardzero_test_data): New variable.
31524         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31525         (acos_downward_test_data): New variable.
31526         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31527         (acos_upward_test_data): New variable.
31528         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31529         (acosh_test_data): New variable.
31530         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
31531         (asin_test_data): New variable.
31532         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
31533         (asin_tonearest_test_data): New variable.
31534         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31535         (asin_towardzero_test_data): New variable.
31536         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31537         (asin_downward_test_data): New variable.
31538         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31539         (asin_upward_test_data): New variable.
31540         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31541         (asinh_test_data): New variable.
31542         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
31543         (atan_test_data): New variable.
31544         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
31545         (atanh_test_data): New variable.
31546         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
31547         (cbrt_test_data): New variable.
31548         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
31549         (ceil_test_data): New variable.
31550         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
31551         (cos_test_data): New variable.
31552         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
31553         (cos_tonearest_test_data): New variable.
31554         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31555         (cos_towardzero_test_data): New variable.
31556         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31557         (cos_downward_test_data): New variable.
31558         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31559         (cos_upward_test_data): New variable.
31560         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31561         (cosh_test_data): New variable.
31562         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
31563         (cosh_tonearest_test_data): New variable.
31564         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31565         (cosh_towardzero_test_data): New variable.
31566         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31567         (cosh_downward_test_data): New variable.
31568         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31569         (cosh_upward_test_data): New variable.
31570         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31571         (erf_test_data): New variable.
31572         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
31573         (erfc_test_data): New variable.
31574         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
31575         (exp_test_data): New variable.
31576         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
31577         (exp_tonearest_test_data): New variable.
31578         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31579         (exp_towardzero_test_data): New variable.
31580         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31581         (exp_downward_test_data): New variable.
31582         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31583         (exp_upward_test_data): New variable.
31584         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31585         (exp10_test_data): New variable.
31586         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
31587         (exp2_test_data): New variable.
31588         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
31589         (expm1_test_data): New variable.
31590         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
31591         (fabs_test_data): New variable.
31592         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
31593         (floor_test_data): New variable.
31594         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
31595         (j0_test_data): New variable.
31596         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
31597         (j1_test_data): New variable.
31598         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
31599         (log_test_data): New variable.
31600         (log_test): Run tests with RUN_TEST_LOOP_f_f.
31601         (log10_test_data): New variable.
31602         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
31603         (log1p_test_data): New variable.
31604         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
31605         (log2_test_data): New variable.
31606         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
31607         (logb_test_data): New variable.
31608         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
31609         (logb_downward_test_data): New variable.
31610         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31611         (nearbyint_test_data): New variable.
31612         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
31613         (rint_test_data): New variable.
31614         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
31615         (rint_tonearest_test_data): New variable.
31616         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31617         (rint_towardzero_test_data): New variable.
31618         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31619         (rint_downward_test_data): New variable.
31620         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31621         (rint_upward_test_data): New variable.
31622         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31623         (round_test_data): New variable.
31624         (round_test): Run tests with RUN_TEST_LOOP_f_f.
31625         (sin_test_data): New variable.
31626         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
31627         (sin_tonearest_test_data): New variable.
31628         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31629         (sin_towardzero_test_data): New variable.
31630         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31631         (sin_downward_test_data): New variable.
31632         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31633         (sin_upward_test_data): New variable.
31634         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31635         (sinh_test_data): New variable.
31636         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
31637         (sinh_tonearest_test_data): New variable.
31638         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31639         (sinh_towardzero_test_data): New variable.
31640         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31641         (sinh_downward_test_data): New variable.
31642         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31643         (sinh_upward_test_data): New variable.
31644         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31645         (sqrt_test_data): New variable.
31646         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
31647         (tan_test_data): New variable.
31648         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
31649         (tan_tonearest_test_data): New variable.
31650         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31651         (tan_towardzero_test_data): New variable.
31652         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31653         (tan_downward_test_data): New variable.
31654         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31655         (tan_upward_test_data): New variable.
31656         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31657         (tanh_test_data): New variable.
31658         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
31659         (tgamma_test_data): New variable.
31660         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
31661         (trunc_test_data): New variable.
31662         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
31663         (y0_test_data): New variable.
31664         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
31665         (y1_test_data): New variable.
31666         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
31667         (significand_test_data): New variable.
31668         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
31670 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
31672         [BZ #12387]
31673         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
31675 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31677         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
31679 2013-05-10  Andreas Jaeger  <aj@suse.de>
31681         [BZ #15448]
31682         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
31683         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
31685 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
31687         * math/gen-libm-test.pl (adjust_arg): New function.
31688         (special_functions): Handle generating output in both functions
31689         and arrays.
31690         (parse_args): Likewise.
31691         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
31692         $in_func argument to parse_args.
31693         * math/libm-test.inc (struct test_f_f_data): New type.
31694         (IF_ROUND_INIT_): New macro.
31695         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
31696         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31697         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31698         (IF_ROUND_INIT_FE_UPWARD): Likewise.
31699         (ROUND_RESTORE_): Likewise.
31700         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
31701         (ROUND_RESTORE_FE_TONEAREST): Likewise.
31702         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
31703         (ROUND_RESTORE_FE_UPWARD): Likewise.
31704         (RUN_TEST_LOOP_f_f): New macro.
31705         (acos_test_data): New variable.
31706         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
31707         (acos_tonearest_test_data): New variable.
31708         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31710 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31712         * benchtests/bench-skeleton.c (startup): Fix coding style.
31714 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
31716         [BZ #6809]
31717         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
31718         negative infinity argument.
31719         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
31720         negative infinity argument.
31721         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
31722         negative infinity argument.
31723         * math/libm-test.inc (tgamma_test): Expect errno to be set for
31724         domain errors.
31726 2013-05-10  Florian Weimer  <fweimer@redhat.com>
31728         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
31729         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
31730         * iconv/iconv_prog.c (main): Likewise.
31731         * locale/programs/charmap-dir.c (charmap_readdir)
31732         (fopen_uncompressed): Likewise.
31733         * locale/programs/locfile.c (siblings_uncached)
31734         (write_locale_data): Use lstat64 instead of lstat.
31735         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
31736         stat.
31738 2013-05-10  Andreas Jaeger  <aj@suse.de>
31740         [BZ #15395]
31741         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
31742         localization.
31743         Include <locale.h>.
31745 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
31747         * elf/dl-close.c (_dl_close_worker): Add comments.
31749 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
31751         [BZ #15359]
31752         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
31753         high part of pi/2.
31754         (__ieee754_rem_pio2l): Update comments.
31756         [BZ #15429]
31757         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
31758         high part of pi/2.
31759         (__ieee754_rem_pio2l): Update comments.
31761         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
31762         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
31764         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
31765         M_PI_4l.
31767         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
31768         (M_PI_34_LOG10El): Likewise.
31769         (M_PI2_LOG10El): Likewise.
31770         (M_PI4_LOG10El): Likewise.
31771         (M_PI_LOG10El): Likewise.
31773 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31775         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31777 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
31779         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
31780         (MINUS_ZERO_INIT): Likewise.
31781         (PLUS_INFTY_INIT): Likewise.
31782         (MINUS_INFTY_INIT): Likewise.
31783         (QNAN_VALUE_INIT): Likewise.
31784         (MAX_VALUE_INIT): Likewise.
31785         (MIN_VALUE_INIT): Likewise.
31786         (MIN_SUBNORM_VALUE_INIT): Likewise.
31787         (plus_zero): Initialize with PLUS_ZERO_INIT.
31788         (minus_zero): Initialize with MINUS_ZERO_INIT.
31789         (plus_infty): Initialize with PLUS_INFTY_INIT.
31790         (minus_infty): Initialize with MINUS_INFTY_INIT.
31791         (qnan_value): Initialize with QNAN_VALUE_INIT.
31792         (max_value): Initialize with MAX_VALUE_INIT.
31793         (min_value): Initialize with MIN_VALUE_INIT.
31794         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
31796         * math/libm-test.inc (RUN_TEST_if_f): New macro.
31797         (jn_test): Use TEST_if_f instead of TEST_ff_f.
31798         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
31799         (yn_test): Use TEST_if_f instead of TEST_ff_f.
31801         * math/libm-test.inc (RUN_TEST_f_f): New macro.
31802         (RUN_TEST_2_f): Likewise.
31803         (RUN_TEST_ff_f): Likewise.
31804         (RUN_TEST_fi_f): Likewise.
31805         (RUN_TEST_fl_f): Likewise.
31806         (RUN_TEST_fff_f): Likewise.
31807         (RUN_TEST_c_f): Likewise.
31808         (RUN_TEST_f_f1): Likewise.
31809         (RUN_TEST_fF_f1): Likewise.
31810         (RUN_TEST_fI_f1): Likewise.
31811         (RUN_TEST_ffI_f1): Likewise.
31812         (RUN_TEST_c_c): Likewise.
31813         (RUN_TEST_cc_c): Likewise.
31814         (RUN_TEST_f_i): Likewise.
31815         (RUN_TEST_f_i_tg): Likewise.
31816         (RUN_TEST_ff_i_tg): Likewise.
31817         (RUN_TEST_f_b): Likewise.
31818         (RUN_TEST_f_b_tg): Likewise.
31819         (RUN_TEST_f_l): Likewise.
31820         (RUN_TEST_f_L): Likewise.
31821         (RUN_TEST_sincos): Likewise.
31822         * math/gen-libm-test.pl (new_test): Take new argument to indicate
31823         whether to show exceptions.  Do not include ");\n" in return
31824         value.
31825         (special_functions): Output call to RUN_TEST_sincos instead of
31826         check_float calls.  Update calls to new_test.
31827         (parse_args): Output call to single RUN_TEST_* macro instead of
31828         check_* calls and other assignments.  Update calls to new_test.
31830         [BZ #2546]
31831         [BZ #2560]
31832         [BZ #5159]
31833         [BZ #15426]
31834         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
31835         input to result for tgamma overflow.
31836         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
31837         (gamma_coeff): New variable.
31838         (NCOEFF): New macro.
31839         (gamma_positive): New function.
31840         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
31841         underflow here.  Use gamma_positive instead of exp (lgamma) for
31842         other arguments.
31843         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
31844         (gamma_coeff): New variable.
31845         (NCOEFF): New macro.
31846         (gammaf_positive): New function.
31847         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
31848         underflow here.  Use gamma_positive instead of exp (lgamma) for
31849         other arguments.
31850         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
31851         (gamma_coeff): New variable.
31852         (NCOEFF): New macro.
31853         (gammal_positive): New function.
31854         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
31855         underflow here.  Use gamma_positive instead of exp (lgamma) for
31856         other arguments.
31857         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
31858         (gamma_coeff): New variable.
31859         (NCOEFF): New macro.
31860         (gammal_positive): New function.
31861         (__ieee754_gammal_r): Handle positive infinity, overflow and
31862         underflow here.  Handle NaN the same as positive infinity.  Remove
31863         check x < 0xffffffff for negative integers.  Use gamma_positive
31864         instead of exp (lgamma) for other arguments.
31865         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
31866         (gamma_coeff): New variable.
31867         (NCOEFF): New macro.
31868         (gammal_positive): New function.
31869         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
31870         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
31871         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
31872         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
31873         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
31874         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
31875         * sysdeps/generic/math_private.h (__gamma_productf): New
31876         prototype.
31877         (__gamma_product): Likewise.
31878         (__gamma_productl): Likewise.
31879         * math/Makefile (libm-calls): Add gamma_product.
31880         * math/libm-test.inc (tgamma_test): Add more tests.
31881         * sysdeps/i386/fpu/libm-test-ulps: Update.
31882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31884 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
31886         * benchtests/bench-skeleton.c (main): Preheat CPU.
31888 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
31890         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
31892 2013-05-07  Roland McGrath  <roland@hack.frob.com>
31894         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
31895         and _dl_skip_args_internal.
31897 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
31899         * manual/message.texi (Message Translation): Talk about users.
31900         Message to key mapping impacts design.
31902 2013-05-06  Roland McGrath  <roland@hack.frob.com>
31904         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
31906         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
31908         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
31909         * sysdeps/wordsize-64/glob64.c: ... here.
31911         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
31912         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
31913         New macros.
31915         * debug/getlogin_r_chk.c: Moved to ...
31916         * login/getlogin_r_chk.c: ... here.
31917         * debug/Makefile (routines): Move getlogin_r_chk to ...
31918         * login/Makefile (routines): ... here.
31919         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
31920         * login/Versions (libc: GLIBC_2.4): ... here.
31922         * io/poll.c (__poll): Renamed from poll.
31923         Add libc_hidden_def.
31924         (poll): Define as weak alias.
31926         * debug/ptsname_r_chk.c: Moved to ...
31927         * login/ptsname_r_chk.c: ... here.
31928         * debug/Makefile (routines): Move ptsname_r_chk to ...
31929         * login/Makefile (routines): ... here.
31930         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
31931         * login/Versions (libc: GLIBC_2.4): ... here.
31933         * posix/getlogin.c: Moved to ...
31934         * login/getlogin.c: ... here.
31935         * posix/getlogin_r.c: Moved to ...
31936         * login/getlogin_r.c: ... here.
31937         * posix/getlogin_r.c: Moved to ...
31938         * login/getlogin_r.c: ... here.
31939         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
31940         * login/Makefile (routines): ... here.
31941         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
31942         * login/Versions (libc: GLIBC_2.0): ... here.
31944         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
31945         (setrlimit): Define as weak alias.
31947         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
31948         Call __ names for open, ftruncate, and close.
31949         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
31950         (truncate): Define as weak alias.
31952 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
31954         * math/gen-libm-test.pl (parse_args): Initialize x before each
31955         test of frexp, modf and remquo.
31957         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
31958         test signgam value.
31960 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31962         [BZ #15418]
31963         [BZ #15419]
31964         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
31965         internal tests.
31966         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31968 2013-05-06  Roland McGrath  <roland@hack.frob.com>
31970         * elf/dl-writev.h: New file.
31971         * elf/dl-misc.c: Include it.
31972         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
31973         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
31975 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
31977         * math/libm-test.inc (noXFails): Remove variable.
31978         (noXPasses): Likewise.
31979         (BUILD_COMPLEX_INT): Remove macro.
31980         (print_screen): Remove xfail argument.
31981         (print_screen_max_error): Likewise.
31982         (update_stats): Likewise.
31983         (print_max_error): Likewise.  Update calls to other affected
31984         functions.
31985         (print_complex_max_error): Likewise.
31986         (test_single_exception): Update calls to print_screen.
31987         (test_single_errno): Likewise.
31988         (check_float_internal): Remove xfail argument.  Update calls to
31989         other affected functions.
31990         (check_float): Likewise.
31991         (check_complex): Likewise.
31992         (check_int): Likewise.
31993         (check_long): Likewise.
31994         (check_bool): Likewise.
31995         (check_longlong): Likewise.
31996         (main): Don't print noXFails and noXPasses.
31997         * math/gen-libm-test.pl (top level): Don't mention expected
31998         failure handling in comment.
31999         (new_test): Don't handle expected failures.
32000         (parse_args): Don't mention expected failure handling in comment.
32001         (generate_testfile): Don't handle expected failures.
32002         (parse_ulps): Likewise.
32003         (print_ulps_file): Likewise.
32004         (get_failure): Remove function.
32005         (output_test): Don't handle expected failures.
32006         * make/README.libm-test: Don't mention expected failure handling.
32008         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
32009         (minus_zero): Likewise.
32010         (plus_infty): Likewise.
32011         (minus_infty): Likewise.
32012         (qnan_value): Likewise.
32013         (max_value): Likewise.
32014         (min_value): Likewise.
32015         (min_subnorm_value): Likewise.
32016         (initialize): Do not initialize those variables dynamically.
32018 2013-05-03  Roland McGrath  <roland@hack.frob.com>
32020         * io/open.c (__open_2): Moved to ...
32021         * io/open_2.c: ... this new file.
32022         * io/open64.c (__open64_2): Moved to ...
32023         * io/open64_2.c: ... this new file.
32024         * io/openat.c (__openat_2): Moved to ...
32025         * io/openat_2.c: ... this new file.
32026         * io/openat64.c (__openat64_2): Moved to ...
32027         * io/openat64_2.c: ... this new file.
32028         * io/Makefile (routines): Add them.
32029         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
32030         * sysdeps/unix/sysv/linux/open_2.c: File removed.
32031         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
32032         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
32033         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
32034         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
32035         (__openat64): Add hidden_ver.
32036         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
32037         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
32039         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
32040         Separately conditionalize setting of GLRO(dl_sysinfo) so
32041         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
32042         as well, but the actual setting is only under [NEED_DL_SYSINFO].
32044 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32046         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
32047         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
32048         definition.
32049         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
32050         * sysdeps/unix/sysv/linux/powerpc/init-first.c
32051         (_libc_vdso_platform_setup): Add __vdso_time initialization.
32052         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
32053         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
32055 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
32057         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
32058         test signgam value.
32060         * math/libm-test.inc (hypot_test): Do not use
32061         IGNORE_ZERO_INF_SIGN.
32063 2013-05-03  Andreas Jaeger  <aj@suse.de>
32065         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
32066         Linux 3.9.
32067         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
32068         (PF_MAX): Adjust for VSOCK change.
32070 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32072         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32074 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
32076         [BZ #15264]
32077         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
32078         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
32079         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
32081 2013-05-02  David S. Miller  <davem@davemloft.net>
32083         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32085 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
32087         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
32089 2013-05-01  Roland McGrath  <roland@hack.frob.com>
32091         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
32093 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
32095         [BZ #14952]
32096         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
32097         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32098         Use __attribute__ ((__gnu_inline__)).
32099         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32100         Don't use __attribute__ ((__gnu_inline__)).
32102 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
32104         [BZ #15423]
32105         * math/s_catan.c (__catan): Handle small real or imaginary part of
32106         input specially to avoid spurious underflow.
32107         * math/s_catanf.c (__catanf): Likewise.
32108         * math/s_catanh.c (__catanh): Likewise.
32109         * math/s_catanhf.c (__catanhf): Likewise.
32110         * math/s_catanhl.c (__catanhl): Likewise.
32111         * math/s_catanl.c (__catanl): Likewise.
32112         * math/libm-test.inc (catan_test): Add more tests.
32113         (catanh_test): Likewise.
32114         * sysdeps/i386/fpu/libm-test-ulps: Update.
32115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32117 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32121 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
32123         [BZ #15416]
32124         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
32125         accurately for denominator in atan2.
32126         * math/s_catanf.c (__catanf): Likewise.
32127         * math/s_catanh.c (__catanh): Likewise.
32128         * math/s_catanhf.c (__catanhf): Likewise.
32129         * math/s_catanhl.c (__catanhl): Likewise.
32130         * math/s_catanl.c (__catanl): Likewise.
32131         * math/libm-test.inc (catan_test): Add more tests.
32132         (catanh_test): Likewise.
32133         * sysdeps/i386/fpu/libm-test-ulps: Update.
32134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32136 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32138         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
32140         * benchtests/Makefile (bench): Remove slow benchmarks.
32141         * benchtests/atan-inputs: Add slow benchmark inputs.
32142         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
32143         (BENCH_FUNC): Accept variant offset.
32144         (VARIANT): Define.
32145         * benchtests/bench-skeleton.c (main): Run benchmark for each
32146         variant.
32147         * benchtests/cos-inputs: Add slow benchmark inputs.
32148         * benchtests/exp-inputs: Likewise.
32149         * benchtests/pow-inputs: Likewise.
32150         * benchtests/sin-inputs: Likewise.
32151         * benchtests/slowatan-inputs: Remove.
32152         * benchtests/slowatan.c: Remove.
32153         * benchtests/slowcos-inputs: Remove.
32154         * benchtests/slowcos.c: Remove.
32155         * benchtests/slowexp-inputs: Remove.
32156         * benchtests/slowexp.c: Remove.
32157         * benchtests/slowpow-inputs: Remove.
32158         * benchtests/slowpow.c: Remove.
32159         * benchtests/slowsin-inputs: Remove.
32160         * benchtests/slowsin.c: Remove.
32161         * benchtests/slowtan-inputs: Remove.
32162         * benchtests/slowtan.c: Remove.
32163         * benchtests/tan-inputs: Add slow benchmark inputs.
32164         * scripts/bench.pl: Parse comments and directives.
32166         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
32167         in CPPFLAGS.
32168         ($(objpfx)bench-%.c): Remove *-ITER.
32169         * benchtests/bench-modf.c: Remove definition of ITER.
32170         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
32171         (main): Loop for DURATION seconds instead of fixed number of
32172         iterations.
32173         * scripts/bench.pl: Don't expect iterations in parameters.
32175 2013-04-29  Roland McGrath  <roland@hack.frob.com>
32177         * io/fchdir.c (__fchdir): Renamed from fchdir.
32178         (fchdir): Define as weak alias.
32180 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
32182         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
32183         (ERRNO_EDOM): Likewise.
32184         (ERRNO_ERANGE): Likewise.
32185         (noErrnoTests): New variable.
32186         (init_max_error): Set errno to 0.
32187         (test_single_errno): New function.
32188         (test_errno): Likewise.
32189         (check_float_internal): Call test_errno.  Set errno to 0.
32190         (check_complex): Refer to errno tests in comment.
32191         (check_int): Call test_errno.  Set errno to 0.
32192         (check_long): Likewise.
32193         (check_bool): Likewise.
32194         (check_longlong): Likewise.
32195         (cos_test): Use ERRNO_* flags for errno tests instead of
32196         check_int.
32197         (expm1_test): Likewise.
32198         (fmod_test): Likewise.
32199         (ilogb_test): Likewise.
32200         (lgamma_test): Likewise.
32201         (pow_test): Likewise.
32202         (remainder_test): Likewise.
32203         (sin_test): Likewise.
32204         (tan_test): Likewise.
32205         (yn_test): Likewise.
32206         (initialize): Set errno to 0.
32207         (main): Print number of errno tests.
32208         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
32210 2013-04-29  Andreas Jaeger  <aj@suse.de>
32212         [BZ #15084]
32213         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
32214         and RES_USEVC.
32216         [BZ #15085]
32217         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
32218         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
32219         unimplemented.
32221         [BZ #15380]
32222         * stdlib/random.c (__initstate): Return NULL if
32223         __initstate fails.
32225         [BZ #15086]
32226         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
32227         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
32228         RES_SNGLKUPREOP.
32230 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32232         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32234 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
32236         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
32237         of individual tests.
32238         (casin_test): Likewise.
32239         (casinh_test): Likewise.
32241 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
32243         [BZ #15409]
32244         * math/s_catan.c (__catan): Handle arguments with large real or
32245         imaginary part separately without squaring.
32246         * math/s_catanf.c (__catanf): Likewise.
32247         * math/s_catanh.c (__catanh): Likewise.
32248         * math/s_catanhf.c (__catanhf): Likewise.
32249         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32250         and redefine.
32251         (__catanhl): Handle arguments with large real or imaginary part
32252         separately without squaring.
32253         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32254         and redefine.
32255         (__catanl): Handle arguments with large real or imaginary part
32256         separately without squaring.
32257         * math/libm-test.inc (catan_test): Add more tests.
32258         (catanh_test): Likewise.
32259         * sysdeps/i386/fpu/libm-test-ulps: Update.
32260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32262 2013-04-27  Andreas Jaeger  <aj@suse.de>
32264         [BZ #15007]
32265         * stdlib/stdlib.h: Update guards for qecvt.
32266         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
32267         <stdlib.h>.
32269 2013-04-27  Allan McRae  <allan@archlinux.org>
32271         * sysdeps/i386/fpu/libm-test-ulps: Update.
32273 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
32275         [BZ #15406]
32276         * math/s_catan.c: Include <float.h>.
32277         (__catan): Ensure underflow exception occurs for underflowed
32278         result.
32279         * math/s_catanf.c: Include <float.h>.
32280         (__catanf): Ensure underflow exception occurs for underflowed
32281         result.
32282         * math/s_catanh.c: Include <float.h>.
32283         (__catanh): Ensure underflow exception occurs for underflowed
32284         result.
32285         * math/s_catanhf.c: Include <float.h>.
32286         (__catanhf): Ensure underflow exception occurs for underflowed
32287         result.
32288         * math/s_catanhl.c: Include <float.h>.
32289         (__catanhl): Ensure underflow exception occurs for underflowed
32290         result.
32291         * math/s_catanl.c: Include <float.h>.
32292         (__catanl): Ensure underflow exception occurs for underflowed
32293         result.
32294         * math/libm-test.inc (catan_test): Add more tests.
32295         (catanh_test): Likewise.
32297         [BZ #15405]
32298         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
32299         underflowed result.
32300         * math/s_ccoshf.c (__ccoshf): Likewise.
32301         * math/s_ccoshl.c (__ccoshl): Likewise.
32302         * math/s_csin.c (__csin): Likewise.
32303         * math/s_csinf.c (__csinf): Likewise.
32304         * math/s_csinh.c (__csinh): Likewise.
32305         * math/s_csinhf.c (__csinhf): Likewise.
32306         * math/s_csinhl.c (__csinhl): Likewise.
32307         * math/s_csinl.c (__csinl): Likewise.
32308         * math/libm-test.inc (ccos_test): Add more tests.
32309         (ccosh_test): Likewise.
32310         (csin_test): Likewise.
32311         (csinh_test): Likewise.
32313 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32315         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
32316         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
32317         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
32318         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
32319         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
32320         powerpc/power5+/fpu folders.
32321         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
32324 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
32326         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32328 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
32330         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
32331         additions to variable.
32332         [$(config-machine) = x86_64] (modules-names): Likewise.
32333         ($(objpfx)tst-audit3): Remove dependency.
32334         ($(objpfx)tst-audit3.out): Likewise.
32335         ($(objpfx)tst-audit4): Likewise.
32336         ($(objpfx)tst-audit4.out): Likewise.
32337         ($(objpfx)tst-audit5): Likewise.
32338         ($(objpfx)tst-audit5.out): Likewise.
32339         ($(objpfx)tst-audit6): Likewise.
32340         ($(objpfx)tst-audit6.out): Likewise.
32341         ($(objpfx)tst-audit7): Likewise.
32342         ($(objpfx)tst-audit7.out): Likewise.
32343         (tst-audit3-ENV): Remove variable.
32344         (tst-audit4-ENV): Likewise.
32345         (tst-audit5-ENV): Likewise.
32346         (tst-audit6-ENV): Likewise.
32347         (tst-audit7-ENV): Likewise.
32348         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
32349         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
32350         addition to variable.
32351         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
32352         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
32353         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
32354         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
32355         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
32356         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
32357         tst-audit3, tst-audit4 and tst-audit5.
32358         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
32359         tst-audit6 and tst-audit7.
32360         [$(subdir) = elf] (modules-names): Add audit modules for those
32361         tests.
32362         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
32363         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
32364         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
32365         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
32366         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
32367         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
32368         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
32369         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
32370         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
32371         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
32372         [$(subdir) = elf] (tst-audit3-ENV): New variable.
32373         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
32374         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
32375         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
32376         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
32377         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
32378         Likewise.
32379         [$(subdir) = elf && $(config-cflags-avx) = yes]
32380         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
32381         [$(subdir) = elf && $(config-cflags-avx) = yes]
32382         (CFLAGS-tst-auditmod4a.c): Likewise.
32383         [$(subdir) = elf && $(config-cflags-avx) = yes]
32384         (CFLAGS-tst-auditmod4b.c): Likewise.
32385         [$(subdir) = elf && $(config-cflags-avx) = yes]
32386         (CFLAGS-tst-auditmod6b.c): Likewise.
32387         [$(subdir) = elf && $(config-cflags-avx) = yes]
32388         (CFLAGS-tst-auditmod6c.c): Likewise.
32389         [$(subdir) = elf && $(config-cflags-avx) = yes]
32390         (CFLAGS-tst-auditmod7b.c): Likewise.
32391         * elf/tst-audit3.c: Move to ...
32392         * sysdeps/x86_64/tst-audit3.c: ... here.
32393         * elf/tst-audit4.c: Move to ...
32394         * sysdeps/x86_64/tst-audit4.c: ... here.
32395         * elf/tst-audit5.c: Move to ...
32396         * sysdeps/x86_64/tst-audit5.c: ... here.
32397         * elf/tst-audit6.c: Move to ...
32398         * sysdeps/x86_64/tst-audit6.c: ... here.
32399         * elf/tst-audit7.c: Move to ...
32400         * sysdeps/x86_64/tst-audit7.c: ... here.
32401         * elf/tst-auditmod3a.c: Move to ...
32402         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
32403         * elf/tst-auditmod3b.c: Move to ...
32404         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
32405         * elf/tst-auditmod4a.c: Move to ...
32406         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
32407         * elf/tst-auditmod4b.c: Move to ...
32408         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
32409         * elf/tst-auditmod5a.c: Move to ...
32410         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
32411         * elf/tst-auditmod5b.c: Move to ...
32412         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
32413         * elf/tst-auditmod6a.c: Move to ...
32414         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
32415         * elf/tst-auditmod6b.c: Move to ...
32416         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
32417         * elf/tst-auditmod6c.c: Move to ...
32418         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
32419         * elf/tst-auditmod7a.c: Move to ...
32420         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
32421         * elf/tst-auditmod7b.c: Move to ...
32422         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
32424 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
32426         [BZ #15366]
32427         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
32428         define unconditionally.
32429         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
32430         define unconditionally.
32431         (INT8_C, INT16_C, etc.): Likewise.
32433 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
32435         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
32436         __ehdr_start with hidden visibility.
32438         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
32440 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
32442         * math/libm-test.inc (cos_test): Use accurate hex constants.
32443         (sincost_test): Likewise.
32445 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
32447         * math/libm-test.inc (catan_test): Add more tests.
32448         (catanh_test): Likewise.
32450         * math/s_catanf.c (__catanf): Use suffixed floating-point
32451         constants.
32452         * math/s_catanhf.c (__catanhf): Likewise.
32453         * math/s_catanhl.c (__catanhl): Likewise.
32454         * math/s_catanl.c (__catanl): Likewise.
32456         [BZ #15394]
32457         * math/s_catan.c (__catan): Calculate imaginary part of result
32458         with log1p not log unless computing log of number close to 0.
32459         * math/s_catanf.c (__catanf): Likewise.
32460         * math/s_catanl.c (__catanl): Likewise.
32461         * math/s_catanh.c (__catanh): Calculate real part of result with
32462         log1p not log unless computing log of number close to 0.
32463         * math/s_catanhf.c (__catanhf): Likewise.
32464         * math/s_catanhl.c (__catanhl): Likewise.
32465         * math/libm-test.inc (catan_test): Add more tests.
32466         (catanh_test): Likewise.
32467         * sysdeps/i386/fpu/libm-test-ulps: Update.
32468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32470 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32472         * benchtests/Makefile: Mention files in which fast and slow
32473         paths of math functions are implemented.
32475 2013-04-23  Roland McGrath  <roland@hack.frob.com>
32477         * sysdeps/posix/timespec_get.c: New file.
32479 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32481         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
32482         POWER.
32483         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
32484         for POWER.
32485         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
32486         powerpc/power5/fpu folders.
32487         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
32488         * benchtests/Makefile: Add modf testcase.
32489         * benchtests/bench-modf.c: New file: Benchmark test for mo
32491 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
32493         [BZ #14888]
32494         * time/Makefile (tests): Add tst-strptime-whitespace.
32495         * time/strptime_l.c (get_number): Use ISSPACE.
32496         (__strptime_internal): Likewise.
32497         * time/tst-strptime-whitespace.c: New test case.
32499 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
32501         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
32502         member.
32503         (_nss_files_init): Set it here.
32505 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
32507         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
32508         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
32509         unsigned.
32511 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
32513         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
32515 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32517         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
32518         size just once.
32520 2013-04-21  David S. Miller  <davem@davemloft.net>
32522         * po/ru.po: Update Russion translation from translation project.
32524 2013-04-17  Adam Conrad  <adconrad@0c3.net>
32526         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
32527         and setfsgid.
32529 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
32531         * configure.in: Remove i386 configure warning. Remove i386 case.
32532         * configure: Regenerate.
32533         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
32534         Add example to error message.
32535         * sysdeps/i386/configure: Regenerate.
32537 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32539         * benchtests/Makefile (bench): Add cos, tan, slowcos and
32540         slowtan.
32541         * benchtests/cos-inputs: New file.
32542         * benchtests/slowcos-inputs: New file.
32543         * benchtests/slowcos.c: New file.
32544         * benchtests/slowtan-inputs: New file.
32545         * benchtests/slowtan.c: New file.
32546         * benchtests/tan-inputs: New file.
32548 2013-04-16  Roland McGrath  <roland@hack.frob.com>
32550         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
32551         considered kosher.
32553 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32555         * benchtests/Makefile: Include cppflags-iterator.mk to add
32556         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
32558         * Makefile.in (bench-clean): New target.
32559         * benchtests/Makefile (bench-clean): Likewise.
32561 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
32563         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
32565 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
32567         * stdio-common/tstdiomisc.c: Fix coding-style violation.
32569 2013-04-15  Andreas Schwab  <schwab@suse.de>
32571         * nscd/grpcache.c (cache_addgr): Properly check for short write.
32572         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32573         * nscd/pwdcache.c (cache_addpw): Likewise.
32574         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
32575         more than recsize.
32577 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32579         * benchtests/Makefile (bench): Write all output to
32580         bench-out.tmp together.
32582 2013-04-15  Andreas Schwab  <schwab@suse.de>
32584         * nscd/nscd.c (main): Don't fork again after closing files.
32586 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32588         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
32590         * benchtests/Rules (bench-deps): Collect dependencies into a
32591         single variable.  Add Makefile to dependencies.
32592         ($(objpfx)bench-%.c): Depend on bench-deps.
32594 2013-04-12  Roland McGrath  <roland@hack.frob.com>
32595             Xavier Roche  <roche+kml2@exalead.com>
32597         [BZ #15361]
32598         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
32599         just that it's a file descriptor.
32600         * manual/llio.texi (Synchronizing AIO Operations): Update description
32601         for EBADF error from aio_fsync.
32603 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32605         * Rules (bench): Move target definition...
32606         * benchtests/Makefile: ... here.
32608 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
32610         * math/libm-test.inc (cos_test): Fix PI/2 test.
32611         (sincos_test): Likewise.
32612         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32613         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
32615 2013-04-11  Andreas Schwab  <schwab@suse.de>
32617         [BZ #13988]
32618         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
32619         accept exponent character only when digits were seen.
32620         * stdio-common/Makefile (tests): Add bug26.
32621         * stdio-common/bug26.c: New file.
32623         [BZ #14293]
32624         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
32625         non-freeable.
32627 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32629         * Makeconfig (rtld-prefix): Define built linker prefix.
32630         * Rules (run-bench): Use it.
32631         * math/Makefile (run-regen-ulps): Likewise.
32633         * Rules (bench): Remove eval.
32635 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32636             Roland McGrath  <roland@hack.frob.com>
32637             Ondrej Bilka  <neleai@seznam.cz>
32639         [BZ #15346]
32640         * time/getdate.c: Include ctype.h and alloca.h.
32641         (__getdate_r): Trim leading and trailing spaces of input.
32642         * time/tst-getdate.c (tests): Add tests with leading and
32643         trailing spaces.
32645 2013-04-08  Roland McGrath  <roland@hack.frob.com>
32647         [BZ #14280]
32648         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
32649         when computing value.
32651 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
32653         * math/README.libm-test (How can I generate "libm-test-ulps"?):
32654         Use testrun.sh to run libm tests.
32656         [BZ #15309]
32657         * elf/dl-open.c (dl_open_worker): memset all of seen array.
32659 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
32661         [BZ #15264]
32662         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
32664 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
32666         * Makefile.in (regen-ulps): New target.
32667         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
32668         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
32669         [ifneq (no,$(PERL)] (regen-ulps): New target.
32670         [ifeq (no,$(PERL)] (regen-ulps): New target.
32671         * math/libm-test.inc (ulps_file_name): Define.
32672         (output_dir): New variable.
32673         (options): Add "output-dir" option.
32674         (parse_opt): Handle 'o' case.
32675         (main): If output_dir is non-NULL use it as a prefix
32676         otherwise use "".
32677         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
32679 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
32681         [BZ #10060, #10062]
32682         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
32683         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
32684         fail configure if __sync_val_compare_and_swap is not inlined.
32685         * sysdeps/i386/configure: Regenerate.
32686         * configure.in: Build for i686 when configured for i386.
32687         * configure: Regenerate.
32688         * README: Remove i386 reference.
32690 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
32692         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
32693         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32695 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
32697         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
32698         (lmsnanval): New variables.
32699         (F): Add conversion tests.
32700         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
32701         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
32703         * stdio-common/tstdiomisc.c (F): Properly collect individual
32704         tests' results.
32706         [BZ #14686, #15336]
32707         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
32708         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
32709         Instead, use input NaN values or generate a qNaN by arithmetic
32710         operation.  Also fix bugs to comply with the standard.
32711         * math/libm-test.inc (remainder_test): Add more tests.
32713         [BZ #15335, #15342]
32714         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
32715         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
32716         input NaN values or generate a qNaN by arithmetic operation.
32718         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
32719         unreachable code.
32721         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
32722         definitions.
32724 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
32726         [BZ #14478]
32727         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
32728         underflowed result.
32729         * math/s_cexpf.c (__cexpf): Likewise.
32730         * math/s_cexpl.c (__cexpl): Likewise.
32731         * math/libm-test.inc (cexp_test): Add more tests.
32733 2013-04-03  Andreas Schwab  <schwab@suse.de>
32735         [BZ #15330]
32736         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
32737         order arrays from heap if bigger than alloca cutoff.
32739 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
32741         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
32742         (SNAN_TESTS_double): Refer to GCC PR56831.
32743         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
32744         GCC PR56828.
32746 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32748         * Rules (bench): Move bench.out after the run is complete.
32750         * Rules (bench): Echo currently running benchmark.
32752         * benchtests/Makefile (bench): Add atan and slowatan.
32753         * benchtests/atan-inputs: New file.
32754         * benchtests/slowatan-inputs: New file.
32755         * benchtests/slowatan.c: New file.
32757         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
32758         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
32759         its value.
32761         [BZ #15305]
32762         * sysdeps/unix/sysv/linux/kernel-features.h
32763         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
32764         __ASSUME_XFS_RESTRICTED_CHOWN.
32765         * sysdeps/unix/sysv/linux/pathconf.c
32766         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32767         Save and restore errno.
32769 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
32771         [BZ #15327]
32772         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
32773         arguments using __kernel_casinh.
32774         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
32775         arguments using __kernel_casinhf.
32776         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
32777         arguments using __kernel_casinhl.
32778         * math/libm-test.inc (cacosh_test): Add more tests.
32779         * sysdeps/i386/fpu/libm-test-ulps: Update.
32780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32782 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32784         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
32785         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
32787         * bench/Makefile (bench): Add sin and slowsin.
32788         * benchtests/sin-inputs: New file.
32789         * benchtests/slowsin-inputs: New file.
32790         * benchtests/slowsin.c: New file.
32792         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
32793         (bench): Add slowexp and slowpow.
32794         (exp-ITER): Increase iterations.
32795         (pow-ITER): Likewise.
32796         * benchtests/exp-inputs: Change input.
32797         * benchtests/pow-inputs: Likewise.
32798         * benchtests/slowexp-inputs: New file.
32799         * benchtests/slowexp.c: New file.
32800         * benchtests/slowpow-inputs: New file.
32801         * benchtests/slowpow.c: New file.
32803 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32805         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
32806         instructions.
32807         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32808         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
32809         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32810         * benchtests/Makefile: Add rint benchtest.
32811         * benchtests/rint-inputs: Input for rint benchtest.
32813 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
32815         * Versions.def (libm): Add GLIBC_2.18.
32816         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
32817         hidden libm prototypes.
32818         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
32819         * math/Makefile (libm-calls): Add s_issignaling.
32820         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
32821         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
32822         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
32823         declaration.
32824         * math/math.h [__USE_GNU] (issignaling): New macro.
32825         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
32826         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
32827         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
32828         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
32829         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
32830         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
32831         * manual/arith.texi (issignaling): New section.
32832         * manual/libm-err-tab.pl (@all_functions): Update comment.
32833         * math/gen-libm-test.pl (parse_args): Apply special handling for
32834         issignaling.
32835         * math/libm-test.inc (print_float, issignaling_test): New
32836         functions.
32837         (check_float_internal): Add issignaling checks.
32838         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
32839         default definition.
32840         * sysdeps/powerpc/math-tests.h: New file.
32841         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
32842         tests.
32843         * math/test-snan.c (TEST_FUNC): Likewise.
32845 2013-03-30  David S. Miller  <davem@davemloft.net>
32847         * po/de.po: Update from translation team.
32849 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
32851         [BZ #10357]
32852         * math/k_casinh.c (__kernel_casinh): Handle arguments with
32853         imaginary part less than 1.0 and real part less than 0.5
32854         specially.
32855         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32856         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32857         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
32858         (cacos_test): Add more tests.
32859         (casin_test): Likewise.
32860         (casinh_test): Likewise.
32861         * sysdeps/i386/fpu/libm-test-ulps: Update.
32862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32864 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32866         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
32867         ONE with its value.
32869         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
32870         (__pow_mp): Replace ONE and MONE with their values.
32871         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32872         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
32873         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32874         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
32875         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32876         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32878         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
32880         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
32881         (__pow_mp): Replace ZERO and MZERO with their values.
32882         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32883         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32884         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32885         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32886         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32887         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
32888         (__sqr): Likewise.
32890         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
32892         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
32894 2013-03-28  Roland McGrath  <roland@hack.frob.com>
32896         * include/stdlib.h [!SHARED] (__call_tls_dtors):
32897         Declare with __attribute__ ((weak)).
32898         * stdlib/exit.c (__libc_atexit) [!SHARED]:
32899         Call __call_tls_dtors only if it's not NULL.
32901 2013-03-28  Roland McGrath  <roland@hack.frob.com>
32903         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
32904         didn't do it already, then set _dl_phdr and _dl_phnum based on the
32905         magic __ehdr_start linker symbol if it's defined.
32906         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
32907         them up here if it was already done.
32909         * elf/dl-support.c (_dl_phdr): Make pointer to const.
32910         (_dl_aux_init): Use const in cast when setting it.
32911         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
32912         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
32913         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
32915         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
32916         Declare them here.
32917         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
32918         * csu/libc-tls.c: Nor here.
32919         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
32921         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
32922         (__libc_message): Never call vsyslog.
32924 2013-03-28  Alan Modra  <amodra@gmail.com>
32926         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
32927         Define as empty.
32928         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
32929         Likewise.
32931 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32933         [BZ #15214]
32934         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
32935         underflow.
32936         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32938 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32940         [BZ #15304]
32941         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32942         Don't add gid passed as argument.
32944         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
32946 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
32948         [BZ #15307]
32949         * math/k_casinh.c (__kernel_casinh): Handle arguments with
32950         imaginary part between 1.0 and 1.5 and real part less than 0.5
32951         specially.
32952         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32953         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32954         * math/libm-test.inc (cacos_test): Add more tests.
32955         (casin_test): Likewise.
32956         (casinh_test): Likewise.
32957         * sysdeps/i386/fpu/libm-test-ulps: Update.
32958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32960 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32962         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
32963         constants.
32964         (norm): Likewise.
32965         (denorm): Likewise.
32966         (__dbl_mp): Likewise.
32967         (add_magnitudes): Likewise.
32968         (sub_magnitudes): Likewise.
32969         (__add): Likewise.
32970         (__sub): Likewise.
32971         (__mul): Likewise.
32972         (__sqr): Likewise.
32973         (__inv): Likewise.
32974         (__dvd): Likewise.
32976         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
32977         commented code.
32978         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
32979         (__dubcos): Likewise.
32980         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
32981         (__ieee754_acos): Likewise.
32982         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32983         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
32984         (__exp1): Likewise.
32985         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32986         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32987         (log1): Likewise.
32988         (my_log2): Likewise.
32989         (checkint): Likewise.
32990         * sysdeps/ieee754/dbl-64/e_remainder.c
32991         (__ieee754_remainder): Likewise.
32992         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32993         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
32994         (bsloww): Likewise.
32995         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32997         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32998         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
32999         MANTISSA_STORE_T to store computations on mantissa.  Use
33000         macros for rounding and division.
33001         (denorm): Likewise.
33002         (__dbl_mp): Likewise.
33003         (add_magnitudes): Likewise.
33004         (sub_magnitudes): Likewise.
33005         (__mul): Likewise.
33006         (__sqr): Likewise.
33007         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
33008         powers of two in terms of TWOPOW macro.
33009         (mp_no): Make type of mantissa as MANTISSA_T.
33010         [!RADIXI]: Define RADIXI.
33011         [!TWO52]: Define TWO52.
33012         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33014 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33016         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
33017         llroundl symbol when building for PPC32.
33019 2013-03-24  Mark H Weaver  <mhw@netris.org>
33021         * manual/arith.texi (Normalization Functions): Fix prototypes for
33022         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
33024 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33026         [BZ #13889]
33027         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
33028         high value to check if expl overflow.
33029         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
33030         to check for underflow and overflow.
33031         * math/libm-test.inc: Add exp test.
33033 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
33035         [BZ #11120]
33036         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
33037         with NOT_IN_libc.
33039 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33041         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
33042         symbol.
33044 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
33046         * math/gen-libm-test.pl (parse_args, special_functions): Properly
33047         wrap blocks consisting of several statements.
33049         * sysdeps/generic/math-tests.h: New file.
33050         * sysdeps/i386/fpu/math-tests.h: Likewise.
33051         * math/test-snan.c: Include it.
33052         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
33054 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
33056         [BZ #15285]
33057         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
33058         (__ieee754_j0l): Do not improve calculations using cos of twice
33059         input for inputs above LDBL_MAX / 2.0L.
33060         (__ieee754_y0l): Likewise.
33061         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
33062         (__ieee754_j1l): Do not improve calculations using cos of twice
33063         input for inputs above LDBL_MAX / 2.0L.
33064         (__ieee754_y1l): Likewise.
33065         * math/libm-test.inc (j0_test): Add another test.
33066         (j1_test): Likewise.
33067         (y0_test): Likewise.
33068         (y1_test): Likewise.
33069         * sysdeps/i386/fpu/libm-test-ulps: Update.
33071 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33073         * Rules ($(objpfx)bench-%.c): Include code from a C source
33074         file.
33076 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
33078         [BZ #15287]
33079         * math/k_casinh.c (__kernel_casinh): Handle arguments with
33080         imaginary part 1.0 and real part less than 0.5 specially.
33081         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33082         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33083         * math/libm-test.inc (cacos_test): Add more tests.
33084         (casin_test): Likewise.
33085         (casinh_test): Likewise.
33086         * sysdeps/i386/fpu/libm-test-ulps: Update.
33087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33089 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33091         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
33092         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
33094 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
33096         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
33097         * config.make.in (config-cflags-sse4): Remove variable.
33098         (config-cflags-avx): Likewise.
33099         (config-cflags-sse2avx): Likewise.
33100         (config-cflags-novzeroupper): Likewise.
33101         (config-asflags-i686): Likewise.
33102         (have-mfma4): Likewise.
33103         (have-as-vis3): Likewise.
33104         (MIG): Likewise.
33105         * configure.in (MIG): Do not AC_SUBST.
33106         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
33107         (libc_cv_cc_sse4): Do not AC_SUBST.
33108         (libc_cv_cc_avx): Likewise.
33109         (libc_cv_cc_sse2avx): Likewise.
33110         (libc_cv_cc_novzeroupper): Likewise.
33111         (libc_cv_cc_fma4): Likewise.
33112         (libc_cv_as_i686): Likewise.
33113         (libc_cv_sparc_as_vis3): Likewise.
33114         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
33115         LIBC_CONFIG_VAR.
33116         (config-asflags-i686): Likewise.
33117         (config-cflags-avx): Likewise.
33118         (config-cflags-sse2avx): Likewise.
33119         (have-mfma4): Likewise.
33120         (config-cflags-novzeroupper): Likewise.
33121         * sysdeps/mach/configure.in (MIG): Likewise.
33122         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
33123         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
33124         LIBC_CONFIG_VAR.
33125         (config-cflags-avx): Likewise.
33126         (config-cflags-sse2avx): Likewise.
33127         (have-mfma4): Likewise.
33128         (config-cflags-novzeroupper): Likewise.
33129         * configure: Regenerated.
33130         * sysdeps/i386/configure: Likewise.
33131         * sysdeps/mach/configure: Likewise.
33132         * sysdeps/sparc/configure: Likewise.
33133         * sysdeps/x86_64/configure: Likewise.
33135 2013-03-20  Roland McGrath  <roland@hack.frob.com>
33137         [BZ #14812]
33138         * locale/programs/localedef.c (options): Put N_ translation marker
33139         on argument names, not just descriptions.
33141 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33143         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
33145 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
33147         [BZ #14176]
33148         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
33150 2013-03-19  Roland McGrath  <roland@hack.frob.com>
33152         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
33153         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
33154         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
33155         [!BEFORE_ABORT] (before_abort): New function.
33156         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
33157         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
33158         (writev_for_fatal): New function.
33159         (WRITEV_FOR_FATAL): New macro; call that.
33160         (backtrace_and_maps): New function.
33161         (BEFORE_ABORT): New macro; call that.
33162         (struct str_list): Type removed.
33163         (__libc_message, __libc_fatal): Functions removed.
33164         Include <sysdeps/posix/libc_fatal.c> instead.
33166 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
33168         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
33169         constants.
33170         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
33171         double constants.
33173 2013-03-19  Andreas Schwab  <schwab@suse.de>
33175         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
33176         * sysdeps/gnu/configure: Regenerate.
33178         * configure.in: Substitute libc_cv_rtlddir.
33179         * configure: Regenerate.
33180         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
33181         * Makeconfig (rtlddir, inst_rtlddir): New variables.
33182         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
33183         * elf/Makefile (install-others, CFLAGS-interp.c)
33184         (ldso_install, common-ldd-rewrite): Likewise.
33185         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
33186         $(inst_slibdir)/$(rtld-installed-name).
33187         * scripts/rellns-sh: Add -p option.
33188         * Makerules (make-shlib-link): Use rellns-sh to get relative name
33189         for source.
33191 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33193         * manual/nptl.texi: Renamed to ...
33194         * manual/threads.texi: ... this.
33195         * manual/Makefile (chapters): Update.
33197 2013-03-18  Roland McGrath  <roland@hack.frob.com>
33199         [BZ #14812]
33200         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
33201         on argument names, not just descriptions.
33202         * malloc/memusagestat.c (options): Likewise.
33203         * nss/getent.c (options): Likewise.
33205 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
33207         [BZ #14812]
33208         * iconv/iconv_prog.c (options): Put N_ translation marker
33209         on argument names, not just descriptions.
33210         * iconv/iconvconfig.c (options): Likewise.
33212 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
33214         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
33215         implementation which is faster on all x86_64 architectures.
33216         Tested on AMD, Intel Nehalem, SNB, IVB.
33217         * sysdeps/x86_64/strnlen.S: Likewise.
33219         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33220         Remove all multiarch strlen and strnlen versions.
33221         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33222         Remove strlen and strnlen related parts.
33224         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
33225         Inline strlen part.
33226         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33228         * sysdeps/x86_64/multiarch/strlen.S: Remove.
33229         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
33230         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
33231         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
33232         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33233         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
33235 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
33237         * manual/memory.texi (Malloc Tunable Parameters):
33238         Sort parameters alphabetically. Add comments for missing entries.
33240 2013-03-17  David S. Miller  <davem@davemloft.net>
33242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33244 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
33246         [BZ #15283]
33247         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
33248         for arguments at most half maximum finite value.
33249         * math/libm-test.inc (j0_test): Add more tests.
33250         (j1_test): Likewise.
33251         (y0_test): Likewise.
33252         (y1_test): Likewise.
33253         * sysdeps/i386/fpu/libm-test-ulps: Update.
33254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33256         [BZ #14155]
33257         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
33258         1 / x and functions P and Q for arguments above 0x1p256L.
33259         (__ieee754_y0l): Likewise.
33260         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
33261         (__ieee754_y1l): Likewise.
33262         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
33263         (j1_test): Likewise.
33264         (y0_test): Likewise.
33265         (y1_test): Likewise.
33267 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
33269         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
33270         variable.
33272 2013-03-15  Roland McGrath  <roland@hack.frob.com>
33274         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
33275         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
33276         zero since it's initialized to EXEC_PAGESIZE.
33278         * sysdeps/unix/sysv/linux/ldsodefs.h
33279         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
33280         * sysdeps/generic/ldsodefs.h: ... here.
33282 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
33284         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
33286         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
33287         math/test-snan.c.
33288         * math/test-snan.c: Renamed from
33289         sysdeps/powerpc/fpu/test-powerpc-snan.c.
33290         * math/Makefile (tests): Add test-snan.
33291         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
33292         test-powerpc-snan.
33294         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
33295         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
33296         functions.
33297         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
33298         __builtin_nan family of functions.
33299         * math/libm-test.inc (initialize): Initialize qnan_value with
33300         __builtin_nan family of functions.
33301         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
33302         Remove variables.
33303         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
33304         Remove functions.
33305         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
33306         storage class.  Initialize qNaN_var and sNaN_var with
33307         __builtin_nan and __builtin_nans families of functions,
33308         respectively.
33310         * math/libm-test.inc (acosh_test): Also test with qNaN input.
33311         (sqrt_test): Remove duplicate test with qNaN input.
33312         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
33313         (round_test, signbit_test, significand_test): Note missing +/-Inf
33314         as well as qNaN tests.
33316         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
33317         qNaN_var.  Fix a few strings, too.
33318         * math/libm-test.inc (nan_value): Rename to qnan_value.
33319         * math/gen-libm-test.pl (%beautify): Adjust to that.
33320         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
33321         * math/test-misc.c (main): Likewise.
33322         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
33323         to __qnan_bytes, and __qnan_union, respectively.
33324         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
33325         Likewise.
33326         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
33327         and lqnanval, respectively.
33328         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
33329         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
33330         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
33331         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
33333         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
33334         * math/test-misc.c (main) [__x86_64__]: Enable test for long
33335         doubles.
33337         * math/test-misc.c (main): Fix copy'n'pastos.
33338         * misc/tst-efgcvt.c (special): Likewise.
33340         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
33341         Remove declarations.
33343 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33345         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
33346         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
33347         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
33348         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
33350 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33352         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
33353         macro to return vdso values correctly in IFUNC implementations.
33354         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33355         Optimization by using IFUNC.
33357 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33358             Richard Henderson  <rth@redhat.com>
33359             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33361         * Makefile.in (bench): New target.
33362         * NEWS: Mention the benchmark framework.
33363         * Rules (bench): Likewise.
33364         (binaries-bench): Generate binaries for functions to
33365         benchmark.
33366         * benchtests/Makefile: New makefile for benchmark tests.
33367         * benchtests/bench-skeleton.c: New skeleton file for benchmark
33368         programs.
33369         * benchtests/exp-inputs: New input file for EXP function.
33370         * benchtests/pow-inputs: New input file for POW function.
33371         * scripts/bench.pl: New script to generate source files for
33372         benchmark programs.
33374 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33376         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33377         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
33378         computations on mantissa.  Use macros for rounding and
33379         division.
33380         (denorm): Likewise.
33381         (__dbl_mp): Likewise.
33382         (add_magnitudes): Likewise.
33383         (sub_magnitudes): Likewise.
33384         (__mul): Likewise.
33385         (__sqr): Likewise.
33386         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
33387         powers of two in terms of TWOPOW macro.
33388         (mp_no): Make type of mantissa as MANTISSA_T.
33389         [!RADIXI]: Define RADIXI.
33390         [!TWO52]: Define TWO52.
33391         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33393         * manual/nptl.texi (cindex): Modify threads to pthreads.
33395 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
33397         * sysdeps/x86_64/preconfigure: Regenerated.
33399 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
33401         [BZ #14155]
33402         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
33403         0x1p28 and above.
33404         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
33405         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
33406         0x1p28 and above.
33407         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
33408         * math/libm-test.inc (j0_test): Do not allow one spurious
33409         underflow exception.
33410         (y1_test): Likewise.
33412 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33414         * manual/Makefile (chapters): Add nptl.
33415         * manual/debug.texi (Debugging Support): Add link to Threads
33416         chapter.
33417         * manual/nptl.texi: New file.
33419         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
33421 2013-03-14  Petr Baudis  <pasky@ucw.cz>
33423         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
33424         for non-NULL pointer before the memory validity test. Pointed
33425         out by Holger Brunck <holger.brunck@keymile.com>.
33427 2013-03-13  Andreas Schwab  <schwab@suse.de>
33429         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
33430         instead of .os.
33432 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
33434         * timezone/zic.c: Update from tzcode 2013b.
33436 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
33438         * manual/install.texi (Configuring and compiling):
33439         Mention i686 and i586.
33440         * INSTALL: Regenerate.
33442 2013-03-12  Roland McGrath  <roland@hack.frob.com>
33444         * sysdeps/init_array/elf-init.c: New file.
33445         * csu/elf-init.c
33446         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
33447         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
33449         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
33450         __gmon_start__ as global, but as static with a .preinit_array pointer.
33451         * sysdeps/init_array/gmon-start.c: New file.  Use that.
33452         * sysdeps/init_array/crti.S: New file, empty except for comments.
33453         * sysdeps/init_array/crtn.S: Likewise.
33455 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
33457         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
33458         definining bcopy.
33459         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33460         Remove Prefer_SSE_for_memop.
33461         * sysdeps/x86_64/multiarch/init-arch.h: Remove
33462         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
33463         HAS_PREFER_SSE_FOR_MEMOP.
33464         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
33465         memset-x86-64.
33466         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33467         Remove bzero, memset ifunc support.
33468         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
33469         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
33470         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33471         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33473 2013-03-11  Andreas Schwab  <schwab@suse.de>
33475         [BZ #15234]
33476         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
33477         by SHLIB_COMPAT.
33478         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
33479         (GLIBC_2.16): Remove pthread_atfork.
33481 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33483         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
33484         (ptestcases.h): Likewise.
33486 2013-03-08  Roland McGrath  <roland@hack.frob.com>
33488         * Makeconfig ($(common-objpfx)config.status): Depend on
33489         sysdeps/*/preconfigure{,.in} too.
33491 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
33493         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
33494         (__free_hook): Use void * instead of __malloc_ptr_t.
33495         (__malloc_hook): Likewise.
33496         (__realloc_hook): Likewise.
33497         (__memalign_hook): Likewise.
33498         (__after_morecore_hook): Likewise.
33499         * malloc/arena.c (save_malloc_hook): Likewise.
33500         (save_free_hook): Likewise.
33501         * malloc/hooks.c (malloc_hook_ini): Likewise.
33502         (realloc_hook_ini): Likewise.
33503         (memalign_hook_ini): Likewise.
33504         * malloc/malloc.c (malloc_hook_ini): Likewise.
33505         (realloc_hook_ini): Likewise.
33506         (memalign_hook_ini): Likewise.
33507         (__free_hook): Likewise.
33508         (__malloc_hook): Likewise.
33509         (__realloc_hook): Likewise.
33510         (__memalign_hook): Likewise.
33511         (__libc_malloc): Likewise.
33512         (__libc_free): Likewise.
33513         (__libc_realloc): Likewise.
33514         (__libc_memalign): Likewise.
33515         (__libc_valloc): Likewise.
33516         (__libc_pvalloc): Likewise.
33517         (__libc_calloc): Likewise.
33518         (__posix_memalign): Likewise.
33519         * malloc/morecore.c (__sbrk): Likewise.
33520         (__default_morecore): Likewise.
33522         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
33524         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
33525         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
33526         __malloc_ptrdiff_t.
33528         * malloc/malloc.h (__malloc_size_t): Remove macro.
33529         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
33530         __malloc_size_t.
33531         (old_memalign_hook): Likewise.
33532         (old_realloc_hook): Likewise.
33533         (struct hdr): Likewise.
33534         (flood): Likewise.
33535         (mallochook): Likewise.
33536         (memalignhook): Likewise.
33537         (reallochook): Likewise.
33538         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
33539         (tr_old_realloc_hook): Likewise.
33540         (tr_old_memalign_hook): Likewise.
33541         (tr_mallochook): Likewise.
33542         (tr_reallochook): Likewise.
33543         (tr_memalignhook): Likewise.
33545 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33547         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
33548         default_ldbl_pack and using as default implementation.
33549         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
33550         implementation.
33551         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
33552         redundant definition.
33553         (ldbl_insert_mantissa): Likewise.
33554         (ldbl_canonicalize): Likewise.
33555         (ldbl_nearbyint): Likewise.
33556         (ldbl_pack): Rename to ldbl_pack_ppc.
33557         (ldbl_unpack): Rename to ldbl_unpack_ppc.
33558         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
33559         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
33561 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33563         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
33564         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
33565         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
33566         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
33567         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
33568         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
33569         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
33570         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
33572 2013-03-07  Andreas Jaeger  <aj@suse.de>
33574         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33575         bits/mman-linux.h.
33577 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
33579         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
33580         Include mpa.h and declare __MPEXP.
33581         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
33582         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33583         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33584         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
33585         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33586         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33587         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
33589         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
33590         (__slowpow): Use long double EXPL and LOGL functions to
33591         compute POW.
33592         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33593         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33594         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
33595         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33596         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33597         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
33599         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
33600         intermediate variable to calculate exponent.
33601         (__sqr): Likewise.
33602         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
33603         Likewise.
33604         (__sqr): Likewise.
33606         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
33607         [!NO__SQR]: Define __sqr.
33608         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
33609         and NO__SQR.  Remove all code except __mul and __sqr.  Include
33610         sysdeps/ieee754/dbl-64/mpa.c.
33611         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33613         [BZ #12723]
33614         * posix/Makefile (tests): Add tst-pathconf.
33615         * posix/tst-pathconf.c: New test case.
33616         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
33617         _PC_PIPE_BUF.
33618         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
33620 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
33622         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
33624 2013-03-06  Andreas Jaeger  <aj@suse.de>
33626         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
33627         definition via __MAP_ANONYMOUS.
33629         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
33630         it's not part of Linux headers.
33632         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
33633         (MAP_HUGE_MASK): Define.
33635         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33636         Define.
33637         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33638         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33639         Define.
33640         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33641         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33642         Define.
33643         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33644         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
33645         Define.
33646         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33648         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
33649         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
33650         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
33651         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
33652         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
33653         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
33655         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33656         Handle f2fs.
33658         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33659         Handle f2fs and efivarfs.
33661         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
33662         f2fs.
33664         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
33665         (EFIVARFS_MAGIC): Add.
33666         (F2FS_LINK_MAX): Add.
33668 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33670         * stdio-common/vfprintf.c: Replace __builtin_expect with
33671         __glibc_unlikely.
33673 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
33675         [BZ #13550]
33676         * sysdeps/generic/bp-sym.h: Remove file.
33677         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
33678         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
33679         <bp-sym.h> and <bp-asm.h>.
33680         (__longjmp): Don't use BP_SYM.
33681         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
33682         and <bp-asm.h>.
33683         (memcpy): Don't use BP_SYM.
33684         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
33685         <bp-sym.h> and <bp-asm.h>.
33686         (memcpy): Don't use BP_SYM.
33687         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
33688         <bp-asm.h>.
33689         (memcpy): Don't use BP_SYM.
33690         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
33691         <bp-asm.h>.
33692         (memset): Don't use BP_SYM.
33693         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33694         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33695         (__bzero): Don't use BP_SYM.
33696         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33697         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33698         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
33699         <bp-sym.h> and <bp-asm.h>.
33700         (memcmp): Don't use BP_SYM.  Remove comment about bounded
33701         pointers.
33702         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
33703         <bp-sym.h> and <bp-asm.h>.
33704         (memcpy): Don't use BP_SYM.
33705         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
33706         <bp-sym.h> and <bp-asm.h>.
33707         (memset): Don't use BP_SYM.
33708         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33709         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33710         (__bzero): Don't use BP_SYM.
33711         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33712         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33713         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
33714         <bp-sym.h> and <bp-asm.h>.
33715         (strncmp): Don't use BP_SYM.  Remove comment about bounded
33716         pointers.
33717         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
33718         <bp-sym.h> and <bp-asm.h>.
33719         (memcpy): Don't use BP_SYM.
33720         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
33721         <bp-sym.h> and <bp-asm.h>.
33722         (memset): Don't use BP_SYM.
33723         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33724         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33725         (__bzero): Don't use BP_SYM.
33726         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33727         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33728         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
33729         <bp-sym.h> and <bp-asm.h>.
33730         (__memchr): Don't use BP_SYM.
33731         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
33732         <bp-sym.h> and <bp-asm.h>.
33733         (memcmp): Don't use BP_SYM.  Remove comment about bounded
33734         pointers.
33735         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
33736         <bp-sym.h> and <bp-asm.h>.
33737         (memcpy): Don't use BP_SYM.
33738         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
33739         <bp-sym.h> and <bp-asm.h>.
33740         (__mempcpy): Don't use BP_SYM.
33741         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
33742         <bp-sym.h> and <bp-asm.h>.
33743         (__memrchr): Don't use BP_SYM.
33744         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
33745         <bp-sym.h> and <bp-asm.h>.
33746         (memset): Don't use BP_SYM.
33747         (__bzero): Likewise.
33748         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
33749         <bp-sym.h> and <bp-asm.h>.
33750         (__rawmemchr): Don't use BP_SYM.
33751         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
33752         <bp-sym.h> and <bp-asm.h>.
33753         (__STRCMP): Don't use BP_SYM.
33754         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
33755         <bp-sym.h> and <bp-asm.h>.
33756         (strchr): Don't use BP_SYM.
33757         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
33758         <bp-sym.h> and <bp-asm.h>.
33759         (__strchrnul): Don't use BP_SYM.
33760         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
33761         <bp-sym.h> and <bp-asm.h>.
33762         (strlen): Don't use BP_SYM.
33763         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
33764         <bp-sym.h> and <bp-asm.h>.
33765         (strncmp): Don't use BP_SYM.  Remove comment about bounded
33766         pointers.
33767         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
33768         <bp-sym.h> and <bp-asm.h>.
33769         (__strnlen): Don't use BP_SYM.
33770         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
33771         <bp-sym.h> and <bp-asm.h>.
33772         (__GI__setjmp): Don't use BP_SYM.
33773         (_setjmp): Likewise.
33774         (__sigsetjmp): Likewise.
33775         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
33776         (L(start_addresses)): Don't use BP_SYM.
33777         (_start): Likewise.
33778         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
33779         <bp-asm.h>.
33780         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
33781         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
33782         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33783         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33784         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
33785         <bp-asm.h>.
33786         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
33787         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
33788         about bounded pointers.
33789         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33790         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33791         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
33792         <bp-asm.h>.
33793         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
33794         about bounded pointers.  Remove GKM FIXME comments.
33795         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33796         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
33797         <bp-asm.h>.
33798         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
33799         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
33800         Remove GKM FIXME comments.
33801         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33802         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33803         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
33804         <bp-asm.h>.
33805         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
33806         about bounded pointers.  Remove GKM FIXME comment.
33807         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
33808         and <bp-asm.h>.
33809         (strncmp): Don't use BP_SYM.  Remove comment about bounded
33810         pointers.
33811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
33812         <bp-sym.h> and <bp-asm.h>.
33813         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
33815         <bp-sym.h> and <bp-asm.h>.
33816         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
33817         comment.
33819 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33821         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
33822         call free(NULL).
33824 2013-03-05  David S. Miller  <davem@davemloft.net>
33826         * po/es.po: Update from translation team.
33828 2013-03-05  Andreas Jaeger  <aj@suse.de>
33830         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
33831         <bits/mman-linux.h>.
33832         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33833         is fine.
33834         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
33835         <bits/mman-linux.h> to end of file.
33836         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33837         is fine.
33838         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
33839         <bits/mman-linux.h> to end of file.
33840         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33841         is fine.
33842         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
33843         <bits/mman-linux.h> to end of file.
33845         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
33846         (MCL_CURRENT, MCL_FUTURE): Define here.
33848 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33850         [BZ #15232]
33851         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
33852         attribute_hidden.
33853         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33855 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33857         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
33858         fourth parameter needed for rt_sigprocmask syscall.
33859         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33860         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33861         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
33862         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33863         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33864         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
33866 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
33868         [BZ #13550]
33869         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
33870         comment about bounded pointers.
33871         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
33872         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
33874 2013-03-04  Andreas Jaeger  <aj@suse.de>
33876         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
33877         common definitions.
33879         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
33880         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
33881         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
33882         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33883         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33884         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33886 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33888         [BZ #15055]
33889         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33890         __ieee754_sqrl instead of __sqrl.
33892 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
33894         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
33895         * sysdeps/powerpc/fpu_control.h: ... here.
33896         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
33897         * sysdeps/powerpc/bits/fenvinline.h: ... here.
33898         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
33899         * sysdeps/powerpc/bits/mathinline.h: ... here.
33901 2013-03-01  Roland McGrath  <roland@hack.frob.com>
33903         * elf/dl-hwcaps.c (_dl_important_hwcaps):
33904         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
33905         to just [NEED_DL_SYSINFO_DSO].
33906         * elf/dl-support.c: Likewise.
33907         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33908         * elf/rtld.c (dl_main): Likewise.
33909         * elf/setup-vdso.h (setup_vdso): Likewise.
33910         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
33911         * sysdeps/unix/sysv/linux/dl-sysdep.c
33912         (_dl_discover_osversion): Likewise.
33914 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
33916         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
33917         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33919 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33921         * NEWS: Mention libm performance improvements and non-x86 PI
33922         futex support.
33924         * csu/libc-start.c (__pthread_initialize_minimal): Change
33925         function arguments.
33926         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33928 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
33930         [BZ #13550]
33931         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
33932         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
33933         <bp-sym.h> and <bp-asm.h>.
33934         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33935         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
33936         and <bp-asm.h>.
33937         (memcpy): Don't use BP_SYM.
33938         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
33939         <bp-asm.h>.
33940         (__mpn_add_n): Don't use BP_SYM.
33941         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
33942         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
33943         and <bp-asm.h>.
33944         (__mpn_addmul_1): Don't use BP_SYM.
33945         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33946         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
33947         <bp-sym.h>.
33948         (_setjmp): Don't use BP_SYM.
33949         (__novmx_setjmp): Likewise.
33950         (__GI__setjmp): Likewise.
33951         (__vmx_setjmp): Likewise.
33952         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
33953         <bp-sym.h>.
33954         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
33955         (__bzero): Don't use BP_SYM.
33956         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33957         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33958         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
33959         <bp-sym.h> and <bp-asm.h>.
33960         (memcpy): Don't use BP_SYM.
33961         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
33962         <bp-sym.h> and <bp-asm.h>.
33963         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33964         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
33965         <bp-sym.h> and <bp-asm.h>.
33966         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33967         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
33968         <bp-asm.h>.
33969         (__mpn_lshift): Don't use BP_SYM.
33970         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33971         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
33972         <bp-asm.h>.
33973         (memset): Don't use BP_SYM.
33974         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33975         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33976         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
33977         <bp-asm.h>.
33978         (__mpn_mul_1): Don't use BP_SYM.
33979         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33980         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
33981         <bp-sym.h> and <bp-asm.h>.
33982         (memcmp): Don't use BP_SYM.
33983         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
33984         <bp-sym.h> and <bp-asm.h>.
33985         (memcpy): Don't use BP_SYM.
33986         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
33987         <bp-sym.h> and <bp-asm.h>.
33988         (memset): Don't use BP_SYM.
33989         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
33990         <bp-sym.h> and <bp-asm.h>.
33991         (strncmp): Don't use BP_SYM.
33992         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
33993         <bp-sym.h> and <bp-asm.h>.
33994         (memcpy): Don't use BP_SYM.
33995         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
33996         <bp-sym.h> and <bp-asm.h>.
33997         (memset): Don't use BP_SYM.
33998         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
33999         <bp-sym.h> and <bp-asm.h>.
34000         (__memchr): Don't use BP_SYM.
34001         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
34002         <bp-sym.h> and <bp-asm.h>.
34003         (memcmp): Don't use BP_SYM.
34004         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
34005         <bp-sym.h> and <bp-asm.h>.
34006         (memcpy): Don't use BP_SYM.
34007         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
34008         <bp-sym.h> and <bp-asm.h>.
34009         (__mempcpy): Don't use BP_SYM.
34010         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
34011         <bp-sym.h> and <bp-asm.h>.
34012         (__memrchr): Don't use BP_SYM.
34013         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
34014         <bp-sym.h> and <bp-asm.h>.
34015         (memset): Don't use BP_SYM.
34016         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
34017         <bp-sym.h> and <bp-asm.h>.
34018         (__rawmemchr): Don't use BP_SYM.
34019         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
34020         <bp-sym.h> and <bp-asm.h>.
34021         (__STRCMP): Don't use BP_SYM.
34022         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
34023         <bp-sym.h> and <bp-asm.h>.
34024         (strchr): Don't use BP_SYM.
34025         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
34026         <bp-sym.h> and <bp-asm.h>.
34027         (__strchrnul): Don't use BP_SYM.
34028         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
34029         <bp-sym.h> and <bp-asm.h>.
34030         (strlen): Don't use BP_SYM.
34031         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
34032         <bp-sym.h> and <bp-asm.h>.
34033         (strncmp): Don't use BP_SYM.
34034         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
34035         <bp-sym.h> and <bp-asm.h>.
34036         (__strnlen): Don't use BP_SYM.
34037         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
34038         <bp-asm.h>.
34039         (__mpn_rshift): Don't use BP_SYM.
34040         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34041         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
34042         <bp-sym.h> and <bp-asm.h>.
34043         (__sigsetjmp): Don't use BP_SYM.
34044         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
34045         (L(start_addresses)): Don't use BP_SYM.
34046         (_start): Likewise.
34047         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
34048         <bp-asm.h>.
34049         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
34050         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34051         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34052         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
34053         <bp-asm.h>.
34054         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
34055         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34056         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34057         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
34058         <bp-asm.h>.
34059         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
34060         comments.
34061         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34062         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
34063         <bp-asm.h>.
34064         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
34065         FIXME comments.
34066         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34067         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34068         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
34069         <bp-asm.h>.
34070         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
34071         comment.
34072         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
34073         and <bp-asm.h>.
34074         (strncmp): Don't use BP_SYM,
34075         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
34076         <bp-asm.h>.
34077         (__mpn_sub_n): Don't use BP_SYM.
34078         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34079         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
34080         and <bp-asm.h>.
34081         (__mpn_submul_1): Don't use BP_SYM.
34082         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
34084         <bp-sym.h> and <bp-asm.h>.
34085         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
34087         <bp-sym.h> and <bp-asm.h>.
34088         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
34089         comment.
34091 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34093         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
34094         Use ZK to minimize writes to Z.
34095         (sub_magnitudes): Simplify code a bit.
34096         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
34097         Use ZK to minimize writes to Z.
34098         (sub_magnitudes): Simplify code a bit.
34100 2013-02-27  Roland McGrath  <roland@hack.frob.com>
34102         * csu/gmon-start.c: Add special exception to license text.
34104 2013-02-27  Richard Henderson  <rth@redhat.com>
34106         * scripts/config.guess: Update from config.git.
34107         * scripts/config.sub: Likewise.
34109 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34111         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
34113         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
34115         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
34117         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
34119         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
34121 2013-02-26  Roland McGrath  <roland@hack.frob.com>
34123         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
34124         [$(build-shared = yes].
34126 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34128         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
34129         (__mul): Reduce iterations for calculating mantissa.
34131         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
34132         MPTWO.
34133         (__mpranred): Likewise.
34135         [BZ #15160]
34136         * malloc/memusagestat.c (main): Draw graphs for heap and stack
34137         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
34139 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
34141         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
34142         Define __attribute__.
34144 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34146         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
34147         unused.
34148         * posix/regex_internal.h (__attribute): Remove.
34149         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
34150         (re_string_context_at): Likewise.
34151         (bitset_not): Use __attribute__ and mark function as possibly
34152         unused.
34153         (bitset_merge): Likewise.
34154         (bitset_mask): Likewise.
34155         (re_string_char_size_at): Likewise.
34156         (re_string_wchar_at): Likewise.
34157         (re_string_elem_size_at): Likewise.
34159 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34161         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
34162         code.
34163         (cc32): Likewise.
34165         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
34166         (__acr): Likewise.
34167         (__cpy): Likewise.
34168         (norm): Likewise.
34169         (denorm): Likewise.
34170         (__dbl_mp): Likewise.
34171         (add_magnitudes): Likewise.
34172         (sub_magnitudes): Likewise.
34173         (__mul): Likewise.
34174         (__inv): Likewise.
34176         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
34177         style.
34179         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
34180         style.
34182         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
34183         code.
34185         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
34186         up changes with default code.
34187         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
34188         Likewise.
34190 2013-02-24  Allan McRae  <allan@archlinux.org>
34192         * manual/socket.texi (The Internet Namespace): Order menu items
34193         to match that in the file.
34195         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
34196         node listing of the info page menu.
34198 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
34200         [BZ #13550]
34201         * sysdeps/i386/bp-asm.h: Remove file.
34202         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34203         (PARMS): Do not use macros from bp-asm.h.
34204         (S1): Likewise.
34205         (S2): Likewise.
34206         (SIZE): Likewise.
34207         (__mpn_add_n): Do not use BP_SYM
34208         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
34209         "bp-asm.h".
34210         (PARMS): Do not use macros from bp-asm.h.
34211         (S1): Likewise.
34212         (SIZE): Likewise.
34213         (__mpn_addmul_1): Do not use BP_SYM
34214         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
34215         "bp-asm.h".
34216         (PARMS): Do not use macros from bp-asm.h.
34217         (SIGMSK): Likewise.
34218         (_setjmp): Likewise.  Do not use BP_SYM.
34219         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
34220         "bp-asm.h".
34221         (PARMS): Do not use macros from bp-asm.h.
34222         (SIGMSK): Likewise.
34223         (setjmp): Likewise.  Do not use BP_SYM.
34224         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
34225         "bp-asm.h".
34226         (PARMS): Do not use macros from bp-asm.h.
34227         (__frexp): Do not use BP_SYM.
34228         (frexp): Likewise.
34229         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
34230         "bp-asm.h".
34231         (PARMS): Do not use macros from bp-asm.h.
34232         (__frexpf): Do not use BP_SYM.
34233         (frexpf): Likewise.
34234         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
34235         "bp-asm.h".
34236         (PARMS): Do not use macros from bp-asm.h.
34237         (__frexpl): Do not use BP_SYM.
34238         (frexpl): Likewise.
34239         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
34240         "bp-asm.h".
34241         (PARMS): Do not use macros from bp-asm.h.
34242         (__remquo): Do not use BP_SYM.
34243         (remquo): Likewise.
34244         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
34245         "bp-asm.h".
34246         (PARMS): Do not use macros from bp-asm.h.
34247         (__remquof): Do not use BP_SYM.
34248         (remquof): Likewise.
34249         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
34250         "bp-asm.h".
34251         (PARMS): Do not use macros from bp-asm.h.
34252         (__remquol): Do not use BP_SYM.
34253         (remquol): Likewise.
34254         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
34255         "bp-asm.h".
34256         (PARMS): Do not use macros from bp-asm.h.
34257         (DEST): Likewise.
34258         (SRC): Likewise.
34259         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
34260         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
34261         "bp-asm.h".
34262         (PARMS): Do not use macros from bp-asm.h.
34263         (strlen): Do not use BP_SYM.
34264         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
34265         "bp-asm.h".
34266         (PARMS): Do not use macros from bp-asm.h.
34267         (S1): Likewise.
34268         (S2): Likewise.
34269         (SIZE): Likewise.
34270         (__mpn_add_n): Do not use BP_SYM.
34271         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
34272         "bp-asm.h".
34273         (PARMS): Do not use macros from bp-asm.h.
34274         (S1): Likewise.
34275         (SIZE): Likewise.
34276         (__mpn_addmul_1): Do not use BP_SYM.
34277         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
34278         weak_alias.
34279         (bzero): Likewise.
34280         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
34281         "bp-asm.h".
34282         (PARMS): Do not use macros from bp-asm.h.
34283         (S): Likewise.
34284         (SIZE): Likewise.
34285         (__mpn_lshift): Do not use BP_SYM.
34286         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
34287         "bp-asm.h".
34288         (PARMS): Do not use macros from bp-asm.h.
34289         (DEST): Likewise.
34290         (SRC): Likewise.
34291         (LEN): Likewise.
34292         (memcpy): Likewise.  Do not use BP_SYM.
34293         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
34294         libc_hidden_def and weak_alias.
34295         (mempcpy): Do not use BP_SYM in weak_alias.
34296         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
34297         "bp-asm.h".
34298         (PARMS): Do not use macros from bp-asm.h.
34299         (DEST): Likewise.
34300         (LEN): Likewise.
34301         [!BZERO_P] (CHR): Likewise.
34302         (memset): Likewise.  Do not use BP_SYM.
34303         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
34304         "bp-asm.h".
34305         (PARMS): Do not use macros from bp-asm.h.
34306         (S1): Likewise.
34307         (SIZE): Likewise.
34308         (__mpn_mul_1): Do not use BP_SYM.
34309         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
34310         "bp-asm.h".
34311         (PARMS): Do not use macros from bp-asm.h.
34312         (S): Likewise.
34313         (SIZE): Likewise.
34314         (__mpn_rshift): Do not use BP_SYM.
34315         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
34316         "bp-asm.h".
34317         (PARMS): Do not use macros from bp-asm.h.
34318         (STR): Likewise.
34319         (CHR): Likewise.
34320         (strchr): Likewise.  Do not use BP_SYM.
34321         (index): Do not use BP_SYM in weak_alias.
34322         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
34323         "bp-asm.h".
34324         (PARMS): Do not use macros from bp-asm.h.
34325         (DEST): Likewise.
34326         (SRC): Likewise.
34327         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
34328         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
34329         "bp-asm.h".
34330         (PARMS): Do not use macros from bp-asm.h.
34331         (strlen): Do not use BP_SYM.
34332         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
34333         "bp-asm.h".
34334         (PARMS): Do not use macros from bp-asm.h.
34335         (S1): Likewise.
34336         (S2): Likewise.
34337         (SIZE): Likewise.
34338         (__mpn_sub_n): Do not use BP_SYM.
34339         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
34340         "bp-asm.h".
34341         (PARMS): Do not use macros from bp-asm.h.
34342         (S1): Likewise.
34343         (SIZE): Likewise.
34344         (__mpn_submul_1): Do not use BP_SYM.
34345         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
34346         "bp-asm.h".
34347         (PARMS): Do not use macros from bp-asm.h.
34348         (S1): Likewise.
34349         (S2): Likewise.
34350         (SIZE): Likewise.
34351         (__mpn_add_n): Do not use BP_SYM.
34352         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
34353         weak_alias.
34354         (bzero): Likewise.
34355         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
34356         "bp-asm.h".
34357         (PARMS): Do not use macros from bp-asm.h.
34358         (BLK2): Likewise.
34359         (LEN): Likewise.
34360         (memcmp): Do not use BP_SYM.
34361         (bcmp): Do not use BP_SYM in weak_alias.
34362         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
34363         "bp-asm.h".
34364         (PARMS): Do not use macros from bp-asm.h.
34365         (DEST): Likewise.
34366         (SRC): Likewise.
34367         (LEN): Likewise.
34368         (memcpy): Likewise.  Do not use BP_SYM.
34369         * sysdeps/i386/i686/memmove.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         (memmove): Likewise.  Do not use BP_SYM.
34376         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
34377         "bp-asm.h".
34378         (PARMS): Do not use macros from bp-asm.h.
34379         (DEST): Likewise.
34380         (SRC): Likewise.
34381         (LEN): Likewise.
34382         (__mempcpy): Likewise.  Do not use BP_SYM.
34383         (mempcpy): Do not use BP_SYM in weak_alias.
34384         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
34385         "bp-asm.h".
34386         (PARMS): Do not use macros from bp-asm.h.
34387         (DEST): Likewise.
34388         (LEN): Likewise.
34389         [!BZERO_P] (CHR): Likewise.
34390         (memset): Likewise.  Do not use BP_SYM.
34391         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
34392         "bp-asm.h".
34393         (PARMS): Do not use macros from bp-asm.h.
34394         (STR2): Likewise.
34395         (strcmp): Do not use BP_SYM.
34396         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
34397         "bp-asm.h".
34398         (PARMS): Do not use macros from bp-asm.h.
34399         (STR): Likewise.
34400         (DELIM): Likewise.
34401         [USE_AS_STRTOK_R] (SAVE): Likewise.
34402         (FUNCTION): Likewise.  Do not use BP_SYM.
34403         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
34404         aliases.
34405         (strtok_r): Likewise.
34406         (__GI___strtok_r): Likewise.
34407         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34408         (PARMS): Do not use macros from bp-asm.h.
34409         (S): Likewise.
34410         (SIZE): Likewise.
34411         (__mpn_lshift): Do not use BP_SYM.
34412         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34413         (PARMS): Do not use macros from bp-asm.h.
34414         (STR): Likewise.
34415         (CHR): Likewise.
34416         (__memchr): Do not use BP_SYM.
34417         (memchr): Do not use BP_SYM in weak_alias.
34418         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34419         (PARMS): Do not use macros from bp-asm.h.
34420         (BLK2): Likewise.
34421         (LEN): Likewise.
34422         (memcmp): Do not use BP_SYM.
34423         (bcmp): Do not use BP_SYM in weak_alias.
34424         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
34425         (PARMS): Do not use macros from bp-asm.h.
34426         (S1): Likewise.
34427         (SIZE): Likewise.
34428         (__mpn_mul_1): Do not use BP_SYM.
34429         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
34430         "bp-asm.h".
34431         (PARMS): Do not use macros from bp-asm.h.
34432         (STR): Likewise.
34433         (CHR): Likewise.
34434         (__rawmemchr): Do not use BP_SYM.
34435         (rawmemchr): Do not use BP_SYM in weak_alias.
34436         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34437         (PARMS): Do not use macros from bp-asm.h.
34438         (S): Likewise.
34439         (SIZE): Likewise.
34440         (__mpn_rshift): Do not use BP_SYM.
34441         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34442         (PARMS): Do not use macros from bp-asm.h.
34443         (SIGMSK): Likewise.
34444         (__sigsetjmp): Likewise.  Do not use BP_SYM.
34445         * sysdeps/i386/start.S: Do not include "bp-sym.h".
34446         (_start): Do not use BP_SYM.
34447         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
34448         (PARMS): Do not use macros from bp-asm.h.
34449         (DEST): Likewise.
34450         (SRC): Likewise.
34451         (__stpcpy): Likewise.  Do not use BP_SYM.
34452         (stpcpy): Do not use BP_SYM in weak_alias.
34453         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
34454         "bp-asm.h".
34455         (PARMS): Do not use macros from bp-asm.h.
34456         (DEST): Likewise.
34457         (SRC): Likewise.
34458         (LEN): Likewise.
34459         (__stpncpy): Likewise.  Do not use BP_SYM.
34460         (stpncpy): Do not use BP_SYM in weak_alias.
34461         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34462         (PARMS): Do not use macros from bp-asm.h.
34463         (STR): Likewise.
34464         (CHR): Likewise.
34465         (strchr): Likewise.  Do not use BP_SYM.
34466         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
34467         "bp-asm.h".
34468         (PARMS): Do not use macros from bp-asm.h.
34469         (STR): Likewise.
34470         (CHR): Likewise.
34471         (__strchrnul): Likewise.  Do not use BP_SYM.
34472         (strchrnul): Do not use BP_SYM in weak_alias.
34473         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
34474         "bp-asm.h".
34475         (PARMS): Do not use macros from bp-asm.h.
34476         (STOP): Likewise.
34477         (strcspn): Do not use BP_SYM.
34478         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
34479         "bp-asm.h".
34480         (PARMS): Do not use macros from bp-asm.h.
34481         (STR): Likewise.
34482         (STOP): Likewise.
34483         (strpbrk): Likewise.  Do not use BP_SYM.
34484         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
34485         "bp-asm.h".
34486         (PARMS): Do not use macros from bp-asm.h.
34487         (STR): Likewise.
34488         (CHR): Likewise.
34489         (strrchr): Likewise.  Do not use BP_SYM.
34490         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
34491         (PARMS): Do not use macros from bp-asm.h.
34492         (SKIP): Likewise.
34493         (strspn): Do not use BP_SYM.
34494         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
34495         (PARMS): Do not use macros from bp-asm.h.
34496         (STR): Likewise.
34497         (DELIM): Likewise.
34498         (SAVE): Likewise.
34499         (FUNCTION): Likewise.  Do not use BP_SYM.
34500         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
34501         aliases.
34502         (strtok_r): Likewise.
34503         (__GI___strtok_r): Likewise.
34504         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34505         (PARMS): Do not use macros from bp-asm.h.
34506         (S1): Likewise.
34507         (S2): Likewise.
34508         (SIZE): Likewise.
34509         (__mpn_sub_n): Do not use BP_SYM.
34510         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
34511         "bp-asm.h".
34512         (PARMS): Do not use macros from bp-asm.h.
34513         (S1): Likewise.
34514         (SIZE): Likewise.
34515         (__mpn_submul_1): Do not use BP_SYM.
34516         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
34517         <bp-sym.h>.
34518         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
34519         and <bp-asm.h>.
34520         (PARMS): Do not use macros from bp-asm.h.
34521         (FLAGS): Likewise.
34522         (PTID): Likewise.
34523         (TLS): Likewise.
34524         (CTID): Likewise.
34525         (__clone): Do not use BP_SYM.
34526         (clone): Do not use BP_SYM in weak_alias.
34527         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
34528         and <bp-asm.h>.
34529         (PARMS): Do not use macros from bp-asm.h.
34530         (LEN): Likewise.
34531         (__mmap64): Do not use BP_SYM.
34532         (mmap64): Do not use BP_SYM in weak_alias.
34533         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34534         <bp-sym.h> and <bp-asm.h>.
34535         (PARMS): Do not use macros from bp-asm.h.
34536         (__posix_fadvise64_l64): Do not use BP_SYM.
34537         * sysdeps/unix/sysv/linux/i386/semtimedop.S
34538         (PARMS): Do not use macros from bp-asm.h.
34539         (NSOPS): Likewise.
34540         (semtimedop): Do not use BP_SYM.
34541         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
34542         and <bp-asm.h>.
34544 2013-02-21  Allan McRae  <allan@archlinux.org>
34546         * manual/message.texi (Charset conversion in gettext):
34547         Move @end statement to beginning of line.
34549 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34551         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
34552         static.
34553         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34554         Likewise.
34556         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
34557         (denorm): Likewise.
34558         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
34559         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
34561 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34563         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
34564         tail-call to the resolved function if pltexit isn't needed.
34566 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34568         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
34569         or Y being zero as being unlikely.
34570         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34571         Likewise.
34573 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
34575         * manual/nss.texi (System Databases and Name Service Switch):
34576         Remove frobnicate @pxref.
34578 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
34580         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34581         __attribute__ ((unused)) to __attribute__ ((__unused__)).
34583 2013-02-20  Petr Machata  <pmachata@redhat.com>
34585         * elf/elf.h (R_ARM_TARGET1): New macro.
34586         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
34587         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
34588         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
34589         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
34590         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
34591         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
34592         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
34593         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
34594         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
34595         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
34596         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
34597         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
34598         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
34599         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
34600         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
34601         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
34602         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
34603         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
34604         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
34605         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
34606         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
34607         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
34608         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
34609         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
34610         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
34611         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
34612         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
34613         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
34614         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
34615         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
34616         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
34617         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
34618         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
34619         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
34620         (R_ARM_THM_GOT_BREL12): Likewise.
34621         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
34622         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
34623         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
34624         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
34625         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
34626         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
34627         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
34628         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
34629         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
34631 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
34633         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34634         __attribute_used__ to __attribute__ ((unused)).
34636 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34638         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
34639         powerpc mpa.c.
34640         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
34641         comment formatting.
34642         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
34644 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
34646         [BZ #13550]
34647         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
34648         Remove macro.
34649         (ENTER): Remove both macro definitions.
34650         (LEAVE): Likewise.
34651         (CHECK_BOUNDS_LOW): Likewise.
34652         (CHECK_BOUNDS_HIGH): Likewise.
34653         (CHECK_BOUNDS_BOTH): Likewise.
34654         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
34655         (RETURN_BOUNDED_POINTER): Likewise.
34656         (RETURN_NULL_BOUNDED_POINTER): Likewise.
34657         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
34658         (POP_ERRNO_LOCATION_RETURN): Likewise.
34659         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
34660         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34661         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
34662         macros.
34663         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34664         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
34665         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
34666         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
34667         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
34668         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
34669         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
34670         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
34671         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
34672         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
34673         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
34674         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
34675         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34676         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
34677         removed macros.
34678         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34679         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
34680         macros.
34681         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34682         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
34683         * sysdeps/i386/i586/memset.S (memset): Likewise.
34684         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
34685         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34686         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
34687         macros.
34688         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34689         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
34690         Change uses of L(2) to L(out).
34691         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
34692         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
34693         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
34694         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34695         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
34696         removed macros.
34697         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34698         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
34699         macros.
34700         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34701         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
34702         (RETURN): Do not use macro LEAVE.
34703         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
34704         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
34705         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
34706         * sysdeps/i386/i686/memset.S (memset): Likewise.
34707         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
34708         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
34709         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34710         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
34711         Likewise.
34712         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34713         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
34714         L(1_2) and L(1_3) into L(1).
34715         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34716         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
34717         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34718         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
34719         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34720         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
34721         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
34722         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34723         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
34724         macros.
34725         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
34726         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34727         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
34728         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
34729         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
34730         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34731         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
34732         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
34733         * sysdeps/i386/strcspn.S (strcspn): Likewise.
34734         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
34735         * sysdeps/i386/strrchr.S (strrchr): Likewise.
34736         * sysdeps/i386/strspn.S (strspn): Likewise.
34737         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
34738         conditional code.
34739         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34740         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
34741         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34742         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
34743         L(1_3) into L(1_1).
34744         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
34745         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34746         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
34747         macros.
34748         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34750 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
34752         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
34753         macro.
34755 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34757         * math/atest-exp.c (exp_mpn): Remove ROUND.
34758         * math/atest-exp2.c (exp_mpn): Likewise.
34759         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
34761         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
34762         * stdlib/tst-tls-atexit-lib.c: Likewise.
34763         * stdlib/tst-tls-atexit.c: Likewise.
34765 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
34767         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
34768         and __attribute_alloc_size__.
34770 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
34772         * include/programs/xmalloc.h: Change __attribute_alloc_size to
34773         __attribute_alloc_size__.
34774         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
34775         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
34777 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
34779         * include/programs/xmalloc.h: New file.
34780         * catgets/gencat.c: Include it.
34781         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
34782         * elf/pldd.c: Likewise.
34783         * iconv/iconv_charmap.c: Likewise.
34784         * iconv/iconvconfig.c: Likewise.
34785         * iconv/strtab.c: Likewise.
34786         * locale/programs/locale.c: Likewise.
34787         * locale/programs/localedef.h: Likewise.
34788         * locale/programs/simple-hash.c: Likewise.
34789         * nscd/nscd.h: Likewise.
34790         * nss/makedb.c: Likewise.
34791         * sysdeps/generic/ldconfig.h: Likewise.
34793 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34795         * Versions.def: Add GLIBC_2.18.
34796         * include/link.h (struct link_map): New member l_tls_dtor_count.
34797         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
34798         (__call_tls_dtors): Likewise.
34799         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
34800         __cxa_thread_atexit_impl.
34801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34802         Likewise.
34803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34804         Likewise.
34805         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34806         Likewise.
34807         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34808         Likewise.
34809         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34810         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
34811         Likewise.
34812         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
34813         Likewise.
34814         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34816         Likewise.
34817         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
34818         (tests): Add test case tst-tls-atexit.
34819         (modules-names): Add shared library for tst-tls-atexit.
34820         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
34821         (GLIBC_PRIVATE): Add __call_tls_dtors.
34822         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
34823         for libstdc++.
34824         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
34825         * stdlib/tst-tls-atexit.c: New test case.
34826         * stdlib/tst-tls-atexit-lib.c: New test case.
34828         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
34830         * elf/Versions (ld): Add _dl_find_dso_for_object.
34831         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
34832         * elf/dl-open.c (_dl_find_dso_for_object): New function.
34833         (dl_open_worker): Use _dl_find_dso_for_object.
34834         * elf/dl-sym.c (do_sym): Likewise.
34835         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
34837 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34839         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
34840         Syntactic changes only.
34841         (_dl_runtime_profile): Do a tail-call to the resolved function.
34843 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
34845         [BZ #13550]
34846         * sysdeps/x86_64/bp-asm.h: Remove file.
34847         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
34848         <bp-sym.h> and <bp-asm.h>.
34849         (__clone): Do not use BP_SYM.
34850         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
34851         <bp-sym.h> and <bp-asm.h>.
34852         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34853         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
34854         "bp-asm.h".
34855         (_setjmp): Do not use BP_SYM.
34856         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
34857         "bp-asm.h".
34858         (setjmp): Do not use BP_SYM.
34859         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
34860         libc_hidden_def.
34861         (mempcpy): Do not use BP_SYM in weak_alias.
34862         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
34863         "bp-asm.h".
34864         (strchr): Do not use BP_SYM.
34865         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
34866         "bp-asm.h".
34867         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
34868         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
34869         (_start): Do not use BP_SYM.
34870         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
34871         "bp-asm.h".
34872         (strcat): Do not use BP_SYM.
34873         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
34874         "bp-asm.h".
34875         (STRCMP): Do not use BP_SYM.
34876         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
34877         "bp-asm.h".
34878         (STRCPY): Do not use BP_SYM.
34879         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
34880         "bp-asm.h".
34881         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
34882         "bp-asm.h".
34883         (FUNCTION): Do not use BP_SYM.
34884         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
34885         weak_alias.
34886         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
34888 2013-02-17  Andreas Jaeger  <aj@suse.de>
34890         * time/Versions: Sort entries.
34891         * string/Versions: Likewise.
34892         * resolv/Versions: Likewise.
34893         * posix/Versions: Likewise.
34894         * iconv/Versions: Likewise.
34895         * elf/Versions: Likewise.
34896         * wcsmbs/Versions: Likewise.
34898 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34900         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
34901         loop termination condition.
34903         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
34904         variable to calculate EZ.
34905         (__sqr): Likewise.
34907         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
34908         the lower precision input.
34910 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
34912         [BZ #13550]
34913         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
34914         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
34915         (run-via-rtld-prefix): Do not handle %-bp tests.
34916         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
34917         (all-object-suffixes): Remove .ob.
34918         (bppfx): Remove variable.
34919         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
34920         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
34921         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
34922         [$(build-bounded) = yes] (libtype.ob): Likewise.
34923         * Makerules (elide-routines.ob): Remove variable.
34924         (do-tests-clean): Do not handle *-bp.out.
34925         (common-mostlyclean): Do not handle *-bp and *-bp.out.
34926         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
34927         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
34928         (tests): Do not include $(tests-bp.out).
34929         (xtests): Do not include $(xtests-bp.out).
34930         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
34931         [$(build-bounded) = yes] ($(addprefix
34932         $(objpfx),$(binaries-bounded))): Remove rule.
34933         ($(objpfx)%-bp.out): Remove rule.
34934         * config.make.in (build-bounded): Remove variable.
34935         * crypt/Makefile [$(build-bounded) = yes]
34936         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
34937         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
34938         append to variable.
34939         [$(build-bounded) = yes] (install-lib): Likewise.
34940         [$(build-bounded) = yes] (generated): Likewise.
34941         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
34942         Remove rule.
34943         * intl/Makefile [$(build-bounded) = yes]
34944         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
34945         * math/Makefile [$(build-bounded) = yes]
34946         ($(tests:%=$(objpfx)%-bp): Likewise.
34947         * misc/Makefile [$(build-bounded) = yes]
34948         ($(objpfx)tst-tsearch-bp): Likewise.
34949         * nptl/Makeconfig (bounded-thread-library): Remove variable.
34950         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
34951         Remove dependency.
34952         * string/Makefile (o-objects.ob): Remove variable.
34953         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
34954         (CFLAGS-.ob): Remove variable.
34955         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
34956         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
34957         both definitions of variable.
34958         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
34959         (ASFLAGS-.ob): Remove variable.
34961 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
34963         [BZ #13550]
34964         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
34965         Remove __BOUNDED_POINTERS__ from condition.
34966         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
34967         * string/bits/string2.h [!__NO_STRING_INLINES &&
34968         !__BOUNDED_POINTERS__]: Likewise.
34969         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
34970         Likewise.
34971         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
34972         Remove conditional code.
34973         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
34974         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
34975         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
34976         condition.
34978         [BZ #13550]
34979         * csu/libc-start.c: Do not include <bp-sym.h>.
34980         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
34981         * elf/dl-open.c: Do not include <bp-sym.h>.
34982         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
34983         * math/fegetenv.c: Do not include <bp-sym.h>.
34984         (fegetenv): Do not use BP_SYM in versioned symbols.
34985         * nptl/sysdeps/pthread/bits/libc-lockP.h
34986         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
34987         <bp-sym.h>.
34988         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34989         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
34990         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34991         (__pthread_mutex_destroy): Likewise.
34992         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34993         (__pthread_mutex_lock): Likewise.
34994         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34995         (__pthread_mutex_trylock): Likewise.
34996         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34997         (__pthread_mutex_unlock): Likewise.
34998         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34999         (__pthread_mutexattr_init): Likewise.
35000         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35001         (__pthread_mutexattr_destroy): Likewise.
35002         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35003         (__pthread_mutexattr_settype): Likewise.
35004         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35005         (__pthread_rwlock_init): Likewise.
35006         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35007         (__pthread_rwlock_destroy): Likewise.
35008         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35009         (__pthread_rwlock_rdlock): Likewise.
35010         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35011         (__pthread_rwlock_tryrdlock): Likewise.
35012         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35013         (__pthread_rwlock_wrlock): Likewise.
35014         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35015         (__pthread_rwlock_trywrlock): Likewise.
35016         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35017         (__pthread_rwlock_unlock): Likewise.
35018         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35019         (__pthread_key_create): Likewise.
35020         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35021         (__pthread_setspecific): Likewise.
35022         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35023         (__pthread_getspecific): Likewise.
35024         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
35025         Likewise.
35026         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35027         (_pthread_cleanup_push_defer): Likewise.
35028         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35029         (_pthread_cleanup_pop_restore): Likewise.
35030         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35031         (pthread_setcancelstate): Likewise.
35032         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
35033         <bp-sym.h>.
35034         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
35035         (memchr): Do not use BP_SYM in weak_alias.
35036         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
35037         (fegetenv): Do not use BP_SYM in versioned symbols.
35038         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
35039         (fesetenv): Do not use BP_SYM in versioned symbols.
35040         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35041         (feupdateenv): Do not use BP_SYM in versioned symbols.
35042         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35043         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35044         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
35045         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
35046         (open64): Do not use BP_SYM in weak_alias.
35047         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
35048         (fegetenv): Do not use BP_SYM in versioned symbols.
35049         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
35050         (fesetenv): Do not use BP_SYM in versioned symbols.
35051         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35052         (feupdateenv): Do not use BP_SYM in versioned symbols.
35053         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
35054         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
35055         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
35056         (feraiseexcept): Do not use BP_SYM in versioned symbols.
35057         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35058         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35059         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
35060         <bp-sym.h>.
35061         (__libc_start_main): Do not use BP_SYM.
35063 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35065         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
35066         redundant return line.
35067         (norm): Likewise.
35068         (denorm): Likewise.
35069         (dbl_mp): Likewise.
35070         (sub_magnitudes): Likewise.
35071         (__add): Likewise.
35072         (__sub): Likewise.
35073         (__mul): Likewise.
35074         (__inv): Likewise.
35075         (__dvd): Likewise.
35076         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
35077         (norm): Likewise.
35078         (denorm): Likewise.
35079         (dbl_mp): Likewise.
35080         (sub_magnitudes): Likewise.
35081         (__add): Likewise.
35082         (__sub): Likewise.
35083         (__mul): Likewise.
35084         (__inv): Likewise.
35085         (__dvd): Likewise.
35087         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
35088         instead of __mul.
35089         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35090         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
35091         (cc32): Likewise.
35093         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
35094         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
35095         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
35096         of __mul for squares.
35097         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
35098         function
35099         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
35100         Likewise.
35101         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
35102         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35104 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
35106         [BZ #13550]
35107         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
35108         code.
35109         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
35110         prototype or function definition.  Rename ubp_* variables and
35111         parameters.  Remove argv definitions conditional on
35112         [__BOUNDED_POINTERS__].
35113         * debug/backtrace.c (__backtrace): Do not use __unbounded.
35114         * elf/dl-runtime.c (_dl_fixup): Likewise.
35115         * include/set-hooks.h (RUN_HOOK): Likewise.
35116         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
35117         definition.
35118         * string/strcpy.c (strcpy): Do not use __unbounded.
35119         * sysdeps/generic/frame.h (struct layout): Likewise.
35120         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
35121         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
35122         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
35123         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
35124         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
35125         (__backtrace): Likewise.
35126         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
35127         use __ptrvalue.
35128         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
35129         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
35130         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35131         Likewise.
35132         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
35133         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
35134         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
35135         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35136         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
35137         Do not use __unbounded.
35138         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
35139         Rename __unboundedrlimits parameter to rlimits in prototype.
35140         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
35141         Do not use __unbounded.
35142         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
35143         not use __ptrvalue.
35144         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35145         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
35146         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35147         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
35148         __ptrvalue or __unbounded.
35149         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
35150         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
35151         use __unbounded.
35152         (__new_msgctl): Do not use __ptrvalue.
35153         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
35154         __unbounded.
35155         (__libc_msgrcv): Do not use __ptrvalue.
35156         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
35157         startup_info): Do not use __unbounded.
35158         (__libc_start_main): Likewise.  Rename ubp_* variables and
35159         parameters.  Remove argv definitions conditional on
35160         [__BOUNDED_POINTERS__].
35161         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
35162         __ptrvalue.
35163         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
35164         use __unbounded.
35165         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
35166         or __ptrvalue.
35167         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
35168         use __unbounded.
35169         (__new_shmctl): Do not use __ptrvalue.
35170         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
35171         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
35172         Likewise.
35173         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
35174         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
35175         (__libc_sigaction): Likewise.
35176         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
35177         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
35178         Likewise.
35179         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35181 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
35183         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
35185         * string/mempcpy.c: Implement by calling memcpy.
35187 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35189         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
35191         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
35192         evaluation.
35194         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
35195         values in the mantissa.
35197         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
35198         minimize writes to Z.
35199         (sub_magnitudes): Simplify code a bit.
35201 2013-02-12  Roland McGrath  <roland@hack.frob.com>
35203         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
35204         from the message.  The linker prefixes all warnings with that already.
35206 2013-02-12  Andreas Schwab  <schwab@suse.de>
35208         [BZ #15078]
35209         * posix/regexec.c (extend_buffers): Add parameter min_len.
35210         (check_matching): Pass minimum needed length.
35211         (clean_state_log_if_needed): Likewise.
35212         (get_subexp): Likewise.
35213         * posix/Makefile (tests): Add bug-regex34.
35214         (bug-regex34-ENV): Define.
35215         * posix/bug-regex34.c: New file.
35217         [BZ #11561]
35218         * posix/regcomp.c (parse_bracket_exp): When looking up collating
35219         elements compare against the byte sequence of it, not its name.
35220         * posix/Makefile (tests): Add bug-regex35.
35221         (bug-regex35-ENV): Define.
35222         * posix/bug-regex35.c: New file.
35224 2013-02-11  Tom de Vries  <tom@codesourcery.com>
35226         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
35227         comment.
35228         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
35229         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
35230         (CHECK_EOL): Add undef.
35232 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
35234         * bits/stdlib-bsearch.h: New file.
35235         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
35236         * stdlib/stdlib.h: Likewise.
35238 2013-02-11  Roland McGrath  <roland@hack.frob.com>
35240         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
35241         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
35242         declaration.
35243         * manual/search.texi (Array Search Function): Add missing const in
35244         lfind prototype.
35245         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
35246         declaration to use rlim_t.
35247         (Basic Scheduling Functions): Remove erroneous const from
35248         sched_getparam prototype.  Remove erroneous * from
35249         sched_get_priority_max and sched_get_priority_min prototypes.
35250         (Resource Usage): Fix summary @comment on vtimes to refer to
35251         sys/vtimes.h rather than vtimes.h.
35252         Add missing *s in vtimes prototype.
35253         (Limits on Resources): Fix ulimit prototype to return long int.
35254         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
35255         prototypes to use long int rather than double.
35256         (BSD Random): Fix initstate and setstate to use char *, not void *.
35257         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
35258         prototype to make second argument 'struct aiocb64 *const[]'.
35259         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
35260         (Status of AIO Operations): Remove erroneous const in aio_return and
35261         aio_return64 prototypes.
35262         (Synchronizing I/O): Fix sync prototype to return void.
35263         * manual/startup.texi (Suboptions): Remove an erroneous const in
35264         getsubopt prototype.
35265         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
35266         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
35267         use size_t rather than int.
35268         (Scanning All Users): Likewise for getpwent_r.
35269         (Setting Groups): Add missing const to setgroups prototype.
35270         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
35271         * manual/socket.texi (Host Names): Fix gethostbyaddr and
35272         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
35273         'const void *' rather than 'const char *'.
35274         (Host Address Functions): Likewise for inet_ntop.
35275         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
35276         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
35277         ssize_t for return value.
35278         (Sending Data): Likewise for send, sendto, sendmsg.
35279         (Socket Option Functions): Add a missing const in setsockopt prototype.
35280         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
35281         use wchar_t for the argument.
35282         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
35283         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
35284         take no arguments.
35285         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
35286         double/float/long double for second argument.
35287         Fix return types of significand, significandf, significandl.
35288         * manual/filesys.texi (Setting Permissions): Use mode_t for second
35289         argument in fchmod prototype.
35290         (File Owner): Use uid_t and gid_t in fchown prototype.
35291         (File Times): Add const to utimes, futimes, and lutimes prototypes.
35292         (Making Special Files): Use mode_t and dev_t in mknod prototype.
35293         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
35294         use 'const struct dirent **' as argument types to CMP function pointer
35295         argument.
35296         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
35297         (File Times): Fix summary magic @comment for struct utimbuf and utime
35298         to refer to utime.h, not time.h.
35299         * manual/string.texi (Argz Functions): Add missing const in
35300         argz_extract and argz_next prototypes.
35301         (Finding Tokens in a String): Likewise for basename.
35302         (String/Array Comparison): Fix typo in wcscasecmp prototype.
35303         (Copying and Concatenation): Fix typo in wmemmove prototype.
35304         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
35305         (Signal Stack): Remove erroneous const in sigstack prototype.
35306         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
35307         prototype.
35308         (Simple Calendar Time): Likewise for stime.
35309         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
35310         prototype.
35311         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
35312         say sys/sysctl.h instead.
35313         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
35314         and vsyslog prototypes.
35316 2013-02-11  Tom de Vries  <tom@codesourcery.com>
35318         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
35319         Remove.
35321 2013-02-11  Roland McGrath  <roland@hack.frob.com>
35323         * misc/sys/mman.h: Fix typo in mremap comment.
35325 2013-02-08  Roland McGrath  <roland@hack.frob.com>
35327         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
35328         the '\0' terminator.
35330 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
35332         [BZ #13550]
35333         * debug/segfault.c: Don't include <bp-checks.h>.
35334         * sysdeps/generic/bp-checks.h: Remove file.
35335         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
35336         (__GETDENTS): Don't use CHECK_N.
35337         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
35338         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
35339         (__getgroups): Don't use CHECK_N.
35340         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
35341         (setgroups): Don't use CHECK_N.
35342         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
35343         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
35344         (__libc_msgrcv): Don't use CHECK_N.
35345         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
35346         (__libc_msgsnd): Don't use CHECK_N.
35347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
35348         <bp-checks.h>.
35349         (__libc_pread): Don't use CHECK_N.
35350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
35351         include <bp-checks.h>.
35352         (__libc_pread64): Don't use CHECK_N.
35353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
35354         include <bp-checks.h>.
35355         (__libc_pwrite): Don't use CHECK_N.
35356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
35357         include <bp-checks.h>.
35358         (__libc_pwrite64): Don't use CHECK_N.
35359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
35360         <bp-checks.h>.
35361         (__libc_pread): Don't use CHECK_N.
35362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
35363         include <bp-checks.h>.
35364         (__libc_pread64): Don't use CHECK_N.
35365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
35366         include <bp-checks.h>.
35367         (__libc_pwrite): Don't use CHECK_N.
35368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
35369         include <bp-checks.h>.
35370         (__libc_pwrite64): Don't use CHECK_N.
35371         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
35372         (do_pread): Don't use CHECK_N.
35373         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
35374         (do_pread64): Don't use CHECK_N.
35375         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
35376         (do_pwrite): Don't use CHECK_N.
35377         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
35378         (do_pwrite64): Don't use CHECK_N.
35379         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
35380         (__libc_readv): Don't use CHECK_N.
35381         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
35382         (semop): Don't use CHECK_N.
35383         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
35384         <bp-checks.h>.
35385         (semtimedop): Don't use CHECK_N.
35386         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
35387         (__libc_pread): Don't use CHECK_N.
35388         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
35389         <bp-checks.h>.
35390         (__libc_pread64): Don't use CHECK_N.
35391         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
35392         <bp-checks.h>.
35393         (__libc_pwrite): Don't use CHECK_N.
35394         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
35395         <bp-checks.h>.
35396         (__libc_pwrite64): Don't use CHECK_N.
35397         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
35398         <bp-checks.h>.
35399         (__libc_msgrcv): Don't use CHECK_N.
35400         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
35401         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
35402         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
35403         (__libc_writev): Don't use CHECK_N.
35405 2013-02-08  Roland McGrath  <roland@hack.frob.com>
35407         * string/strcpy.c: Removed unused variable.
35409         * Makeconfig (+sysdep-includes): Define with := rather than =.
35410         Use an existing include/ subdir of each sysdeps dir before it.
35412 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
35414         * nscd/connection.c (register_traced_file): Comment function.
35415         [HAVE_INOTIFY] (union __inev): Define.
35416         [HAVE_INOTIFY] (inotify_check_files): New function.
35417         [HAVE_INOTIFY] (clear_db_cache): Likewise.
35418         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
35419         clear_db_cache.
35420         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
35422 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
35424         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
35425         loaded if not already and that a failure is permanent.
35427 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
35429         [BZ #15006]
35430         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
35431         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
35433 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
35435         [BZ #13550]
35436         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
35437         (CHECK_1_NULL_OK): Likewise.
35438         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
35439         (__fxstat): Do not use CHECK_1.
35440         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
35441         <bp-checks.h>.
35442         (___fxstat64): Do not use CHECK_1.
35443         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
35444         <bp-checks.h>.
35445         (__fxstatat): Do not use CHECK_1.
35446         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
35447         <bp-checks.h>.
35448         (__fxstatat64): Do not use CHECK_1.
35449         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
35450         <bp-checks.h>.
35451         (__fxstat): Do not use CHECK_1.
35452         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
35453         <bp-checks.h>.
35454         (__fxstatat): Do not use CHECK_1.
35455         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35456         <bp-checks.h>.
35457         (__getresgid): Do not use CHECK_1.
35458         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35459         <bp-checks.h>.
35460         (__getresuid): Do not use CHECK_1.
35461         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
35462         <bp-checks.h>.
35463         (__lxstat): Do not use CHECK_1.
35464         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35465         <bp-checks.h>.
35466         (__old_msgctl): Do not use CHECK_1.
35467         (__new_msgctl): Likewise.
35468         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
35469         <bp-checks.h>.
35470         (__new_setrlimit): Do not use CHECK_1.
35471         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35472         <bp-checks.h>.
35473         (__old_shmctl): Do not use CHECK_1.
35474         (__new_shmctl): Likewise.
35475         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
35476         <bp-checks.h>.
35477         (__xstat): Do not use CHECK_1.
35478         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
35479         (__lxstat): Do not use CHECK_1.
35480         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
35481         <bp-checks.h>.
35482         (___lxstat64): Do not use CHECK_1.
35483         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
35484         (__old_msgctl): Do not use CHECK_1.
35485         (__new_msgctl): Likewise.
35486         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
35487         <bp-checks.h>.
35488         (__gettimeofday): Do not use CHECK_1.
35489         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
35490         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
35491         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
35492         <bp-checks.h>.
35493         (__gettimeofday): Do not use CHECK_1.
35494         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
35495         (__old_shmctl): Do not use CHECK_1_NULL_OK.
35496         (__new_shmctl): Do not use CHECK_1.
35497         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
35498         <bp-checks.h>.
35499         (do_sigtimedwait): Do not use CHECK_1.
35500         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
35501         <bp-checks.h>.
35502         (do_sigwaitinfo): Do not use CHECK_1.
35503         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
35504         <bp-checks.h>.
35505         (msgctl): Do not use CHECK_1.
35506         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
35507         <bp-checks.h>.
35508         (shmctl): Do not use CHECK_1.
35509         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
35510         (ustat): Do not use CHECK_1.
35511         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
35512         <bp-checks.h>.
35513         (__fxstat): Do not use CHECK_1.
35514         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
35515         <bp-checks.h>.
35516         (__fxstatat): Do not use CHECK_1.
35517         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
35518         <bp-checks.h>.
35519         (__lxstat): Do not use CHECK_1.
35520         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
35521         <bp-checks.h>.
35522         (__xstat): Do not use CHECK_1.
35523         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
35524         (__xstat): Do not use CHECK_1.
35525         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
35526         (___xstat64): Do not use CHECK_1.
35528         [BZ #13550]
35529         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
35530         definitions.
35531         (CHECK_BOUNDS_HIGH): Likewise.
35532         * string/strcpy.c: Do not include <bp-checks.h>.
35533         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
35535 2013-02-07  Roland McGrath  <roland@hack.frob.com>
35537         * nscd/nscd-client.h (__nscd_drop_map_ref):
35538         Add __attribute__ ((unused)).
35539         * nis/nss-nisplus.h (niserr2nss): Likewise.
35541         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
35542         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
35544         * csu/libc-tls.c (init_static_tls, init_slotinfo):
35545         Remove inline keyword.
35546         * include/rounding-mode.h (round_away): Likewise.
35547         * libio/wfileops.c (adjust_wide_data): Likewise.
35548         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
35549         (__m128i_strloadu_tolower): Likewise.
35550         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
35551         (__m128i_strloadu_tolower): Likewise.
35552         * time/mktime.c (ydhms_diff): Likewise.
35553         * locale/elem-hash.h (elem_hash): Likewise.
35554         * locale/setlocale.c (setdata): Likewise.
35555         * posix/regex_internal.h (re_string_char_size_at): Likewise.
35556         (re_string_wchar_at): Likewise.
35557         (bitset_not, bitset_merge, bitset_mask): Likewise.
35558         [!(__GNUC__ > 3)] (inline): Remove macro.
35559         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
35560         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
35561         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35562         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
35563         * string/memcmp.c (memcmp_bytes): Likewise.
35564         * locale/programs/locarchive.c (compute_hashval): Likewise.
35565         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
35566         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
35567         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
35568         * nss/getent.c (print_rpc, print_protocols): Likewise.
35569         (print_passwd, print_group, print_aliases): Likewise.
35570         * nis/nss-nisplus.h (niserr2nss): Likewise.
35571         * nscd/connections.c (restart_p): Likewise.
35572         Change return type to bool.
35574 2013-02-05  Roland McGrath  <roland@hack.frob.com>
35576         * Makeconfig (all-Depend-files): Add existing
35577         $(sorted-subdirs:=/Depend) files.
35578         (all-subdirs): Remove nss.
35579         * sysdeps/unix/inet/Subdirs: Add it here instead.
35580         * hesiod/Depend: New file.
35582         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
35583         instead of calling alloca.
35585         * io/lseek.c (__lseek): Rename to __libc_lseek.
35586         Define __lseek as an alias.
35588         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
35590 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
35592         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
35593         else clause and remove check for non-standard endianness.
35595 2013-02-04  David S. Miller  <davem@davemloft.net>
35597         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35599 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
35601         [BZ #13550]
35602         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
35603         (__ubp_memchr): Remove prototype.
35604         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
35605         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35606         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
35607         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35608         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
35609         Remove alias.
35610         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
35611         (__ubp_memchr): Likewise.
35612         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
35613         (__ubp_memchr): Likewise.
35614         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
35615         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
35616         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
35617         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
35618         CHECK_STRING.
35619         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
35620         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
35621         (__getcwd): Do not use CHECK_STRING.
35622         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35623         <bp-checks.h>.
35624         (__real_chown): Do not use CHECK_STRING.
35625         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
35626         <bp-checks.h>.
35627         (fchownat): Do not use CHECK_STRING.
35628         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
35629         CHECK_STRING.
35630         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35631         <bp-checks.h>.
35632         (__lchown): Do not use CHECK_STRING.
35633         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35634         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35635         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35636         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
35637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35638         include <bp-checks.h>.
35639         (truncate64): Do not use CHECK_STRING.
35640         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35641         <bp-checks.h>.
35642         (__real_chown): Do not use CHECK_STRING.
35643         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35644         <bp-checks.h>.
35645         (__lchown): Do not use CHECK_STRING.
35646         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35647         <bp-checks.h>.
35648         (__chown): Do not use CHECK_STRING.
35649         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
35650         <bp-checks.h>.
35651         (truncate64): Do not use CHECK_STRING.
35652         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
35653         Likewise.
35654         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
35655         (__xmknod): Do not use CHECK_STRING.
35656         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
35657         <bp-checks.h>.
35658         (__xmknodat): Do not use CHECK_STRING.
35659         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35660         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
35662 2013-02-04  Andreas Schwab  <schwab@suse.de>
35664         [BZ #14142]
35665         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
35666         * include/netdb.h: Likewise for h_errno.
35667         * elf/tst-stackguard1.c: Include <tls.h>.
35669 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
35671         * elf/link.h (struct link_map): Extend the l_addr comment.
35672         * include/link.h (struct link_map): Likewise.
35674 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
35676         [BZ #13550]
35677         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
35678         (BOUNDED_1): Remove macro.
35679         * debug/backtrace.c: Don't include <bp-checks.h>.
35680         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
35681         (__backtrace): Likewise.
35682         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
35683         <bp-checks.h>.
35684         (__backtrace): Don't use BOUNDED_1.
35685         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
35686         <bp-checks.h>.
35687         (__backtrace): Don't use BOUNDED_1.
35688         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
35689         (__backtrace): Don't use BOUNDED_1.
35690         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
35691         (shmat): Don't use BOUNDED_N.
35693 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
35695         [BZ #13550]
35696         * sysdeps/generic/bp-start.h: Remove file.
35697         * csu/libc-start.c: Don't include <bp-start.h>.
35698         (LIBC_START_MAIN): Set up __environ directly instead of using
35699         INIT_ARGV_and_ENVIRON.
35700         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
35701         <bp-start.h>.
35703         [BZ #13550]
35704         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
35705         definitions.
35706         (CHECK_FCNTL): Likewise.
35707         (CHECK_N_PAGES): Likewise.
35709         [BZ #13550]
35710         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
35711         definitions.
35712         (CHECK_SIGSET_NULL_OK): Likewise.
35713         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
35714         <bp-checks.h>.
35715         (sigpending): Don't use CHECK_SIGSET.
35716         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
35717         <bp-checks.h>.
35718         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35719         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
35720         <bp-checks.h>.
35721         (do_sigsuspend): Don't use CHECK_SIGSET.
35722         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
35723         use CHECK_SIGSET.
35724         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
35725         (do_sigwait): Don't use CHECK_SIGSET.
35726         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
35727         use CHECK_SIGSET.
35728         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
35729         include <bp-checks.h>.
35730         (sigpending): Don't use CHECK_SIGSET.
35731         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
35732         include <bp-checks.h>.
35733         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35734         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
35735         <bp-checks.h>.
35736         (sigpending): Don't use CHECK_SIGSET.
35737         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
35738         <bp-checks.h>.
35739         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35741         [BZ #13550]
35742         * sysdeps/generic/bp-semctl.h: Remove file.
35743         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
35744         <bp-checks.h> and <bp-semctl.h>.
35745         (__old_semctl): Don't use CHECK_SEMCTL.
35746         (__new_semctl): Likewise.
35747         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
35748         and <bp-semctl.h>.
35749         (__old_semctl): Don't use CHECK_SEMCTL.
35750         (__new_semctl): Likewise.
35751         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
35752         <bp-checks.h> and <bp-semctl.h>.
35753         (__old_semctl): Don't use CHECK_SEMCTL.
35754         (__new_semctl): Likewise.
35755         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
35756         <bp-checks.h> and <bp-semctl.h>.
35757         (semctl): Don't use CHECK_SEMCTL.
35759         [BZ #13550]
35760         * Makerules (elide-bp-thunks): Remove variable.
35761         (elide-routines.oS): Don't use $(elide-bp-thunks).
35762         (elide-routines.os): Likewise.
35763         (elide-routines.o): Likewise.
35764         (elide-routines.op): Likewise.
35765         (elide-routines.og): Likewise.
35766         (objects): Don't use $(bp-thunks).
35767         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
35768         include.
35769         (common-generated): Do not add s-proto-bp.d.
35770         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
35771         (int): Likewise.
35772         (typ): Likewise.
35773         Do not generate makefile rules for bounded-pointer thunks.
35774         * sysdeps/generic/bp-thunks.h: Remove file.
35775         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
35776         * sysdeps/unix/s-proto-bp.S: Likewise.
35778         [BZ #15062]
35779         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
35780         parts of result separately when argument is not close to line from
35781         -i to i and one part of argument is small.
35782         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35783         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35784         * math/libm-test.inc (cacos_test): Add more tests.
35785         (casin_test): Likewise.
35786         (casinh_test): Likewise.
35787         * sysdeps/i386/fpu/libm-test-ulps: Update.
35788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35790 2013-01-31  David S. Miller  <davem@davemloft.net>
35792         * po/de.po: Update from translation team.
35794 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
35796         * time/tzfile.c: Include stdint.h for SIZE_MAX.
35798 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
35800         * configure.in (_AC_PROG_CC_C89): New definition.
35801         * configure: Regenerate.
35803         * configure.in (AC_PROG_CPP): New definition.
35804         * configure: Regenerate.
35806 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
35808         * debug/tst-backtrace.h: New file.
35809         * debug/tst-backtrace2.c: Include tst-backtrace.h.
35810         (ret): Remove variable.
35811         (x): Likewise.
35812         (FAIL): Remove macro.
35813         (NO_INLINE): Likewise.
35814         (fn1): Use match function instead of strstr.
35815         * debug/tst-backtrace3.c: Include tst-backtrace.h.
35816         (ret): Remove variable.
35817         (x): Likewise.
35818         (FAIL): Remove macro.
35819         (NO_INLINE): Likewise.
35820         (fn): Use match function instead of strstr.
35821         * debug/tst-backtrace4.c: Include tst-backtrace.h.
35822         (ret): Remove variable.
35823         (x): Likewise.
35824         (FAIL): Remove macro.
35825         (NO_INLINE): Likewise.
35826         (handle_signal): Use match function instead of strstr.
35827         * debug/tst-backtrace5.c: Include tst-backtrace.h.
35828         (ret): Remove variable.
35829         (x): Likewise.
35830         (FAIL): Remove macro.
35831         (NO_INLINE): Likewise.
35832         (handle_signal): Use match function instead of strstr.
35834 2013-01-23  Roland McGrath  <roland@hack.frob.com>
35836         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
35838 2013-01-23  David S. Miller  <davem@davemloft.net>
35840         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
35841         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
35842         argument of CAS if possible.
35843         * sysdeps/sparc/sparc64/bits/atomic.h
35844         (__arch_compare_and_exchange_val_32_acq): Likewise.
35845         (__arch_compare_and_exchange_val_64_acq): Likewise.
35847 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
35849         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
35850         * sysdeps/posix/ulimit.c: ... this.
35851         Include <limits.h>.
35852         * sysdeps/unix/bsd/ulimit.c: Remove file.
35854 2013-01-23  Adam Conrad  <adconrad@0c3.net>
35856         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
35857         (LDFLAGS-tst-array5): Likewise.
35859 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
35861         [BZ #15036]
35862         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
35863         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
35864         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
35865         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
35867 2013-01-21  David S. Miller  <davem@davemloft.net>
35869         * sysdeps/sparc/backtrace.c: New file.
35870         * sysdeps/sparc/sparc32/backtrace.h: New file.
35871         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
35872         * sysdeps/sparc/sparc64/backtrace.h: New file.
35873         * sysdeps/sparc/sparc64/backtrace.c: Delete.
35874         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
35875         -funwind-tables.
35877 2013-01-21  Andreas Schwab  <schwab@suse.de>
35879         [BZ #15020]
35880         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
35881         closed its stdout.
35883 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
35885         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
35886         "mpa2.h".
35887         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35889 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
35890             Mark Mitchell  <mark@codesourcery.com>
35891             Tom de Vries  <tom@codesourcery.com>
35892             Paul Pluzhnikov  <ppluzhnikov@google.com>
35894         * debug/tst-backtrace2.c: New file.
35895         * debug/tst-backtrace3.c: Likewise.
35896         * debug/tst-backtrace4.c: Likewise.
35897         * debug/tst-backtrace5.c: Likewise.
35898         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
35899         (CFLAGS-tst-backtrace3.c): Likewise.
35900         (CFLAGS-tst-backtrace4.c): Likewise.
35901         (CFLAGS-tst-backtrace5.c): Likewise.
35902         (LDFLAGS-tst-backtrace2): Likewise.
35903         (LDFLAGS-tst-backtrace3): Likewise.
35904         (LDFLAGS-tst-backtrace4): Likewise.
35905         (LDFLAGS-tst-backtrace5): Likewise.
35906         (tests): Add new tests tst-backtrace2, tst-backtrace3,
35907         tst-backtrace4 and tst-backtrace5.
35909 2013-01-18  Anton Blanchard  <anton@samba.org>
35910             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35912         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
35913         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
35914         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
35915         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
35916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35917         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
35918         "+r" and remove output regs list as redundant.  Add explicit inline
35919         asm to specify register of return val to work around compiler codegen
35920         bug.  Remove (int) cast on return value.  Add return type parameter to
35921         use in macro so that this macro does not truncate return value for
35922         64-bit values.
35923         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
35924         pass to INTERNAL_VSYSCALL_NCS.
35925         (INLINE_VSYSCALL): Add 'long int' as return type to
35926         INTERNAL_VSYSCALL_NCS macro invocation.
35927         (INTERNAL_VSYSCALL): Add 'long int' as return type to
35928         INTERNAL_VSYSCALL_NCS macro invocation.
35929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35931 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35933         [BZ #14496]
35934         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
35935         Fix application of SIMD FP exception mask.
35937         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
35938         mp_no from a power of two.
35939         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
35940         __mpexp_twomm1.  Use __pow_mp.
35942         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
35943         multiplication.
35945 2013-01-17  David S. Miller  <davem@davemloft.net>
35947         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35949 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
35951         [BZ #15023]
35952         * include/complex.h: Condition contents on [!_COMPLEX_H].
35953         (__kernel_casinhf): New prototype.
35954         (__kernel_casinh): Likewise.
35955         (__kernel_casinhl): Likewise.
35956         * math/Makefile (libm_calls): Add k_casinh.
35957         * math/k_casinh.c: New file.
35958         * math/k_casinhf.c: Likewise.
35959         * math/k_casinhl.c: Likewise.
35960         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
35961         finite nonzero arguments.
35962         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
35963         finite nonzero arguments.
35964         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
35965         finite nonzero arguments.
35966         * math/s_casinh.c: Do not include <float.h>.
35967         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
35968         * math/s_casinhf.c: Do not include <float.h>.
35969         (__casinhf): Move code for finite nonzero arguments to
35970         k_casinhf.c.
35971         * math/s_casinhl.c: Do not include <float.h>.
35972         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
35973         redefine.
35974         (__casinhl): Move code for finite nonzero arguments to
35975         k_casinhl.c.
35976         * math/libm-test.inc (cacos_test): Add more tests.
35977         * sysdeps/i386/fpu/libm-test-ulps: Update.
35978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35980 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
35982         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
35983         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
35984         [!HAVE_MREMAP]: Remove [defined linux] case.
35985         * malloc/arena.c: Do not include <malloc-sysdep.h>.
35987 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35989         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
35991 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
35993         * elf/elf.h (R_386_SIZE32): New relocation.
35994         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
35995         R_386_SIZE32.
35996         (elf_machine_rela): Likewise.
35997         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35998         R_X86_64_SIZE64 and R_X86_64_SIZE32.
36000 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
36002         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
36003         (FP_FAST_FMA): Do not define.
36004         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
36005         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
36006         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
36007         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
36008         !_SOFT_FLOAT]: Likewise.
36009         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
36010         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
36011         value.
36012         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
36013         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
36014         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
36015         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
36016         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
36017         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
36018         file.
36020 2013-01-16  Andreas Schwab  <schwab@suse.de>
36022         [BZ #14327]
36023         * include/stdlib.h (__mktemp): Add declaration.
36024         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
36025         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
36027 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36029         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
36030         definitions.
36031         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36032         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
36033         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
36034         definitions here.
36035         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
36036         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
36037         definitions.
36038         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
36039         and ONE.
36040         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
36041         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
36042         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
36043         definitions.
36044         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
36045         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
36046         definitions.
36047         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36049         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
36051 2013-01-15  David S. Miller  <davem@davemloft.net>
36053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36054         trunc{,f} to libm-sysdep_routes.
36055         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
36057         file.
36058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
36059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
36060         file.
36061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
36062         file.
36063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
36064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
36065         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
36066         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
36067         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
36068         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
36069         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
36070         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
36072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36073         nearbyint{,f} to libm-sysdep_routes.
36074         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
36076         New file.
36077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
36078         file.
36079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
36080         New file.
36081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
36082         file.
36083         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
36084         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
36085         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
36086         file.
36087         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
36088         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
36089         file.
36090         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
36091         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
36092         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
36094         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36095         libc_feholdexcept and libc_fesetenv.
36097 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
36099         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
36101 2013-01-14  David S. Miller  <davem@davemloft.net>
36103         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
36104         (SPARC_ASM_VIS2_IFUNC): Likewise.
36105         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
36106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
36107         use of 'siam' instruction.
36108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
36109         Likewise.
36110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
36111         Likewise.
36112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
36113         Likewise.
36114         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
36115         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
36116         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
36117         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
36118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
36119         file.
36120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
36121         file.
36122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
36123         file.
36124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
36125         file.
36126         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
36127         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
36128         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
36129         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
36130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
36131         new VIS2 routines.
36132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36135         Likewise.
36136         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36137         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36138         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36139         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
36141         routines to libm-sysdep_routines.
36142         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36145         fdim/fdimf to libm-sysdep_routines.
36146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
36147         file.
36148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
36149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
36150         file.
36151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
36152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
36153         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
36154         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
36155         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
36156         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
36157         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
36159 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36161         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
36162         to optimize copies.
36164         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
36165         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36166         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36168         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
36169         local variable MPTWO.
36170         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36171         Likewise.
36173 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36175         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
36176         GLOB_NOESCAPE.
36178 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36180         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
36182 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36184         * manual/pattern.texi (glob_t): Document gl_flags.
36185         (glob64_t): Likewise.
36187 2013-01-11  David S. Miller  <davem@davemloft.net>
36189         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
36190         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
36191         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
36192         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
36193         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
36194         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
36195         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
36196         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
36197         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
36198         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
36199         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
36200         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
36201         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
36203         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36204         sparc V9 rather than using V8 code.
36205         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36206         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36208         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36209         Move to...
36210         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
36211         Here.
36213 2013-01-11  Roland McGrath  <roland@hack.frob.com>
36215         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
36216         not in the main loop.
36217         * configure: Regenerated.
36219 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
36221         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
36222         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
36223         to just #else.
36224         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
36225         [!__GLIBC_HAVE_LONG_LONG] case.
36226         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
36227         condition to just #else.
36228         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
36229         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
36230         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
36231         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
36232         unconditional.
36233         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
36234         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36235         #elif condition to just #else.
36236         * sysdeps/unix/sysv/linux/sys/sysmacros.h
36237         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
36238         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36239         #elif condition to just #else.
36241 2013-01-11  Steve Ellcey  <sellcey@mips.com>
36243         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
36244         (EF_MIPS_ARCH_64): Fix value.
36245         (EF_MIPS_ARCH_32R2): New.
36246         (EF_MIPS_ARCH_64R2): New.
36248 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
36250         * Makeconfig (+link-pie-before-libc): New.
36251         (+link-pie-after-libc): Likewise.
36252         (+link-pie-tests): Likewise.
36253         (+link-pie): Rewritten.
36254         (link-before-libc): Remove $(config-LDFLAGS).
36255         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
36256         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
36257         (config-LDFLAGS): Renamed to ...
36258         (rtld-LDFLAGS): This.
36259         (rtld-tests-LDFLAGS): New macro.
36260         (link-libc-rpath-link): Likewise.
36261         (link-libc-tests-rpath-link): Likewise.
36262         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
36263         (link-libc): Prepand $(link-libc-rpath-link).
36264         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
36265         (test-program-prefix): New macro.
36266         (test-via-rtld-prefix): Likewise.
36267         (test-program-cmd): Likewise.
36268         (host-test-program-cmd): Likewise.
36269         * Makefile ($(common-objpfx)testrun.sh): Replace
36270         $(run-program-prefix) with $(test-program-prefix).
36271         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
36272         $(rtld-LDFLAGS).
36273         ($(common-objpfx)shlib.lds): Likewise.
36274         (build-module-helper): Likewise.
36275         ($(common-objpfx)format.lds): Likewise.
36276         * Rules (binaries-pie-tests): New.
36277         (binaries-pie-notests): Likewise.
36278         (binaries-pie): Rewritten.
36279         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
36280         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
36281         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
36282         (make-test-out): Replace $(host-built-program-cmd) with
36283         $(host-test-program-cmd).
36284         * config.make.in (build-hardcoded-path-in-tests): New variable.
36285         * configure.in (--enable-hardcoded-path-in-tests): New configure
36286         option.
36287         (hardcoded_path_in_tests): New AC_SUBST.
36288         * configure: Regenerated.
36289         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
36290         $(built-program-cmd) with $(test-program-cmd).
36291         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
36292         (test_program_cmd): This.
36293         * elf/Makefile ($(objpfx)order.out): Run test with
36294         $(test-program-prefix).
36295         ($(objpfx)order2.out): Likewise.
36296         ($(objpfx)tst-initorder.out): Likewise.
36297         ($(objpfx)tst-initorder2.out): Likewise.
36298         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
36299         $(test-program-cmd).
36300         ($(objpfx)tst-array1-static.out): Likewise.
36301         ($(objpfx)tst-array2.out): Likewise.
36302         ($(objpfx)tst-array3.out): Likewise.
36303         ($(objpfx)tst-array4.out): Likewise.
36304         ($(objpfx)tst-array5.out): Likewise.
36305         ($(objpfx)tst-array5-static.out): Likewise.
36306         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
36307         $(test-program-cmd).
36308         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
36309         $(run-program-prefix) with $(test-program-prefix).
36310         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
36311         (test_program_prefix): This.
36312         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
36313         $(run-program-prefix) with $(test-program-prefix).
36314         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
36315         (test_program_prefix): This.
36316         * iconvdata/tst-tables.sh: Likewise.
36317         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
36318         $(run-program-prefix) with $(test-program-prefix).
36319         ($(objpfx)tst-translit.out): Likewise.
36320         ($(objpfx)tst-gettext2.out): Likewise.
36321         ($(objpfx)tst-gettext4.out): Likewise.
36322         ($(objpfx)tst-gettext6.out): Likewise.
36323         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
36324         (test_program_prefix): This.
36325         * intl/tst-gettext2.sh: Likewise.
36326         * intl/tst-gettext4.sh  Likewise.
36327         * intl/tst-gettext6.sh: Likewise.
36328         * intl/tst-translit.sh: Likewise.
36329         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
36330         with $(test-program-cmd).
36331         * libio/Makefile ($(objpfx)test-freopen.out): Replace
36332         $(run-program-prefix) with $(test-program-prefix).
36333         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
36334         (test_program_prefix): This.
36335         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
36336         $(run-program-prefix) with $(test-program-prefix).
36337         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
36338         (test_program_prefix): This.
36339         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
36340         * posix/Makefile ($(objpfx)globtest.out): Replace
36341         $(run-via-rtld-prefix) and $(test-wrapper) with
36342         $(test-program-prefix) and $(test-via-rtld-prefix).
36343         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
36344         $(test-program-prefix).
36345         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
36346         $(host-test-program-cmd).
36347         (tst-spawn-ARGS): Likewise.
36348         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
36349         $(test-program-prefix).
36350         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
36351         (test_via_rtld_prefix): This.
36352         (test_wrapper): Renamed to ...
36353         (test_program_prefix): This.
36354         (run_program_prefix): Replaced by test_program_prefix.
36355         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
36356         (test_program_prefix): This.
36357         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
36358         with $(host-test-program-cmd).
36359         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
36360         $(run-program-prefix) with $(test-program-prefix).
36361         ($(objpfx)tst-printf.out): Likewise.
36362         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
36363         $(test-program-cmd).
36364         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
36365         (test_program_prefix): This.
36366         * stdio-common/tst-unbputc.sh: Likewise.
36367         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
36368         $(run-program-prefix) with $(test-program-prefix).
36369         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
36370         (test_program_prefix): This.
36371         * string/Makefile ($(objpfx)tst-svc.out):  Replace
36372         $(built-program-cmd) with $(test-program-cmd).
36374 2013-01-11  Andreas Jaeger  <aj@suse.de>
36376         [BZ #15003]
36377         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
36378         value. Sync with Linux 3.7.
36380 2013-01-10  David S. Miller  <davem@davemloft.net>
36382         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
36383         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36384         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36386 2013-01-10  Roland McGrath  <roland@hack.frob.com>
36388         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
36389         never set.
36390         * configure: Regenerated.
36392 2013-01-10  David S. Miller  <davem@davemloft.net>
36394         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36395         sparc V9 rather than using V8 code.
36396         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36397         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36399 2013-01-10  Roland McGrath  <roland@hack.frob.com>
36401         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
36402         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
36403         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
36404         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
36405         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
36406         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
36407         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
36408         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
36409         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
36410         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
36411         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
36412         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
36413         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
36414         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
36415         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
36416         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
36417         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
36418         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
36419         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
36420         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
36421         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
36422         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
36423         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
36424         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
36425         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
36426         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
36427         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
36429 2013-01-10  David S. Miller  <davem@davemloft.net>
36431         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36433 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
36435         * posix/Makefile (tests-static): New variable.
36436         (tests): Add $(tests-static).
36437         (tst-exec-static-ARGS): New variable.
36438         (tst-spawn-static-ARGS): Likewise.
36439         * posix/tst-exec-static.c: New file.
36440         * posix/tst-spawn-static.c: Likewise.
36441         * posix/tst-exec.c: Support run directly.
36442         * posix/tst-spawn.c: Likewise.
36444 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
36446         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
36447         long.
36448         * math/bits/mathcalls.h (llrint): Likewise.
36449         (llround): Likewise.
36450         * stdlib/stdlib.h (struct drand48_data): Likewise.
36451         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
36452         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
36453         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
36454         Likewise.
36455         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
36456         Likewise.
36457         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
36458         (elf_greg_t): Likewise.
36459         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
36460         (__jmp_buf): Likewise.
36461         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
36462         definitions.
36463         (llrint): Likewise, for all definitions.
36464         (llrintl): Likewise.
36466         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
36467         Remove [__GNUC__] condition.
36468         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
36469         condition to just [__USE_ISOC99].
36470         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
36472 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
36474         [BZ #14200]
36475         * sysdeps/unix/sysv/linux/x86/bits/environments.h
36476         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
36477         defined.
36478         (_POSIX_V6_ILP32_OFF32): Likewise.
36479         (_XBS5_ILP32_OFF32): Likewise.
36480         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
36481         (__ILP32_OFFBIG_LDFLAGS): Likewise.
36483 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36485         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
36487         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
36488         doubles __mpexp_twomm1.  Adjust usage.
36489         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
36490         Remove.
36492 2013-01-10  Andreas Schwab  <schwab@suse.de>
36494         [BZ #14964]
36495         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
36496         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
36498 2013-01-09  David S. Miller  <davem@davemloft.net>
36500         [BZ #15003]
36501         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
36502         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
36503         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
36504         (TCP_FASTOPEN): Define.
36505         (tcp_repair_opt): New structure.
36506         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
36507         enum values.
36508         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
36509         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
36510         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
36511         (tcp_cookie_transactions): New structure.
36513 2013-01-09  Anton Blanchard  <anton@samba.org>
36515         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
36516         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
36517         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
36518         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36520 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
36522         * include/features.h (__USE_ANSI): Remove.
36524 2013-01-09  Roland McGrath  <roland@hack.frob.com>
36526         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
36528         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
36530 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
36532         * sysdeps/s390/fpu/libm-test-ulps: Update.
36534         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36536         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
36537         (__acr): Likewise.
36538         (__cpy): Likewise.
36539         (norm): Likewise.
36540         (denorm): Likewise.
36541         (__mp_dbl): Likewise.
36542         (__dbl_mp): Likewise.
36543         (add_magnitudes): Likewise.
36544         (sub_magnitudes): Likewise.
36545         (__add): Likewise.
36546         (__sub): Likewise.
36547         (__mul): Likewise.
36548         (__inv): Likewise.
36549         (__dvd): Likewise.
36550         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
36551         (__acr): Likewise.
36552         (__cpy): Likewise.
36553         (norm): Likewise.
36554         (denorm): Likewise.
36555         (__mp_dbl): Likewise.
36556         (__dbl_mp): Likewise.
36557         (add_magnitudes): Likewise.
36558         (sub_magnitudes): Likewise.
36559         (__add): Likewise.
36560         (__sub): Likewise.
36561         (__mul): Likewise.
36562         (__inv): Likewise.
36563         (__dvd): Likewise.
36564         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
36565         (__acr): Likewise.
36566         (__cpy): Likewise.
36567         (norm): Likewise.
36568         (denorm): Likewise.
36569         (__mp_dbl): Likewise.
36570         (__dbl_mp): Likewise.
36571         (add_magnitudes): Likewise.
36572         (sub_magnitudes): Likewise.
36573         (__add): Likewise.
36574         (__sub): Likewise.
36575         (__mul): Likewise.
36576         (__inv): Likewise.
36577         (__dvd): Likewise.
36579 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
36581         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
36582         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
36583         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
36584         2 && __USE_EXTERN_INLINES]: Likewise.
36586 2013-01-08  Andreas Jaeger  <aj@suse.de>
36588         [BZ# 14985]
36589         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
36590         Remove.
36591         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36592         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36594 2013-01-07  Anton Blanchard  <anton@samba.org>
36596         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
36597         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
36598         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
36599         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
36600         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
36601         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36602         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
36603         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36604         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36605         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36606         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36607         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36608         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36609         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36610         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36611         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36612         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36613         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36614         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36615         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
36616         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36617         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
36618         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36619         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36620         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
36621         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
36622         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36623         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
36624         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
36625         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36626         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36627         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36628         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36629         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36630         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36631         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36632         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36633         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36634         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
36635         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
36636         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
36637         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36638         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36640 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
36642         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
36643         (__MALLOC_PMT): Likewise.
36644         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
36645         [__GNUC__], only on [_LIBC].
36646         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36647         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
36648         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36649         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
36650         forward declaration.
36651         (realloc_hook_ini): Likewise.
36652         (memalign_hook_ini): Likewise.
36653         (__libc_memalign): Do not use __MALLOC_PMT in variable
36654         declaration.
36655         (__libc_valloc): Likewise.
36656         (__libc_pvalloc): Likewise.
36657         (__libc_calloc): Likewise.
36658         (__posix_memalign): Likewise.
36660         [BZ #14996]
36661         * math/s_casinh.c: Include <float.h>.
36662         (__casinh): Do not do computation with squaring and square root
36663         for large arguments.
36664         * math/s_casinhf.c: Include <float.h>.
36665         (__casinhf): Do not do computation with squaring and square root
36666         for large arguments.
36667         * math/s_casinhl.c: Include <float.h>.
36668         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
36669         (__casinhl): Do not do computation with squaring and square root
36670         for large arguments.
36671         * math/libm-test.inc (casin_test): Add more tests.
36672         (casinh_test): Likewise.
36673         * sysdeps/i386/fpu/libm-test-ulps: Update.
36674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36676 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
36678         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
36679         (__x86_64_raw_data_cache_size): Likewise.
36680         (__x86_64_data_cache_size_half): Likewise.
36681         (__x86_64_raw_data_cache_size_half): Likewise.
36682         (__x86_64_shared_cache_size): Likewise.
36683         (__x86_64_raw_shared_cache_size): Likewise.
36684         (__x86_64_shared_cache_size_half): Likewise.
36685         (__x86_64_raw_shared_cache_size_half): Likewise.
36686         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
36687         to ...
36688         (__x86_data_cache_size): This.
36689         (__x86_64_raw_data_cache_size): Renamed to ...
36690         (__x86_raw_data_cache_size): This.
36691         (__x86_64_data_cache_size_half): Renamed to ...
36692         (__x86_data_cache_size_half): This.
36693         (__x86_64_raw_data_cache_size_half): Renamed to ...
36694         (__x86_raw_data_cache_size_half): This.
36695         (__x86_64_shared_cache_size): Renamed to ...
36696         (__x86_shared_cache_size): This.
36697         (__x86_64_raw_shared_cache_size): Renamed to ...
36698         (__x86_raw_shared_cache_size): This.
36699         (__x86_64_shared_cache_size_half): Renamed to ...
36700         (__x86_shared_cache_size_half): This.
36701         (__x86_64_raw_shared_cache_size_half): Renamed to ...
36702         (__x86_raw_shared_cache_size_half): This.
36703         * sysdeps/x86_64/memcpy.S: Updated.
36704         * sysdeps/x86_64/memset.S: Likewise.
36705         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36706         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36707         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36709 2013-01-04  David S. Miller  <davem@davemloft.net>
36711         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36713 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
36715         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
36716         1 to avoid redefinition warning.
36717         (__USE_GNU): Don't define.
36718         (init_signaling_nan): Protoize.
36720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36722 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36724         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
36725         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
36726         (__cpymn): Likewise.
36727         (norm): Remove commented code.
36728         (denorm): Likewise.
36729         (__mp_dbl): Likewise.
36730         (__inv): Likewise.
36731         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
36732         (__cpymn): Likewise.
36733         (norm): Remove commented code.
36734         (denorm): Likewise.
36735         (__mp_dbl): Likewise.
36736         (__inv): Likewise.
36738         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
36739         mp_no value for 1.0 and 2.0.
36740         (norm): Use RADIXI instead of radixi.d.
36741         (denorm): Likewise.
36742         (__mul): Use 0.0 instead of zero.d.
36743         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
36744         mp_no value for 1.0 and 2.0.
36745         (norm): Use RADIXI instead of radixi.d.
36746         (denorm): Likewise.
36747         (__mul): Use 0.0 instead of zero.d.
36749 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
36751         [BZ #14994]
36752         * math/s_casinh.c (__casinh): Reduce finite argument to first
36753         quadrant then set signs of results at the end.
36754         * math/s_casinhf.c (__casinhf): Likewise.
36755         * math/s_casinhl.c (__casinhl): Likewise.
36756         * math/libm-test.inc (casin_test): Add more tests.
36757         (casinh_test): Likewise.
36758         * sysdeps/i386/fpu/libm-test-ulps: Update.
36759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36761 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36763         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
36765         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
36767         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
36768         declarations.
36769         (denorm): Likewise.
36770         (__mp_dbl): Likewise.
36771         (__inv): Likewise.
36773         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
36774         and adjust the header comment.
36776         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
36777         variable name from declaration.
36779 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
36781         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36782         Initialize COMMON_CPUID_INDEX_7 element.
36783         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
36784         (CPUID_RTM): Likewise.
36785         (HAS_RTM): Likewise.
36786         (COMMON_CPUID_INDEX_7): New enum.
36788 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
36790         [BZ #14981]
36791         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
36792         size is zero, record memory as freed.
36794 2013-01-03  Andreas Jaeger  <aj@suse.de>
36796         * po/ia.po: Add new Interlingua translation.
36798 2012-01-03  Allan McRae  <allan@archlinux.org>
36800         * locale/programs/localedef.c: Fix description of '--posix' flag.
36802 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
36804         * NEWS: Update dates in second copyright notice.
36805         * README: Update copyright dates in example.
36806         * manual/libc.texinfo: Update copyright dates.
36807         * scripts/test-installation.pl: Update copyright date in --version
36808         output.
36810         * hurd/ctty-input.c: Fix copyright notice formatting.
36811         * hurd/ctty-output.c: Likewise.
36812         * hurd/dtable.c: Likewise.
36813         * hurd/hurd-raise.c: Likewise.
36814         * hurd/hurdprio.c: Likewise.
36815         * hurd/msgportdemux.c: Likewise.
36816         * misc/sys/file.h: Likewise.
36817         * misc/sys/ioctl.h: Likewise.
36818         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36819         * sysdeps/mach/hurd/chdir.c: Likewise.
36820         * sysdeps/mach/hurd/fchdir.c: Likewise.
36821         * sysdeps/mach/hurd/rename.c: Likewise.
36822         * sysdeps/mach/hurd/rmdir.c: Likewise.
36823         * sysdeps/mach/hurd/seekdir.c: Likewise.
36824         * sysdeps/mach/hurd/setsid.c: Likewise.
36825         * sysdeps/posix/wait3.c: Likewise.
36827         * All files with FSF copyright notices: Update copyright dates
36828         using scripts/update-copyrights.
36829         * intl/plural.c: Regenerated.
36830         * locale/programs/charmap-kw.h: Likewise.
36831         * locale/programs/locfile-kw.h: Likewise.
36833 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36835         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
36836         four values.
36838         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
36839         calculation loop and add branch prediction.
36841         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
36842         check access beyond bounds of m1np.
36844         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36845         MPTWO.
36846         (__inv): Remove local variable MPTWO to use the global
36847         constant.
36848         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
36849         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36850         variable MPTWO.
36851         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
36852         MP3HALFS static const.
36854 2013-01-01  David S. Miller  <davem@davemloft.net>
36856         * po/ca.po: Update from translation team.
36858 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
36860         * scripts/update-copyrights: New file.
36861         * Makeconfig: Reformat copyright notice.
36862         * ctype/ctype.h: Likewise.
36863         * debug/swprintf_chk.c: Likewise.
36864         * elf/dl-cache.c: Likewise.
36865         * elf/dl-debug.c: Likewise.
36866         * elf/dl-object.c: Likewise.
36867         * grp/initgroups.c: Likewise.
36868         * hurd/Makefile: Likewise.
36869         * hurd/hurd/signal.h: Likewise.
36870         * hurd/hurdfault.c: Likewise.
36871         * hurd/hurdioctl.c: Likewise.
36872         * hurd/hurdlookup.c: Likewise.
36873         * hurd/intr-msg.c: Likewise.
36874         * iconv/gconv_open.c: Likewise.
36875         * libio/swprintf.c: Likewise.
36876         * locale/lc-ctype.c: Likewise.
36877         * locale/nl_langinfo.c: Likewise.
36878         * mach/Machrules: Likewise.
36879         * mach/Makefile: Likewise.
36880         * malloc/obstack.h: Likewise.
36881         * manual/Makefile: Likewise.
36882         * manual/tsort.awk: Likewise.
36883         * misc/bits/stab.def: Likewise.
36884         * nis/nis_print_group_entry.c: Likewise.
36885         * nis/nis_table.c: Likewise.
36886         * nis/nss_compat/compat-pwd.c: Likewise.
36887         * nis/nss_compat/compat-spwd.c: Likewise.
36888         * po/Makefile: Likewise.
36889         * posix/fnmatch.c: Likewise.
36890         * posix/regex.h: Likewise.
36891         * resolv/Makefile: Likewise.
36892         * resolv/nss_dns/dns-network.c: Likewise.
36893         * resolv/res_hconf.c: Likewise.
36894         * scripts/gen-sorted.awk: Likewise.
36895         * soft-fp/soft-fp.h: Likewise.
36896         * stdio-common/printf.h: Likewise.
36897         * stdlib/monetary.h: Likewise.
36898         * stdlib/random.c: Likewise.
36899         * stdlib/random_r.c: Likewise.
36900         * sysdeps/generic/Makefile: Likewise.
36901         * sysdeps/gnu/Makefile: Likewise.
36902         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36903         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36904         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36905         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36906         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36907         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36908         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36909         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36910         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36911         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36912         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36913         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36914         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36915         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36916         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
36917         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36918         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36919         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36920         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36921         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36922         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36923         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36924         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36925         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
36926         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
36927         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36928         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
36929         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
36930         * sysdeps/mach/hurd/errnos.awk: Likewise.
36931         * sysdeps/mach/hurd/fork.c: Likewise.
36932         * sysdeps/mach/hurd/getcwd.c: Likewise.
36933         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
36934         * sysdeps/mach/hurd/mmap.c: Likewise.
36935         * sysdeps/mach/hurd/utimes.c: Likewise.
36936         * sysdeps/mach/hurd/xmknod.c: Likewise.
36937         * sysdeps/posix/profil.c: Likewise.
36938         * sysdeps/posix/readdir_r.c: Likewise.
36939         * sysdeps/powerpc/bits/mathdef.h: Likewise.
36940         * sysdeps/powerpc/bits/setjmp.h: Likewise.
36941         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
36942         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36943         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36944         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36945         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36946         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36947         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36948         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36949         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36950         * sysdeps/pthread/lio_listio.c: Likewise.
36951         * sysdeps/sparc/dl-procinfo.h: Likewise.
36952         * sysdeps/unix/i386/sysdep.S: Likewise.
36953         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
36954         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
36955         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
36956         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
36957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36958         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
36959         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
36960         * sysdeps/unix/sysv/linux/speed.c: Likewise.
36961         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
36962         * sysdeps/wordsize-32/divdi3.c: Likewise.
36963         * time/sys/time.h: Likewise.
36964         * wcsmbs/Makefile: Likewise.
36966 2013-01-01  David S. Miller  <davem@davemloft.net>
36968         * po/fr.po: Update from translation team.
36970         * catgets/gencat.c: Update copyright year.
36971         * csu/version.c: Likewise.
36972         * debug/catchsegv.sh: Likewise.
36973         * debug/pcprofiledump.c: Likewise.
36974         * debug/xtrace.sh: Likewise.
36975         * elf/ldconfig.c: Likewise.
36976         * elf/ldd.bash.in: Likewise.
36977         * elf/pldd.c: Likewise.
36978         * elf/sotruss.ksh: Likewise.
36979         * elf/sprof.c: Likewise.
36980         * iconv/iconv_prog.c: Likewise.
36981         * iconv/iconvconfig.c: Likewise.
36982         * locale/programs/locale.c: Likewise.
36983         * locale/programs/localedef.c: Likewise.
36984         * login/programs/pt_chown.c: Likewise.
36985         * malloc/memusage.sh: Likewise.
36986         * malloc/memusagestat.c: Likewise.
36987         * malloc/mtrace.pl: Likewise.
36988         * nscd/nscd.c: Likewise.
36989         * nss/getent.c: Likewise.
36990         * nss/makedb.c: Likewise.
36991         * posix/getconf.c: Likewise.
36993 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36995         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
36996         numbers.
36998 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
37000         * math/bits/mathcalls.h (modf): Use __nonnull.
37002 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37004         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
37005         (split): Use macro CN instead of the bare value.
37006         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
37007         could be used.
37008         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
37009         instead of the bare value.
37010         (power1): Likewise.
37012 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37014         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
37015         __ATAN_TWOM.
37016         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37018         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
37019         their values.
37020         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37021         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37022         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
37023         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37025 2012-12-28  Andreas Jaeger  <aj@suse.de>
37027         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
37028         values are from Linux 3.7.
37030         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
37031         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
37033 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37035         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
37036         TRUE case.
37038         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
37039         (norm): Likewise.
37040         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
37041         variables with preprocessor constants.
37042         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37043         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37044         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37046 2012-12-27  Bruno Haible  <bruno@clisp.org>
37048         [BZ #14317]
37049         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
37050         only if needed.
37052 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37054         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
37055         and use variable directly.
37056         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
37058         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37059         MPONE.
37060         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
37061         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37062         variable MPONE.
37063         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37064         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37065         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
37066         include directive.  Remove local variable MPONE.
37067         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
37068         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
37069         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37071 2012-12-25  David S. Miller  <davem@davemloft.net>
37073         * version.h (RELEASE): Set to "development".
37074         (VERSION): Set to "2.17.90".
37075         * NEWS: Add 2.18 section.
37077 2012-12-21  David S. Miller  <davem@davemloft.net>
37079         * po/hr.po: Update from translation team.
37081 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37083         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
37085 2012-12-19  Steve Ellcey  <sellcey@mips.com>
37087         * NEWS:  Mention new memcpy for MIPS.
37089 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37091         * manual/contrib.texi (Contributors): Spelling correction.
37093 2012-12-15  David S. Miller  <davem@davemloft.net>
37095         * po/ru.po: Update from translation team.
37097 2012-12-13  David S. Miller  <davem@davemloft.net>
37099         * NEWS: Mention IFUNC testsuite enhancements.
37101         * po/pl.po: Update from translation team.
37102         * po/bg.po: Likewise.
37104         * manual/contrib.texi (Contributors): Update entries for Hongjiu
37105         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
37107 2012-12-11  David S. Miller  <davem@davemloft.net>
37109         * po/sv.po: Update from translation team.
37111         * po/vi.po: Update from translation team.
37113         * po/cs.po: Update from translation team.
37115         * po/de.po: Update from translation team.
37116         * po/eo.po: Likewise.
37117         * po/nl.po: Likewise.
37119 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37121         [BZ #14246]
37122         * manual/argp.texi (Argp Helper Functions): Move node to follow
37123         Argp Parsing State.
37125         [BZ #14872]
37126         * manual/conf.texi (Limits on File System Capacity): Mention if
37127         terminating null is included in the max size.
37129 2012-12-10  Andreas Jaeger  <aj@suse.de>
37131         * po/cs.po: Update from translation team.
37133 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37135         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
37136         void pointer and cast to uintptr_t.
37137         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
37138         path.
37139         * sysdeps/s390/s390-64/memcpy.S: Likewise.
37140         * sysdeps/s390/s390-64/memset.S: Likewise.
37142 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
37144         [BZ #14833]
37145         * menual/message.texi (Message Translation): Fix typos.
37146         (Helper programs for gettext): Likewise.
37148 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
37150         [BZ #14898]
37151         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
37152         Change to -1.
37154 2012-12-07  David S. Miller  <davem@davemloft.net>
37156         * po/libc.pot: Update.
37158 2012-12-07  Richard Henderson  <rth@redhat.com>
37160         [BZ #10114]
37161         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
37162         normal/normal case to before the switch.
37163         (_FP_DIV): Likewise.
37165 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
37166             Mike Frysinger  <vapier@gentoo.org>
37168         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
37169         check for __NR_fadvise64_64.
37171 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
37173         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
37174         0, not just to plain "0" as a statement.
37175         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
37176         with cw.
37178 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
37180         * NEWS: Use sourceware.org in Bugzilla URL.
37182 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37185         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37187         * stdio-common/tst-put-error.c (do_test): Add newline to the
37188         padded test to ensure flush.
37190 2012-12-05  Jeff Law  <law@redhat.com>
37192         * sunrpc/etc.rpc (fedfs_admin): Add entry.
37194 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
37196         * README: Don't refer to ports add-on as distributed separately.
37197         Mention AArch64 in list of systems supported in the ports add-on.
37199         * LICENSES: Add more non-FSF copyright and license notices.
37201         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
37202         ((unused)).
37204         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
37206         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
37207         10000 as width of padded output.
37209 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
37211         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
37213         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
37214         variable LX with __attribute__ ((unused)).
37215         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37216         Likewise.
37217         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37218         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37219         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
37220         with __attribute__ ((unused)).
37222 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
37224         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
37226 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
37228         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
37229         (CFLAGS-nldbl-acos.c): New variable.
37230         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
37231         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
37232         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
37233         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
37234         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
37235         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
37236         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
37237         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
37238         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
37239         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
37240         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
37241         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
37242         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
37243         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
37244         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
37245         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
37246         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
37247         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
37248         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
37249         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
37250         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
37251         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
37252         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
37253         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
37254         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
37255         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
37256         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
37257         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
37258         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
37259         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
37260         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
37261         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
37262         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
37263         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
37264         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
37265         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
37266         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
37267         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
37268         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
37269         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
37270         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
37271         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
37272         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
37273         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
37274         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
37275         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
37276         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
37277         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
37278         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
37279         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
37280         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
37281         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
37282         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
37283         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
37284         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
37285         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
37286         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
37287         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
37288         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
37289         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
37290         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
37291         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
37292         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
37293         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
37294         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
37295         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
37296         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
37297         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
37298         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
37299         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
37300         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
37301         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
37302         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
37303         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
37304         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
37305         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
37306         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
37307         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
37308         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
37309         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
37310         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
37311         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
37312         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
37313         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
37314         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
37315         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
37316         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
37317         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
37318         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
37319         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
37320         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
37321         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
37322         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
37323         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
37324         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
37325         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
37326         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
37328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37329         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37331         [BZ #14914]
37332         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
37333         whole low double instead of just low 47 bits when splitting values
37334         into two parts.
37336 2012-12-03  Allan McRae  <allan@archlinux.org>
37338         * manual/stdio.texi (Predefined Printf Handlers): Remove
37339         @hsep and @vsep usage.
37341 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
37343         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
37344         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
37346 2012-12-03  Jeff Law  <law@redhat.com>
37348         * time/sys/time.h (settimeofday): Do not mark TV argument
37349         as __nonnull.
37351 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
37353         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
37354         when currently writing and seek to current position when not.
37355         * libio/Makefile (tests): Remove bug-fclose1.
37356         * libio/bug-fclose1.c: Delete.
37358 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
37360         * manual/arith.texi (feenableexcept): Fix typo.
37361         (fedisableexcept): Likewise.
37363 2012-11-30  Roland McGrath  <roland@hack.frob.com>
37365         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
37366         second, differently-typed declaration, rather than a cast.
37368 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37370         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
37371         * include/rpc/svc.h: ... here.
37373 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
37375         [BZ #13013]
37376         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
37377         depending n and resplen2 to catch cases where answer
37378         equals answerp2.
37380 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
37382         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
37383         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
37385 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
37387         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
37389 2012-11-29  Roland McGrath  <roland@hack.frob.com>
37391         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
37393 2012-11-28  Jeff Law  <law@redhat.com>
37395         [BZ #13761]
37396         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
37397         dataset_temporary.  Track alloca usage into alloca_used.
37398         If dataset is large allocate and release it via malloc/free.
37400 2012-06-04  Florian Weimer  <fweimer@redhat.com>
37402         [BZ #14197]
37403         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
37405 2012-11-28  David S. Miller  <davem@davemloft.net>
37407         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37409 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
37411         [BZ #14803]
37412         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
37413         of pi/2 rounded to nearest to 64 bits.
37414         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
37415         nearest to 64 bits.
37416         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
37417         bits.
37419 2012-11-28  Jeff Law <law@redhat.com>
37420             Martin Osvald <mosvald@redhat.com>
37422         [BZ #14889]
37423         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
37424         * sunrpc/svc.c: Include time.h.
37425         (__svc_accept_failed): New function.
37426         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
37427         any reason other than EINTR, call __svc_accept_failed.
37428         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
37429         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
37431 2012-11-28  Andreas Schwab  <schwab@suse.de>
37433         * scripts/abilist.awk: Also handle indirect functions in .opd
37434         section.
37436 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
37438         [BZ #13881]
37439         * sysdeps/x86/fpu/powl_helper.c: New file.
37440         * sysdeps/x86/fpu/Makefile: Likewise.
37441         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
37442         (p3): New object.
37443         (__ieee754_powl): Use __powl_helper for finite arguments except
37444         integer exponents below 8.
37445         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
37446         (p3): New object.
37447         (__ieee754_powl): Use __powl_helper for finite arguments except
37448         integer exponents below 8.
37449         * math/libm-test.inc (pow_test): Add more tests and enable some
37450         previously disabled tests.
37451         * sysdeps/i386/fpu/libm-test-ulps: Update.
37452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37454 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37455             Carlos O'Donell  <carlos_odonell@mentor.com>
37457         * nss/makedb.c (is_prime): Assert that input is odd and greater
37458         than 4.  Note that fact in a comment too.
37459         (next_prime): Add 4 to input.
37461 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37463         [BZ #11741]
37464         * libio/Makefile (tests): Add test case tst-fwrite-error.
37465         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
37466         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
37467         * libio/tst-fwrite-error.c: New test case.
37469 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
37471         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
37472         before casting to void *.
37473         * include/libc-internal.h (__pointer_type): New macro.
37474         (__integer_if_pointer_type_sub): Likewise.
37475         (__integer_if_pointer_type): Likewise.
37476         (cast_to_integer): Likewise.
37477         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
37478         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
37479         before casting to atomic64_t.
37480         (atomic_exchange_acq): Likewise.
37481         (__arch_exchange_and_add_body): Likewise.
37482         (__arch_add_body): Likewise.
37483         (atomic_add_negative): Likewise.
37484         (atomic_add_zero): Likewise.
37486 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
37488         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
37489         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
37490         (add_fdes): Likewise.
37491         (linear_search_fdes): Likewise.
37492         (binary_search_unencoded_fdes): Likewise.
37494 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
37496         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
37498 2012-11-24  Adam Conrad  <adconrad@0c3.net>
37500         * configure.in: Autodetect C++ header directories.
37501         * configure: Regenerated.
37503 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
37505         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
37507 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
37509         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37511 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
37513         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
37514         LDBL_MANT_DIG == 106]: Disable some tests.
37515         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37516         Likewise.
37517         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37518         Likewise.
37520         [BZ #14871]
37521         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
37522         input for small inputs.  Return +/- pi/2 for large inputs.
37523         * math/libm-test.inc (atan_test): Add more tests.
37525         * sysdeps/generic/unwind-dw2-fde-glibc.c
37526         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
37527         __attribute__ ((unused)).
37529         [BZ #14645]
37530         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
37531         x * y if x and y are nonzero and z is zero.
37533         [BZ #14811]
37534         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
37535         nonzero exponents with absolute value below 0x1p-117 to +/-
37536         0x1p-117.
37538         [BZ #14869]
37539         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
37540         up arguments below 2**-450, not just those below 2**-500.
37541         * math/libm-test.inc (hypot_test): Add another test.
37543         [BZ #14868]
37544         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
37545         Return a+b for ratio over 2**120, not 2**60.
37546         * math/libm-test.inc (hypot_test): Add another test.
37548         * math/libm-test.inc (clog_test): Use
37549         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
37550         (clog10_test): Likewise.
37552         [BZ #6778]
37553         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
37555 2012-11-22  Andreas Schwab  <schwab@suse.de>
37557         * sysdeps/i386/fpu/libm-test-ulps: Update.
37559 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
37561         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
37562         printf output with newline.
37564 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
37566         [BZ #14865]
37567         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
37568         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
37569         -z nodlopen, -z initfirst and -z execstack support.
37570         * configure: Regenerated.
37572         * elf/elf.h (DF_1_NODIRECT): New macro.
37573         (DF_1_IGNMULDEF): Likewise.
37574         (DF_1_NOKSYMS): Likewise.
37575         (DF_1_NOHDR): Likewise.
37576         (DF_1_EDITED): Likewise.
37577         (DF_1_NORELOC): Likewise.
37578         (DF_1_SYMINTPOSE): Likewise.
37579         (DF_1_GLOBAUDIT): Likewise.
37580         (DF_1_SINGLETON): Likewise.
37581         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
37582         DT_1_SUPPORTED_MASK bits.
37583         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
37585 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
37587         * sysdeps/unix/make-syscalls.sh: Document prefixes.
37589 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
37591         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
37592         macro.
37594         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
37595         (sendmmsg): Move declarations...
37596         * socket/sys/socket.h: ... here.
37597         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
37598         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
37599         include it from...
37600         * socket/recvmmsg.c: ... this new file.
37601         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
37602         (sendmmsg): Rename to __sendmmsg, create weak alias and make
37603         definition of __sendmmsg hidden.
37604         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
37605         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
37606         Move ENOSYS stub into and include it from...
37607         * socket/sendmmsg.c: ... this new file.
37608         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
37609         (sysdep_routines): Move recvmmsg and sendmmsg...
37610         * socket/Makefile (routines): ... here.
37611         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
37612         (GLIBC_PRIVATE): Add __sendmmsg.
37613         * include/sys/socket.h (__sendmmsg): Add declarations.
37614         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
37615         sendmmsg.
37617 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
37619         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
37620         variable I1 with __attribute__ ((unused)).
37621         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37623 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
37625         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
37626         DUMMY variables with __attribute__ ((unused)).
37628         * bits/byteswap.h: Include <bits/types.h>.
37629         (__bswap_64): Use __uint64_t instead of unsigned long long int.
37631 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
37633         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
37634         string_t.  Do not manually set errno.
37635         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
37636         length with __strnlen.  Make sure to both set errno and return it on
37637         failure.
37639 2012-11-19  David S. Miller  <davem@davemloft.net>
37641         With help from Joseph Myers.
37642         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
37643         very large arguments properly.
37644         * math/libm-test.inc (atan_test): New tests.
37645         (atan2_test): New tests.
37646         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37647         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37649 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
37651         [BZ #14856]
37652         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
37653         Define to 3.
37655         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
37656         [POSIX] (EADDRNOTAVAIL): Likewise.
37657         [POSIX] (EAFNOSUPPORT): Likewise.
37658         [POSIX] (EALREADY): Likewise.
37659         [POSIX] (ECONNABORTED): Likewise.
37660         [POSIX] (ECONNREFUSED): Likewise.
37661         [POSIX] (ECONNRESET): Likewise.
37662         [POSIX] (EDESTADDRREQ): Likewise.
37663         [POSIX] (EDQUOT): Likewise.
37664         [POSIX] (EHOSTUNREACH): Likewise.
37665         [POSIX] (EIDRM): Likewise.
37666         [POSIX] (EISCONN): Likewise.
37667         [POSIX] (ELOOP): Likewise.
37668         [POSIX] (EMULTIHOP): Likewise.
37669         [POSIX] (ENETDOWN): Likewise.
37670         [POSIX] (ENETUNREACH): Likewise.
37671         [POSIX] (ENOBUFS): Likewise.
37672         [POSIX] (ENODATA): Likewise.
37673         [POSIX] (ENOLINK): Likewise.
37674         [POSIX] (ENOMSG): Likewise.
37675         [POSIX] (ENOPROTOOPT): Likewise.
37676         [POSIX] (ENOSR): Likewise.
37677         [POSIX] (ENOSTR): Likewise.
37678         [POSIX] (ENOTCONN): Likewise.
37679         [POSIX] (ENOTSOCK): Likewise.
37680         [POSIX] (EOPNOTSUPP): Likewise.
37681         [POSIX] (EOVERFLOW): Likewise.
37682         [POSIX] (EPROTO): Likewise.
37683         [POSIX] (EPROTONOSUPPORT): Likewise.
37684         [POSIX] (EPROTOTYPE): Likewise.
37685         [POSIX] (ESTALE): Likewise.
37686         [POSIX] (ETIME): Likewise.
37687         [POSIX] (ETXTBSY): Likewise.
37688         [POSIX] (EWOULDBLOCK): Likewise.
37689         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
37690         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
37691         [POSIX] (SEEK_CUR): Likewise.
37692         [POSIX] (SEEK_END): Likewise.
37693         [POSIX || UNIX98] (mode_t): Do not require.
37694         [POSIX] (off_t): Likewise.
37695         [POSIX] (pid_t): Likewise.
37696         [POSIX] (sys/stat.h): Do not allow header.
37697         [POSIX] (unistd.h): Likewise.
37698         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
37699         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
37700         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
37701         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
37702         require.
37703         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
37704         sigevent): Specify elements.
37705         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
37706         entry.
37707         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
37708         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
37710         * conform/data/cpio.h-data [POSIX]: Disable whole file.
37711         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
37712         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
37713         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
37714         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
37715         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
37716         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
37717         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
37718         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
37719         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
37720         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
37721         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
37722         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
37723         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
37724         Likewise.
37725         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
37726         Likewise.
37727         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
37728         Likewise.
37729         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
37730         Likewise.
37731         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
37732         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
37733         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
37734         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
37735         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
37736         Specify lower bound on value.
37737         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
37738         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
37739         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
37740         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
37741         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
37742         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
37743         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
37744         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
37745         value.
37746         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
37747         as optional.
37748         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
37749         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
37750         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
37751         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
37752         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
37753         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
37754         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
37755         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
37756         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
37757         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
37758         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
37759         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
37760         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
37761         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
37762         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
37763         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
37764         entry.
37765         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
37766         optional.
37767         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
37768         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
37769         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
37770         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
37771         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
37772         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
37773         Likewise.
37774         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
37775         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
37776         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
37777         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
37778         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
37779         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
37780         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
37781         as optional.
37782         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
37783         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
37784         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
37785         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
37786         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
37787         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
37788         specify as optional.
37789         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
37790         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
37791         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
37792         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
37793         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
37794         [XPG3] (NL_LANGMAX): Likewise.
37795         [POSIX || XPG3] (NL_MSGMAX): Likewise.
37796         [POSIX || XPG3] (NL_NMAX): Likewise.
37797         [POSIX || XPG3] (NL_SETMAX): Likewise.
37798         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
37799         [XPG3] (NZERO): Likewise.
37800         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
37801         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
37802         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
37803         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
37804         (REG_ERANGE): Expect.
37805         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
37806         optional-constant.
37807         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
37808         Use (void) in prototype.
37809         [POSIX] (*_t): Allow.
37810         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
37811         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
37812         (WRDE_BADVAL): Expect.
37814         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
37815         expect.
37816         [XPG3 || XPG4] (O_RSYNC): Likewise.
37817         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
37818         Likewise.
37819         [XPG3 || XPG4] (pthread_sigmask): Likewise.
37820         [XPG3 || XPG4] (sigqueue): Likewise.
37821         [XPG3 || XPG4] (sigtimedwait): Likewise.
37822         [XPG3 || XPG4] (sigwaitinfo): Likewise.
37823         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
37824         [XPG3 || XPG4] (vsnprintf): Likewise.
37825         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
37826         Likewise.
37827         [XPG3 || XPG4] (blksize_t): Likewise.
37828         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
37829         Likewise.
37830         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
37831         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37832         [XPG3 || XPG4] (struct itimerspec): Likewise.
37833         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
37834         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
37835         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
37836         [XPG3 || XPG4] (clockid_t): Likewise.
37837         [XPG3 || XPG4] (timer_t): Likewise.
37838         [XPG3 || XPG4] (clock_getres): Likewise.
37839         [XPG3 || XPG4] (clock_gettime): Likewise.
37840         [XPG3 || XPG4] (clock_settime): Likewise.
37841         [XPG3 || XPG4] (nanosleep): Likewise.
37842         [XPG3 || XPG4] (timer_create): Likewise.
37843         [XPG3 || XPG4] (timer_delete): Likewise.
37844         [XPG3 || XPG4] (timer_gettime): Likewise.
37845         [XPG3 || XPG4] (timer_getoverrun): Likewise.
37846         [XPG3 || XPG4] (timer_settime): Likewise.
37847         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
37848         [XPG3 || XPG4] (getlogin_r): Likewise.
37849         [XPG3 || XPG4] (pread): Likewise.
37850         [XPG3 || XPG4] (pthread_atfork): Likewise.
37851         [XPG3 || XPG4] (pwrite): Likewise.
37853         [BZ #14835]
37854         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
37855         <bits/siginfo.h>.
37857 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
37859         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
37860         finalizing MALLSTREAM.
37862         * sysdeps/mach/hurd/syncfs.c: New file.
37864 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37866         [BZ #14719]
37867         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
37868         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
37869         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
37870         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
37871         (_nss_dns_gethostbyname4_r): Likewise.
37872         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
37873         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
37875 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
37877         [BZ #13763]
37878         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
37880 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
37882         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
37883         * elf/cache.c (print_entry): Print ",AArch64" for
37884         FLAG_AARCH64_LIB64
37886         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
37887         * elf/cache.c (print_entry): Print ",hard-float" for
37888         FLAG_ARM_LIBHF.
37890 2012-11-18  David S. Miller  <davem@davemloft.net>
37892         With help from Joseph Myers.
37893         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
37894         cutoff to 2**-13.
37895         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
37896         cutoff to 2**-25.
37897         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
37898         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
37899         small.
37900         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
37901         * math/libm-test.inc (y0_test): New tests.
37902         (y1_test): New tests.
37903         * sysdeps/i386/fpu/libm-test-ulps: Update.
37904         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37905         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37907 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
37909         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
37910         64-bit targets.
37911         * configure: Regenerated.
37913 2012-11-17  David S. Miller  <davem@davemloft.net>
37915         [BZ #14811]
37916         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
37917         nonzero exponents with absolute value below 0x1p-128 to +/-
37918         0x1p-128.
37920 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
37922         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
37924         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
37926         * posix/getconf-speclist.c: New file.
37927         * posix/posix-envs.def: Likewise.
37928         * posix/confstr.c (START_ENV_GROUP): New macro.
37929         (END_ENV_GROUP): Likewise.
37930         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37931         (KNOWN_PRESENT_ENV_STRING): Likewise.
37932         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37933         (UNKNOWN_ENVIRONMENT): Likewise.
37934         (confstr): Include posix-envs.def instead of handling
37935         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
37936         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
37937         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
37938         (END_ENV_GROUP): Likewise.
37939         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37940         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37941         (UNKNOWN_ENVIRONMENT): Likewise.
37942         (__sysconf): Include posix-envs.def instead of handling associated
37943         cases directly here.
37944         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
37945         preprocessing getconf-speclist.c rather than running getconf or
37946         generating empty file.
37948 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
37950         * scripts/check-local-headers.sh: Ignore 'mach' headers.
37952 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
37954         [BZ #14672]
37955         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
37957 2012-11-16  David S. Miller  <davem@davemloft.net>
37959         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
37960         smaller than LDBL_EPSILON/2.0L, just return xm1.
37962 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
37964         * elf/tst-array1.c (init): Set constructor priority to 1000.
37965         (fini): Set destructor priority to 1000.
37966         * elf/tst-array2dep.c: Likewise.
37968 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37970         [BZ #11741]
37971         * libio/fileops.c (_IO_new_file_write): Correctly return error.
37972         (_IO_new_file_xsputn): Also return EOF if none of the input
37973         data was written when overflow failed.
37974         * libio/iopadn.c (_IO_padn): Likewise.
37975         * libio/iowpadn.c (_IO_wpadn): Likewise.
37976         * stdio-common/tst-put-error.c: Add copyright notice.
37977         (do_test): Add case for printing padded string.
37978         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
37979         _IO_padn returned error.
37980         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
37981         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
37982         return EOF.
37984 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37986         * libio/libioP.h: Add comment note that the references to C++
37987         bits are now obsolete.
37989 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37991         * math/libm-test.inc (check_complex): Use asprintf.
37993 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
37995         * debug/pcprofiledump.c (print_version): Update copyright year.
37996         * malloc/memusagestat.c (print_version): Likewise.
37998 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
38000         [BZ #14831]
38001         * elf/Makefile (tests): Add tst-audit8.
38002         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
38003         ($(objpfx)tst-audit8.out): New target.
38004         (tst-audit8-ENV): New variable.
38005         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
38006         audit if l_reloc_result is NULL.
38007         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
38008         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
38009         * elf/tst-audit8.c: New file.
38011 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38013         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
38014         * misc/Makefile (CFLAGS-select.c): Define.
38015         * posix/Makefile (CFLAGS-pause.c): Define.
38017 2012-11-13  David S. Miller  <davem@davemloft.net>
38019         * crypt/Makefile: Move test targets after toplevel Rules
38020         inclusion.  Grab any necessary sysdep routines when linking.
38021         * crypt/md5.c (md5_process_block): Remove define, we will always
38022         name it __md5_process_block.
38023         (md5_finish_ctx): Update md5_process_block call.
38024         (md5_stream): Likewise.
38025         (md5_process_bytes): Likewise.
38026         (md5_process_block): Rename to __md5_process_block and move to ...
38027         * crypt/md5-block.c: ... here.
38028         * crypt/sha256.c (sha256_process_block): Move to ...
38029         * crypt/sha256-block.c: ... here.
38030         * crypt/sha512.c (sha512_process_block): Move to ...
38031         * crypt/sha512-block.c: ... here.
38032         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
38033         path.
38034         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
38035         * sysdeps/sparc/sparc64/multiarch/Makefile
38036         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
38037         crypt subdir.
38038         (localedef-aux): Add md5 crypto assembler when in locale subdir.
38039         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
38040         multiarch changes.
38041         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
38042         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
38043         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
38044         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
38045         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
38046         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
38047         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
38048         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
38049         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
38050         file.
38051         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
38052         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
38053         file.
38054         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
38056 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
38058         * timezone/tzselect.ksh: Update from tzcode git revision
38059         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
38060         * timezone/zdump.c: Likewise.
38061         * timezone/zic.c: Likewise.
38062         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
38063         in TZVERSION setting, not $(PKGVERSION).
38064         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
38065         REPORT_BUGS_TO settings.
38067         [BZ #14838]
38068         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
38069         macro.
38071 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38073         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
38074         detection to immediately after _FP_ROUND().
38075         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
38076         bits are 0.
38078 2012-11-11  David S. Miller  <davem@davemloft.net>
38080         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
38081         inttypes.h
38082         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
38083         __close rather than their public counterparts.
38085 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
38087         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
38088         file.
38089         [UNIX98] (sem_timedwait): Do not expect.
38090         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
38091         [XPG4 || UNIX98] (sockatmark): Do not expect.
38092         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
38093         (clock_getcpuclockid): Do not expect.
38094         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
38095         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
38096         Do not expect.
38097         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
38098         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
38099         [UNIX98] (vwscanf): Likewise.
38100         [UNIX98] (vswscanf): Likewise.
38102 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
38104         * timezone/version.h: Remove file.
38105         * timezone/README: Do not refer to version.h.
38106         * timezone/Makefile ($(objpfx)zic.o): New dependency on
38107         $(objpfx)version.h.
38108         ($(objpfx)zdump.o): Likewise.
38109         ($(objpfx)version.h): New target.
38111         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
38112         2012i.
38113         * timezone/README: Don't mention modification to tzselect.ksh.
38114         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
38115         work on unmodified tzselect.ksh.  Substitute version numbers in
38116         tzselect.ksh.
38118         * Makefile (format-me): Remove.
38119         (INSTALL): Adjust indentation.  Use commands directly instead of
38120         using $(format-me).
38122         * aclocal.m4 (ACX_PKGVERSION): New macro.
38123         (ACX_BUGURL): Likewise.
38124         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
38125         (PKGVERSION): New AC_DEFINE_UNQUOTED.
38126         (REPORT_BUGS_TO): Likewise.
38127         * configure: Regenerated.
38128         * config.h.in (PKGVERSION): New macro.
38129         (REPORT_BUGS_TO): Likewise.
38130         * config.make.in (PKGVERSION): New variable.
38131         (PKGVERSION_TEXI): Likewise.
38132         (REPORT_BUGS_TO): Likewise.
38133         (REPORT_BUGS_TEXI): Likewise.
38134         * Makefile (format-me): Use -I$(common-objpfx)manual.
38135         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
38136         ($(common-objpfx)manual/%): New target.
38137         (manual/%): Remove target.
38138         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
38139         (print_version): Use PKGVERSION.
38140         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
38141         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
38142         and REPORT_BUGS_TO.
38143         ($(objpfx)xtrace): Likewise.
38144         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
38145         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
38146         (print_version): Use PKGVERSION.
38147         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
38148         (do_version): Use PKGVERSION.
38149         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
38150         REPORT_BUGS_TO.
38151         (common-ldd-rewrite): Likewise.
38152         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
38153         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
38154         (print_version): Use PKGVERSION.
38155         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
38156         * elf/pldd.c (argp_program_bug_address): Remove variable.
38157         (more_help): New function.
38158         (argp): Use more_help.
38159         (print_version): Use PKGVERSION.
38160         * elf/sln.c (main): Use PKGVERSION.
38161         (usage): Use REPORT_BUGS_TO.
38162         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
38163         (top level): Use PKGVERSION.
38164         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
38165         (print_version): Use PKGVERSION.
38166         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
38167         (print_version): Use PKGVERSION.
38168         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
38169         (print_version): Use PKGVERSION.
38170         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
38171         (print_version): Use PKGVERSION.
38172         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
38173         (print_version): Use PKGVERSION.
38174         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
38175         (print_version): Use PKGVERSION.
38176         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
38177         and BUGURL.
38178         ($(objpfx)memusage): Likewise.
38179         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
38180         (do_version): Use PKGVERSION.
38181         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
38182         (print_version): Use PKGVERSION.
38183         * malloc/mtrace.pl ($PACKAGE): Remove variable.
38184         ($PKGVERSION): New variable.
38185         ($REPORT_BUGS_TO): Likewise.
38186         (usage): Use $REPORT_BUGS_TO.
38187         (top level): Use $PKGVERSION.
38188         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
38189         ($(objpfx)pkgvers.texi): New rule.
38190         ($(objpfx)stamp-pkgvers): Likewise.
38191         * manual/install.texi: Include pkgvers.texi.
38192         (--with-pkgversion): Document new configure option.
38193         (--with-bugurl): Likewise.
38194         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
38195         than necessarily for this particular distribution.  Use
38196         REPORT_BUGS_TO for where to report bugs.
38197         * INSTALL: Regenerated.
38198         * manual/libc.texinfo: Include pkgvers.texi.
38199         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
38200         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
38201         (print_version): Use PKGVERSION.
38202         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
38203         (print_version): Use PKGVERSION.
38204         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
38205         (print_version): Use PKGVERSION.
38206         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
38207         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
38208         macro.
38209         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
38210         (print_version): Use PKGVERSION.
38211         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
38212         (print_version): Use PKGVERSION.
38213         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
38214         and PKGVERSION.
38216         * timezone/checktab.awk: Update from tzcode 2012i.
38217         * timezone/ialloc.c: Likewise.
38218         * timezone/private.h: Likewise.
38219         * timezone/scheck.c: Likewise.
38220         * timezone/tzfile.h: Likewise.
38221         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
38222         (TZVERSION): Hardcode tzcode version number.
38223         * timezone/zdump.c: Update from tzcode 2012i.
38224         * timezone/zic.c: Likewise.
38225         * timezone/version.h: New file.
38226         * timezone/README: Describe version.h.  Update upstream location.
38228         [BZ #14824]
38229         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
38230         (mktemp): Enable declaration.
38231         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
38232         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
38233         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
38234         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
38235         Likewise.
38236         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
38237         Likewise.
38238         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
38239         Likewise.
38240         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
38241         Likewise.
38242         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
38243         Likewise.
38244         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
38245         Likewise.
38247         [BZ #14821]
38248         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
38249         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
38250         for copies of such integer values.
38251         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38252         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38254 2012-11-09  Andreas Jaeger  <aj@suse.de>
38256         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
38257         definitions and declarations that are provided by
38258         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38260 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38262         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
38263         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
38264         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
38265         definition.
38267 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38269         * elf/elf.h: Update comment before AArch64 relocations.
38271 2012-11-07  David S. Miller  <davem@davemloft.net>
38273         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
38274         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38275         (__start_context): Declare.
38276         (__makecontext_ret): Delete.
38277         (__makecontext): Hook up __start_context instead of
38278         __makecontext_ret.
38279         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
38280         (sysdep_routines): Add __start_context when in stdlib.
38282 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
38284         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
38285         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
38286         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
38287         hardcoded "nm".
38288         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
38289         (READELF): New variable.  Use it instead of hardcoded "readelf".
38291 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
38293         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
38294         * sysdeps/x86/Makefile: Here.
38295         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
38296         * sysdeps/x86/tst-xmmymm.sh: This.
38298 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
38300         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
38301         expectations.
38302         [UNIX98] (pthread_barrier_t): Do not expect.
38303         [UNIX98] (pthread_barrierattr_t): Likewise.
38304         [UNIX98] (pthread_spinlock_t): Likewise.
38305         [UNIX98] (pthread_barrier_destroy): Likewise.
38306         [UNIX98] (pthread_barrier_init): Likewise.
38307         [UNIX98] (pthread_barrier_wait): Likewise.
38308         [UNIX98] (pthread_barrierattr_destroy): Likewise.
38309         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
38310         [UNIX98] (pthread_barrierattr_init): Likewise.
38311         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
38312         [UNIX98] (pthread_getcpuclockid): Likewise.
38313         [UNIX98] (pthread_mutex_timedlock): Likewise.
38314         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
38315         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
38316         [UNIX98] (pthread_sigmask): Likewise.
38317         [UNIX98] (pthread_spin_destroy): Likewise.
38318         [UNIX98] (pthread_spin_init): Likewise.
38319         [UNIX98] (pthread_spin_lock): Likewise.
38320         [UNIX98] (pthread_spin_trylock): Likewise.
38321         [UNIX98] (pthread_spin_unlock): Likewise.
38322         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
38323         Do not expect.
38324         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
38325         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
38326         [XPG3 || XPG4] (pthread_cond_t): Likewise.
38327         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
38328         [XPG3 || XPG4] (pthread_key_t): Likewise.
38329         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
38330         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
38331         [XPG3 || XPG4] (pthread_once_t): Likewise.
38332         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
38333         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
38334         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
38335         [XPG3 || XPG4] (pthread_t): Likewise.
38337         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
38338         not expect.
38339         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
38341         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
38342         Change function return type to int.
38344         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
38345         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
38346         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
38347         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
38348         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
38349         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
38350         [!POSIX] (posix_madvise): Likewise.
38351         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
38352         && !UNIX98].
38353         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
38354         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
38355         (mode_t): Likewise.
38356         (posix_mem_offset): Likewise.
38357         (posix_typed_mem_get_info): Likewise.
38358         (posix_typed_mem_open): Likewise.
38360         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
38361         Change condition to [XOPEN2K8].
38363         * conform/conformtest.pl: Preprocess allow-header data with -x c
38364         instead of from stdin.
38365         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
38366         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
38367         [C99-based standards] (cerfc): Likewise.
38368         [C99-based standards] (cexp2): Likewise.
38369         [C99-based standards] (cexpm1): Likewise.
38370         [C99-based standards] (clog10): Likewise.
38371         [C99-based standards] (clog1p): Likewise.
38372         [C99-based standards] (clog2): Likewise.
38373         [C99-based standards] (clgamma): Likewise.
38374         [C99-based standards] (ctgamma): Likewise.
38375         [C99-based standards] (cerff): Likewise.
38376         [C99-based standards] (cerfcf): Likewise.
38377         [C99-based standards] (cexp2f): Likewise.
38378         [C99-based standards] (cexpm1f): Likewise.
38379         [C99-based standards] (clog10f): Likewise.
38380         [C99-based standards] (clog1pf): Likewise.
38381         [C99-based standards] (clog2f): Likewise.
38382         [C99-based standards] (clgammaf): Likewise.
38383         [C99-based standards] (ctgammaf): Likewise.
38384         [C99-based standards] (cerfl): Likewise.
38385         [C99-based standards] (cerfcl): Likewise.
38386         [C99-based standards] (cexp2l): Likewise.
38387         [C99-based standards] (cexpm1l): Likewise.
38388         [C99-based standards] (clog10l): Likewise.
38389         [C99-based standards] (clog1pl): Likewise.
38390         [C99-based standards] (clog2l): Likewise.
38391         [C99-based standards] (clgammal): Likewise.
38392         [C99-based standards] (ctgammal): Likewise.
38393         * conform/data/inttypes.h-data [C99-based standards]: Include
38394         stdint.h-data.  Remove all expectations for stdint.h contents.
38395         [C99-based standards] (PRI*): Do not allow.
38396         [C99-based standards] (SCN*): Likewise.
38397         [C99-based standards] (*_t): Likewise.
38398         [C99-based-standards] (PRId8): Expect macro.
38399         [C99-based-standards] (PRIi8): Likewise.
38400         [C99-based-standards] (PRIo8): Likewise.
38401         [C99-based-standards] (PRIu8): Likewise.
38402         [C99-based-standards] (PRIx8): Likewise.
38403         [C99-based-standards] (PRIX8): Likewise.
38404         [C99-based-standards] (SCNd8): Likewise.
38405         [C99-based-standards] (SCNi8): Likewise.
38406         [C99-based-standards] (SCNo8): Likewise.
38407         [C99-based-standards] (SCNu8): Likewise.
38408         [C99-based-standards] (SCNx8): Likewise.
38409         [C99-based-standards] (PRIdLEAST8): Likewise.
38410         [C99-based-standards] (PRIiLEAST8): Likewise.
38411         [C99-based-standards] (PRIoLEAST8): Likewise.
38412         [C99-based-standards] (PRIuLEAST8): Likewise.
38413         [C99-based-standards] (PRIxLEAST8): Likewise.
38414         [C99-based-standards] (PRIXLEAST8): Likewise.
38415         [C99-based-standards] (SCNdLEAST8): Likewise.
38416         [C99-based-standards] (SCNiLEAST8): Likewise.
38417         [C99-based-standards] (SCNoLEAST8): Likewise.
38418         [C99-based-standards] (SCNuLEAST8): Likewise.
38419         [C99-based-standards] (SCNxLEAST8): Likewise.
38420         [C99-based-standards] (PRIdFAST8): Likewise.
38421         [C99-based-standards] (PRIiFAST8): Likewise.
38422         [C99-based-standards] (PRIoFAST8): Likewise.
38423         [C99-based-standards] (PRIuFAST8): Likewise.
38424         [C99-based-standards] (PRIxFAST8): Likewise.
38425         [C99-based-standards] (PRIXFAST8): Likewise.
38426         [C99-based-standards] (SCNdFAST8): Likewise.
38427         [C99-based-standards] (SCNiFAST8): Likewise.
38428         [C99-based-standards] (SCNoFAST8): Likewise.
38429         [C99-based-standards] (SCNuFAST8): Likewise.
38430         [C99-based-standards] (SCNxFAST8): Likewise.
38431         [C99-based-standards] (PRId16): Likewise.
38432         [C99-based-standards] (PRIi16): Likewise.
38433         [C99-based-standards] (PRIo16): Likewise.
38434         [C99-based-standards] (PRIu16): Likewise.
38435         [C99-based-standards] (PRIx16): Likewise.
38436         [C99-based-standards] (PRIX16): Likewise.
38437         [C99-based-standards] (SCNd16): Likewise.
38438         [C99-based-standards] (SCNi16): Likewise.
38439         [C99-based-standards] (SCNo16): Likewise.
38440         [C99-based-standards] (SCNu16): Likewise.
38441         [C99-based-standards] (SCNx16): Likewise.
38442         [C99-based-standards] (PRIdLEAST16): Likewise.
38443         [C99-based-standards] (PRIiLEAST16): Likewise.
38444         [C99-based-standards] (PRIoLEAST16): Likewise.
38445         [C99-based-standards] (PRIuLEAST16): Likewise.
38446         [C99-based-standards] (PRIxLEAST16): Likewise.
38447         [C99-based-standards] (PRIXLEAST16): Likewise.
38448         [C99-based-standards] (SCNdLEAST16): Likewise.
38449         [C99-based-standards] (SCNiLEAST16): Likewise.
38450         [C99-based-standards] (SCNoLEAST16): Likewise.
38451         [C99-based-standards] (SCNuLEAST16): Likewise.
38452         [C99-based-standards] (SCNxLEAST16): Likewise.
38453         [C99-based-standards] (PRIdFAST16): Likewise.
38454         [C99-based-standards] (PRIiFAST16): Likewise.
38455         [C99-based-standards] (PRIoFAST16): Likewise.
38456         [C99-based-standards] (PRIuFAST16): Likewise.
38457         [C99-based-standards] (PRIxFAST16): Likewise.
38458         [C99-based-standards] (PRIXFAST16): Likewise.
38459         [C99-based-standards] (SCNdFAST16): Likewise.
38460         [C99-based-standards] (SCNiFAST16): Likewise.
38461         [C99-based-standards] (SCNoFAST16): Likewise.
38462         [C99-based-standards] (SCNuFAST16): Likewise.
38463         [C99-based-standards] (SCNxFAST16): Likewise.
38464         [C99-based-standards] (PRId32): Likewise.
38465         [C99-based-standards] (PRIi32): Likewise.
38466         [C99-based-standards] (PRIo32): Likewise.
38467         [C99-based-standards] (PRIu32): Likewise.
38468         [C99-based-standards] (PRIx32): Likewise.
38469         [C99-based-standards] (PRIX32): Likewise.
38470         [C99-based-standards] (SCNd32): Likewise.
38471         [C99-based-standards] (SCNi32): Likewise.
38472         [C99-based-standards] (SCNo32): Likewise.
38473         [C99-based-standards] (SCNu32): Likewise.
38474         [C99-based-standards] (SCNx32): Likewise.
38475         [C99-based-standards] (PRIdLEAST32): Likewise.
38476         [C99-based-standards] (PRIiLEAST32): Likewise.
38477         [C99-based-standards] (PRIoLEAST32): Likewise.
38478         [C99-based-standards] (PRIuLEAST32): Likewise.
38479         [C99-based-standards] (PRIxLEAST32): Likewise.
38480         [C99-based-standards] (PRIXLEAST32): Likewise.
38481         [C99-based-standards] (SCNdLEAST32): Likewise.
38482         [C99-based-standards] (SCNiLEAST32): Likewise.
38483         [C99-based-standards] (SCNoLEAST32): Likewise.
38484         [C99-based-standards] (SCNuLEAST32): Likewise.
38485         [C99-based-standards] (SCNxLEAST32): Likewise.
38486         [C99-based-standards] (PRIdFAST32): Likewise.
38487         [C99-based-standards] (PRIiFAST32): Likewise.
38488         [C99-based-standards] (PRIoFAST32): Likewise.
38489         [C99-based-standards] (PRIuFAST32): Likewise.
38490         [C99-based-standards] (PRIxFAST32): Likewise.
38491         [C99-based-standards] (PRIXFAST32): Likewise.
38492         [C99-based-standards] (SCNdFAST32): Likewise.
38493         [C99-based-standards] (SCNiFAST32): Likewise.
38494         [C99-based-standards] (SCNoFAST32): Likewise.
38495         [C99-based-standards] (SCNuFAST32): Likewise.
38496         [C99-based-standards] (SCNxFAST32): Likewise.
38497         [C99-based-standards] (PRId64): Likewise.
38498         [C99-based-standards] (PRIi64): Likewise.
38499         [C99-based-standards] (PRIo64): Likewise.
38500         [C99-based-standards] (PRIu64): Likewise.
38501         [C99-based-standards] (PRIx64): Likewise.
38502         [C99-based-standards] (PRIX64): Likewise.
38503         [C99-based-standards] (SCNd64): Likewise.
38504         [C99-based-standards] (SCNi64): Likewise.
38505         [C99-based-standards] (SCNo64): Likewise.
38506         [C99-based-standards] (SCNu64): Likewise.
38507         [C99-based-standards] (SCNx64): Likewise.
38508         [C99-based-standards] (PRIdLEAST64): Likewise.
38509         [C99-based-standards] (PRIiLEAST64): Likewise.
38510         [C99-based-standards] (PRIoLEAST64): Likewise.
38511         [C99-based-standards] (PRIuLEAST64): Likewise.
38512         [C99-based-standards] (PRIxLEAST64): Likewise.
38513         [C99-based-standards] (PRIXLEAST64): Likewise.
38514         [C99-based-standards] (SCNdLEAST64): Likewise.
38515         [C99-based-standards] (SCNiLEAST64): Likewise.
38516         [C99-based-standards] (SCNoLEAST64): Likewise.
38517         [C99-based-standards] (SCNuLEAST64): Likewise.
38518         [C99-based-standards] (SCNxLEAST64): Likewise.
38519         [C99-based-standards] (PRIdFAST64): Likewise.
38520         [C99-based-standards] (PRIiFAST64): Likewise.
38521         [C99-based-standards] (PRIoFAST64): Likewise.
38522         [C99-based-standards] (PRIuFAST64): Likewise.
38523         [C99-based-standards] (PRIxFAST64): Likewise.
38524         [C99-based-standards] (PRIXFAST64): Likewise.
38525         [C99-based-standards] (SCNdFAST64): Likewise.
38526         [C99-based-standards] (SCNiFAST64): Likewise.
38527         [C99-based-standards] (SCNoFAST64): Likewise.
38528         [C99-based-standards] (SCNuFAST64): Likewise.
38529         [C99-based-standards] (SCNxFAST64): Likewise.
38530         [C99-based-standards] (PRIdMAX): Likewise.
38531         [C99-based-standards] (PRIiMAX): Likewise.
38532         [C99-based-standards] (PRIoMAX): Likewise.
38533         [C99-based-standards] (PRIuMAX): Likewise.
38534         [C99-based-standards] (PRIxMAX): Likewise.
38535         [C99-based-standards] (PRIXMAX): Likewise.
38536         [C99-based-standards] (SCNdMAX): Likewise.
38537         [C99-based-standards] (SCNiMAX): Likewise.
38538         [C99-based-standards] (SCNoMAX): Likewise.
38539         [C99-based-standards] (SCNuMAX): Likewise.
38540         [C99-based-standards] (SCNxMAX): Likewise.
38541         [C99-based-standards] (PRIdPTR): Likewise.
38542         [C99-based-standards] (PRIiPTR): Likewise.
38543         [C99-based-standards] (PRIoPTR): Likewise.
38544         [C99-based-standards] (PRIuPTR): Likewise.
38545         [C99-based-standards] (PRIxPTR): Likewise.
38546         [C99-based-standards] (PRIXPTR): Likewise.
38547         [C99-based-standards] (SCNdPTR): Likewise.
38548         [C99-based-standards] (SCNiPTR): Likewise.
38549         [C99-based-standards] (SCNoPTR): Likewise.
38550         [C99-based-standards] (SCNuPTR): Likewise.
38551         [C99-based-standards] (SCNxPTR): Likewise.
38552         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
38553         allow.
38554         * conform/data/stdint.h-data: Update comments to clarify
38555         requirements.
38556         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
38557         type.
38558         [C99-based standards] (INT8_MAX): Likewise.
38559         [C99-based standards] (INT16_MIN): Likewise.
38560         [C99-based standards] (INT16_MAX): Likewise.
38561         [C99-based standards] (INT32_MIN): Likewise.
38562         [C99-based standards] (INT32_MAX): Likewise.
38563         [C99-based standards] (INT64_MIN): Likewise.
38564         [C99-based standards] (INT64_MAX): Likewise.
38565         [C99-based standards] (UINT8_MAX): Likewise.
38566         [C99-based standards] (UINT16_MAX): Likewise.
38567         [C99-based standards] (UINT32_MAX): Likewise.
38568         [C99-based standards] (UINT64_MAX): Likewise.
38569         [C99-based standards] (INT_LEAST8_MIN): Likewise.
38570         [C99-based standards] (INT_LEAST8_MAX): Likewise.
38571         [C99-based standards] (INT_LEAST16_MIN): Likewise.
38572         [C99-based standards] (INT_LEAST16_MAX): Likewise.
38573         [C99-based standards] (INT_LEAST32_MIN): Likewise.
38574         [C99-based standards] (INT_LEAST32_MAX): Likewise.
38575         [C99-based standards] (INT_LEAST64_MIN): Likewise.
38576         [C99-based standards] (INT_LEAST64_MAX): Likewise.
38577         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
38578         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
38579         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
38580         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
38581         [C99-based standards] (INT_FAST8_MIN): Likewise.
38582         [C99-based standards] (INT_FAST8_MAX): Likewise.
38583         [C99-based standards] (INT_FAST16_MIN): Likewise.
38584         [C99-based standards] (INT_FAST16_MAX): Likewise.
38585         [C99-based standards] (INT_FAST32_MIN): Likewise.
38586         [C99-based standards] (INT_FAST32_MAX): Likewise.
38587         [C99-based standards] (INT_FAST64_MIN): Likewise.
38588         [C99-based standards] (INT_FAST64_MAX): Likewise.
38589         [C99-based standards] (UINT_FAST8_MAX): Likewise.
38590         [C99-based standards] (UINT_FAST16_MAX): Likewise.
38591         [C99-based standards] (UINT_FAST32_MAX): Likewise.
38592         [C99-based standards] (UINT_FAST64_MAX): Likewise.
38593         [C99-based standards] (INTPTR_MIN): Likewise.
38594         [C99-based standards] (INTPTR_MAX): Likewise.
38595         [C99-based standards] (UINTPTR_MAX): Likewise.
38596         [C99-based standards] (INTMAX_MIN): Likewise.
38597         [C99-based standards] (INTMAX_MAX): Likewise.
38598         [C99-based standards] (UINTMAX_MAX): Likewise.
38599         [C99-based standards] (PTRDIFF_MIN): Likewise.
38600         [C99-based standards] (PTRDIFF_MAX): Likewise.
38601         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
38602         [C99-based standards] (SIZE_MAX): Likewise.
38603         [C99-based standards] (WCHAR_MAX): Likewise.
38604         [C99-based standards] (WINT_MAX): Likewise.
38605         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
38606         constraint on value.
38607         [C99-based standards] (WCHAR_MIN): Likewise.
38608         [C99-based standards] (WINT_MIN): Likewise.
38609         [C99-based standards] (*_t): Allow.
38610         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
38611         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
38612         Include math.h-data and complex.h-data.  Remove all expectations
38613         of math.h and complex.h contents.
38614         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
38615         at end of line.
38616         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
38617         (struct tm): Expect tag.
38618         [C99-based-standards] (wcstof): Expect function.
38619         [C99-based-standards] (wcstold): Likewise.
38620         [C99-based-standards] (wcstoll): Likewise.
38621         [C99-based-standards] (wcstoull): Likewise.
38622         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
38623         macro-int-constant.  Specify type.
38624         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
38625         constraint on value.
38626         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38627         Specify type.
38628         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
38629         Specify value.
38630         [ISO C standards]: Do not allow headers.
38631         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
38632         wcs[abcdefghijklmnopqrstuvwxyz]*.
38633         [ISO C standards] (*_t): Do not allow.
38634         * conform/data/wctype.h-data [C99-based standards] (iswblank):
38635         Expect function.
38636         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
38637         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38638         Specify type.
38639         [ISO C standards]: Do not allow headers.
38640         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
38641         is[abcdefghijklmnopqrstuvwxyz]*.
38642         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
38643         to[abcdefghijklmnopqrstuvwxyz]*.
38644         [ISO C standards] (*_t): Do not allow.
38645         * conform/data/stdalign.h-data: New file.
38646         * conform/data/stdbool.h-data: Likewise.
38647         * conform/data/stdnoreturn.h-data: Likewise.
38649 2012-11-07  Roland McGrath  <roland@hack.frob.com>
38651         [BZ #14815]
38652         * manual/filesys.texi (Directory Entries): Typo fix.
38653         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
38655 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38657         * elf/elf.h (EM_AARCH64): New macro.
38658         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
38659         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
38660         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
38661         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
38662         (R_AARCH64_TLSDESC): Likewise.
38663         (NT_ARM_TLS): Likewise.
38664         (NT_ARM_HW_BREAK): Likewise.
38665         (NT_ARM_HW_WATCH): Likewise.
38667 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
38669         [BZ #14811]
38670         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
38671         (__ieee754_powl): Saturate nonzero exponents with absolute value
38672         below 0x1p-79 to +/- 0x1p-79.
38673         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
38674         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
38675         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
38676         nonzero exponents with absolute value below 0x1p-32 to +/-
38677         0x1p-32.
38678         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
38679         (__ieee754_powl): Saturate nonzero exponents with absolute value
38680         below 0x1p-79 to +/- 0x1p-79.
38681         * math/libm-test.inc (pow_test): Add more tests.
38683 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38685         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
38686         _dl_s390_cap_flags with kernel. Increase string length.
38687         (_dl_s390_platforms): Add z196 and zEC12.
38689 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
38691         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
38692         Change XOPEN21K to XOPEN2K.
38694 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
38696         * string/memmove.c: Use memcpy when possible.
38698 2012-11-06  Andreas Jaeger  <aj@suse.de>
38700         * po/eo.po: Update from translation team.
38702 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
38704         [BZ #14793]
38705         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
38706         exponent and small x and y exponents, scale x or y up.  Increase
38707         by 2 the exponent used in scaling up.
38708         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38709         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38710         * math/libm-test.inc (fma_test): Add more tests.
38711         (fma_test_towardzero): Likewise.
38712         (fma_test_downward): Likewise.
38713         (fma_test_upward): Likewise.
38715 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
38717         [BZ #14805]
38718         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
38719         fenv_t *.
38721         [BZ #14801]
38722         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
38723         namespace for names of struct fields.
38724         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
38725         fenv_t fields.
38726         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
38727         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
38729 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38731         [BZ #3665]
38732         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
38734 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
38736         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
38737         PTR_DEMANGLE.
38739         [BZ #5246]
38740         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
38741         PTR_DEMANGLE.
38743 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
38745         [BZ #14797]
38746         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
38747         definitely overflow as x * y not x * y + z.
38748         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38749         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38750         * math/libm-test.inc (fma_test): Add more tests.
38751         (fma_test_towardzero): Likewise.
38752         (fma_test_downward): Likewise.
38753         (fma_test_upward): Likewise.
38755 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
38757         [BZ #157]
38759         * include/stub-tag.h: Remove file.
38760         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
38761         '#include' of it.
38762         * manual/maint.texi (Porting): Don't reference it.
38763         * Makerules ($(objpfx)stubs): Likewise.
38764         * dirent/closedir.c: Don't include <stub-tag.h>.
38765         * dirent/dirfd.c: Likewise.
38766         * dirent/fdopendir.c: Likewise.
38767         * dirent/getdents.c: Likewise.
38768         * dirent/getdents64.c: Likewise.
38769         * dirent/opendir.c: Likewise.
38770         * dirent/readdir.c: Likewise.
38771         * dirent/readdir64.c: Likewise.
38772         * dirent/readdir64_r.c: Likewise.
38773         * dirent/readdir_r.c: Likewise.
38774         * dirent/rewinddir.c: Likewise.
38775         * dirent/seekdir.c: Likewise.
38776         * dirent/telldir.c: Likewise.
38777         * gmon/profil.c: Likewise.
38778         * grp/setgroups.c: Likewise.
38779         * inet/if_index.c: Likewise.
38780         * io/access.c: Likewise.
38781         * io/chdir.c: Likewise.
38782         * io/chmod.c: Likewise.
38783         * io/chown.c: Likewise.
38784         * io/close.c: Likewise.
38785         * io/dup.c: Likewise.
38786         * io/dup2.c: Likewise.
38787         * io/dup3.c: Likewise.
38788         * io/euidaccess.c: Likewise.
38789         * io/faccessat.c: Likewise.
38790         * io/fchdir.c: Likewise.
38791         * io/fchmod.c: Likewise.
38792         * io/fchmodat.c: Likewise.
38793         * io/fchown.c: Likewise.
38794         * io/fchownat.c: Likewise.
38795         * io/fcntl.c: Likewise.
38796         * io/flock.c: Likewise.
38797         * io/fstatfs.c: Likewise.
38798         * io/fstatfs64.c: Likewise.
38799         * io/fstatvfs.c: Likewise.
38800         * io/fstatvfs64.c: Likewise.
38801         * io/futimens.c: Likewise.
38802         * io/fxstat.c: Likewise.
38803         * io/fxstat64.c: Likewise.
38804         * io/fxstatat.c: Likewise.
38805         * io/fxstatat64.c: Likewise.
38806         * io/getcwd.c: Likewise.
38807         * io/isatty.c: Likewise.
38808         * io/lchmod.c: Likewise.
38809         * io/lchown.c: Likewise.
38810         * io/link.c: Likewise.
38811         * io/linkat.c: Likewise.
38812         * io/lseek.c: Likewise.
38813         * io/lseek64.c: Likewise.
38814         * io/lxstat64.c: Likewise.
38815         * io/mkdir.c: Likewise.
38816         * io/mkdirat.c: Likewise.
38817         * io/mkfifo.c: Likewise.
38818         * io/mkfifoat.c: Likewise.
38819         * io/open.c: Likewise.
38820         * io/open64.c: Likewise.
38821         * io/openat.c: Likewise.
38822         * io/openat64.c: Likewise.
38823         * io/pipe.c: Likewise.
38824         * io/pipe2.c: Likewise.
38825         * io/poll.c: Likewise.
38826         * io/posix_fadvise.c: Likewise.
38827         * io/posix_fadvise64.c: Likewise.
38828         * io/posix_fallocate.c: Likewise.
38829         * io/posix_fallocate64.c: Likewise.
38830         * io/read.c: Likewise.
38831         * io/readlink.c: Likewise.
38832         * io/readlinkat.c: Likewise.
38833         * io/rmdir.c: Likewise.
38834         * io/sendfile.c: Likewise.
38835         * io/sendfile64.c: Likewise.
38836         * io/statfs.c: Likewise.
38837         * io/statfs64.c: Likewise.
38838         * io/statvfs.c: Likewise.
38839         * io/statvfs64.c: Likewise.
38840         * io/symlink.c: Likewise.
38841         * io/symlinkat.c: Likewise.
38842         * io/ttyname.c: Likewise.
38843         * io/ttyname_r.c: Likewise.
38844         * io/umask.c: Likewise.
38845         * io/unlink.c: Likewise.
38846         * io/unlinkat.c: Likewise.
38847         * io/utime.c: Likewise.
38848         * io/utimensat.c: Likewise.
38849         * io/write.c: Likewise.
38850         * io/xmknod.c: Likewise.
38851         * io/xmknodat.c: Likewise.
38852         * io/xstat.c: Likewise.
38853         * io/xstat64.c: Likewise.
38854         * login/getpt.c: Likewise.
38855         * login/grantpt.c: Likewise.
38856         * login/unlockpt.c: Likewise.
38857         * math/e_acoshl.c: Likewise.
38858         * math/e_acosl.c: Likewise.
38859         * math/e_asinl.c: Likewise.
38860         * math/e_atan2l.c: Likewise.
38861         * math/e_atanhl.c: Likewise.
38862         * math/e_coshl.c: Likewise.
38863         * math/e_expl.c: Likewise.
38864         * math/e_fmodl.c: Likewise.
38865         * math/e_gammal_r.c: Likewise.
38866         * math/e_hypotl.c: Likewise.
38867         * math/e_j0l.c: Likewise.
38868         * math/e_j1l.c: Likewise.
38869         * math/e_jnl.c: Likewise.
38870         * math/e_lgammal_r.c: Likewise.
38871         * math/e_log10l.c: Likewise.
38872         * math/e_log2l.c: Likewise.
38873         * math/e_logl.c: Likewise.
38874         * math/e_powl.c: Likewise.
38875         * math/e_rem_pio2l.c: Likewise.
38876         * math/e_sinhl.c: Likewise.
38877         * math/e_sqrtl.c: Likewise.
38878         * math/fclrexcpt.c: Likewise.
38879         * math/fedisblxcpt.c: Likewise.
38880         * math/feenablxcpt.c: Likewise.
38881         * math/fegetenv.c: Likewise.
38882         * math/fegetexcept.c: Likewise.
38883         * math/fegetround.c: Likewise.
38884         * math/feholdexcpt.c: Likewise.
38885         * math/fesetenv.c: Likewise.
38886         * math/fesetround.c: Likewise.
38887         * math/feupdateenv.c: Likewise.
38888         * math/fgetexcptflg.c: Likewise.
38889         * math/fraiseexcpt.c: Likewise.
38890         * math/fsetexcptflg.c: Likewise.
38891         * math/ftestexcept.c: Likewise.
38892         * math/k_cosl.c: Likewise.
38893         * math/k_rem_pio2l.c: Likewise.
38894         * math/k_sinl.c: Likewise.
38895         * math/k_tanl.c: Likewise.
38896         * math/s_asinhl.c: Likewise.
38897         * math/s_atanl.c: Likewise.
38898         * math/s_cbrtl.c: Likewise.
38899         * math/s_erfl.c: Likewise.
38900         * math/s_expm1l.c: Likewise.
38901         * math/s_log1pl.c: Likewise.
38902         * math/s_tanhl.c: Likewise.
38903         * misc/acct.c: Likewise.
38904         * misc/brk.c: Likewise.
38905         * misc/chflags.c: Likewise.
38906         * misc/chroot.c: Likewise.
38907         * misc/fchflags.c: Likewise.
38908         * misc/fgetxattr.c: Likewise.
38909         * misc/flistxattr.c: Likewise.
38910         * misc/fremovexattr.c: Likewise.
38911         * misc/fsetxattr.c: Likewise.
38912         * misc/fsync.c: Likewise.
38913         * misc/ftruncate.c: Likewise.
38914         * misc/futimes.c: Likewise.
38915         * misc/futimesat.c: Likewise.
38916         * misc/getdomain.c: Likewise.
38917         * misc/getdtsz.c: Likewise.
38918         * misc/gethostid.c: Likewise.
38919         * misc/gethostname.c: Likewise.
38920         * misc/getloadavg.c: Likewise.
38921         * misc/getpagesize.c: Likewise.
38922         * misc/getsysstats.c: Likewise.
38923         * misc/getxattr.c: Likewise.
38924         * misc/gtty.c: Likewise.
38925         * misc/ioctl.c: Likewise.
38926         * misc/lgetxattr.c: Likewise.
38927         * misc/listxattr.c: Likewise.
38928         * misc/llistxattr.c: Likewise.
38929         * misc/lremovexattr.c: Likewise.
38930         * misc/lsetxattr.c: Likewise.
38931         * misc/lutimes.c: Likewise.
38932         * misc/madvise.c: Likewise.
38933         * misc/mincore.c: Likewise.
38934         * misc/mlock.c: Likewise.
38935         * misc/mlockall.c: Likewise.
38936         * misc/mmap.c: Likewise.
38937         * misc/mprotect.c: Likewise.
38938         * misc/msync.c: Likewise.
38939         * misc/munlock.c: Likewise.
38940         * misc/munlockall.c: Likewise.
38941         * misc/munmap.c: Likewise.
38942         * misc/preadv.c: Likewise.
38943         * misc/preadv64.c: Likewise.
38944         * misc/ptrace.c: Likewise.
38945         * misc/pwritev.c: Likewise.
38946         * misc/pwritev64.c: Likewise.
38947         * misc/readv.c: Likewise.
38948         * misc/reboot.c: Likewise.
38949         * misc/remap_file_pages.c: Likewise.
38950         * misc/removexattr.c: Likewise.
38951         * misc/revoke.c: Likewise.
38952         * misc/select.c: Likewise.
38953         * misc/setdomain.c: Likewise.
38954         * misc/setegid.c: Likewise.
38955         * misc/seteuid.c: Likewise.
38956         * misc/sethostid.c: Likewise.
38957         * misc/sethostname.c: Likewise.
38958         * misc/setregid.c: Likewise.
38959         * misc/setreuid.c: Likewise.
38960         * misc/setxattr.c: Likewise.
38961         * misc/sstk.c: Likewise.
38962         * misc/stty.c: Likewise.
38963         * misc/swapoff.c: Likewise.
38964         * misc/swapon.c: Likewise.
38965         * misc/sync.c: Likewise.
38966         * misc/syncfs.c: Likewise.
38967         * misc/syscall.c: Likewise.
38968         * misc/truncate.c: Likewise.
38969         * misc/ualarm.c: Likewise.
38970         * misc/usleep.c: Likewise.
38971         * misc/ustat.c: Likewise.
38972         * misc/utimes.c: Likewise.
38973         * misc/vhangup.c: Likewise.
38974         * misc/writev.c: Likewise.
38975         * posix/_exit.c: Likewise.
38976         * posix/alarm.c: Likewise.
38977         * posix/execve.c: Likewise.
38978         * posix/fexecve.c: Likewise.
38979         * posix/fork.c: Likewise.
38980         * posix/fpathconf.c: Likewise.
38981         * posix/getaddrinfo.c: Likewise.
38982         * posix/getegid.c: Likewise.
38983         * posix/geteuid.c: Likewise.
38984         * posix/getgid.c: Likewise.
38985         * posix/getgroups.c: Likewise.
38986         * posix/getlogin.c: Likewise.
38987         * posix/getlogin_r.c: Likewise.
38988         * posix/getpgid.c: Likewise.
38989         * posix/getpid.c: Likewise.
38990         * posix/getppid.c: Likewise.
38991         * posix/getresgid.c: Likewise.
38992         * posix/getresuid.c: Likewise.
38993         * posix/getsid.c: Likewise.
38994         * posix/getuid.c: Likewise.
38995         * posix/glob64.c: Likewise.
38996         * posix/nanosleep.c: Likewise.
38997         * posix/pathconf.c: Likewise.
38998         * posix/pause.c: Likewise.
38999         * posix/posix_madvise.c: Likewise.
39000         * posix/pread.c: Likewise.
39001         * posix/pread64.c: Likewise.
39002         * posix/pwrite.c: Likewise.
39003         * posix/pwrite64.c: Likewise.
39004         * posix/sched_getaffinity.c: Likewise.
39005         * posix/sched_getp.c: Likewise.
39006         * posix/sched_gets.c: Likewise.
39007         * posix/sched_primax.c: Likewise.
39008         * posix/sched_primin.c: Likewise.
39009         * posix/sched_rr_gi.c: Likewise.
39010         * posix/sched_setaffinity.c: Likewise.
39011         * posix/sched_setp.c: Likewise.
39012         * posix/sched_sets.c: Likewise.
39013         * posix/sched_yield.c: Likewise.
39014         * posix/setgid.c: Likewise.
39015         * posix/setlogin.c: Likewise.
39016         * posix/setpgid.c: Likewise.
39017         * posix/setresgid.c: Likewise.
39018         * posix/setresuid.c: Likewise.
39019         * posix/setsid.c: Likewise.
39020         * posix/setuid.c: Likewise.
39021         * posix/sleep.c: Likewise.
39022         * posix/spawni.c: Likewise.
39023         * posix/sysconf.c: Likewise.
39024         * posix/times.c: Likewise.
39025         * posix/wait.c: Likewise.
39026         * posix/wait3.c: Likewise.
39027         * posix/wait4.c: Likewise.
39028         * posix/waitpid.c: Likewise.
39029         * resolv/gai_sigqueue.c: Likewise.
39030         * resource/getpriority.c: Likewise.
39031         * resource/getrlimit.c: Likewise.
39032         * resource/getrusage.c: Likewise.
39033         * resource/nice.c: Likewise.
39034         * resource/setpriority.c: Likewise.
39035         * resource/setrlimit.c: Likewise.
39036         * resource/ulimit.c: Likewise.
39037         * rt/aio_cancel.c: Likewise.
39038         * rt/aio_fsync.c: Likewise.
39039         * rt/aio_read.c: Likewise.
39040         * rt/aio_sigqueue.c: Likewise.
39041         * rt/aio_suspend.c: Likewise.
39042         * rt/aio_write.c: Likewise.
39043         * rt/clock_getres.c: Likewise.
39044         * rt/clock_gettime.c: Likewise.
39045         * rt/clock_nanosleep.c: Likewise.
39046         * rt/clock_settime.c: Likewise.
39047         * rt/lio_listio.c: Likewise.
39048         * rt/mq_close.c: Likewise.
39049         * rt/mq_getattr.c: Likewise.
39050         * rt/mq_notify.c: Likewise.
39051         * rt/mq_open.c: Likewise.
39052         * rt/mq_receive.c: Likewise.
39053         * rt/mq_send.c: Likewise.
39054         * rt/mq_setattr.c: Likewise.
39055         * rt/mq_timedreceive.c: Likewise.
39056         * rt/mq_timedsend.c: Likewise.
39057         * rt/mq_unlink.c: Likewise.
39058         * rt/shm_open.c: Likewise.
39059         * rt/shm_unlink.c: Likewise.
39060         * rt/timer_create.c: Likewise.
39061         * rt/timer_delete.c: Likewise.
39062         * rt/timer_getoverr.c: Likewise.
39063         * rt/timer_gettime.c: Likewise.
39064         * rt/timer_settime.c: Likewise.
39065         * setjmp/__longjmp.c: Likewise.
39066         * setjmp/setjmp.c: Likewise.
39067         * signal/kill.c: Likewise.
39068         * signal/killpg.c: Likewise.
39069         * signal/raise.c: Likewise.
39070         * signal/sigaction.c: Likewise.
39071         * signal/sigaltstack.c: Likewise.
39072         * signal/sigblock.c: Likewise.
39073         * signal/sigignore.c: Likewise.
39074         * signal/sigintr.c: Likewise.
39075         * signal/signal.c: Likewise.
39076         * signal/sigpause.c: Likewise.
39077         * signal/sigpending.c: Likewise.
39078         * signal/sigqueue.c: Likewise.
39079         * signal/sigreturn.c: Likewise.
39080         * signal/sigset.c: Likewise.
39081         * signal/sigsetmask.c: Likewise.
39082         * signal/sigstack.c: Likewise.
39083         * signal/sigsuspend.c: Likewise.
39084         * signal/sigtimedwait.c: Likewise.
39085         * signal/sigvec.c: Likewise.
39086         * signal/sigwait.c: Likewise.
39087         * signal/sigwaitinfo.c: Likewise.
39088         * signal/sysv_signal.c: Likewise.
39089         * socket/accept.c: Likewise.
39090         * socket/accept4.c: Likewise.
39091         * socket/bind.c: Likewise.
39092         * socket/connect.c: Likewise.
39093         * socket/getpeername.c: Likewise.
39094         * socket/getsockname.c: Likewise.
39095         * socket/getsockopt.c: Likewise.
39096         * socket/isfdtype.c: Likewise.
39097         * socket/listen.c: Likewise.
39098         * socket/recv.c: Likewise.
39099         * socket/recvfrom.c: Likewise.
39100         * socket/recvmsg.c: Likewise.
39101         * socket/send.c: Likewise.
39102         * socket/sendmsg.c: Likewise.
39103         * socket/sendto.c: Likewise.
39104         * socket/setsockopt.c: Likewise.
39105         * socket/shutdown.c: Likewise.
39106         * socket/sockatmark.c: Likewise.
39107         * socket/socket.c: Likewise.
39108         * socket/socketpair.c: Likewise.
39109         * stdio-common/ctermid.c: Likewise.
39110         * stdio-common/cuserid.c: Likewise.
39111         * stdio-common/remove.c: Likewise.
39112         * stdio-common/rename.c: Likewise.
39113         * stdio-common/renameat.c: Likewise.
39114         * stdio-common/tempname.c: Likewise.
39115         * stdlib/getcontext.c: Likewise.
39116         * stdlib/makecontext.c: Likewise.
39117         * stdlib/setcontext.c: Likewise.
39118         * stdlib/swapcontext.c: Likewise.
39119         * stdlib/system.c: Likewise.
39120         * streams/fattach.c: Likewise.
39121         * streams/fdetach.c: Likewise.
39122         * streams/getmsg.c: Likewise.
39123         * streams/getpmsg.c: Likewise.
39124         * streams/putmsg.c: Likewise.
39125         * streams/putpmsg.c: Likewise.
39126         * sysdeps/unix/bsd/getpt.c: Likewise.
39127         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
39128         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
39129         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39131         Likewise.
39132         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
39133         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
39134         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
39135         * sysvipc/msgctl.c: Likewise.
39136         * sysvipc/msgget.c: Likewise.
39137         * sysvipc/msgrcv.c: Likewise.
39138         * sysvipc/msgsnd.c: Likewise.
39139         * sysvipc/semctl.c: Likewise.
39140         * sysvipc/semget.c: Likewise.
39141         * sysvipc/semop.c: Likewise.
39142         * sysvipc/semtimedop.c: Likewise.
39143         * sysvipc/shmat.c: Likewise.
39144         * sysvipc/shmctl.c: Likewise.
39145         * sysvipc/shmdt.c: Likewise.
39146         * sysvipc/shmget.c: Likewise.
39147         * termios/tcdrain.c: Likewise.
39148         * termios/tcflow.c: Likewise.
39149         * termios/tcflush.c: Likewise.
39150         * termios/tcgetattr.c: Likewise.
39151         * termios/tcgetpgrp.c: Likewise.
39152         * termios/tcsendbrk.c: Likewise.
39153         * termios/tcsetattr.c: Likewise.
39154         * termios/tcsetpgrp.c: Likewise.
39155         * time/adjtime.c: Likewise.
39156         * time/clock.c: Likewise.
39157         * time/getitimer.c: Likewise.
39158         * time/gettimeofday.c: Likewise.
39159         * time/setitimer.c: Likewise.
39160         * time/settimeofday.c: Likewise.
39161         * time/stime.c: Likewise.
39162         * time/time.c: Likewise.
39164 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
39166         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
39167         /usr/old/bin.
39169         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
39170         instead of spaces.
39171         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
39173 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
39175         [BZ #14796]
39176         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
39177         FE_TONEAREST before applying Dekker multiplication and Knuth
39178         addition.  Clear inexact exceptions and check for exact zero
39179         results afterwards.
39180         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39181         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39182         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39183         * math/libm-test.inc (fma_test): Add more tests.
39184         (fma_test_towardzero): Likewise.
39185         (fma_test_downward): Likewise.
39186         (fma_test_upward): Likewise.
39187         * sysdeps/generic/math_private.h (default_libc_fesetround): New
39188         function.
39189         (libc_fesetround): New macro.
39190         (libc_fesetroundf): Likewise.
39191         (libc_fesetroundl): Likewise.
39192         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
39193         function.
39194         (libc_fesetround_387): Likewise.
39195         (libc_fesetroundf): New macro.
39196         (libc_fesetround): Likewise.
39197         (libc_fesetroundl): Likewise.
39198         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
39199         function.
39200         (libc_fesetroundf): New macro.
39201         (libc_fesetround): Likewise.
39202         (libc_fesetroundl): Likewise.
39203         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
39204         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
39205         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
39206         libm_hidden_ver.
39207         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
39208         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
39209         libm_hidden_def.
39210         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
39211         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
39212         libm_hidden_ver.
39213         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
39214         libm_hidden_def.
39216         [BZ #3439]
39217         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
39218         integer constant usable in #if and use that to give value to enum
39219         constant.
39220         (FE_DIVBYZERO): Likewise.
39221         (FE_UNDERFLOW): Likewise.
39222         (FE_OVERFLOW): Likewise.
39223         (FE_INVALID): Likewise.
39224         (FE_INVALID_SNAN): Likewise.
39225         (FE_INVALID_ISI): Likewise.
39226         (FE_INVALID_IDI): Likewise.
39227         (FE_INVALID_ZDZ): Likewise.
39228         (FE_INVALID_IMZ): Likewise.
39229         (FE_INVALID_COMPARE): Likewise.
39230         (FE_INVALID_SOFTWARE): Likewise.
39231         (FE_INVALID_SQRT): Likewise.
39232         (FE_INVALID_INTEGER_CONVERSION): Likewise.
39233         (FE_TONEAREST): Likewise.
39234         (FE_TOWARDZERO): Likewise.
39235         (FE_UPWARD): Likewise.
39236         (FE_DOWNWARD): Likewise.
39237         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
39238         (FE_DIVBYZERO): Likewise.
39239         (FE_OVERFLOW): Likewise.
39240         (FE_UNDERFLOW): Likewise.
39241         (FE_INEXACT): Likewise.
39242         (FE_TONEAREST): Likewise.
39243         (FE_DOWNWARD): Likewise.
39244         (FE_UPWARD): Likewise.
39245         (FE_TOWARDZERO): Likewise.
39246         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
39247         (FE_UNDERFLOW): Likewise.
39248         (FE_OVERFLOW): Likewise.
39249         (FE_DIVBYZERO): Likewise.
39250         (FE_INVALID): Likewise.
39251         (FE_TONEAREST): Likewise.
39252         (FE_TOWARDZERO): Likewise.
39253         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
39254         (FE_OVERFLOW): Likewise.
39255         (FE_UNDERFLOW): Likewise.
39256         (FE_DIVBYZERO): Likewise.
39257         (FE_INEXACT): Likewise.
39258         (FE_TONEAREST): Likewise.
39259         (FE_TOWARDZERO): Likewise.
39260         (FE_UPWARD): Likewise.
39261         (FE_DOWNWARD): Likewise.
39262         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
39263         (FE_DIVBYZERO): Likewise.
39264         (FE_OVERFLOW): Likewise.
39265         (FE_UNDERFLOW): Likewise.
39266         (FE_INEXACT): Likewise.
39267         (FE_TONEAREST): Likewise.
39268         (FE_DOWNWARD): Likewise.
39269         (FE_UPWARD): Likewise.
39270         (FE_TOWARDZERO): Likewise.
39272 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
39274         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
39276 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
39278         * scripts/cross-test-ssh.sh (command): Use newlines to separate
39279         commands.  Quote $PWD.
39280         (blacklist_exports): Don't use remove_newlines.  Replace "declare
39281         -x" by "export".
39282         (remove_newlines): Remove.
39284 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
39286         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
39287         * stdlib/stdlib.h (atof): Moved to ...
39288         * include/bits/stdlib-float.h: Here.  New file.
39289         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
39290         * stdlib/bits/stdlib-float.h: New file.
39291         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
39292         -mno-sse -mno-mmx.
39293         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
39294         <xmmintrin.h>.
39296 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
39298         * conform/conformtest.pl (@headers): Add fenv.h.
39299         * conform/data/fenv.h-data: New file.
39300         * include/fenv.h [_ISOMAC]: Disable all contents of file except
39301         include of <math/fenv.h>.
39303         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
39304         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
39305         && !UNIX98].  Enables tests for XOPEN2K8.
39306         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
39307         POSIX2008]: Likewise.
39309         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
39310         (struct rusage): Do not expect type or its members.
39312         [BZ #3439]
39313         * math/math.h (FP_NAN): Define macro to integer constant usable in
39314         #if and use that to give value to enum constant.
39315         (FP_INFINITE): Likewise.
39316         (FP_ZERO): Likewise.
39317         (FP_SUBNORMAL): Likewise.
39318         (FP_NORMAL): Likewise.
39320 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
39322         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
39323         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
39324         arguments.
39326 2012-11-02  Roland McGrath  <roland@hack.frob.com>
39328         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
39329         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
39330         autoconf-time if not.
39331         * configure.in: Remove AC_PREREQ.
39333 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39335         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
39336         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
39337         of the internal implementation.
39339 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
39341         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
39342         except include of <misc/sys/syslog.h>.
39344 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
39346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
39347         function returns with a NULL context exit with zero.
39349 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39351         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
39353 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
39355         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
39356         (run_program_cmd): This.
39357         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
39358         (tst_langinfo): New variable.  Use it.
39360 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
39362         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
39363         floating point opcodes.
39365 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
39367         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
39368         variable.
39370         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
39372         * sysdeps/mach/hurd/powerpc: Remove directory.
39373         * sysdeps/mach/powerpc: Likewise.
39375 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
39377         * scripts/check-local-headers.sh: Ignore c++ headers.
39379 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
39381         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
39382         __libc_cleanup_region_start argument.
39384 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
39386         [BZ #14784]
39387         [BZ #14785]
39388         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
39389         x * y using scaling, not as x * y + z.
39390         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39391         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39392         * math/libm-test.inc (fma_test): Add more tests.
39393         (fma_test_towardzero): Likewise.
39394         (fma_test_downward): Likewise.
39395         (fma_test_upward): Likewise.
39397 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
39399         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
39401 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
39403         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
39404         New variable.
39406 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
39408         * rt/tst-shm.c (worker): Correct checking for mmap failure.
39410 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
39412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39413         Fix sort order.
39414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39415         Likewise.
39417 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39420         Fix the order of the list for glibc 2.17.
39421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39422         Likewise.
39424 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
39426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39428 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
39430         [BZ #14610]
39431         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
39432         for low part of x being zero before using __atanl (y).
39433         * math/libm-test.inc (atan2_test): Add another test.
39435         * manual/install.texi (Configuring and compiling): Document
39436         general use of test-wrapper and test-wrapper-env.
39437         * INSTALL: Regenerated.
39439         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
39440         (__fma): Do not extract and scale down low bits on after-rounding
39441         systems when result rounded to normal precision would have normal
39442         exponent.
39443         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
39444         (__fmal): Do not extract and scale down low bits on after-rounding
39445         systems when result rounded to normal precision would have normal
39446         exponent.
39447         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
39448         (__fmal): Do not extract and scale down low bits on after-rounding
39449         systems when result rounded to normal precision would have normal
39450         exponent.
39451         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
39452         macro.
39453         (fma_test): Add more tests.
39454         (fma_test_towardzero): Likewise.
39455         (fma_test_downward): Likewise.
39456         (fma_test_upward): Likewise.
39458 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
39460         * sysdeps/i386/tininess.h: Renamed to ...
39461         * sysdeps/x86/tininess.h: This.
39462         * sysdeps/x86_64/tininess.h: Removed.
39464 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
39466         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
39467         input.  Use $(build-program-cmd).
39468         ($(objpfx)tst-array1-static.out): Likewise.
39469         ($(objpfx)tst-array2.out): Likewise.
39470         ($(objpfx)tst-array3.out): Likewise.
39471         ($(objpfx)tst-array4.out): Likewise.
39472         ($(objpfx)tst-array5.out): Likewise.
39473         ($(objpfx)tst-array5-static.out): Likewise.
39475 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
39477         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
39478         if defined.
39480         * nss/nsswitch.h (nss_interface_function): Provide new
39481         macro for use with NSS functions.
39482         * grp/initgroups.c: Use new macro.
39483         * nss/getXXbyYY.c: Likewise.
39484         * nss/getXXbyYY_r.c: Likewise.
39485         * nss/getXXent.c: Likewise.
39486         * nss/getXXent_r.c: Likewise.
39487         * sysdeps/posix/getaddrinfo.c: Likewise.
39489 2012-10-30  Andreas Jaeger  <aj@suse.de>
39491         * po/ru.po: Update Russion translation from translation project.
39493 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
39495         [BZ #14152]
39496         [BZ #14783]
39497         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
39498         result and shift together with sticky bit instead of replicating
39499         round-to-nearest rounding.
39500         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39501         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39502         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
39503         missing underflow exceptions.
39504         (fma_test_towardzero): Add more tests.
39505         (fma_test_downward): Likewise.
39506         (fma_test_upward): Likewise.
39508         [BZ #14047]
39509         * sysdeps/generic/tininess.h: New file.
39510         * sysdeps/i386/tininess.h: Likewise.
39511         * sysdeps/sh/tininess.h: Likewise.
39512         * sysdeps/x86_64/tininess.h: Likewise.
39513         * stdlib/tst-strtod-underflow.c: Likewise.
39514         * stdlib/tst-tininess.c: Likewise.
39515         * stdlib/strtod_l.c: Include <tininess.h>.
39516         (round_and_return): Do not set errno for exact underflow cases.
39517         Force an underflow exception when setting errno for underflow.
39518         Determine underflow based on rounding to normal precision if
39519         TININESS_AFTER_ROUNDING.
39520         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
39521         ERANGE for exact underflow cases.
39522         * stdlib/Makefile (tests): Add tst-tininess and
39523         tst-strtod-underflow.
39524         ($(objpfx)tst-tininess): Use $(link-libm).
39525         ($(objpfx)tst-strtod-underflow): Likewise.
39527 2012-10-30  Andreas Jaeger  <aj@suse.de>
39529         [BZ#14767]
39530         * elf/Makefile (tests): Remove conditional for have-initfini-array
39531         since this is now always required and the variable does not exist
39532         anymore.
39533         (tests-static): Likewise.
39534         (modules-names): Likewise.
39536         * po/eo.po: Add Esperanto translation from translation project.
39538         * elf/tst-array1.c (fini_array): Make writeable so that it can be
39539         merged with constructor/destructor.
39540         (init_array): Likewise.
39541         * elf/tst-array2dep.c (fini_array): Likewise.
39542         (init_array): Likewise.
39544 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
39546         * manual/message.texi: Delete @cartouche tags.
39548 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
39550         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
39551         EOPNOTSUPP.
39552         * sysdeps/mach/hurd/fsync.c: Likewise.
39554         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
39555         [_POSIX_REALTIME_SIGNALS]: Change condition to
39556         [_POSIX_REALTIME_SIGNALS > 0].
39558 2012-10-27  Andreas Jaeger  <aj@suse.de>
39560         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
39561         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
39562         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
39563         [__WORDSIZE != 64]: Likewise.
39565 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
39567         *  iconvdata/tst-table.sh: Remove ${SHELL}.
39568         *  iconvdata/tst-tables.sh: Likewise.
39570 2012-10-25  David S. Miller  <davem@davemloft.net>
39572         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39573         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
39574         of strtoull.
39576         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
39577         ifunc-impl-list.c
39578         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39579         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
39580         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
39581         file.
39583 2012-10-25  Roland McGrath  <roland@hack.frob.com>
39585         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39586         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
39587         __getdirentries.
39589 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
39590             Jim Blandy  <jimb@codesourcery.com>
39592         * scripts/cross-test-ssh.sh: New file.
39593         * manual/install.texi (Configuring and compiling): Document use of
39594         cross-test-ssh.sh.
39595         * INSTALL: Regenerated.
39597 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
39599         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
39600         EOPNOTSUPP.
39602 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
39604         * Makeconfig (run-program-prefix): Fix comment.
39606 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
39607             Jim Blandy  <jimb@codesourcery.com>
39609         * Makeconfig (test-wrapper): New variable,
39610         (test-wrapper-env): Likewise.
39611         [$(cross-compiling) = yes && $(test-wrapper) != ""]
39612         (run-built-tests): Define to yes.
39613         (run-program-prefix): Use $(test-wrapper).
39614         (built-program-cmd): Likewise.
39615         * Rules (make-test-out): Use $(test-wrapper-env) and
39616         $(host-built-program-cmd).
39617         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
39618         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
39619         tst-pathopt.sh.
39620         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
39621         $(test-wrapper-env) to tst-rtld-load-self.sh.
39622         ($(objpfx)order2.out): Use $(test-wrapper).
39623         ($(objpfx)tst-initorder.out): Likewise.
39624         ($(objpfx)tst-initorder2.out): Likewise.
39625         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
39626         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
39627         (test_wrapper_env): New variable.  Use it to run ld.so.
39628         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
39629         Use it to run ld.so.
39630         (test_wrapper_env): Likewise.
39631         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
39632         $(test-wrapper) to run-iconv-test.sh.
39633         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
39634         (ICONV): Use $test_wrapper.
39635         * posix/Makefile ($(objpfx)globtest.out): Pass
39636         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
39637         globtest.sh, not $(run-program-prefix).
39638         * posix/globtest.sh (run_via_rtld_prefix): New variable.
39639         (test_wrapper): Likewise.
39640         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
39641         set together with run_via_rtld_prefix.
39642         (run_program_prefix): Define in terms of test_wrapper and
39643         run_via_rtld_prefix.
39645 2012-10-24  Roland McGrath  <roland@hack.frob.com>
39647         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
39648         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
39649         Targets removed.
39651         [BZ #14743]
39652         * include/time.h: Remove librt_hidden_proto (clock_gettime).
39653         Declare __clock_getres, __clock_gettime, __clock_settime,
39654         __clock_nanosleep, and __clock_getcpuclockid.
39655         * rt/clock_gettime.c: Define __clock_gettime as an alias.
39656         Remove librt_hidden_def (clock_gettime).
39657         * sysdeps/unix/clock_gettime.c: Likewise.
39658         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
39659         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
39660         * rt/clock_getres.c: Define __clock_getres as an alias.
39661         * sysdeps/posix/clock_getres.c: Likewise.
39662         * rt/clock_settime.c: Define __clock_settime as an alias.
39663         * sysdeps/unix/clock_settime.c: Likewise.
39664         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
39665         * sysdeps/unix/clock_nanosleep.c: Likewise.
39666         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
39667         * rt/clock-compat.c: New file.
39668         * rt/Makefile (librt-routines): Add clock-compat and move
39669         $(clock-routines) to ...
39670         (routines): ... here, new variable.
39671         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
39672         Don't add get_clockfreq here.
39673         * rt/Versions (libc: GLIBC_2.17): New version set.
39674         Add clock_* symbols here.
39675         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
39676         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
39677         (GLIBC_2.17): Add clock_* symbols.
39678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39679         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39680         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39682         Likewise.
39683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39684         Likewise.
39685         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39686         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39688         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39689         * NEWS: Mention the move.
39691         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39692         Use __open, __read, __close rather than their public counterparts.
39693         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39694         (__get_clockfreq_via_cpuinfo): Likewise.
39695         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
39696         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
39698         * config.h.in (HAVE_IFUNC): New #undef.
39699         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
39700         was successful.
39701         * configure: Regenerated.
39703 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
39705         * configure.in: Move READELF check to start of file.
39706         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
39707         libc_cv_asm_gnu_indirect_function in the process.
39708         * configure: Regenerated.
39710 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
39712         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
39713         send the output to /dev/null.
39714         (libc_cv_cc_with_libunwind): Likewise.
39715         (libc_cv_as_noexecstack): Likewise.
39716         * configure: Regenerate.
39718 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
39720         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
39722         * posix/globtest.sh (TMPDIR): Do not set.
39723         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
39724         (testout): Likewise.
39726 2012-10-24  Andreas Jaeger  <aj@suse.de>
39728         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
39729         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
39730         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
39731         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
39732         posix_fadvise64, posix_fallocate64.
39734         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
39735         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
39736         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
39737         Likewise.
39738         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
39739         Likewise.
39740         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
39742         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
39743         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
39744         <bits/fcntl-linux.h>.
39745         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
39747         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
39748         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
39749         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
39750         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
39751         [__WORDSIZE != 64]: Likewise.
39753 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
39755         * Makeconfig (run-built-tests): New variable.
39756         * Rules [$(cross-compiling) = yes]: Change condition to
39757         [$(run-built-tests) = no].
39758         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
39759         to [$(run-built-tests) = yes].
39760         * elf/Makefile [$(cross-compiling) = no]: Likewise
39761         * grp/Makefile [$(cross-compiling) = no]: Likewise.
39762         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
39763         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
39764         * intl/Makefile [$(cross-compiling) = no]: Likewise.
39765         * io/Makefile [$(cross-compiling) = no]: Likewise.
39766         * libio/Makefile [$(cross-compiling) = no]: Likewise.
39767         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
39768         * misc/Makefile [$(cross-compiling) = no]: Likewise.
39769         * posix/Makefile [$(cross-compiling) = no]: Likewise.
39770         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
39771         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
39772         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
39773         * string/Makefile [$(cross-compiling) = no]: Likewise.
39775         * posix/Makefile ($(objpfx)globtest.out): Pass
39776         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
39777         $(rtld-installed-name).
39778         * posix/globtest.sh (elf_objpfx): Remove variable.
39779         (rtld_installed_name): Likewise.
39780         (library_path): Likewise.
39781         (run_program_prefix): New variable.  Use for running globtest
39782         binary.
39784 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
39785             Joseph Myers  <joseph@codesourcery.com>
39787         * Makeconfig (host-built-program-cmd): New variable.
39788         * elf/Makefile (tst-stackguard1-ARGS): Use
39789         $(host-built-program-cmd).
39790         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
39791         (tst-spawn-ARGS): Likewise.
39792         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
39794 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
39795             Jim Blandy  <jimb@codesourcery.com>
39797         * Makeconfig (run-via-rtld-prefix): New variable.
39798         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
39799         (built-program-cmd): Likewise.
39801 2012-10-22  Andreas Jaeger  <aj@suse.de>
39803         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
39804         __O_RSYNC if it exists, otherwise to O_SYNC.
39806 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
39807             Joseph Myers  <joseph@codesourcery.com>
39809         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
39810         /dev/null.
39811         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
39812         from /dev/null
39813         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
39814         /dev/null.
39816 2012-10-22  Andreas Jaeger  <aj@suse.de>
39818         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
39819         Define always.
39820         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
39822         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39823         bits/fcntl-linux.h.
39825         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
39826         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
39828         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
39829         to __O_LARGEFILE.
39830         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
39831         to __O_LARGEFILE.
39833 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
39834             Joseph Myers  <joseph@codesourcery.com>
39836         * config.make.in (NM): New variable.
39838 2012-10-21  Andreas Jaeger  <aj@suse.de>
39840         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
39841         definitions and declarations that are provided by
39842         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39844 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
39846         [BZ #14683]
39847         * elf/Makefile (tests-static): Add tst-leaks1-static.
39848         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
39849         ($(objpfx)tst-leaks1-static): New rule.
39850         ($(objpfx)tst-leaks1-static-mem): Likewise.
39851         (tst-leaks1-static-ENV): New macro.
39852         * elf/dl-open.c (dl_open_worker): Check the main application
39853         only if SHARED is defined.
39854         * elf/tst-leaks1-static.c: New file.
39856 2012-10-20  Andreas Jaeger  <aj@suse.de>
39858         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
39859         generic values for Linux.
39860         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
39861         and declarations that are provided by <bits/fcntl-linux.h> and
39862         include <bits/fcntl-linux.h>.
39863         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39864         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39866 2012-10-20  Roland McGrath  <roland@hack.frob.com>
39868         * io/fcntl.h: Move include of <bits/types.h> to the top and
39869         include it unconditionally.
39871 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
39873         * wcsmbs/Makefile (tests-ifunc): New variable.
39874         (tests): Add $(tests-ifunc).
39875         * wcsmbs/test-wcschr-ifunc.c: New file.
39876         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
39877         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
39878         * wcsmbs/test-wcslen-ifunc.c: Likewise.
39879         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
39880         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
39882         * string/Makefile (tests-ifunc): New variable.
39883         (tests): Add $(tests-ifunc).
39884         * string/test-memccpy.c (TEST_NAME): New macro.
39885         * string/test-memchr.c (TEST_NAME): Likewise.
39886         * string/test-memcmp.c (TEST_NAME): Likewise.
39887         * string/test-memcpy.c (TEST_NAME): Likewise.
39888         * string/test-memmem.c (TEST_NAME): Likewise.
39889         * string/test-memmove.c (TEST_NAME): Likewise.
39890         * string/test-memset.c (TEST_NAME): Likewise.
39891         * string/test-rawmemchr.c (TEST_NAME): Likewise.
39892         * string/test-stpcpy.c (TEST_NAME): Likewise.
39893         * string/test-stpncpy.c (TEST_NAME): Likewise.
39894         * string/test-strcasecmp.c (TEST_NAME): Likewise.
39895         * string/test-strcasestr.c (TEST_NAME): Likewise.
39896         * string/test-strcat.c (TEST_NAME): Likewise.
39897         * string/test-strchr.c (TEST_NAME): Likewise.
39898         * string/test-strcmp.c(TEST_NAME): Likewise.
39899         * string/test-strcpy.c (TEST_NAME): Likewise.
39900         * string/test-strcspn.c (TEST_NAME): Likewise.
39901         * string/test-strlen.c (TEST_NAME): Likewise.
39902         * string/test-strncasecmp.c (TEST_NAME): Likewise.
39903         * string/test-strncmp.c (TEST_NAME): Likewise.
39904         * string/test-strncpy.c (TEST_NAME): Likewise.
39905         * string/test-strnlen.c (TEST_NAME): Likewise.
39906         * string/test-strpbrk.c (TEST_NAME): Likewise.
39907         * string/test-strrchr.c (TEST_NAME): Likewise.
39908         * string/test-strspn.c (TEST_NAME): Likewise.
39909         * string/test-strstr.c (TEST_NAME): Likewise.
39910         * string/test-bcopy-ifunc.c: New file.
39911         * string/test-bzero-ifunc.c: Likewise.
39912         * string/test-memccpy-ifunc.c: Likewise.
39913         * string/test-memchr-ifunc.c: Likewise.
39914         * string/test-memcmp-ifunc.c: Likewise.
39915         * string/test-memcpy-ifunc.c: Likewise.
39916         * string/test-memmem-ifunc.c: Likewise.
39917         * string/test-memmove-ifunc.c: Likewise.
39918         * string/test-mempcpy-ifunc.c: Likewise.
39919         * string/test-memset-ifunc.c: Likewise.
39920         * string/test-rawmemchr-ifunc.c: Likewise.
39921         * string/test-stpcpy-ifunc.c: Likewise.
39922         * string/test-stpncpy-ifunc.c: Likewise.
39923         * string/test-strcasecmp-ifunc.c: Likewise.
39924         * string/test-strcasestr-ifunc.c: Likewise.
39925         * string/test-strcat-ifunc.c: Likewise.
39926         * string/test-strchr-ifunc.c: Likewise.
39927         * string/test-strchrnul-ifunc.c: Likewise.
39928         * string/test-strcmp-ifunc.c: Likewise.
39929         * string/test-strcpy-ifunc.c: Likewise.
39930         * string/test-strcspn-ifunc.c: Likewise.
39931         * string/test-strlen-ifunc.c: Likewise.
39932         * string/test-strncasecmp-ifunc.c: Likewise.
39933         * string/test-strncat-ifunc.c: Likewise.
39934         * string/test-strncmp-ifunc.c: Likewise.
39935         * string/test-strncpy-ifunc.c: Likewise.
39936         * string/test-strnlen-ifunc.c: Likewise.
39937         * string/test-strpbrk-ifunc.c: Likewise.
39938         * string/test-strrchr-ifunc.c: Likewise.
39939         * string/test-strspn-ifunc.c: Likewise.
39940         * string/test-strstr-ifunc.c: Likewise.
39942         * debug/Makefile (tests-ifunc): New variable.
39943         (tests): Add $(tests-ifunc).
39944         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
39945         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
39946         * debug/test-stpcpy_chk-ifunc.c: New file.
39947         * debug/test-strcpy_chk-ifunc.c: Likewise.
39949 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39951         [BZ #13601]
39952         * elf/dl-load.c (open_verify): Retry read if the entire ELF
39953         header is not read in.
39955 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
39957         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
39958         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
39959         directly.  Pass built executable to script as
39960         $(built-program-cmd).
39961         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
39962         $testprogram without using LD_LIBRARY_PATH and $ldso.
39964         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
39965         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
39966         $(rtld-installed-name).
39967         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
39968         (rtld_installed_name): Likewise.
39969         (library_path): Likewise.
39970         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
39971         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
39972         $(run-program-prefix) to tst-tables.sh.
39973         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
39974         it to run tst-table-from and tst-table-to.
39975         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
39976         Pass it to tst-table.sh.
39977         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
39978         $(run-program-prefix) to tst-gettext.sh.
39979         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
39980         tst-translit.sh.
39981         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
39982         tst-gettext2.sh.
39983         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
39984         to run tst-gettext.
39985         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
39986         to run tst-gettext2.
39987         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
39988         to run tst-translit.
39989         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
39990         $(run-program-prefix) to tst-mtrace.sh.
39991         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
39992         to run tst-mtrace.
39993         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
39994         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
39995         $(rtld-installed-name).
39996         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
39997         (rtld_installed_name): Likewise.
39998         (run_program_prefix): New variable.  Use it to run wordexp-test.
40000         * Makeconfig (ARCH): Remove all definitions.
40001         (machine): Likewise.
40002         [ARCH]: Remove conditional code.
40003         [!objdir]: Give error.
40004         [!objdir] (objpfx): Remove.
40005         [!objdir] (common-objpfx): Likewise.
40006         [!objdir] (common-objdir): Likewise.
40007         * configure.in (config_makefile): Remove.  Hardcode Makefile in
40008         AC_CONFIG_FILES call.
40009         * configure: Regenerated.
40011         [BZ #13888]
40012         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
40013         or TMPDIR.
40014         (testout): Likewise.
40016         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
40017         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
40018         $(rtld-installed-name).
40019         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
40020         (rtld_installed_name): Likwise.
40021         (runit): Remove function.
40022         (run_getconf): New variable,  Use it for running getconf binary.
40024 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
40026         [BZ #14716]
40027         * string/test-memmem.c (check_result): New function.
40028         (do_one_test): Use it.
40029         (check1): New function.
40030         (test_main): Use it.
40032 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
40034         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
40036 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
40038         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
40039         (_G_LSEEK64): Likewise.
40040         (_G_MMAP64): Likewise.
40041         (_G_FSTAT64): Likewise.
40042         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
40043         (_G_LSEEK64): Likewise.
40044         (_G_MMAP64): Likewise.
40045         (_G_FSTAT64): Likewise.
40046         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
40047         unconditional.  Call __mmap64 directly.
40048         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
40049         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
40050         __lseek64 directly.
40051         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
40052         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
40053         __mmap64 directly.
40054         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
40055         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
40056         __lseek64 directly.
40057         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
40058         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
40059         __lseek64 directly.
40060         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
40061         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
40062         __lseek64 directly.
40063         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
40064         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
40065         __fxstat64 directly.
40066         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
40067         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
40068         unconditional.
40069         (freopen64) [!_G_OPEN64]: Remove conditional code.
40070         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
40071         unconditional.
40072         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
40073         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
40074         unconditional.
40075         (ftello64) [!_G_LSEEK64]: Remove conditional code.
40076         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
40077         unconditional.
40078         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40079         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
40080         unconditional.
40081         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
40082         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
40083         unconditional.
40084         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40085         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
40086         unconditional.
40087         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40088         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
40089         unconditional.
40090         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40092 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40094         [BZ #12140]
40095         * manual/memory.texi (Malloc Tunable Parameters): Add note
40096         about free list pointers overwriting some perturb bytes.
40097         Wording suggested by Roland McGrath.
40099 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
40101         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
40102         (lgamma_test): Likewise.
40103         (tgamma_test): Likewise.
40105 2012-10-16  Florian Weimer  <fweimer@redhat.com>
40107         [BZ #14700]
40108         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
40109         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
40111 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
40113         * NEWS: Mention BZ #14716.
40114         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
40115         when removing AVAILABLE1_USES_J macro.
40117 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
40119         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
40120         (__bswap_64): __uint64_t for unsigned 64-bit int.
40122 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
40124         * include/string.h (memmem): Declare libc hidden alias.
40125         * string/memmem.c (memmem): Define libc hidden alias.
40126         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
40127         __read, __close instead of open, read, close.
40129 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
40131         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
40132         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
40133         global and hidden.
40134         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
40135         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
40136         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
40137         Likewise.
40138         (__rawmemchr_sse2): Likewise.
40139         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
40140         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
40141         (__strchr_sse2): Likewise.
40142         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
40143         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
40144         (__strcasecmp_sse2): Likewise.
40145         (__strncasecmp_sse2): Likewise.
40146         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
40147         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
40148         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
40149         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
40150         (__strrchr_sse2): Likewise.
40151         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
40152         ifunc-impl-list.c.
40153         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40154         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40155         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40156         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
40157         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40158         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40159         * sysdeps/x86_64/multiarch/memset.S: Likewise.
40160         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40161         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
40162         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
40163         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
40164         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
40165         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
40166         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40167         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40168         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40169         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40170         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40171         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
40172         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
40173         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
40174         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
40175         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
40176         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
40177         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
40178         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40179         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40180         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40181         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40182         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40184         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
40185         global and hidden.
40186         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
40187         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
40188         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
40189         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
40190         Likewise.
40191         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
40192         Likewise.
40193         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
40194         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
40195         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
40196         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
40197         ifunc-impl-list.c.
40198         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40199         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40200         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40201         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40202         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40203         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40204         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40205         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40206         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40207         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40208         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40209         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40210         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40211         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
40212         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
40213         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40214         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
40215         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
40216         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40217         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40218         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40219         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40220         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40221         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40222         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40223         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
40224         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
40225         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
40226         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
40227         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40228         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
40229         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40230         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40231         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
40232         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40233         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40234         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40235         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40236         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40237         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40238         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
40240         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
40241         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
40242         * include/ifunc-impl-list.h: New file.
40243         * misc/ifunc-impl-list.c: Likewise.
40244         * misc/Makefile (routines): Add ifunc-impl-list.
40245         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
40246         * string/test-string.h: Include <ifunc-impl-list.h>.
40247         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
40248         TEST_NAME]: New variables.
40249         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
40250         are defined.
40251         (test_init): Call __libc_ifunc_impl_list to initialize
40252         func_list if TEST_IFUNC and TEST_NAME are defined.
40254         * string/Makefile (strop-tests): Add bcopy and bzero.
40255         * string/test-bcopy.c: New file.
40256         * string/test-bzero.c: Likewise.
40257         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
40258         defined.
40259         * string/test-memset.c: Support bzero test if TEST_BZERO is
40260         defined.
40261         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
40262         __libc_memmove.
40263         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
40264         __libc_memset.
40265         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
40266         of memset.
40268 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
40270         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
40271         * configure: Regenerated.
40273         * Makeconfig (+link-static-before-libc): Don't include
40274         $(link-static-libc).
40276         * libio/libio.h (_IO_pos_t): Remove.
40278 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
40280         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
40281         McGrath.
40283 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
40285         * crypt/crypt-entry.c: Include fips-private.h.
40286         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
40287         * crypt/md5c-test.c (main): Tolerate disabled MD5.
40288         * sysdeps/unix/sysv/linux/fips-private.h: New file.
40289         * sysdeps/generic/fips-private.h: New file, dummy fallback.
40291 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
40293         * crypt/crypt-private.h: Include stdbool.h.
40294         (_ufc_setup_salt_r): Return bool.
40295         * crypt/crypt-entry.c: Include errno.h.
40296         (__crypt_r): Return NULL with EINVAL for bad salt.
40297         * crypt/crypt_util.c (bad_for_salt): New.
40298         (_ufc_setup_salt_r): Check that salt is long enough and within
40299         the specified alphabet.
40300         * crypt/badsalttest.c: New file.
40301         * crypt/Makefile (tests): Add it.
40302         ($(objpfx)badsalttest): New.
40304 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
40306         * NEWS: Add entry for BZ #14602.
40308 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
40310         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
40311         type-generic.
40312         * math/libm-test.inc: Update comment listing what functions and
40313         macros are tested.
40314         (isgreater_test): New function.
40315         (isgreaterequal_test): Likewise.
40316         (isless_test): Likewise.
40317         (islessequal_test): Likewise.
40318         (islessgreater_test): Likewise.
40319         (isunordered_test): Likewise.
40320         (main): Call the new functions.
40322 2012-10-09  Roland McGrath  <roland@hack.frob.com>
40324         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
40325         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
40326         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
40327         * sysdeps/i386/configure: Regenerated.
40328         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
40329         * sysdeps/mach/configure: Regenerated.
40330         * sysdeps/mach/hurd/configure: Regenerated.
40331         * sysdeps/powerpc/configure: Regenerated.
40332         * sysdeps/powerpc/powerpc32/configure: Regenerated.
40333         * sysdeps/powerpc/powerpc64/configure: Regenerated.
40334         * sysdeps/s390/s390-32/configure: Regenerated.
40335         * sysdeps/s390/s390-64/configure: Regenerated.
40336         * sysdeps/sh/configure: Regenerated.
40337         * sysdeps/sparc/configure: Regenerated.
40338         * sysdeps/unix/sysv/linux/configure: Regenerated.
40339         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
40340         * sysdeps/x86_64/configure: Regenerated.
40342         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
40343         defined.  Don't check if MAP is NULL.
40345 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
40347         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
40348         (_G_stat64): Likewise.
40349         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
40350         (_G_stat64): Likewise.
40351         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
40352         instead of struct _G_stat64.
40353         * libio/fileops.c (mmap_remap_check): Likewise.
40354         (decide_maybe_mmap): Likewise.
40355         (_IO_new_file_seekoff): Likewise.
40356         (_IO_file_stat): Likewise.
40357         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
40358         _G_off64_t.
40359         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
40360         instead of struct _G_stat64.
40361         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40363 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
40365         [BZ #14602]
40366         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40367         Replace with ...
40368         (CHECK_EOL): New macro.
40369         (two_way_short_needle): Check beginning of haystack for EOL.  Use
40370         CHECK_EOL.
40371         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40372         Replace with CHECK_EOL.
40373         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40374         Replace with CHECK_EOL.
40376 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
40378         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
40379         type-generic.
40380         * math/libm-test.inc: Update comment listing what functions and
40381         macros are tested.
40382         (finite_test): New function.
40383         (isinf_test): Likewise.
40384         (isnan_test): Likewise.
40385         (fpclassify_test): Test subnormal input.
40386         (isfinite_test): Likewise.
40387         (isnormal_test): Likewise.
40388         (main): Call the new functions.
40390 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
40392         [BZ #14660]
40393         * Makerules (%.dynsym): Force C locale when running
40394         $(OBJDUMP) --dynamic-syms.
40396 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
40398         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
40399         <stdint.h>.
40401 2012-10-06  David S. Miller  <davem@davemloft.net>
40403         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
40404         upper 32-bits of the length value in %o2 since we use branch-on-register
40405         tests which consider the entire 64-bit register.
40407 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
40409         * string/test-strstr.c (check2): Add a test for page boundary.
40411 2012-10-05  David S. Miller  <davem@davemloft.net>
40413         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
40414         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
40415         file.
40416         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40417         sysdep_routines.
40418         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40419         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
40420         and bzero when HWCAP_SPARC_CRYPTO is present.
40422 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
40424         [BZ #14602]
40425         * string/test-strstr.c (check2): New function.
40426         (test_main): Call check2.
40428         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
40429         and bug-strchr1.
40430         * string/bug-strcasestr1.c (do_test): Moved to ...
40431         * string/test-strcasestr.c (check1): Here.  New function.
40432         (do_one_test): Break out result checking code into ...
40433         (check_result): This.  New function.
40434         (do_one_test): Call check_result.
40435         (test_main): Call check1.
40436         * string/bug-strchr1.c (do_test): Moved to ...
40437         * string/test-strchr.c (check1): Here.  New function.
40438         (do_one_test): Break out result checking code into ...
40439         (check_result): This.  New function.
40440         (do_one_test): Call check_result.
40441         (test_main): Call check1.
40442         * string/bug-strstr1.c (main): Moved to ...
40443         * string/test-strstr.c (check1): Here.  New function.
40444         (do_one_test): Break out result checking code into ...
40445         (check_result): This.  New function.
40446         (do_one_test): Call check_result.
40447         (test_main): Call check1.
40448         * string/bug-strcasestr1.c: Removed.
40449         * string/bug-strchr1.c: Likewise.
40450         * string/bug-strstr1.c: Likewise.
40452         * elf/Makefile (dl-routines): Add hwcaps.
40453         * elf/dl-support.c (_dl_important_hwcaps): Removed.
40454         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
40455         (_dl_important_hwcaps): Moved to ...
40456         * elf/dl-hwcaps.c: Here.  New file.
40457         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
40459         [BZ #14557]
40460         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
40461         if IS_IN_rtld isn't defined.
40463         * elf/dl-support.c (_dl_sysinfo_map): New.
40464         Include "get-dynamic-info.h" and "setup-vdso.h".
40465         (_dl_non_dynamic_init): Call setup_vdso.
40466         * elf/dynamic-link.h: Don't include <assert.h>.
40467         (elf_get_dynamic_info): Moved to ...
40468         * elf/get-dynamic-info.h: Here.  New file.
40469         * elf/dynamic-link.h: Include "get-dynamic-info.h".
40470         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
40471         * elf/setup-vdso.h: Here.  New file.
40472         * elf/rtld.c: Include "setup-vdso.h".
40473         (dl_main): Call setup_vdso.
40475 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
40477         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
40478         creal in comment listing functions tested.  List finite, isinf,
40479         isnan, isless, islessequal, isgreater, isgreaterequal,
40480         islessgreater, isunordered, lgamma_r and pow10 as functions and
40481         macros not tested.  Mention which functions not tested are aliases
40482         for other functions.  Fix typo.  Note that signs of NaNs are not
40483         tested.
40485         * scripts/config.guess: Update from config.git.
40486         * scripts/config.sub: Likewise.
40488 2012-10-04  Roland McGrath  <roland@hack.frob.com>
40490         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
40491         * misc/madvise.c (madvise): Renamed to __madvise.
40492         Make madvise a weak alias.
40493         * include/sys/mman.h: Declare __madvise.
40494         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
40495         * sysdeps/unix/syscalls.list
40496         (madvise): Make __madvise the strong name, and madvise a weak alias.
40497         * sysdeps/unix/sysv/linux/syscalls.list
40498         (madvise, mmap): Remove redundant entries.
40499         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
40500         * malloc/malloc.c (mtrim): Likewise.
40501         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
40503 2012-10-03  Roland McGrath  <roland@hack.frob.com>
40505         * sysdeps/mach/hurd/dl-cache.c: File removed.
40506         * config.h.in (USE_LDCONFIG): New #undef.
40507         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
40508         * configure: Regenerated.
40509         * elf/Makefile (dl-routines): Add dl-cache only under
40510         [$(use-ldconfig) = yes].
40511         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
40512         cache on [USE_LDCONFIG].
40513         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
40514         [USE_LDCONFIG].
40515         * elf/rtld.c (dl_main): Likewise.
40517 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
40519         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
40520         _SC_LEVEL4_CACHE_LINESIZE.
40522 2012-10-03  Roland McGrath  <roland@hack.frob.com>
40524         * sysdeps/unix/bsd/confstr.h: File removed.
40526 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
40528         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
40529         sys/sdt-config.h.
40531 2012-10-02  Roland McGrath  <roland@hack.frob.com>
40533         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
40534         Make 'mapoff' field ElfW(Off) rather than off_t.
40536 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
40538         * nscd/Makefile: Remove nscd-cflags and all its users.
40539         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
40540         (CFLAGS-nonlib): Add compiler flags for nscd modules.
40542         [BZ #10631]
40543         * malloc.c (malloc_printerr): Clarify error message.
40545 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
40547         [BZ #14648]
40548         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40549         Set bit_FMA_Usable if FMA is supported.
40550         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
40551         macro.
40552         (bit_FMA4_Usable): Updated.
40553         (index_FMA_Usable): New macro.
40554         (CPUID_FMA): Likewise
40555         (HAS_FMA): Defined with bit_FMA_Usable.
40557 2012-10-01  Roland McGrath  <roland@hack.frob.com>
40559         * bits/types.h (__swblk_t): Type removed.
40560         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
40561         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
40562         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40563         (__SWBLK_T_TYPE): Likewise.
40564         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40565         (__SWBLK_T_TYPE): Likewise.
40566         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40567         (__SWBLK_T_TYPE): Likewise.
40568         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40569         (__SWBLK_T_TYPE): Likewise.
40571 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
40572             Honza Horak <hhorak@redhat.com>
40574         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
40575         (xdr_mapname): Use YPMAXMAP as maxsize.
40576         (xdr_peername): Use YPMAXPEER as maxsize.
40577         (xdr_keydat): Use YPAXRECORD as maxsize.
40578         (xdr_valdat): Use YPMAXRECORD as maxsize.
40580 2012-10-01  Roland McGrath  <roland@hack.frob.com>
40582         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
40584         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
40585         * csu/init-first.c: ... here.
40586         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
40587         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
40588         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40589         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40590         * sysdeps/i386/init-first.c: File removed.
40591         * sysdeps/sh/init-first.c: File removed.
40593 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
40595         [BZ #14645]
40596         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
40597         if x * y might underflow to zero and z is zero.
40598         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40599         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40600         * math/libm-test.inc (min_subnorm_value): New variable.
40601         (fma_test): Add more tests.
40602         (fma_test_towardzero): Likewise.
40603         (fma_test_downward): Likewise
40604         (fma_test_upward): Likewise.
40605         (initialize): Set min_subnorm_value.
40607 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
40609         [BZ #14638]
40610         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
40611         0 + 0.
40612         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
40613         mode for addition resulting in exact zero.
40614         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
40615         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
40616         exact 0 + 0.
40617         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40618         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40619         * math/libm-test.inc (fma_test): Add more tests.
40620         (fma_test_towardzero): New function.
40621         (fma_test_downward): Likewise.
40622         (fma_test_upward): Likewise.
40623         (main): Call the new functions.
40625 2012-09-28  David S. Miller  <davem@davemloft.net>
40627         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
40629 2012-09-28  Roland McGrath  <roland@hack.frob.com>
40631         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
40632         instead of SIGALRM.
40634         * sysdeps/gnu/_G_config.h: Moved to ...
40635         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
40636         * sysdeps/mach/hurd/_G_config.h: Moved to ...
40637         * sysdeps/generic/_G_config.h: ... here.
40639         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
40641         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
40643         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
40644         Conditionalize target on [libnss_test1.so-version].
40646         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
40648         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
40649         (elfobjdir): Move out of conditionals.
40651         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
40652         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
40653         (__nss_lookup_function): Conditionalize label remove_from_tree on
40654         [!DO_STATIC_NSS || SHARED], matching its only use.
40656 2012-09-28  David S. Miller  <davem@davemloft.net>
40658         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
40659         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
40660         file.
40661         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40662         sysdep_routines.
40663         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40664         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
40665         when HWCAP_SPARC_CRYPTO is present.
40667 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
40669         * io/tst-mknodat.c: Create a FIFO instead of a socket.
40671 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
40673         [BZ #6530]
40674         * stdio-common/vfprintf.c (process_string_arg): Revert
40675         2000-07-22 change.
40677 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
40679         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
40680         for testcase.
40681         * stdio-common/tst-sprintf.c: Include <locale.h>
40682         (main): Test sprintf's handling of incomplete multibyte
40683         characters.
40685 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
40687         * elf/dl-runtime.c (VERSYMIDX): Removed.
40688         * elf/dl-version.c (VERSYMIDX): Likewise.
40689         * elf/do-rel.h (VERSYMIDX): Likewise.
40690         (VALIDX): Likewise.
40691         * elf/dynamic-link.h (VERSYMIDX): Likewise.
40692         * elf/rtld.c (VALIDX): Likewise.
40693         (ADDRIDX): Likewise.
40694         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
40695         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
40696         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
40697         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
40698         (VALIDX): Likewise.
40699         (ADDRIDX): Likewise.
40701 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
40703         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
40705 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
40707         [BZ #11438]
40708         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
40709         to global scope.
40710         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
40711         addresses are in the same scope as 192.0.2/24.
40712         * posix/gai.conf: Document new scope table defaults.
40714 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40716         [BZ #5298]
40717         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
40718         for ftell.  Compute offsets from write pointers instead.
40719         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40721 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40723         [BZ #14543]
40724         * libio/Makefile (tests): New test case tst-fseek.
40725         * libio/tst-fseek.c: New test case to verify that fseek/ftell
40726         combination works in wide mode.
40727         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
40728         state when the external buffer state changes.
40730 2012-09-27  David S. Miller  <davem@davemloft.net>
40732         [BZ #14376]
40733         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
40734         pass reloc->r_addend in as the 'high' argument to
40735         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
40737         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40739 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
40741         * rt/tst-aio2.c: Include <pthread.h>.
40742         * rt/tst-aio3.c: Likewise.
40744 2012-09-27  Steve Ellcey  <sellcey@mips.com>
40746         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
40748 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
40750         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
40751         contents on [SHARED].
40753 2012-09-26  Marek Polacek  <polacek@redhat.com>
40755         [BZ #14530]
40756         [BZ #13741]
40757         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
40758         for C++ and GCC <4.3 as well as for non GCC compilers.
40760 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
40762         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40764 2012-09-25  Roland McGrath  <roland@hack.frob.com>
40766         * Makefile.in (all, install): Declare with .PHONY.
40767         Reported by Michael Hope <michael.hope@linaro.org>.
40769 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40771         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
40772         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
40773         system header.
40774         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
40775         Likewise.
40776         (sydep_routines): Add the new and the internal functions.
40777         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
40778         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
40779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
40780         (GLIBC_2.17): Add the new function.
40781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40782         (GLIBC_2.17): Likewise.
40783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
40784         (GLIBC_2.17): Likewise.
40785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
40786         (GLIBC_2.17): Likewise.
40787         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
40789 2012-09-25  Alan Modra  <amodra@gmail.com>
40791         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
40792         Add release barrier before setting once_control to say
40793         initialisation is done.  Add hints on lwarx.  Use macro in
40794         place of isync.
40795         (clear_once_control): Add release barrier.
40797 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
40799         [BZ #13629]
40800         * math/s_clog.c (__clog): Handle more values close to |z| = 1
40801         specially.
40802         * math/s_clog10.c (__clog10): Likewise.
40803         * math/s_clog10f.c (__clog10f): Likewise.
40804         * math/s_clog10l.c (__clog10l): Likewise.
40805         * math/s_clogf.c (__clogf): Likewise.
40806         * math/s_clogl.c (__clogl): Likewise.
40807         * math/Makefile (libm-calls): Add x2y2m1.
40808         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
40809         (__x2y2m1): Likewise.
40810         (__x2y2m1l): Likewise.
40811         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
40812         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
40813         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
40814         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40815         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
40816         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
40817         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
40818         * sysdeps/i386/fpu/libm-test-ulps: Update.
40819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40821         [BZ #14621]
40822         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
40823         int as type of variable DEPTH.
40824         (glob): Use size_t instead of int as type of variables NEWCOUNT
40825         and OLD_PATHC.
40827 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40829         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40830         Add s_sincosf-sse2.
40831         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
40832         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
40833         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
40834         macros for using routine as __sincosf_ia32.
40835         Use macro for function declaration and weak_alias.
40836         * sysdeps/i386/fpu/libm-test-ulps: Update.
40838         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
40839         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40841         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
40842         subnormal argument.
40843         * math/s_cexpf.c (__cexpf): Likewise.
40844         * math/s_csinf.c (__csinf): Likewise.
40845         * math/s_csinhf.c (__csinhf): Likewise.
40846         * math/s_ctanf.c (__ctanf): Likewise.
40847         * math/s_ctanhf.c (__ctanhf): Likewise.
40848         * math/s_ccosh.c (__ccoshf): Likewise.
40849         * math/s_cexp.c (__cexpl): Likewise.
40850         * math/s_csin.c (__csin): Likewise.
40851         * math/s_csinh.c (__csinh): Likewise.
40852         * math/s_ctan.c (__ctan): Likewise.
40853         * math/s_ctanh.c (ctanh): Likewise.
40854         * math/s_ccoshl.c (__ccoshl): Likewise.
40855         * math/s_cexpl.c (__cexpl): Likewise.
40856         * math/s_csinl.c (__csinl): Likewise.
40857         * math/s_csinhl.c (__csinhl): Likewise.
40858         * math/s_ctanl.c (__ctanl): Likewise.
40859         * math/s_ctanhl.c (__ctanhl): Likewise.
40861 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
40863         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
40864         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
40865         (_IO_off_t): Define to __off_t, not _G_off_t.
40866         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
40867         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
40868         (_IO_wint_t): Define to wint_t, not _G_wint_t.
40869         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
40870         type of __dummy and __dummy2 fields.
40871         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
40872         (_G_ssize_t): Likewise.
40873         (_G_off_t): Likewise.
40874         (_G_pid_t): Likewise.
40875         (_G_uid_t): Likewise.
40876         (_G_wchar_t): Likewise.
40877         (_G_wint_t): Likewise.
40878         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
40879         (_G_ssize_t): Likewise.
40880         (_G_off_t): Likewise.
40881         (_G_pid_t): Likewise.
40882         (_G_uid_t): Likewise.
40883         (_G_wchar_t): Likewise.
40884         (_G_wint_t): Likewise.
40885         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
40886         (_G_ssize_t): Likewise.
40887         (_G_off_t): Likewise.
40888         (_G_pid_t): Likewise.
40889         (_G_uid_t): Likewise.
40890         (_G_wchar_t): Likewise.
40891         (_G_wint_t): Likewise.
40893 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40895         * malloc/arena.c: Include malloc-sysdep.h.
40896         (shrink_heap): Use check_may_shrink_heap to decide if madvise
40897         is sufficient to shrink the heap or an unmap is needed.
40898         * sysdeps/generic/malloc-sysdep.h: New file.  Define
40899         new function check_may_shrink_heap.
40900         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
40901         new function check_may_shrink_heap.
40903 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40905         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
40906         comments.
40908 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
40910         * catgets/test-gencat.sh: Add "set -e".
40911         * elf/tst-pathopt.sh: Likewise.
40912         * grp/tst_fgetgrent.sh: Likewise.
40913         * iconvdata/run-iconv-test.sh: Likewise.
40914         * intl/tst-gettext.sh: Likewise.
40915         * intl/tst-gettext2.sh: Likewise.
40916         * intl/tst-gettext4.sh: Likewise.
40917         * intl/tst-gettext6.sh: Likewise.
40918         * intl/tst-translit.sh: Likewise.
40919         * io/ftwtest-sh: Likewise.
40920         * libio/test-freopen.sh: Likewise.
40921         * malloc/tst-mtrace.sh: Likewise.
40922         * posix/globtest.sh: Likewise.
40923         * posix/tst-getconf.sh: Likewise.
40924         * posix/wordexp-tst.sh: Likewise.
40925         * stdio-common/tst-printf.sh: Likewise.
40926         * stdio-common/tst-unbputc.sh: Likewise.
40927         * stdlib/tst-fmtmsg.sh: Likewise.
40928         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40929         * catgets/Makefile: Do not specify -e option when running
40930         testsuite shell scripts.
40931         * elf/Makefile: Likewise.
40932         * grp/Makefile: Likewise.
40933         * iconvdata/Makefile: Likewise.
40934         * intl/Makefile: Likewise.
40935         * io/Makefile: Likewise.
40936         * libio/Makefile: Likewise.
40937         * malloc/Makefile: Likewise.
40938         * posix/Makefile: Likewise.
40939         * stdio-common/Makefile: Likewise.
40940         * stdlib/Makefile: Likewise.
40941         * sysdeps/x86_64/Makefile: Likewise.
40943         * io/ftwtest-sh: Add copyright header.
40944         * posix/globtest.sh: Likewise.
40945         * posix/tst-getconf.sh: Likewise.
40946         * posix/wordexp-tst.sh: Likewise.
40947         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40949 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
40951         [BZ #13679]
40952         * Makeconfig (+link): Defined as $(+link-static) if
40953         $(build-shared) isn't yes.
40954         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
40955         isn't yes.
40956         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
40958         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
40960         [BZ #14562]
40961         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
40962         new chunk size with MALLOC_ALIGN_MASK.
40964 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
40966         [BZ #5044]
40967         * stdio-common/printf_fphex.c: Include <stdbool.h> and
40968         <rounding-mode.h>.
40969         (__printf_fphex): Determine rounding using get_rounding_mode and
40970         round_away.
40971         * stdio-common/tst-printf-round.c (struct hex_test): New
40972         structure.
40973         (hex_tests): New variable.
40974         (test_hex_in_one_mode): New function.
40975         (do_test): Also run tests for hex float output.
40977 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
40979         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40980         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40981         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
40982         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40983         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40984         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
40985         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40986         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40988 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
40990         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
40991         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
40992         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
40993         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
40995 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
40997         [BZ #14579]
40998         * elf/rtld.c (dl_main): Limit the check for self loading to normal
40999         mode only.
41000         * elf/tst-rtld-load-self.sh: New test.
41001         * elf/Makefile: Run it.
41003 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
41005         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
41006         (tst-writev-ENV): Remove.
41007         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
41009 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
41011         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
41013 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
41015         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
41016         unconditional.
41017         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
41018         Likewise.
41019         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
41020         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
41021         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
41022         Likewise.
41024 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
41026         [BZ #14587]
41027         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
41028         * config.make.in (have-cpp-asm-debuginfo): Removed.
41029         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
41030         * configure: Regenerated.
41032 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
41034         [BZ #5044]
41035         * stdio-common/printf_fp.c: Include <stdbool.h> and
41036         <rounding-mode.h>.
41037         (___printf_fp): Determine rounding using get_rounding_mode and
41038         round_away.
41039         * stdio-common/tst-printf-round.c: New file.
41040         * stdio-common/Makefile (tests): Add tst-printf-round.
41041         (link-libm): New variable.
41042         ($(objpfx)tst-printf-round): Depend in $(link-libm).
41044 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
41046         [BZ #14576]
41047         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
41048         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
41049         Likewise.
41050         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
41051         Likewise.
41053 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
41055         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
41056         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41057         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41058         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41060 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
41062         [BZ #14518]
41063         * include/rounding-mode.h: New file.
41064         * sysdeps/generic/get-rounding-mode.h: Likewise.
41065         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
41066         * stdlib/strtod_l.c: Include <rounding-mode.h>.
41067         (MAX_VALUE): New macro.
41068         (MIN_VALUE): Likewise.
41069         (overflow_value): New function.
41070         (underflow_value): Likewise.
41071         (round_and_return): Use overflow_value and underflow_value to
41072         determine return values in overflow and underflow cases.  Use
41073         round_away to determine rounding depending on rounding mode.
41074         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
41075         determine return values in overflow and underflow cases.
41076         * stdlib/tst-strtod-round.c: Include <fenv.h>.
41077         (struct test_results): New structure.
41078         (struct test): Use struct test_results to store expected results
41079         for all rounding modes.
41080         (TEST): Include expected results for all rounding modes.
41081         (test_in_one_mode): New function.
41082         (do_test): Use test_in_one_mode to compute and check results.
41083         Check results for all rounding modes.
41084         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
41085         $(link-libm).
41087 2012-12-09  Allan McRae  <allan@archlinux.org>
41089         * sysdeps/i386/fpu/libm-test-ulps: Update
41091 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
41093         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
41094         (_G_int32_t): Likewise.
41095         (_G_uint16_t): Likewise.
41096         (_G_uint32_t): Likewise.
41097         (_G_HAVE_BOOL): Likewise.
41098         (_G_HAVE_ATEXIT): Likewise.
41099         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41100         (_G_HAVE_IO_FILE_OPEN): Likewise.
41101         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
41102         (_G_int32_t): Likewise.
41103         (_G_uint16_t): Likewise.
41104         (_G_uint32_t): Likewise.
41105         (_G_HAVE_BOOL): Likewise.
41106         (_G_HAVE_ATEXIT): Likewise.
41107         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41108         (_G_HAVE_IO_FILE_OPEN): Likewise.
41109         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
41110         (_G_int32_t): Likewise.
41111         (_G_uint16_t): Likewise.
41112         (_G_uint32_t): Likewise.
41113         (_G_HAVE_BOOL): Likewise.
41114         (_G_HAVE_ATEXIT): Likewise.
41115         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41116         (_G_HAVE_IO_FILE_OPEN): Likewise.
41118 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
41120         * csu/libc-tls.c: Update copyright years.
41122 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
41124         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
41125         [!_G_USING_THUNKS]: Remove conditional code.
41126         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
41127         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
41129         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
41130         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
41131         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41132         (_G_VTABLE_LABEL_PREFIX): Likewise.
41133         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41134         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41135         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41136         (_G_VTABLE_LABEL_PREFIX): Likewise.
41137         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41138         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41139         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41140         (_G_VTABLE_LABEL_PREFIX): Likewise.
41141         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41143 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
41145         * libio/Makefile: Include ../Makeconfig before tests.
41146         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
41147         only if $(build-shared) is yes.
41149         * iconv/gconv_db.c: Update copyright years.
41151 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41153         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
41154         unwind info if defined PIC. Fix special cases description.
41155         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
41157         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
41158         DP_HI_MASK entry.
41159         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
41161 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
41163         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
41165         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
41166         is NULL.
41168         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
41169         (LDLIBS-tst-chk4): This.
41170         (LDFLAGS-tst-chk5): Renamed to ...
41171         (LDLIBS-tst-chk5): This.
41172         (LDFLAGS-tst-chk6): Renamed to ...
41173         (LDLIBS-tst-chk6): This.
41174         (LDFLAGS-tst-lfschk4): Renamed to ...
41175         (LDLIBS-tst-lfschk4): This.
41176         (LDFLAGS-tst-lfschk5): Renamed to ...
41177         (LDLIBS-tst-lfschk5): This.
41178         (LDFLAGS-tst-lfschk6): Renamed to ...
41179         (LDLIBS-tst-lfschk6): This.
41181         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
41182         on $(common-objpfx)soversions.mk.
41184 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
41186         [BZ #10014]
41187         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
41188         example host name.
41190 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
41192         * malloc/arena.c (arena_get_retry): New function that gets
41193         another arena for the caller to try its request on.
41194         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
41195         current arena cannot fulfill the request.
41196         (__libc_memalign): Likewise.
41197         (__libc_memalign): Likewise.
41198         (__libc_pvalloc): Likewise.
41199         (__libc_calloc): Likewise.
41201 2012-09-05  John Tobey  <john.tobey@gmail.com>
41203         [BZ #13542]
41204         * manual/arith.texi (Operations on Complex): Fix description
41205         of carg branch cut.
41207 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
41209         [BZ #10014]
41210         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
41211         host name.
41213         [BZ #10038]
41214         * manual/memory.texi (Memory): Make order of menu items match
41215         order of sections.
41217 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41219         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
41220         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
41221         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
41223 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41225         * csu/libc-tls.c (static_dtv): Renamed to ...
41226         (_dl_static_dtv): This.  Make it global.
41227         (_dl_initial_dtv): Removed.
41228         (__libc_setup_tls): Updated.
41229         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
41230         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
41231         DL_INITIAL_DTV.
41233 2012-09-06  Petr Machata  <pmachata@redhat.com>
41235         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
41236         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
41237         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
41238         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
41240 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41242         [BZ #14545]
41243         * csu/libc-tls.c (_dl_initial_dtv): New variable.
41244         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
41245         freeing dtv[-1].
41247 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41249         [BZ #14544]
41250         * Makeconfig (link-static-before-libc): Replace $(+prector)
41251         with $(+prectorT).
41252         (link-static-after-libc): Replace $(+postctor) with
41253         $(+postctorT).
41254         (link-bounded): Replace $(+prector)/$(+postctor) with
41255         $(+prectorT)/$(+postctorT).
41256         (+prectorT): New macro.
41257         (+postctorT): Likewise.
41259 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
41261         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
41262         (round_str): Handle values above the maximum for IBM long double
41263         as inexact.
41264         * stdlib/tst-strtod-round.c (tests): Regenerated.
41266 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41268         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
41269         assembler flag.
41270         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
41271         zarch_nohighgprs around the zarch optimized routines.
41272         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41273         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
41274         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
41275         for zarch.
41277 2012-09-05  David S. Miller  <davem@davemloft.net>
41279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41281         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
41282         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
41283         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
41284         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41285         entries.
41287 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41289         * malloc/arena.c: Fold copyright years.
41290         * malloc/mcheck.c, malloc/memusage.c: Likewise.
41292 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41294         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
41296 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41298         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
41300 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41302         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
41303         change internal state upon failure.
41305 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41307         * malloc/mcheck.c (mcheck_check_all): Fix typo.
41308         * malloc/memusage.c (mmap): Likewise.
41309         (mmap64, mremap): Likewise.  Adjust name in comment.
41311 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41313         * libio/fileops.c: Fix typos in comments.
41314         * libio/oldfileops.c: Likewise.
41315         * libio/wfileops.c: Likewise.
41317 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41319         [BZ #1349]
41320         * malloc/Makefile (tests): Add tst-malloc-usable test case.
41321         (tst-malloc-usable-ENV): Set environment for test case.
41322         * malloc/hooks.c (malloc_check_get_size): New function to get
41323         requested size.
41324         * malloc/malloc.c (musable): Use malloc_check_get_size.
41325         * malloc/tst-malloc-usable.c: New test case.
41327 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41329         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
41331 2012-09-05  Allan McRae  <allan@archlinux.org>
41333         [BZ #13966]
41334         * configure.in (CXX_SYSINCLUDES): Use compiler output to
41335         determine header location.
41336         * configure: Regenerated.
41338 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41340         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
41341         float format.
41342         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
41343         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
41344         format.
41345         (test): Regenerate.
41347 2012-09-04  David S. Miller  <davem@davemloft.net>
41349         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
41350         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
41351         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
41353 2012-09-04  Florian Weimer  <fweimer@redhat.com>
41355         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
41356         failures.
41358         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
41360 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
41362         [BZ #9914]
41363         * libio/iogetdelim.c: Include <limits.h>.
41364         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
41365         + len + 1 would overflow.
41367 2012-09-03  Andreas Jaeger  <aj@suse.de>
41369         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41370         * sysdeps/i386/fpu/libm-test-ulps: Update.
41372 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41374         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41375         Add s_sinf-sse2, s_conf-sse2.
41377         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
41378         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
41379         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
41380         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
41382         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
41383         for using routine as __sinf_ia32.
41384         Use macro for function declaration and weak_alias.
41385         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
41386         for using routine as __cosf_ia32.
41387         Use macro for function declaration and weak_alias.
41389         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
41390         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
41392         * sysdeps/x86_64/fpu/s_sinf.S: New file.
41393         * sysdeps/x86_64/fpu/s_cosf.S: New file.
41394         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41396         * math/libm-test.inc (cos_test): Add more test cases.
41397         (sin_test): Likewise.
41398         (sincos_test): Likewise.
41400 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41402         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
41403         (IFUNC_RESOLVE): Make pointers to the specialized implementations
41404         hidden.
41405         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41407 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
41409         [BZ #14538]
41410         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
41411         first element of the GOT.
41412         (elf_machine_load_address): Return the difference between
41413         the runtime address of _DYNAMIC and elf_machine_dynamic ().
41415 2012-09-01  Allan McRae  <allan@archlinux.org>
41417         [BZ #13412]
41418         * configure.in (AWK): Require gawk version 3.0 or later.
41419         * configure: Regenerated.
41421 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
41423         * sysdeps/unix/sysv/linux/kernel-features.h
41424         (__ASSUME_POSIX_CPU_TIMERS): Remove.
41425         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41426         [__NR_clock_getres]: Make code unconditional.
41427         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
41428         (clock_getcpuclockid): Remove code left unreachable by removal of
41429         conditionals.
41430         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
41431         code unconditional.
41432         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41433         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41434         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
41435         Make code unconditional.
41436         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41437         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41438         * sysdeps/unix/sysv/linux/clock_settime.c
41439         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
41440         conditional code.
41441         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
41442         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41444 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
41446         [BZ #14476]
41447         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
41448         scripts/test-installation.pl.
41450         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
41451         and $ld_so_version if it is set.
41453 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41455         [BZ #14516]
41456         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
41457         failure if reading from procfs failed.
41458         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
41460 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
41462         * sysdeps/unix/sysv/linux/kernel-features.h
41463         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
41464         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41465         Remove conditional code.
41466         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41467         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
41468         Remove conditional code.
41469         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41470         * sysdeps/unix/sysv/linux/i386/fxstat.c
41471         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41472         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41473         * sysdeps/unix/sysv/linux/i386/fxstatat.c
41474         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41475         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41476         * sysdeps/unix/sysv/linux/i386/lxstat.c
41477         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41478         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41479         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
41480         Remove conditional code.
41481         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41482         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41483         Remove conditional code.
41484         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41485         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
41486         <kernel-features.h>.
41487         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
41488         Remove.
41489         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
41490         Remove conditional code.
41491         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41492         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
41493         Remove conditional.
41495 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
41497         [BZ #5400]
41498         * NEWS: Add fixed bug number.
41500 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
41502         [BZ #14519]
41503         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
41504         underflowing exponent in case of negative sign.
41505         * stdlib/tst-strtod-round-data: Add more tests.
41506         * stdlib/tst-strtod-round.c (tests): Regenerated.
41508         [BZ #3479]
41509         * stdlib/strtod_l.c (NDIG): Remove.
41510         (HEXNDIG): Likewise.
41511         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
41512         smallest representable value.
41513         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
41514         lie within an exact representation of 1/2 ulp of the result.
41515         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
41516         unconditionally.
41517         (TENS_P9_IDX): Define unconditionally.
41518         (TENS_P9_SIZE): Likewise.
41519         (TENS_P10_IDX): Likewise.
41520         (TENS_P10_SIZE): Likewise.
41521         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
41522         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
41523         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
41524         entries for 10^2^13 and 10^2^14.
41525         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
41526         (TENS_P13_IDX): Define.
41527         (TENS_P13_SIZE): Likewise.
41528         (TENS_P14_IDX): Likewise.
41529         (TENS_P14_SIZE): Likewise.
41530         (_fpioconst_pow10): Change array size to
41531         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
41532         unconditional.
41533         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
41534         1024]: Add entries for 10^2^13 and 10^2^14.
41535         [LAST_POW10 > _LAST_POW10]: Remove #error.
41536         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
41537         (_fpioconst_pow10): Change array size to
41538         FPIOCONST_POW10_ARRAY_SIZE.
41539         * stdlib/gen-fpioconst.c: New file.
41540         * stdlib/gen-tst-strtod-round.c: Likewise.
41541         * stdlib/tst-strtod-round-data: Likewise.
41542         * stdlib/tst-strtod-round.c: Likewise.
41543         * stdlib/Makefile (tests): Add tst-strtod-round.
41545         [BZ #14459]
41546         * stdlib/strtod_l.c: Include <stdint.h>.
41547         (NDEBUG): Do not define.
41548         (round_and_return): Change EXPONENT parameter to type intmax_t.
41549         Rearrange calculations to avoid internal overflow possibilities.
41550         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
41551         Rearrange calculations to avoid internal overflow possibilities.
41552         Assert that number fits inside MPNSIZE limbs.
41553         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
41554         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
41555         calculations and add assertions to avoid internal overflow
41556         possibilities.  Add casts to avoid signed/unsigned operations.
41557         * stdlib/tst-strtod-overflow.c: New file.
41558         * stdlib/Makefile (tests): Add tst-strtod-overflow.
41560 2012-08-25  Marek Polacek  <polacek@redhat.com>
41562         * time/time.h: Fix some typos in comments.
41564 2012-08-23  Roland McGrath  <roland@hack.frob.com>
41566         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
41567         * posix/tst-rfc3484-2.c: Likewise.
41568         * posix/tst-rfc3484-3.c: Likewise.
41570 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
41572         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
41573         (EF_ARM_ABI_FLOAT_HARD): Likewise.
41575 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
41577         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
41578         #include of fxstatat64.c.
41580 2012-08-22  Roland McGrath  <roland@hack.frob.com>
41582         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
41583         * shadow/getspent_r.c: Likewise.
41584         * shadow/getspnam.c: Likewise.
41585         * shadow/getspnam_r.c: Likewise.
41586         * gshadow/getsgent.c: Likewise.
41587         * gshadow/getsgent_r.c: Likewise.
41588         * gshadow/getsgnam.c: Likewise.
41589         * gshadow/getsgnam_r.c: Likewise.
41590         * inet/getnetbyad.c: Likewise.
41591         * inet/getnetbyad_r.c: Likewise.
41592         * inet/getnetbynm.c: Likewise.
41593         * inet/getnetbynm_r.c: Likewise.
41594         * inet/getnetent.c: Likewise.
41595         * inet/getnetent_r.c: Likewise.
41596         * inet/getproto.c: Likewise.
41597         * inet/getproto_r.c: Likewise.
41598         * inet/getprtent.c: Likewise.
41599         * inet/getprtent_r.c: Likewise.
41600         * inet/getprtname.c: Likewise.
41601         * inet/getprtname_r.c: Likewise.
41602         * inet/getrpcbyname.c: Likewise.
41603         * inet/getrpcbyname_r.c: Likewise.
41604         * inet/getrpcbynumber.c: Likewise.
41605         * inet/getrpcbynumber_r.c: Likewise.
41606         * inet/getrpcent.c: Likewise.
41607         * inet/getrpcent_r.c: Likewise.
41608         * inet/getaliasent.c: Likewise.
41609         * inet/getaliasent_r.c: Likewise.
41610         * inet/getaliasname.c: Likewise.
41611         * inet/getaliasname_r.c: Likewise.
41612         * nscd/getgrgid_r.c: Likewise.
41613         * nscd/getgrnam_r.c: Likewise.
41614         * nscd/gethstbyad_r.c: Likewise.
41615         * nscd/gethstbynm3_r.c: Likewise.
41616         * nscd/getpwnam_r.c: Likewise.
41617         * nscd/getpwuid_r.c: Likewise.
41618         * nscd/getsrvbynm_r.c: Likewise.
41619         * nscd/getsrvbypt_r.c: Likewise.
41620         * nscd/gai.c: Likewise.
41622         * configure.in (build_nscd): New substituted variable, set
41623         by --disable-build-nscd and defaults to $use_nscd.
41624         * configure: Regenerated.
41625         * config.make.in (build-nscd): New substituted variable.
41626         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
41627         Change conditional to require [$(build-nscd) = yes] as well.
41628         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
41630         [BZ# 13696]
41631         * configure.in (use_nscd): New substituted variable, set by
41632         --disable-nscd.  If enabled, define USE_NSCD.
41633         * configure: Regenerated.
41634         * config.h.in: Add USE_NSCD.
41635         * config.make.in (use-nscd): New substituted variable.
41636         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
41637         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
41638         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
41639         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
41640         (CFLAGS-getgrnam_r.c): Likewise.
41641         (CFLAGS-initgroups.c): Likewise.
41642         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
41643         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
41644         Variables removed.
41645         * inet/getnetgrent_r.c
41646         (nscd_setnetgrent): New function, broken out of ...
41647         (setnetgrent): ... here.  Call it.
41648         (innetgr): Conditionalize nscd bits on [USE_NSCD].
41649         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
41650         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
41651         * nscd/Makefile (routines, aux): Move definitions after include of
41652         Makeconfig.  Conditionalize on [$(use-nscd) != no].
41653         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
41654         Conditionalize on [USE_NSCD].
41655         (is_nscd, nscd_init_cb): Likewise.
41656         (nss_load_library): Conditionalize init callback on [USE_NSCD].
41657         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
41658         * nss/nss_db/db-init.c: Likewise.
41659         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
41660         [USE_NSCD].
41661         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
41662         (make_request): Use it.
41663         (cache_valid_p): New function.
41664         (__check_pf): Use it.
41665         * NEWS: Add item for --disable-nscd.
41667 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
41669         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
41670         to support sed >= 4.2.1-20-ga9bf076.
41671         * configure: Regenerated.
41673 2012-08-22  Roland McGrath  <roland@hack.frob.com>
41675         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
41676         Conditionalize whole body on [IREL].
41678 2012-08-22  Jeff Law <law@redhat.com>
41680         [BZ #14505]
41681         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
41682         if the family is PF_UNSPEC.
41684 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
41686         * Makerules (lib-version): Rename from V.
41687         (install-lib-nosubdir): Change V to lib-version.
41689 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
41691         [BZ #14252]
41692         * powerpc32/power6/wcschr.c: New file.
41693         * powerpc32/power6/wcscpy.c: New file.
41694         * powerpc32/power6/wcsrchr.c: New file.
41695         * powerpc64/power6/wcschr.c: New file.
41696         * powerpc64/power6/wcscpy.c: New file.
41697         * powerpc64/power6/wcsrchr.c: New file.
41699 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
41701         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
41702         (two_way_short_needle): Use it.
41703         * string/strstr.c (AVAILABLE1_USES_J): Define.
41704         * string/strcasestr.c: Likewise.
41706         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
41707         array references.
41708         * string/strcasestr.c (TOLOWER): Make side-effect safe.
41710         [BZ #11607]
41711         * NEWS: Add an entry.
41712         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
41713         define their defaults.
41714         (two_way_short_needle): Detect end-of-string on-the-fly.
41715         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
41716         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
41717         * string/bug-strcasestr1.c: New test.
41718         * string/Makefile: Run it.
41720 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
41722         [BZ #11607]
41723         * string/str-two-way.h (two_way_short_needle): Optimize matching of
41724         the first character.
41726 2012-08-21  Roland McGrath  <roland@hack.frob.com>
41728         * csu/elf-init.c (__libc_csu_irel): Function removed.
41729         * csu/libc-start.c (apply_irel): New function.
41730         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
41732 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
41734         * sysdeps/unix/sysv/linux/kernel-features.h
41735         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
41736         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
41737         <kernel-features.h>.
41738         [__NR_fadvise64_64]: Make code unconditional.
41739         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
41740         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41741         !__NR_fadvise64_64)]: Likewise.
41742         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41743         !__NR_fadvise64_64))]: Likewise.
41744         [__NR_fadvise64]: Make code unconditional.
41745         [!__NR_fadvise64]: Remove conditional code.
41746         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
41747         <kernel-features.h>.
41748         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41749         unconditional.
41750         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41751         conditional code.
41752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
41753         not include <kernel-features.h>.
41754         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41755         unconditional.
41756         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41757         conditional code.
41758         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
41759         include <kernel-features.h>.
41760         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41761         unconditional.
41762         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41763         conditional code.
41765 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
41767         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
41768         slight instruction rearrangements per scrollpipe analysis.
41769         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41771 2012-08-20  Roland McGrath  <roland@hack.frob.com>
41773         * manual/syslog.texi (syslog; vsyslog, closelog):
41774         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
41775         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
41777         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
41778         DSOCAPS to match condition on defining it.
41780 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
41782         * sysdeps/unix/sysv/linux/kernel-features.h
41783         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
41784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
41785         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41786         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
41788         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41789         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
41791         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41792         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41794         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
41795         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
41797         * sysdeps/unix/sysv/linux/kernel-features.h
41798         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
41799         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
41800         unconditional.
41801         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41802         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
41803         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41804         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41805         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
41806         Make code unconditional.
41807         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41808         (__mmap64) [!__NR_mmap2]: Likewise.
41809         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
41810         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41811         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41812         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
41813         [__NR_mmap2]: Make code unconditional.
41814         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41815         (__mmap64) [!__NR_mmap2]: Likewise.
41817 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41819         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
41821 2012-08-18  Andreas Jaeger  <aj@suse.de>
41823         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
41825 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
41827         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
41828         * include/unistd.h (__have_sock_cloexec): Likewise.
41829         (__have_pipe2): Likewise.
41830         (__have_dup3): Likewise.
41832 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
41834         [BZ #9685]
41835         * include/unistd.h (__have_pipe2): Change define into an extern int.
41836         (__have_dup3): Likewise.
41837         * socket/have_sock_cloexec.c: Include fcntl.h.
41838         (__have_pipe2): New variable.
41839         (__have_dup3): Likewise.
41841 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
41843         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
41845 2012-08-17  Marek Polacek  <polacek@redhat.com>
41847         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
41848         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
41850 2012-08-17  Roland McGrath  <roland@hack.frob.com>
41852         * configure.in: Add AC_SUBST for sysheaders.
41853         * configure: Regenerated.
41854         * config.make.in (sysheaders): New substituted variable.
41856         * sysdeps/unix/mkfifo.c: Moved ...
41857         * sysdeps/posix/mkfifo.c: ... here.
41858         * sysdeps/unix/mkfifoat.c: Moved ...
41859         * sysdeps/posix/mkfifoat.c: ... here.
41861         * sysdeps/unix/utime.c: Moved ...
41862         * sysdeps/posix/utime.c: ... here.
41864         * sysdeps/unix/time.c: Moved ...
41865         * sysdeps/posix/time.c: ... here.
41866         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
41867         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
41869         * sysdeps/unix/nice.c: Moved ...
41870         * sysdeps/posix/nice.c: ... here.
41872         * sysdeps/unix/alarm.c: Moved ...
41873         * sysdeps/posix/alarm.c: ... here.
41875         * intl/Makefile ($(codeset_mo)): Depend on the input file.
41877 2012-08-17  Jeff Law <law@redhat.com>
41879         * intl/Makefile (codeset_mo): New variable.
41880         ($(codeset_mo)): New target.
41881         (tst-codeset.out): Depend on that.  Remove explicit rule.
41882         (tst-gettext3.out, tst-gettext5.out): Likewise.
41883         (LOCPATH-ENV, tst-codeset-ENV): New variables.
41884         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
41885         * intl/tst-codeset.sh: Remove.
41886         * intl/tst-gettext3.sh: Likewise.
41887         * intl/tst-gettext5.sh: Likewise.
41889 2012-08-17  Roland McGrath  <roland@hack.frob.com>
41891         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
41892         * sysdeps/unix/syscalls.list: ... here.
41894         * sysdeps/posix/getaddrinfo.c
41895         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
41896         (gaiconf_init, gaiconf_reload): Use them.
41897         [!_STATBUF_ST_NSEC]
41898         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
41899         Define using time_t rather than struct timespec.
41901         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
41902         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
41903         Macros removed.
41904         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
41905         [!NO_THREADS].
41906         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
41907         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
41908         Likewise.
41910         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
41911         __libc_cleanup_push argument.
41913         * bits/param.h: New file.
41914         * misc/sys/param.h: New file.
41915         * include/sys/param.h: New file.
41916         * misc/Makefile (headers): Add bits/param.h.
41917         * sysdeps/generic/sys/param.h: File removed.
41918         * sysdeps/unix/sysv/linux/bits/param.h: New file.
41919         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
41920         * sysdeps/mach/hurd/bits/param.h: New file.
41921         * sysdeps/mach/hurd/sys/param.h: File removed.
41923         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
41924         last change.
41926         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
41927         [_IO_MTSAFE_IO].
41928         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
41929         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
41930         New macros.
41932         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
41933         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
41934         rather than -D_IO_MTSAFE_IO conditionally.
41935         * stdio-common/Makefile (CPPFLAGS): Likewise.
41936         * wcsmbs/Makefile (CPPFLAGS): Likewise.
41937         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
41938         Use $(libio-mtsafe).
41939         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
41940         of -D_IO_MTSAFE_IO.
41941         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
41942         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
41943         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
41944         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
41945         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
41946         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
41947         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
41948         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
41949         (CFLAGS-fread_u_chk.c): Likewise.
41950         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
41951         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
41952         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
41953         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
41954         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
41955         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
41956         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
41957         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
41958         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
41960         * libio/Makefile: Test [$(libc-reentrant) = yes]
41961         instead of [$(filter %REENTRANT, $(defines)) nonempty].
41963         * Makeconfig
41964         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
41965         * sysdeps/pthread/configure: File removed.
41966         * sysdeps/pthread/Makeconfig: New file.
41967         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
41968         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
41970 2012-08-16  Gary Benson  <gbenson@redhat.com>
41972         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
41973         unmapping the first object in a namespace.
41975 2012-08-16  Roland McGrath  <roland@hack.frob.com>
41977         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
41978         (__internal_setnetgrent): ... this.  Add internal_function to
41979         definition.  Add libc_hidden_def.
41980         (setnetgrent): Update caller.
41981         (internal_endnetgrent): Renamed to ...
41982         (__internal_endnetgrent): ... this.  Add internal_function to
41983         definition.  Add libc_hidden_def.
41984         (endnetgrent): Update caller.
41985         (internal_getnetgrent_r): Renamed to ...
41986         (__internal_getnetgrent_r): ... this.  Add internal_function to
41987         definition.  Add libc_hidden_def.
41988         (__getnetgrent_r): Update caller.
41989         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
41991 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
41993         * stdlib/longlong.h: Update from GCC.
41995 2012-08-16  Roland McGrath  <roland@hack.frob.com>
41997         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
41998         on _QL, which is set by umul_ppmm but never used.
41999         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
42000         variables, which are set by GMP macros but never used.
42001         * stdio-common/_itowa.c (_itowa): Likewise.
42002         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
42003         * stdlib/mod_1.c (mpn_mod_1): Likewise.
42005 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
42007         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
42008         struct La_sh_regs is not constant.
42009         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
42010         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
42011         and struct La_sparc64_regs are not constant.
42013 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
42015         * sysdeps/unix/sysv/linux/kernel-features.h
42016         (__ASSUME_POSIX_TIMERS): Remove.
42017         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42018         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42019         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
42020         Make code unconditional.
42021         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42022         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
42023         Make code unconditional.
42024         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42025         * sysdeps/unix/sysv/linux/clock_nanosleep.c
42026         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
42027         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42028         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
42029         Make code unconditional.
42030         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42031         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
42032         (__libc_missing_posix_timers): Remove.
42034 2012-08-15  Roland McGrath  <roland@hack.frob.com>
42036         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
42037         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
42039         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
42041         * elf/dl-sym.c: Include <stdlib.h>.
42043         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
42044         constants, which avoids warnings in 32-bit builds.
42046         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
42047         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
42049         * misc/lseek.c: File moved to ...
42050         * io/lseek.c: ... here.
42052         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
42054         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
42055         shifting LEN more than 31 bits at once.
42057 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42059         [BZ #14195]
42060         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
42061         segmentation fault for a case of two empty input strings.
42062         * string/test-strncasecmp.c (check1): Renamed to...
42063         (bz12205): ...this.
42064         (bz14195): Add new testcase for two empty input strings and N > 0.
42065         (test_main): Call new testcase, adapt for renamed function.
42067 2012-08-15  Andreas Jaeger  <aj@suse.de>
42069         [BZ #14090]
42070         * crypt/md5test2.c: New test, based on test supplied by Serge
42071         Belyshev <belyshev@depni.sinp.msu.ru>.
42072         * crypt/Makefile (xtests): Add md5test-giant..
42073         * crypt/Makefile ($(objpfx)md5test-giant): Add.
42075 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
42077         [BZ #14090]
42078         * crypt/md5.c (md5_process_block): Don't assume the buffer
42079         length is less than 2**32.
42080         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
42081         length is less than 2**64.
42083 2012-08-15  Roland McGrath  <roland@hack.frob.com>
42085         * string/str-two-way.h: Include <sys/param.h>.
42086         (MAX): Macro removed.
42088         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
42089         Move #define and #undef of memmove to just before and after
42090         including <string.h>.
42092         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
42093         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
42094         and after including <string.h>.  Move declarations of
42095         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
42096         to before #include "string/memmove.c".
42098         * include/dirent.h: Declare __getdirentries.
42100         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
42101         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
42103 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
42105         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
42106         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
42107         * sysdeps/i386/configure: Regenerated.
42108         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
42109         STABS_CURRENT_FILE, and STABS_FUN.
42110         (END): Remove call to STABS_FUN_END.
42111         (STABS_CURRENT_FILE1): Delete.
42112         (STABS_CURRENT_FILE): Likewise.
42113         (STABS_FUN): Likewise.
42114         (STABS_FUN_END): Likewise.
42115         (STABS_FUN2): Likewise.
42116         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
42117         * sysdeps/x86_64/configure: Regenerated.
42119 2012-08-14  Roland McGrath  <roland@hack.frob.com>
42121         * elf/dl-open.c: Include <atomic.h>.
42122         * elf/dl-lookup.c: Likewise.
42124 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
42126         * sysdeps/unix/sysv/linux/kernel-features.h
42127         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
42128         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
42129         unconditionally.
42130         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
42131         unconditionally.
42132         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
42133         condition on __ASSUME_CLONE_THREAD_FLAGS.
42135 2012-08-14  Andreas Jaeger  <aj@suse.de>
42137         * sysdeps/i386/fpu/libm-test-ulps: Update.
42139 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
42141         * include/atomic.h (atomic_exchange_and_add): Split into ...
42142         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
42143         New atomic macros.
42145 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
42147         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42149 2012-08-13  Jeff Law <law@redhat.com>
42151         * manual/stdio.texi (snprintf): Clarify handling of the trailing
42152         null byte in the output string.
42154 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
42156         * sysdeps/unix/sysv/linux/kernel-features.h
42157         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
42158         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
42159         (__ASSUME_ARG_MAX_STACK_BASED): Define.
42160         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42161         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
42162         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
42163         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
42165 2012-08-09  Jeff Law <law@redhat.com>
42167         [BZ #13939]
42168         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
42169         When avoid_arena is set, don't retry in the that arena.  Pick the
42170         next one, whatever it might be.
42171         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
42172         (arena_lock): Pass in new parameter to arena_get2.
42173         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
42174         arena_get2.
42175         (__libc_malloc): Unify retrying after main arena failure with
42176         __libc_memalign version.
42177         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
42179 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
42181         [BZ #14166]
42182         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
42183         to __redirect_strstr.
42184         (__strstr_sse42): Use typeof __redirect_strstr.
42185         (__strstr_ia32): Likewise.
42186         (__libc_strstr): New prototype.
42187         (strstr): Renamed to ...
42188         (__libc_strstr): This.
42189         (strstr): New strong alias of __libc_strstr.
42190         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42191         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
42192         __redirect_time.
42193         Include <time.h>.
42194         (__libc_time): New prototype.
42195         (time_ifunc): Replace time with __libc_time.
42196         (time): New strong alias and hidden definition of __libc_time.
42197         (__GI_time): Remove strong alias.
42198         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
42199         Include <stddef.h>.
42200         (memmove): Redefined to __redirect_memmove.
42201         (__memmove_sse2): Use typeof __redirect_memmove.
42202         (__memmove_ssse3): Likewise.
42203         (__memmove_ssse3_back): Likewise.
42204         (__libc_memmove): New prototype.
42205         (memmove): Renamed to ...
42206         (__libc_memmove): This.
42207         (memmove): New strong alias of __libc_memmove.
42209 2012-08-08  Mark Salter  <msalter@redhat.com>
42211         * elf/elf.h
42212         (R_MN10300_TLS_GD): Define.
42213         (R_MN10300_TLS_LD): Likewise.
42214         (R_MN10300_TLS_LDO): Likewise.
42215         (R_MN10300_TLS_GOTIE): Likewise.
42216         (R_MN10300_TLS_IE): Likewise.
42217         (R_MN10300_TLS_LE): Likewise.
42218         (R_MN10300_TLS_DTPMOD): Likewise.
42219         (R_MN10300_TLS_DTPOFF): Likewise.
42220         (R_MN10300_TLS_TPOFF): Likewise.
42221         (R_MN10300_SYM_DIFF): Likewise.
42222         (R_MN10300_ALIGN): Likewise.
42223         (R_MN10300_NUM): Update.
42225 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
42227         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
42228         Remove.
42230 2012-08-08  Roland McGrath  <roland@hack.frob.com>
42232         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
42234         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
42235         sysdeps/unix -> sysdeps/posix move.
42236         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42238 2012-08-07      Allan McRae     <allan@archlinux.org>
42240         [BZ #14303]
42241         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
42242         (SUNOS_CPP): Likewise.
42243         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
42244         not found.
42245         (open_input): Call CPP using execvp.
42247 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
42249         * sysdeps/unix/sysv/linux/kernel-features.h
42250         (__ASSUME_PROT_GROWSUPDOWN): Remove.
42251         (__ASSUME_NO_CLONE_DETACHED): Likewise.
42252         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42253         (__ASSUME_WAITID_SYSCALL): Likewise.
42254         * sysdeps/unix/sysv/linux/dl-execstack.c
42255         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
42256         code unconditional.
42257         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
42258         conditional code.
42259         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
42260         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
42261         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
42262         code.
42263         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
42264         unconditional.
42265         [__ASSUME_WAITID_SYSCALL]: Likewise.
42266         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
42268 2012-08-07  Roland McGrath  <roland@hack.frob.com>
42270         * sysdeps/unix/closedir.c: Renamed to ...
42271         * sysdeps/posix/closedir.c: ... here.
42272         * sysdeps/unix/dirfd.c: Renamed to ...
42273         * sysdeps/posix/dirfd.c: ... here.
42274         * sysdeps/unix/dirstream.h: Renamed to ...
42275         * sysdeps/posix/dirstream.h: ... here.
42276         * sysdeps/unix/fdopendir.c: Renamed to ...
42277         * sysdeps/posix/fdopendir.c: ... here.
42278         * sysdeps/unix/opendir.c: Renamed to ...
42279         * sysdeps/posix/opendir.c: ... here.
42280         * sysdeps/unix/readdir.c: Renamed to ...
42281         * sysdeps/posix/readdir.c: ... here.
42282         * sysdeps/unix/readdir_r.c: Renamed to ...
42283         * sysdeps/posix/readdir_r.c: ... here.
42284         * sysdeps/unix/rewinddir.c: Renamed to ...
42285         * sysdeps/posix/rewinddir.c: ... here.
42286         * sysdeps/unix/seekdir.c: Renamed to ...
42287         * sysdeps/posix/seekdir.c: ... here.
42288         * sysdeps/unix/telldir.c: Renamed to ...
42289         * sysdeps/posix/telldir.c: ... here.
42290         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
42291         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
42292         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
42293         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
42295         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
42296         * bits/fcntl.h: ... here.
42298         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
42299         not 0.
42300         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
42301         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
42302         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
42303         (struct flock): Move l_start, l_len to the beginning.
42304         Use __pid_t for l_pid.
42305         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
42306         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
42307         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
42308         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
42309         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
42310         [__USE_LARGEFILE64] (struct flock64): New type.
42311         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
42313         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
42314         * bits/dirent.h: ... here.
42316         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
42317         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
42319 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
42321         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42322         Change from 2.6.0 to 2.6.16.
42323         * sysdeps/unix/sysv/linux/configure: Regenerated.
42324         * sysdeps/unix/sysv/linux/kernel-features.h
42325         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
42326         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
42327         version.
42328         (__ASSUME_UTIMES): Likewise.
42329         (__ASSUME_CLONE_STOPPED): Remove.
42330         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
42331         architectures, not kernel version.
42332         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
42333         (__ASSUME_NO_CLONE_DETACHED): Likewise.
42334         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42335         (__ASSUME_WAITID_SYSCALL): Likewise.
42336         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
42337         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
42338         * README: State 2.6.16 as minimum Linux kernel version.  Do not
42339         refer to older versions.
42341 2012-08-06  Roland McGrath  <roland@hack.frob.com>
42343         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
42344         Define alphasort64 as an alias.
42345         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
42346         Define versionsort64 as an alias.
42347         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
42348         Define scandir64 as an alias.
42349         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
42350         Define scandirat64 as an alias.
42351         * dirent/alphasort64.c (alphasort64):
42352         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
42353         * dirent/versionsort64.c: Likewise.
42354         * dirent/scandir64.c: Likewise.
42355         * dirent/scandirat64.c: Likewise.
42356         * sysdeps/wordsize-64/alphasort.c: File removed.
42357         * sysdeps/wordsize-64/alphasort64.c: File removed.
42358         * sysdeps/wordsize-64/scandir.c: File removed.
42359         * sysdeps/wordsize-64/scandir64.c: File removed.
42360         * sysdeps/wordsize-64/scandirat.c: File removed.
42361         * sysdeps/wordsize-64/scandirat64.c: File removed.
42362         * sysdeps/wordsize-64/versionsort.c: File removed.
42363         * sysdeps/wordsize-64/versionsort64.c: File removed.
42364         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
42365         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
42366         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
42367         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
42368         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
42369         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
42370         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
42371         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
42373         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
42374         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42375         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
42376         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42377         [defined __arch64__ || defined __sparcv9]
42378         (__INO_T_MATCHES_INO64_T): New macro.
42379         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42380         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
42381         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
42382         * sysdeps/unix/sysv/linux/bits/dirent.h
42383         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
42384         (_DIRENT_MATCHES_DIRENT64): New macro.
42386         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
42387         Define lockf64 as an alias.
42388         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
42389         Define fseeko64 as an alias.
42390         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
42391         Define ftello64 as an alias.
42392         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
42393         Define _IO_fgetpos64 and fgetpos64 as aliases.
42394         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
42395         Define _IO_fsetpos64 and fsetpos64 as aliases.
42396         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
42397         Conditionalize body on this.
42398         * libio/fseeko64.c: Likewise.
42399         * libio/ftello64.c: Likewise.
42400         * libio/iofgetpos64.c: Likewise.
42401         * libio/iofsetpos64.c: Likewise.
42402         * sysdeps/wordsize-64/lockf.c: File removed.
42403         * sysdeps/wordsize-64/lockf64.c: File removed.
42404         * sysdeps/wordsize-64/fseeko.c: File removed.
42405         * sysdeps/wordsize-64/fseeko64.c: File removed.
42406         * sysdeps/wordsize-64/ftello.c: File removed.
42407         * sysdeps/wordsize-64/ftello64.c: File removed.
42408         * sysdeps/wordsize-64/iofgetpos.c: File removed.
42409         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
42410         * sysdeps/wordsize-64/iofsetpos.c: File removed.
42411         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
42412         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
42413         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
42414         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
42415         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
42416         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
42417         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
42418         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
42419         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
42420         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
42421         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
42423         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42424         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42425         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
42426         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42427         [defined __arch64__ || defined __sparcv9]
42428         (__OFF_T_MATCHES_OFF64_T): New macro.
42429         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42430         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42431         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42432         (__OFF_T_MATCHES_OFF64_T): New macro.
42434 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
42436         * stdlib/secure-getenv.c (__secure_getenv): Replace
42437         GLIBC_2_16 with GLIBC_2_17.
42439 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
42441         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
42442         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42444 2012-08-03  David S. Miller  <davem@davemloft.net>
42446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42448 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
42450         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
42451         Remove.
42452         (__ASSUME_CORRECT_SI_PID): Likewise.
42453         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
42454         (__ASSUME_TMPFS_NAME): Likewise.
42455         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
42456         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
42457         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
42458         (HAVE_AUX_SECURE): Make definition unconditional.
42459         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
42460         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
42462 2012-08-03  Roland McGrath  <roland@hack.frob.com>
42464         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
42465         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
42466         * sysdeps/mach/hurd/eloop-threshold.h: New file.
42467         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42468         __eloop_threshold instead of SYMLOOP_MAX.
42470         * sysdeps/generic/eloop-threshold.h: New file.
42471         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
42472         of MAXSYMLINKS.
42473         * elf/chroot_canon.c (chroot_canon): Likewise.
42475 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
42477         [BZ #13717]
42478         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42479         Change to 2.6.0 everywhere.
42480         * sysdeps/unix/sysv/linux/configure: Regenerated.
42481         * sysdeps/unix/sysv/linux/kernel-features.h
42482         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
42483         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
42484         kernel versions.
42485         (__ASSUME_POSIX_TIMERS): Define unconditionally.
42486         (__ASSUME_FUTEX_REQUEUE): Remove.
42487         (__ASSUME_STATFS64): Define unconditionally.
42488         (__ASSUME_AT_SECURE): Likewise.
42489         (__ASSUME_CORRECT_SI_PID): Likewise.
42490         (__ASSUME_TGKILL): Define without depending on kernel version for
42491         i386.
42492         (__ASSUME_UTIMES): Likewise.
42493         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
42494         kernel version.
42495         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
42496         (__ASSUME_TMPFS_NAME): Likewise.
42497         * README: Update reference to Linux kernel versions.
42499 2012-08-02  Marek Polacek  <polacek@redhat.com>
42501         [BZ# 14150]
42502         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
42503         libc_cv_asm_type_prefix with %.
42504         * configure: Regenerated.
42505         * include/libc-symbols.h: Remove comment about
42506         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42507         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
42508         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
42509         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
42510         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
42511         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42512         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
42513         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
42514         * elf/tst-unique2mod1.c: Likewise.
42515         * elf/tst-unique1mod2.c: Likewise.
42516         * elf/tst-unique1mod1.c: Likewise.
42517         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
42518         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
42519         Replace ASM_TYPE_DIRECTIVE with .type.
42520         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42521         * sysdeps/i386/sysdep.h: Likewise.
42522         * sysdeps/x86_64/sysdep.h: Likewise.
42523         * sysdeps/sh/sysdep.h: Likewise.
42524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42525         Do not define ASM_TYPE_DIRECTIVE.
42526         * sysdeps/powerpc/sysdep.h: Likewise.
42527         * sysdeps/powerpc/powerpc32/sysdep.h:
42528         Replace ASM_TYPE_DIRECTIVE with .type.
42529         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42530         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42531         * sysdeps/i386/fpu/e_powf.S: Likewise.
42532         * sysdeps/i386/fpu/e_expl.S: Likewise.
42533         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42534         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42535         * sysdeps/i386/fpu/e_pow.S: Likewise.
42536         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42537         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42538         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42539         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42540         * sysdeps/i386/fpu/e_log2.S: Likewise.
42541         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42542         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42543         * sysdeps/i386/fpu/e_powl.S: Likewise.
42544         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42545         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42546         * sysdeps/i386/fpu/e_logl.S: Likewise.
42547         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42548         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42549         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42550         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42551         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42552         * sysdeps/i386/fpu/e_log.S: Likewise.
42553         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42554         * sysdeps/i386/fpu/e_logf.S: Likewise.
42555         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42556         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42557         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42558         * sysdeps/i386/fpu/e_log10.S: Likewise.
42559         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42560         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42561         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42562         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42563         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42564         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
42565         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42566         * sysdeps/i386/i686/strtok.S: Likewise.
42567         * sysdeps/i386/i386-mcount.S: Likewise.
42568         * sysdeps/i386/strtok.S: Likewise.
42569         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
42570         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42571         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42572         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42573         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42574         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42575         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42576         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42577         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42578         * sysdeps/x86_64/_mcount.S: Likewise.
42579         * sysdeps/x86_64/strtok.S: Likewise.
42580         * sysdeps/sh/_mcount.S: Likewise.
42582 2012-08-01  Roland McGrath  <roland@hack.frob.com>
42584         * libio/iofopen.c: Include <fcntl.h>.
42585         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
42586         (_IO_fopen64, fopen64): Define as aliases.
42587         * libio/iofopen64.c: Include <fcntl.h>.
42588         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
42589         Conditionalize body on this.
42590         * sysdeps/wordsize-64/iofopen.c: File removed.
42591         * sysdeps/wordsize-64/iofopen64.c: File removed.
42593 2012-08-01  Marek Polacek  <polacek@redhat.com>
42595         * libc/Makeconfig: Use elf in place of binfmt-subdir.
42596         Use dlfcn directly instead of a variable.
42597         (binfmt-subdir): Do not define.
42598         (dlfcn): Likewise.
42600 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
42602         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
42603         Remove all definitions.
42604         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
42605         <kernel-features.h>.
42606         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42607         (miss_F_GETOWN_EX): Remove all definitions.
42608         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
42609         macro definition.
42610         [!__ASSUME_FCNTL64]: Remove conditional code.
42611         [__ASSUME_FCNTL64]: Make code unconditional.
42612         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
42613         <kernel-features.h>.
42614         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42615         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
42616         (lockf64) [__NR_fcntl64]: Make code unconditional.
42617         (lockf64) [__ASSUME_FCNTL64]: Likewise.
42619         * sysdeps/unix/sysv/linux/kernel-features.h
42620         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
42621         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
42622         Make code unconditional.
42623         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42624         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
42626         [__NR_vfork]: Make code unconditional.
42627         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42628         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
42630         [__NR_vfork]: Make code unconditional.
42631         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42632         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42634 2012-08-01  Roland McGrath  <roland@hack.frob.com>
42636         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
42637         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
42639         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42640         Define mkstemp64 as an alias.
42641         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42642         Define mkstemps64 as an alias.
42643         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42644         Define mkostemp64 as an alias.
42645         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42646         Define mkostemps64 as an alias.
42647         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
42648         Conditionalize body on this.
42649         * misc/mkostemp64.c: Likewise.
42650         * misc/mkostemps64.c: Likewise.
42651         * misc/mkstemps64.c: Likewise.
42652         * sysdeps/wordsize-64/mkstemp64.c: File removed.
42653         * sysdeps/wordsize-64/mkostemp64.c: File removed.
42654         * sysdeps/wordsize-64/mkostemp.c: File removed.
42655         * sysdeps/wordsize-64/mkstemp.c: File removed.
42656         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
42657         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
42658         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
42659         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
42661         [BZ #14138]
42662         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
42663         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
42664         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
42665         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
42667         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
42668         compat_symbol macros from <shlib-compat.h> rather than the underlying
42669         default_symbol_version and symbol_version macros, so that DEFAULT
42670         lines in shlib-versions are respected.
42671         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
42673 2012-08-01  Florian Weimer  <fweimer@redhat.com>
42675         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
42676         Declare with warn_unused_result.
42677         (setgid, setregid, setegid, setresgid): Likewise.
42678         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
42679         Likewise.
42680         * WUR-REPORT: Remove set*id functions.
42682 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
42684         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
42686 2012-07-31  Roland McGrath  <roland@hack.frob.com>
42688         [BZ #10191]
42689         * include/sys/socket.h (__libc_accept, __libc_accept4):
42690         Add attribute_hidden.
42691         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
42693         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
42694         use of PTR_MANGLE.
42695         * inet/getnetgrent_r.c (setup): Likewise.
42697         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
42699 2012-07-31  David S. Miller  <davem@davemloft.net>
42701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42703 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
42705         [BZ #13629]
42706         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
42707         value between 1.0 and 2.0 and smaller part has absolute value less
42708         than 1.0.
42709         * math/s_clog10.c (__clog10): Likewise.
42710         * math/s_clog10f.c (__clog10f): Likewise.
42711         * math/s_clog10l.c (__clog10l): Likewise.
42712         * math/s_clogf.c (__clogf): Likewise.
42713         * math/s_clogl.c (__clogl): Likewise.
42714         * math/libm-test.inc (clog_test): Add more tests.
42715         (clog10_test): Likewise.
42716         * sysdeps/i386/fpu/libm-test-ulps: Update.
42717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42719 2012-07-31  Florian Weimer  <fweimer@redhat.com>
42721         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
42722         Exit with zero in case no suitable GID is found, and write a
42723         message to standard error.
42725 2012-07-30  Roland McGrath  <roland@hack.frob.com>
42727         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
42728         rather than to 1.
42729         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
42730         (MAXPATHLEN): Removed.
42731         (NOGROUP, NODEV): New macros.
42732         (setbit, clrbit, isset, isclr): New macros.
42733         (howmany, roundup, powerof2): New macros.
42734         (DEV_BSIZE): New macro.
42736         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
42737         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
42739         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
42740         definition on [!__NO_LONG_DOUBLE_MATH].
42742         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
42743         PTR_MANGLE and PTR_DEMANGLE.
42745         * socket/accept4.c (accept4): Rename to __libc_accept4.
42746         Define accept4 as a weak alias.
42748         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
42749         on [_DIRENT_HAVE_D_TYPE].
42750         * io/ftw.c (ftw_dir): Likewise.
42752         * io/xmknod.c (__xmknod): Don't check PATH for being null.
42754         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
42756         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
42757         Use the BSD numbers rather than the arbitrary ones we had.
42758         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
42759         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
42760         (SIGXCPU, SIGXFSZ): New macros.
42761         (_NSIG): Now 32.
42763         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
42764         initializer on [_LIBC_REENTRANT].
42766         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
42767         definitions inside [_POSIX_MAPPED_FILES].
42769         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
42771         * dirent/opendir.c: Include <fcntl.h>.
42773         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
42774         (__libc_getspecific): Likewise.
42775         (__libc_key_create): Likewise.
42777         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
42778         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
42779         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
42780         (tmpfile64): Define as alias.
42781         * sysdeps/wordsize-64/tmpfile.c: File removed.
42782         * sysdeps/wordsize-64/tmpfile64.c: File removed.
42783         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
42784         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
42786         * stdio-common/vfscanf.c: Include <stdbool.h>.
42787         * nss/makedb.c: Likewise.
42788         * stdio-common/_i18n_number.h: Likewise.
42789         * argp/argp-help.c: Likewise.
42790         * posix/wordexp.c: Likewise.
42791         * sysdeps/posix/spawni.c: Likewise.
42792         * nss/nss_files/files-initgroups.c: Likewise.
42793         * stdio-common/reg-modifier.c: Include <stdlib.h>.
42794         * nss/nss_files/files-initgroups.c: Likewise.
42795         * nss/nss_db/db-netgrp.c: Likewise.
42796         * nss/nss_db/db-initgroups.c: Likewise.
42797         * io/fchmodat.c: Include <sys/stat.h>.
42799         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
42800         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
42802         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
42803         [HAVE_MMAP].
42805         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
42806         Add multiple inclusion protection.
42808 2012-07-27  David S. Miller  <davem@davemloft.net>
42810         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42812 2012-07-27  Gary Benson  <gbenson@redhat.com>
42814         [BZ #14298]
42815         * elf/rtld.c: Include <stap-probe.h>.
42816         (dl_main): Added static probes "init_start" and "init_complete".
42817         * elf/dl-load.c: Include <stap-probe.h>.
42818         (lose): Take new parameter "nsid".
42819         Added static probe "map_failed".
42820         (_dl_map_object_from_fd): Pass namespace id to lose.
42821         Added static probe "map_start".
42822         (open_verify): Pass namespace id to lose.
42823         * elf/dl-open.c: Include <stap-probe.h>.
42824         (dl_open_worker) Added static probes "map_complete", "reloc_start"
42825         and "reloc_complete".
42826         * elf/dl-close.c: Include <stap-probe.h>.
42827         (_dl_close_worker): Added static probes "unmap_start" and
42828         "unmap_complete".
42829         * elf/rtld-debugger-interface.txt: New file documenting the above.
42831 2012-07-26  Roland McGrath  <roland@hack.frob.com>
42833         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
42834         rather than a string variable.
42835         * sunrpc/rpc_main.c (h_output): Likewise.
42836         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
42838 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
42840         * inet/check_native.c: New file.
42842 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
42844         [BZ #13629]
42845         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
42846         if larger part has absolute value 1.0.
42847         * math/s_clog10.c (__clog10): Likewise.
42848         * math/s_clog10f.c (__clog10f): Likewise.
42849         * math/s_clog10l.c (__clog10l): Likewise.
42850         * math/s_clogf.c (__clogf): Likewise.
42851         * math/s_clogl.c (__clogl): Likewise.
42852         * math/libm-test.inc (clog_test): Add more tests.
42853         (clog10_test): Likewise.
42854         * sysdeps/i386/fpu/libm-test-ulps: Update.
42855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42857         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
42858         (pltexit): Likewise.
42859         (La_regs): Likewise.
42860         (La_retval): Likewise.
42861         (int_retval): Likewise.
42862         Update #error for removed macros to refer only to definitions in
42863         tst-audit.h.
42864         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
42865         macro.
42866         (pltexit): Likewise.
42867         (La_regs): Likewise.
42868         (La_retval): Likewise.
42869         (int_retval): Likewise.
42870         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
42871         macro.
42872         (pltexit): Likewise.
42873         (La_regs): Likewise.
42874         (La_retval): Likewise.
42875         (int_retval): Likewise.
42876         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
42877         macro.
42878         (pltexit): Likewise.
42879         (La_regs): Likewise.
42880         (La_retval): Likewise.
42881         (int_retval): Likewise.
42882         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
42883         macro.
42884         (pltexit): Likewise.
42885         (La_regs): Likewise.
42886         (La_retval): Likewise.
42887         (int_retval): Likewise.
42888         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
42889         macro.
42890         (pltexit): Likewise.
42891         (La_regs): Likewise.
42892         (La_retval): Likewise.
42893         (int_retval): Likewise.
42894         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
42895         macro.
42896         (pltexit): Likewise.
42897         (La_regs): Likewise.
42898         (La_retval): Likewise.
42899         (int_retval): Likewise.
42900         * sysdeps/generic/tst-audit.h: Update comment to refer only to
42901         macro definitions in tst-audit.h.
42902         * sysdeps/i386/tst-audit.h: New file.
42903         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
42904         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
42905         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
42906         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
42907         * sysdeps/sh/tst-audit.h: Likewise.
42908         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
42909         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
42910         * sysdeps/x86_64/tst-audit.h: Likewise.
42912 2012-07-26  Andreas Jaeger  <aj@suse.de>
42914         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
42915         ptrace.
42917         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
42918         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
42919         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
42920         PTRACE_O_MASK.
42921         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
42922         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
42923         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
42925         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
42926         value.
42928         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
42929         _sigsys.
42930         (si_call_addr, si_syscall, si_arch): Define new macro.
42931         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
42932         _sigsys.
42933         (si_call_addr, si_syscall, si_arch): Define new marcro.
42934         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
42935         _sigsys.
42936         (si_call_addr, si_syscall, si_arch): Define new macro.
42937         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
42938         _sigsys.
42939         (si_call_addr, si_syscall, si_arch): Define new macro.
42941 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
42943         [BZ #13717]
42944         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42945         Change to 2.4.21 where previously 2.4.1.
42946         * sysdeps/unix/sysv/linux/configure: Regenerated.
42947         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
42948         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
42949         Linux kernel version.
42950         (__ASSUME_STD_AUXV): Remove.
42951         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
42952         kernel version.
42953         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
42954         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
42955         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
42956         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
42957         (__ASSUME_NETLINK_SUPPORT): Likewise.
42958         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
42959         (__no_netlink_support): Remove conditional definition.
42960         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
42961         Remove.
42962         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42963         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
42964         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
42965         (if_nameindex_ioctl): Remove.
42966         (if_nameindex_netlink): Do not handle __no_netlink_support.
42967         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42968         code.
42969         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
42970         Remove conditional code.
42971         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42972         code.
42973         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
42974         unconditional.
42975         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42976         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
42977         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
42978         Remove.
42979         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
42980         [!__ASSUME_STD_AUXV]: Remove conditional code.
42981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
42982         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
42983         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
42984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
42985         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
42986         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42987         code.
42988         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42990         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
42991         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42992         conditional code.
42993         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42995         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42996         code.
42997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42998         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42999         conditional code.
43000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
43001         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43002         code unconditional.
43003         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43004         conditional code.
43005         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43006         unconditional.
43007         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43008         conditional code.
43009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43010         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43011         unconditional.
43012         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43013         conditional code.
43014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
43015         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43016         code unconditional.
43017         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43018         conditional code.
43019         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43020         unconditional.
43021         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43022         conditional code.
43023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
43024         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43025         code unconditional.
43026         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43027         conditional code.
43028         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43029         unconditional.
43030         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43031         conditional code.
43033 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
43035         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
43036         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
43037         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43038         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
43039         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
43040         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
43041         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
43042         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
43043         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
43044         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
43045         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
43046         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
43047         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
43048         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
43049         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
43050         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
43051         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
43052         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
43053         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
43054         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
43055         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
43056         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
43057         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43059 2012-07-25  Florian Weimer  <fweimer@redhat.com>
43061         * Versions.def: Add GLIBC_2.17.
43062         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
43063         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
43064         Introduce __libc_secure_getenv.
43065         * stdlib/Versions (2.17): Add secure_getenv
43066         (GLIBC_PRIVATE): Add __libc_secure_getenv.
43067         * stdlib/secure-getenv.c: Rename __secure_getenv to
43068         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
43069         symbol __secure_getenv for GLIBC_2.0.
43070         * stdlib/tst-secure-getenv.c: New.
43071         * stdlib/Makefile (tests): Add testcase.
43072         * manual/startup.texi (Environment Access): Document
43073         secure_getenv.
43074         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
43075         __libc_secure_getenv.
43076         * inet/ruserpass.c (ruserpass): Likewise.
43077         * malloc/mtrace.c (mtrace): Likewise.
43078         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
43079         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
43080         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
43081         * sysdeps/posix/tempname.c: Likewise.  Evaluate
43082         HAVE_SECURE_GETENV.
43083         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
43084         __secure_getenv to __libc_secure_getenv.
43085         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
43086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43087         Likewise.
43088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43089         Likewise.
43090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43091         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43092         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43093         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43095         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43098 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
43100         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
43101         (struct La_i86_retval): Likewise.
43102         (struct La_x86_64_regs): Likewise.
43103         (struct La_x86_64_retval): Likewise.
43104         (struct La_x32_regs): Likewise.
43105         (struct La_x32_retval): Likewise.
43106         (struct La_ppc32_regs): Likewise.
43107         (struct La_ppc32_retval): Likewise.
43108         (struct La_ppc64_regs): Likewise.
43109         (struct La_ppc64_retval): Likewise.
43110         (struct La_sh_regs): Likewise.
43111         (struct La_sh_retval): Likewise.
43112         (struct La_s390_32_regs): Likewise.
43113         (struct La_s390_32_retval): Likewise.
43114         (struct La_s390_64_regs): Likewise.
43115         (struct La_s390_64_retval): Likewise.
43116         (struct La_sparc32_regs): Likewise.
43117         (struct La_sparc32_retval): Likewise.
43118         (struct La_sparc64_regs): Likewise.
43119         (struct La_sparc64_retval): Likewise.
43120         (struct audit_ifaces): Remove architecture-specific pltenter and
43121         pltexit members.
43122         * sysdeps/i386/ldsodefs.h: New file.
43123         * sysdeps/powerpc/ldsodefs.h: Likewise.
43124         * sysdeps/s390/ldsodefs.h: Likewise.
43125         * sysdeps/sh/ldsodefs.h: Likewise.
43126         * sysdeps/sparc/ldsodefs.h: Likewise.
43127         * sysdeps/x86_64/ldsodefs.h: Likewise.
43129 2012-07-25  Marek Polacek  <polacek@redhat.com>
43131         [BZ #6808]
43132         * math/libm-test.inc (yn_test): Add another test.
43133         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
43134         to ERANGE when the result is +-Inf.
43135         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43136         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
43137         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
43138         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
43140 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
43142         * conform/data/time.h-data (NULL): Use macro-constant.  Require
43143         equal to 0.
43144         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
43145         clock_t.
43146         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
43148 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
43150         * configure.in <sysdeps resolving>: Correct printing
43151         Implies_before.
43152         * configure: Regenerate.
43154 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
43156         * math/w_ilogb.c: Include <limits.h>.
43157         * math/w_ilogbl.c: Likewise.
43159 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
43161         * manual/lang.texi (__va_copy): Document primarily as ISO C99
43162         va_copy.  Document allowing for unavailable va_copy only as
43163         pre-C99 compatibility.
43164         * manual/string.texi (Copying and Concatenation): Use va_copy
43165         instead of __va_copy in concat example.
43167 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
43169         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
43170         (__sendto): Use create_address_port.  Initialize APORT and deallocate
43171         it if not null.
43173         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
43174         with O_NOLINK passed to __file_name_lookup.
43176         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
43177         with O_NOLINK passed to __file_name_lookup.
43179         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
43180         negative N or less than NGIDS.
43182         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
43183         type to string_t.  Set ERANGE as errno and return it if NAME is not big
43184         enough.  Use memcpy instead of strncpy.
43186 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
43188         * elf/Makefile (check-data): Remove.
43189         (localplt.data): New vpath directive.
43190         ($(objpfx)check-localplt.out): Use localplt.data from vpath
43191         instead of $(check-data).
43192         * scripts/data/localplt-generic.data: Move to ...
43193         * sysdeps/generic/localplt.data: ... here.
43194         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
43195         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
43196         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
43197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43198         ... here.
43199         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
43200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43201         ... here.
43202         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
43203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
43204         ... here.
43205         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
43206         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
43207         ... here.
43208         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
43209         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
43210         ... here.
43211         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
43212         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
43213         ... here.
43215 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43217         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
43218         PPC32 and PPC64 files.
43219         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
43220         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
43222 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43224         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
43225         __makecontext_ret to ...
43226         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
43227         ... here and call exit if uc_link is NULL.  New file.
43228         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
43229         __makecontext_ret.S.
43230         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
43231         __makecontext_ret to ...
43232         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
43233         ... here and call exit if uc_link is NULL.  New file.
43234         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
43235         __makecontext_ret.S.
43237 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43239         * elf/elf.h (R_390_IRELATIVE): New definition.
43240         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
43241         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
43242         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
43243         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43244         (elf_machine_lazy_rel): Likewise.
43245         * sysdeps/s390/dl-irel.h: New file.
43246         * sysdeps/s390/s390-64/memcpy.S: New asm code.
43247         * sysdeps/s390/s390-64/memset.S: New asm code.
43248         * sysdeps/s390/s390-64/memcmp.S: New asm code.
43249         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
43250         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
43251         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
43252         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
43253         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
43254         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
43255         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
43256         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
43257         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
43258         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
43259         * sysdeps/s390/s390-32/memcpy.S: New asm code.
43260         * sysdeps/s390/s390-32/memset.S: New asm code.
43261         * sysdeps/s390/s390-32/memcmp.S: New asm code.
43263 2012-07-17  Marek Polacek  <polacek@redhat.com>
43265         [BZ #14349]
43266         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
43267         * sysdeps/s390/s390-64/configure.in: Likewise.
43268         * sysdeps/sparc/configure.in: Likewise.
43269         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
43270         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
43271         * sysdeps/i386/configure.in: Likewise.
43272         * sysdeps/x86_64/configure.in: Likewise.
43273         * sysdeps/sh/configure.in: Likewise.
43274         * sysdeps/s390/s390-32/configure: Regenerated.
43275         * sysdeps/s390/s390-64/configure: Likewise.
43276         * sysdeps/x86_64/configure: Likewise.
43277         * sysdeps/sh/configure: Likewise.
43278         * sysdeps/powerpc/powerpc64/configure: Likewise.
43279         * sysdeps/powerpc/powerpc32/configure: Likewise.
43280         * sysdeps/sparc/configure: Likwise.
43281         * sysdeps/i386/configure: Likewise.
43283         * elf/dl-open.c: Comment fixes.
43285 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
43287         * Makefile [CXX] (check-data): Remove.
43288         [CXX] (c++-types.data): New vpath directive.
43289         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
43290         vpath.  Do not allow for C++ type data being missing.
43291         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
43292         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
43293         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
43294         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
43295         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
43296         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
43297         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
43298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43299         ... here.
43300         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
43301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43302         ... here.
43303         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
43304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
43305         ... here.
43306         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
43307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
43308         ... here.
43309         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
43310         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
43311         ... here.
43312         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
43313         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
43314         ... here.
43315         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
43316         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
43317         ... here.
43318         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
43319         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
43321         * elf/tls-macros.h (TLS_LE): Move architecture-specific
43322         definitions to architecture-specific files.
43323         (TLS_IE): Likewise.
43324         (TLS_LD): Likewise.
43325         (TLS_GD): Likewise.
43326         * sysdeps/i386/tls-macros.h: New file.
43327         * sysdeps/powerpc/tls-macros.h: Likewise.
43328         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
43329         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
43330         * sysdeps/sh/tls-macros.h: Likewise.
43331         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
43332         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
43333         * sysdeps/x86_64/tls-macros.h: Likewise.
43335 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
43337         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
43338         zero value for regular exit case.
43340         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
43341         (__start_context): Preserve zero value for regular exit case.
43343 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
43344             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43346         * manual/setjmp.texi (setcontext): Clarify normal process
43347         termination when uc_link is the null pointer.
43348         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
43349         exit call.
43351 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
43353         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
43354         preprocessor.  Test for each exception mask separately.
43356 2012-07-16  Andreas Jaeger  <aj@suse.de>
43358         * po/ru.po: Update from translation team.
43360 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
43362         * conform/data/string.h-data (NULL): Use macro-constant.  Require
43363         equal to 0.
43364         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43365         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43366         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
43367         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
43368         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43370 2012-07-13  Andreas Jaeger  <aj@suse.de>
43372         * po/fr.po: Update from translation team.
43374 2012-07-12  Marek Polacek  <polacek@redhat.com>
43376         [BZ #14173]
43377         * math/libm-test.inc (yn_test): Add test for BZ #14173.
43378         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
43379         loop condition.
43381 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
43383         [BZ #13717]
43384         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43385         Change to 2.4.1 where previously 2.4.0.
43386         * sysdeps/unix/sysv/linux/configure: Regenerated.
43387         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
43388         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
43389         version.
43390         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
43391         (__ASSUME_AT_CLKTCK): Remove.
43392         (__ASSUME_AT_PAGESIZE): Likewise.
43393         (__ASSUME_AT_XID): Likewise.
43394         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
43395         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
43396         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
43397         unconditionally.
43398         (HAVE_AUX_PAGESIZE): Likewise.
43399         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
43400         [__ASSUME_AT_CLKTCK]: Make code unconditional.
43401         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
43403 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
43405         [BZ #14307]
43406         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
43407         the temporary buffer used to invoke __gethostbyname2_r,
43408         __gethostbyaddr_r and gethostbyname4_r to make room for struct
43409         host_data / struct gaih_addrtuple.
43410         * resolv/nss_dns/dns-host.c (global scope): Move definition of
43411         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
43412         header file nss/nsswitch.h.
43413         * nss/nsswitch.h (global scope): Add definition of implementation
43414         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
43415         resolv/nss_dns/dns-host.c).
43417 2012-07-11  Andreas Jaeger  <aj@suse.de>
43419         * po/fr.po: Update from translation team.
43421         * po/sv.po: Update from translation team
43422         * po/fr.po: Another update from translation team.
43424 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43426         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
43427         for subnormals or multiply small sinh result by itself.
43428         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43431 2012-07-11  David S. Miller  <davem@davemloft.net>
43433         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43435 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
43437         [BZ #14347]
43438         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
43439         (INTERNAL_MARK): Shift it here.
43441 2012-07-10  Marek Polacek  <polacek@redhat.com>
43443         [BZ #14151]
43444         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
43445         libc_cv_asm_global_directive with .globl.
43446         * configure: Regenerated.
43447         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
43448         with .globl.
43449         * sysdeps/i386/configure: Regenerated.
43450         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
43451         with .globl.
43452         * sysdeps/x86_64/configure: Regenerated.
43453         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
43454         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
43455         * elf/tst-unique2mod2.c: Likewise.
43456         * elf/tst-unique2mod1.c: Likewise.
43457         * elf/tst-unique1mod2.c: Likewise.
43458         * elf/tst-unique1mod1.c: Likewise.
43459         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43460         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43461         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43462         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43463         * sysdeps/mach/sysdep.h: Likewise.
43464         * sysdeps/i386/sysdep.h: Likewise.
43465         * sysdeps/i386/i386-mcount.S: Likewise.
43466         * sysdeps/x86_64/_mcount.S: Likewise.
43467         * sysdeps/x86_64/sysdep.h: Likewise.
43468         * sysdeps/sh/_mcount.S: Likewise.
43469         * sysdeps/sh/sysdep.h: Likewise.
43470         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
43471         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
43472         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
43473         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43474         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
43475         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
43476         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
43477         * locale/localeinfo.h: Likewise.
43478         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
43479         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
43481 2012-07-09  Roland McGrath  <roland@hack.frob.com>
43483         [BZ #14336]
43484         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
43485         system".
43486         * manual/message.texi (The Uniforum approach): Likewise.
43487         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
43488         (glibc iconv Implementation): Likewise.
43490 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
43492         [BZ #14337]
43493         * math/s_clog.c (__clog): Avoid scaling a value down where that
43494         could result in underflow.
43495         * math/s_clog10.c (__clog10): Likewise.
43496         * math/s_clog10f.c (__clog10f): Likewise.
43497         * math/s_clog10l.c (__clog10l): Likewise.
43498         * math/s_clogf.c (__clogf): Likewise.
43499         * math/s_clogl.c (__clogl): Likewise.
43500         * math/libm-test.inc (clog_test): Add more tests.
43501         (clog10_test): Likewise.
43502         * sysdeps/i386/fpu/libm-test-ulps: Update.
43503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43505 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
43507         [BZ #14283]
43508         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
43509         by 7 not 8 to examine high bit of fractional part.
43511         [BZ #14042]
43512         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
43513         for call to __mcount_internal.
43514         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
43515         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
43516         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
43518 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
43520         [BZ #14154]
43521         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
43522         approximation for values within 0x1p-13f of an odd multiple of
43523         pi/4.
43524         * math/libm-test.inc (tan_test): Do not allow spurious underflow
43525         exception.  Add more tests.
43526         * sysdeps/i386/fpu/libm-test-ulps: Update.
43528         [BZ #6778]
43529         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
43530         inputs and return -1 for them.  Do not check for +Inf in case not
43531         reachable for +Inf.
43532         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43533         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
43534         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43535         and return -1 for them.  Do not check for +Inf in case not
43536         reachable for +Inf.
43537         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
43538         define.
43539         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43540         and return -1 for them.  Do not check for +Inf in case not
43541         reachable for +Inf.
43542         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
43543         spurious underflow.
43544         * sysdeps/i386/fpu/libm-test-ulps: Update.
43545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43547 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
43549         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
43551 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
43553         [BZ #14157]
43554         [BZ #14331]
43555         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
43556         could result in spurious underflow.  Scale down values above
43557         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
43558         * math/s_csqrtf.c (__csqrtf): Likewise.
43559         * math/s_csqrtl.c (__csqrtl): Likewise.
43560         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
43561         spurious underflow.
43562         * sysdeps/i386/fpu/libm-test-ulps: Update.
43563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43565 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
43567         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
43568         xopen-msg.sed.
43569         * catgets/xopen-msg.awk: New file.
43570         * catgets/xopen-msg.sed: Removed.
43572         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
43573         po2text.sed.
43574         * intl/po2test.awk: New file.
43575         * intl/po2test.sed: Removed.
43577 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
43579         [BZ #14328]
43580         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
43581         or multiply small sinh result by itself.
43582         * math/s_ctanf.c (__ctanf): Likewise.
43583         * math/s_ctanh.c (__ctanh): Likewise.
43584         * math/s_ctanhf.c (__ctanhf): Likewise.
43585         * math/s_ctanhl.c (__ctanhl): Likewise.
43586         * math/s_ctanl.c (__ctanl): Likewise.
43587         * math/libm-test.inc (ctan_test_tonearest): New function.
43588         (ctan_test_towardzero): Likewise.
43589         (ctan_test_downward): Likewise.
43590         (ctan_test_upward): Likewise.
43591         (ctanh_test_tonearest): Likewise.
43592         (ctanh_test_towardzero): Likewise.
43593         (ctanh_test_downward): Likewise.
43594         (ctanh_test_upward): Likewise.
43595         (main): Call these new functions.
43596         * sysdeps/i386/fpu/libm-test-ulps: Update.
43597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43599 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
43601         * .gitignore: Delete /ports entry.
43603 2012-07-03  Andreas Jaeger  <aj@suse.de>
43605         * po/bg.po: Update from translation team.
43606         * po/cs.po: Likewise.
43607         * po/de.po: Likewise.
43608         * po/hr.po: Likewise.
43609         * po/nl.pl: Likewise.
43610         * po/pl.po: Likewise.
43611         * po/vi.po: Likewise.
43613 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
43615         * Makeconfig [!+link] (+link-before-libc): New variable.
43616         [!+link] (+link-after-libc): Likewise.
43617         [!+link] (+link-tests): Likewise.
43618         [!+link] (+link): Define in terms of $(+link-before-libc) and
43619         $(+link-after-libc).
43620         [!+link-static] (+link-static-before-libc): New variable.
43621         [!+link-static] (+link-static-after-libc): Likewise.
43622         [!+link-static] (+link-static-tests): Likewise.
43623         [!+link-static] (+link-static): Define in terms of
43624         $(+link-static-before-libc) and $(+link-static-after-libc).
43625         [build-shared] (link-libc-before-gnulib): New variable.
43626         [build-shared] (link-libc-tests): Likewise.
43627         [build-shared] (link-libc): Define in terms of
43628         $(link-libc-before-gnulib).
43629         [!build-shared] (link-libc-tests): New variable.
43630         (link-libc-static-tests): New variable.
43631         [!gnulib] (gnulib-arch): New variable.
43632         [!gnulib] (gnulib-tests): Likewise.
43633         [!gnulib] (static-gnulib-arch): Likewise.
43634         [!gnulib] (static-gnulib-tests): Likewise.
43635         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
43636         Define with "=" instead of ":=".
43637         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
43638         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
43639         * Rules (binaries-all-notests): New variable.
43640         (binaries-all-tests): Likewise.
43641         (binaries-static-notests): Likewise.
43642         (binaries-static-tests): Likewise.
43643         (binaries-all): Define using $(binaries-all-notests) and
43644         $(binaries-all-tests).
43645         (binaries-static): Define using $(binaries-static-notests) and
43646         $(binaries-static-tests).
43647         (binaries-shared-tests): New variable.
43648         (binaries-shared-notests): Likewise.
43649         (binaries-shared): Remove variable.
43650         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
43651         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
43652         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
43653         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
43654         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
43655         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
43656         * elf/Makefile (sln-modules): New variable.
43657         (extra-objs): Add $(sln-modules:=.o).
43658         (ldconfig-modules): Add static-stubs.
43659         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
43660         * elf/static-stubs.c: New file.
43662         [BZ #14283]
43663         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
43664         by 7 not 8 to examine high bit of fractional part.  Use volatile
43665         variables when splitting into final array of floats if
43666         __FLT_EVAL_METHOD__ != 0.
43667         * math/libm-test.inc (cos_test): Add another test.
43668         (sin_test): Likewise.
43669         * sysdeps/i386/fpu/libm-test-ulps: Update.
43671         [BZ #14273]
43672         * math/libm-test.inc (cosh_test): Add more tests.
43674         * version.h (RELEASE): Set to "development".
43675         (VERSION): Set to "2.16.90".
43677 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
43679         * NEWS: Update copyright. Remove last-updated date.
43680         Mention math library bug fixes and timezone data changes.
43681         * README: Mention GNU/Hurd, x32, and HPPA support status.
43683 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
43685         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
43687 2012-06-27  Andreas Jaeger  <aj@suse.de>
43689         * manual/contrib.texi (Contributors): Add Samuel Thibault.
43691 2012-06-25  Andreas Jaeger  <aj@suse.de>
43693         * sysdeps/s390/fpu/libm-test-ulps: Update.
43695 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
43696             Thomas Schwinge  <thomas@codesourcery.com>
43698         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
43699         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
43700         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
43701         fanotify_mark.
43703 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
43705         * sysdeps/mach/start.c: Remove file.
43706         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
43707         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
43708         * sysdeps/sh/init-first.c: Likewise.
43710         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
43711         registers for frame unwinding purposes, add CFI directives.
43712         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43713         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
43714         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
43715         Likewise.
43717         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
43718         __fortify_fail returning.
43719         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43721         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
43722         sysdeps/sh/____longjmp_chk.S.
43723         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
43724         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
43725         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
43726         (gen-as-const-headers): Append sigaltstack-offsets.sym.
43728         * sysdeps/sh/abort-instr.h: New file.
43729         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
43730         process in case exit returns.
43732         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
43733         initialize the GOT register before use.
43735         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
43736         calculation of ARGC > 4.
43738         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
43739         meaningful names to some local labels.
43741 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43742             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43744         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
43745         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
43746         (__arch_compare_and_exchange_val_16_acq): Likewise.
43747         (__arch_compare_and_exchange_val_32_acq): Likewise.
43748         (atomic_exchange_and_add): Fix gUSA sequence.
43749         (atomic_add): Likewise.
43750         (atomic_add_negative): Likewise.
43751         (atomic_add_zero): Likewise.
43752         (atomic_bit_test_set): Likewise.
43754 2012-06-22  Andreas Schwab  <schwab@redhat.com>
43756         [BZ #13579]
43757         * include/link.h (struct link_map): Add l_free_initfini.
43758         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
43759         l_initfini.
43760         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
43761         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
43762         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
43763         set.
43765 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
43767         * configure.in: Use AC_LANG_SOURCE.
43768         * configure: Regenerate.
43770 2012-06-22  Roland McGrath  <roland@hack.frob.com>
43772         * configure.in (libc_cv_localstatedir): New substituted variable.
43773         * configure: Regenerated.
43774         * config.make.in (localstatedir): New variable, substituted from
43775         libc_cv_localstatedir.
43776         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
43777         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
43778         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
43779         * sysdeps/gnu/configure: Regenerated.
43781 2012-06-21  Jeff Law  <law@redhat.com>
43783         [BZ #14277]
43784         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
43785         free.  Simplify list management for _LIBC case.
43787 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
43789         [BZ #14273]
43790         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
43791         Clear sign bit of 64-bit integer value before comparing against
43792         overflow value.
43794         * sysdeps/mach/configure: Regenerated.
43796 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
43798         [BZ #14278]
43799         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
43801 2012-06-21  Jeff Law  <law@redhat.com>
43803         [BZ #13882]
43804         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
43805         uint16_t for elements in the "seen" array to avoid char overflows.
43806         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43807         * elf/dl-open.c (dl_open_worker): Likewise.
43809 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
43811         * scripts/list-sources.sh: Scan PORTS for translations.
43812         * po/libc.pot: Regenerated.
43814 2012-06-21  Andreas Jaeger  <aj@suse.de>
43816         [BZ #12194]
43817         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
43818         warning.
43819         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
43820         * bits/byteswap-16.h (__bswap_16): Likewise.
43821         * bits/byteswap.h (__bswap_constant_16): Likewise.
43823 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
43825         [BZ #14117]
43826         * sysdeps/i386/fpu_control.h: Removed.
43827         * sysdeps/x86_64/fpu_control.h: Moved to ...
43828         * sysdeps/x86/fpu_control.h: Here.
43830         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
43831         (_FPU_SETCW): Likewise.
43833 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
43835         [BZ #14117]
43836         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
43837         * sysdeps/x86/fpu/bits/mathinline.h: This.
43838         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
43840         [BZ #14050]
43841         [BZ #14117]
43842         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
43843         functions if __x86_64__ is defined.
43845 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
43847         * string/endian.h: Add !__ASSEMBLER__ condition for including
43848         conversion interfaces.
43850 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
43852         [BZ #14241]
43853         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
43854         of ABS(x) in calculating zero to negative powers other than odd
43855         integers.
43856         * math/libm-test.inc (pow_test): Add more tests.
43858 2012-06-15  Andreas Jaeger  <aj@suse.de>
43860         * manual/contrib.texi (Contributors): Update entry of Liubov
43861         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
43862         Machado Filho.
43864 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
43866         * string/string.h: Add __wur to GNU version of strerror_r.
43868 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
43870         [BZ #14229]
43871         * string/Makefile (tests): Add tst-strtok_r.
43872         * string/tst-strtok_r.c: New file.
43873         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
43874         RAX_LP/RDX_LP on SAVE_PTR.
43876 2012-06-14  Roland McGrath  <roland@hack.frob.com>
43878         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
43880 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
43882         * libm_test.inc (csqrt_test): Allow more spurious underflow
43883         exceptions.
43884         (j0_test): Likewise.
43885         (j1_test): Likewise.
43886         (y0_test): Likewise.
43887         (y1_test): Likewise.
43889 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
43891         * po/Makefile (libc.pot): Use UTF-8 charset.
43893 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
43895         [BZ #14210]
43896         Suppress sign-conversion warning from FD_SET.
43897         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
43898         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
43899         not unsigned long int.
43900         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
43902 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
43904         [BZ #14050]
43905         [BZ #14117]
43906         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
43907         __extern_always_inline instead of __extern_inline.
43908         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
43909         (__signbit): Likewise.
43910         (__signbitl): Support C++ namespace.
43911         (lrintf): New inline function.
43912         (lrint): Likewise.
43913         (llrintf): Likewise.
43914         (llrint): Likewise.
43915         (fmaxf): Likewise.
43916         (fmax): Likewise.
43917         (fminf): Likewise.
43918         (fmin): Likewise.
43919         (rint): Likewise.
43920         (rintf): Likewise.
43921         (ceil): Likewise.
43922         (ceilf): Likewise.
43923         (floor): Likewise.
43924         (floorf): Likewise.
43925         (nearbyint): Likewise.
43926         (nearbyintf): Likewise.
43928 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
43930         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
43931         non-default versions.
43933 2012-06-11  Roland McGrath  <roland@hack.frob.com>
43935         [BZ #14218]
43936         * manual/argp.texi (Argp): Reword argp_parse description slightly.
43938 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
43940         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
43941         (FE_UPWARD, FE_DOWNWARD): Don't define.
43942         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
43943         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43945         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
43946         reading it.
43947         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43948         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43950 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43952         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43953         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
43954         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
43955         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
43957 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
43959         [BZ #14117]
43960         * sysdeps/i386/fpu/bits/fenv.h: Removed.
43961         * sysdeps/i386/fpu/Implies: New file.
43962         * sysdeps/x86_64/fpu/Implies: Likewise.
43963         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
43964         * sysdeps/x86/fpu/bits/fenv.h: This.
43966         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
43967         __SSE_MATH__.
43969 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43971         [BZ #14134]
43972         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
43973         character 0xffff that matches the last element of the
43974         conversion table.
43976 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43978         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
43979         fmodl commit.
43981 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43983         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
43984         values higher than 25.6283.
43986 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43988         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
43989         subnormal exponent extraction and add some __builtin_expect.
43990         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
43991         Fix for subnormal mantissa calculation.
43993 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
43995         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
43996         cpu2 is -1 and errno is not ENOSYS.
43998 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
44000         [BZ #14117]
44001         * sysdeps/i386/i486/bits/string.h: Renamed to ...
44002         * sysdeps/x86/bits/string.h: This.
44003         * sysdeps/x86_64/bits/string.h: Removed.
44005         * sysdeps/i386/i486/bits/string.h: Define inline functions only
44006         if not compiling for x86-64, but compiling for >= i486.
44008         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
44009         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
44011         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
44012         New macro from Linux kernel 3.4.0.
44013         (FP_XSTATE_MAGIC2): Likewise.
44014         (FP_XSTATE_MAGIC2_SIZE): Likewise.
44015         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
44016         (struct _fpx_sw_bytes): New struct.
44017         (struct _xsave_hdr): Likewise.
44018         (struct _ymmh_state): Likewise.
44019         (struct _xstate): Likewise.
44021         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
44022         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
44023         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
44024         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
44025         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
44026         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
44028         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
44029         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
44030         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
44031         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
44032         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
44033         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
44035 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44037         [BZ #13743]
44038         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
44039         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
44040         (sysdep_headers): Include sys/platform/ppc.h.
44041         * sysdeps/powerpc/test-gettimebase.c: Test for
44042         __ppc_get_timebase() to catch future ISA opcode/insn changes.
44043         * manual/Makefile (appendices): Include platform.texi.
44044         * manual/contrib.texi (Contributors): Update @node pointers.
44045         * manual/maint.texi (Maintenance): Likewise.
44046         (Platform): New node.
44047         * manual/platform.texi: New file.  Document the new features.
44049 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44050             Jakub Jelinek  <jakub@redhat.com>
44052         [BZ #14188]
44053         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
44054         where __builtin_expect is unavailable.
44056 2012-06-03  David S. Miller  <davem@davemloft.net>
44058         * stdlib/longlong.h: Updated from GCC.
44060 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
44062         [BZ #14042]
44063         * sysdeps/powerpc/powerpc32/mcount.c: New file.
44064         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
44065         __mcount_internal.
44066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44067         (GLIBC_2.16): Likewise.
44069 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44071         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
44073 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
44075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
44076         (default-abi): New variable.
44077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
44078         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
44079         variable.
44080         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
44081         Likewise.
44082         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
44083         Likewise.
44084         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
44085         Likewise.
44087         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
44088         definition.  Document in comment.
44090 2012-06-01  David S. Miller  <davem@davemloft.net>
44092         * stdlib/longlong.h: Updated from GCC.
44094 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44096         [BZ #14117]
44097         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
44098         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
44099         sys/debugreg.h sys/io.h here.
44100         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
44101         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
44102         sys/io.h.
44103         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
44104         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
44105         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
44106         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
44107         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
44108         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
44110         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
44111         Define only if __x86_64__ is defined.
44113 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
44115         [BZ #14048]
44116         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
44117         Use int64_t for variable i.
44118         * math/libm-test.inc (fmod_test): Add more tests.
44120         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
44121         z computation is not scheduled after fetestexcept.
44122         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
44123         Use math_force_eval instead of asm to ensure calculation scheduled
44124         before exception test.
44125         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
44126         Ensure a1 + u.d computation is not scheduled after fetestexcept.
44128 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
44130         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
44131         computation is not scheduled after fetestexcept.
44133 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44135         [BZ #14117]
44136         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
44137         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
44139 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44141         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
44142         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44144 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
44146         [BZ #14117]
44147         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
44148         <bits/wordsize.h>.
44149         (__WCHAR_MIN): Support __WORDSIZE == 64.
44150         (__WCHAR_MAX): Likewise.
44152         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
44153         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
44155         [BZ #14183]
44156         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
44157         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
44159         [BZ #14117]
44160         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
44161         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
44163         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
44164         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
44166         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
44167         Defined to 1 if __x86_64__ isn't defined.
44168         (_STAT_VER_LINUX_OLD): New.
44169         (st_atime): Remove duplicate.
44170         (st_mtime): Likewise.
44171         (st_ctime): Likewise.
44173 2012-05-31  David S. Miller  <davem@davemloft.net>
44175         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
44176         entries.
44178 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
44180         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
44181         gen-libm-test.pl.
44183         [BZ #14132]
44184         * elf/dl-reloc.c: Include <_itoa.h>.
44185         (_dl_reloc_bad_type): Remove use of INTUSE.
44186         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
44187         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
44188         * stdio-common/psiginfo.c (psiginfo): Likewise.
44189         * stdio-common/psignal.c (psignal): Likewise.
44190         * string/strsignal.c (strsignal): Likewise.
44191         * include/signal.h (_sys_siglist): Declare hidden proto.
44192         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
44193         INTVARDEF with libc_hidden_data_def.
44194         * stdio-common/itoa-udigits.c: Likewise.
44195         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
44196         (_itoa_lower_digits_internal): Remove declaration.
44197         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
44198         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
44199         (_sys_sigabbrev_internal): Remove aliases.
44200         (_sys_siglist): Define hidden alias.
44202 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
44204         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44205         bits/sysctl.h.
44207 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
44209         [BZ #14117]
44210         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
44211         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
44213         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
44214         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
44215         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
44216         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
44217         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
44218         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
44220         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
44221         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
44222         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
44224         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
44225         with __addr.
44226         (insw): Likewise.
44227         (insl): Likewise.
44228         (outsb): Likewise.
44229         (outsw): Likewise.
44230         (outsl): Likewise.
44232         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
44233         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
44234         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
44236         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
44237         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
44238         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
44239         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
44240         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
44241         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
44243         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
44244         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
44246         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
44247         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
44249         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
44250         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
44251         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
44253         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
44254         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
44255         to ...
44256         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
44258         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
44259         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
44260         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
44262         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
44263         for x86-64.
44264         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
44266 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
44268         * math/math.h (M_El): Use two more decimal places.
44269         (M_LOG2El): Likewise.
44270         (M_LOG10El): Likewise.
44271         (M_LN2l): Likewise.
44272         (M_LN10l): Likewise.
44273         (M_PIl): Likewise.
44274         (M_PI_2l): Likewise.
44275         (M_PI_4l): Likewise.
44276         (M_1_PIl): Likewise.
44277         (M_2_PIl): Likewise.
44278         (M_2_SQRTPIl): Likewise.
44279         (M_SQRT2l): Likewise.
44280         (M_SQRT1_2l): Likewise.
44282 2012-05-31  David S. Miller  <davem@davemloft.net>
44284         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
44285         values between float registers.
44286         * sysdeps/sparc/sparc64/memset.S: Likewise.
44287         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44289 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
44291         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
44292         -D_FORTIFY_SOURCE=1.
44293         (CPPFLAGS-tst-longjmp_chk.c): Define.
44294         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
44295         (CPPFLAGS-tst-longjmp_chk2.c): Define.
44296         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
44297         CFLAGS-tst-wchar-h.c.
44299 2012-05-31  Marek Polacek  <polacek@redhat.com>
44301         [BZ #14132]
44302         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
44303         __endmntent_internal): Remove declaration.
44304         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
44305         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
44306         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
44308 2012-05-30  David S. Miller  <davem@davemloft.net>
44310         * sysdeps/sparc/sparc32/soft-fp/q_util.c
44311         (___Q_simulate_exceptions): Use real FP ops rather than writing
44312         into the %fsr.
44313         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
44314         Likewise.
44316 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44318         [BZ #14117]
44319         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
44320         * sysdeps/x86/bits/xtitypes.h: This.
44322         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
44323         * sysdeps/x86/bits/wordsize.h: This.
44325         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
44326         * sysdeps/x86/bits/huge_vall.h: This.
44328         * sysdeps/i386/bits/select.h: Removed.
44329         * sysdeps/x86_64/bits/select.h: Renamed to ...
44330         * sysdeps/x86/bits/select.h: This.
44332         * sysdeps/i386/bits/setjmp.h: Removed.
44333         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
44334         * sysdeps/x86/bits/setjmp.h: This.
44336         * sysdeps/i386/bits/mathdef.h: Removed.
44337         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
44338         * sysdeps/x86/bits/mathdef.h: This.
44340 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
44342         [BZ #14132]
44343         * include/sys/socket.h (__connect_internal)
44344         (__libc_sa_len_internal): Remove declaration.
44345         (__connect, __libc_sa_len): Declare hidden_proto.
44346         (SA_LEN): Remove use of INTUSE.
44347         * socket/connect.c: Add libc_hidden_def.
44348         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
44349         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
44350         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
44351         alias.
44352         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
44353         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
44354         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
44355         of adding _internal alias.
44357 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44359         [BZ #14117]
44360         * sysdeps/i386/bits/link.h: Removed.
44361         * sysdeps/i386/bits/linkmap.h: Likewise.
44362         * sysdeps/x86_64/bits/link.h: Renamed to ...
44363         * sysdeps/x86/bits/link.h: This.
44364         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
44365         * sysdeps/x86/bits/linkmap.h: This.
44367         * sysdeps/i386/bits/endian.h: Removed.
44368         * sysdeps/x86_64/bits/endian.h: Renamed to ...
44369         * sysdeps/x86/bits/endian.h: This.
44371         * sysdeps/i386/bits/byteswap.h: Removed.
44372         * sysdeps/i386/bits/byteswap-16.h: Likewise.
44373         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
44374         * sysdeps/x86/bits/byteswap.h: This.
44375         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
44376         * sysdeps/x86/bits/byteswap-16.h: This.
44377         * sysdeps/i386/Implies: Add x86.
44378         * sysdeps/x86_64/Implies: Likewise.
44380 2012-05-30  David S. Miller  <davem@davemloft.net>
44382         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
44383         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
44384         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44385         (FP_TRAPPING_EXCEPTIONS): Define.
44386         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44387         (FP_TRAPPING_EXCEPTIONS): Define.
44388         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
44389         subnormals only when inexact has been signalled or underflow
44390         exceptions are enabled.
44391         (_FP_PACK_CANONICAL): Likewise.
44393 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44395         [BZ #14183]
44396         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
44397         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
44399 2012-05-30  Richard Henderson  <rth@twiddle.net>
44401         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
44402         with #ifndef NOT_IN_libc.
44404         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
44405         marked to avoid plt entry.
44407 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44409         [BZ #14112]
44410         * Makeconfig (default-abi): New macro.
44411         (abi-includes): Likewise.
44412         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
44413         $(abi-$(default-abi)-lib-soname) for soname if defined.
44414         ($(common-objpfx)gnu/lib-names.stmp): Generate from
44415         abi-variants.
44416         * Makefile (installed-stubs): Likewise.
44417         * include/stubs-biarch.h: Removed.
44418         * scripts/lib-names.awk: Only handle one library at a time.
44419         * scripts/soversions.awk: Remove WORDSIZE support.
44420         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
44421         entries.
44422         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
44423         Removed.
44424         (syscall-list-default-condition): Likewise.
44425         (syscall-list-default-condition): Likewise.
44426         (syscall-list-includes): Likewise.
44427         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
44428         syscall-list-* with abi-*.  Handle undefined abi-variants.
44429         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
44430         * sysdeps/unix/sysv/linux/i386/Implies: New file.
44431         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
44432         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
44433         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
44434         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
44435         Removed.
44436         (syscall-list-32-options): Likewise.
44437         (syscall-list-32-condition): Likewise.
44438         (syscall-list-64-options): Likewise.
44439         (syscall-list-64-condition): Likewise.
44440         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
44441         macro.
44442         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
44443         Renamed to ...
44444         (abi-*): This.
44445         (abi-64-ld-soname): New macro.
44446         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
44447         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
44448         Renamed to ...
44449         (abi-*): This.
44450         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
44451         * sysdeps/x86_64/x32/shlib-versions: Likewise.
44453 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
44455         * sysdeps/unix/sysv/linux/kernel-features.h
44456         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
44457         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
44458         include <kernel-features.h>.
44459         [!__NR_ftruncate64]: Remove conditional code.
44460         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44461         [__NR_ftruncate64]: Make code unconditional.
44462         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44463         * sysdeps/unix/sysv/linux/truncate64.c: Do not
44464         include <kernel-features.h>.
44465         [!__NR_ftruncate64]: Remove conditional code.
44466         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44467         [__NR_ftruncate64]: Make code unconditional.
44468         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
44470         include <kernel-features.h>.
44471         [!__NR_ftruncate64]: Remove conditional code.
44472         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44473         [__NR_ftruncate64]: Make code unconditional.
44474         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
44476         include <kernel-features.h>.
44477         [!__NR_ftruncate64]: Remove conditional code.
44478         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44479         [__NR_ftruncate64]: Make code unconditional.
44480         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44482         * configure.in (libc_cv_fpie): Weaken to a compile test using
44483         LIBC_TRY_CC_OPTION.
44484         * configure: Regenerated.
44486 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44488         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
44489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
44490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
44491         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44492         Refreshed.
44493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
44494         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
44495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
44496         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
44497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
44498         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44499         Refreshed.
44501 2012-05-27  David S. Miller  <davem@davemloft.net>
44503         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
44504         (___Q_zero): New.
44505         (__Q_simulate_exceptions): Return void.  Change to simulate
44506         exceptions by writing into the %fsr.
44507         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
44508         (__Qp_handle_exceptions): Likewise.
44509         (numbers): Delete.
44510         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
44511         __Qp_handle_exceptions.
44512         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
44513         __Qp_handle_exceptions.
44514         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44515         as unused and give dummy FP_RND_NEAREST initializer.
44516         (FP_INHIBIT_RESULTS): Define.
44517         (___Q_simulate_exceptions): Update declaration.
44518         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
44519         formatting.
44520         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44521         as unused and give dummy FP_RND_NEAREST initializer.
44522         (__Qp_handle_exceptions): Update declaration.
44523         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
44524         formatting.
44526 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
44528         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
44529         the temporary FPU control word.
44530         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
44531         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
44532         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
44533         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44534         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44535         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
44536         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
44537         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44538         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
44539         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
44540         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44542 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44544         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
44545         fields.
44547 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
44549         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
44550         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
44551         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
44552         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
44553         Likewise.
44554         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
44555         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
44556         Likewise.
44558 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
44560         * po/h.po: Update from translation team.
44562 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
44564         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
44566         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
44567         handling of denormals.
44568         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44569         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44570         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44571         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44572         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44573         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
44574         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
44575         Likewise.
44577 2012-05-26  Marek Polacek  <polacek@redhat.com>
44579         [BZ #14152]
44580         * math/libm-test.inc (fma_test): Don't always expect underflow
44581         exception.
44583 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44585         [BZ #12416]
44586         * elf/tst-execstack.c: Include stackinfo.h.
44587         (do_test): Adjust test case to ensure that pthread_getattr_np
44588         behaviour remains the same after marking stack executable.
44590 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
44592         * sysdeps/unix/sysv/linux/kernel-features.h
44593         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
44594         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
44595         kernel-features.h.
44596         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44597         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44598         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
44599         kernel-features.h.
44600         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44601         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44603 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
44605         * configure.in: Define the default includes to being none.
44606         * configure: Regenerated.
44608 2012-05-25  Roland McGrath  <roland@hack.frob.com>
44610         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
44611         * sysdeps/x86_64/setjmp.S: Likewise.
44612         * sysdeps/i386/bsd-setjmp.S: Likewise.
44613         * sysdeps/i386/bsd-_setjmp.S: Likewise.
44614         * sysdeps/i386/setjmp.S: Likewise.
44615         * sysdeps/i386/__longjmp.S: Likewise.
44616         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44617         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
44619         * include/stap-probe.h: New file.
44620         * configure.in: Handle --enable-systemtap.
44621         * configure: Regenerated.
44622         * config.h.in (USE_STAP_PROBE): New #undef.
44623         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
44624         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
44625         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
44627 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
44629         [BZ #13717]
44630         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44631         to 2.4.0 where earlier.
44632         * sysdeps/unix/sysv/linux/configure: Regenerated.
44633         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
44634         <kernel-features.h>.
44635         [__ASSUME_32BITUIDS]: Make code unconditional.
44636         [!__ASSUME_32BITUIDS]: Remove conditional code.
44637         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
44638         <kernel-features.h>.
44639         [__ASSUME_32BITUIDS]: Make code unconditional.
44640         [!__ASSUME_32BITUIDS]: Remove conditional code.
44641         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
44642         [__ASSUME_32BITUIDS]: Make code unconditional.
44643         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
44644         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
44645         <kernel-features.h>.
44646         [__ASSUME_32BITUIDS]: Make code unconditional.
44647         [!__ASSUME_32BITUIDS]: Remove conditional code.
44648         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
44649         <kernel-features.h>.
44650         [__ASSUME_32BITUIDS]: Make code unconditional.
44651         [!__ASSUME_32BITUIDS]: Remove conditional code.
44652         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
44653         <kernel-features.h>.
44654         [__ASSUME_32BITUIDS]: Make code unconditional.
44655         [!__ASSUME_32BITUIDS]: Remove conditional code.
44656         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
44657         <kernel-features.h>.
44658         [__ASSUME_32BITUIDS]: Make code unconditional.
44659         [!__ASSUME_32BITUIDS]: Remove conditional code.
44660         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
44661         <kernel-features.h>.
44662         [__ASSUME_32BITUIDS]: Make code unconditional.
44663         [!__ASSUME_32BITUIDS]: Remove conditional code.
44664         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
44665         <kernel-features.h>.
44666         [__ASSUME_32BITUIDS]: Make code unconditional.
44667         [!__ASSUME_32BITUIDS]: Remove conditional code.
44668         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
44669         <kernel-features.h>.
44670         [__ASSUME_32BITUIDS]: Make code unconditional.
44671         [!__ASSUME_32BITUIDS]: Remove conditional code.
44672         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
44673         <kernel-features.h>.
44674         [__ASSUME_32BITUIDS]: Make code unconditional.
44675         [!__ASSUME_32BITUIDS]: Remove conditional code.
44676         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
44677         <kernel-features.h>.
44678         [__ASSUME_32BITUIDS]: Make code unconditional.
44679         [!__ASSUME_32BITUIDS]: Remove conditional code.
44680         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
44681         <kernel-features.h>.
44682         [__ASSUME_32BITUIDS]: Make code unconditional.
44683         [!__ASSUME_32BITUIDS]: Remove conditional code.
44684         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
44685         <kernel-features.h>.
44686         [__NR_setresgid] (__setresgid): Do not declare.
44687         [__ASSUME_32BITUIDS]: Make code unconditional.
44688         [!__ASSUME_32BITUIDS]: Remove conditional code.
44689         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
44690         <kernel-features.h>.
44691         [__NR_setresuid] (__setresuid): Do not declare.
44692         [__ASSUME_32BITUIDS]: Make code unconditional.
44693         [!__ASSUME_32BITUIDS]: Remove conditional code.
44694         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
44695         <kernel-features.h>.
44696         [__ASSUME_32BITUIDS]: Make code unconditional.
44697         [!__ASSUME_32BITUIDS]: Remove conditional code.
44698         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
44699         <kernel-features.h>.
44700         [__ASSUME_32BITUIDS]: Make code unconditional.
44701         [!__ASSUME_32BITUIDS]: Remove conditional code.
44702         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
44703         <kernel-features.h>.
44704         [__ASSUME_32BITUIDS]: Make code unconditional.
44705         [!__ASSUME_32BITUIDS]: Remove conditional code.
44706         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
44707         <kernel-features.h>.
44708         [__ASSUME_32BITUIDS]: Make code unconditional.
44709         [!__ASSUME_32BITUIDS]: Remove conditional code.
44710         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
44711         <kernel-features.h>.
44712         [__ASSUME_32BITUIDS]: Make code unconditional.
44713         [!__ASSUME_32BITUIDS]: Remove conditional code.
44714         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
44715         <kernel-features.h>.
44716         [__ASSUME_32BITUIDS]: Make code unconditional.
44717         [!__ASSUME_32BITUIDS]: Remove conditional code.
44718         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
44719         <kernel-features.h>.
44720         [__ASSUME_32BITUIDS]: Make code unconditional.
44721         [!__ASSUME_32BITUIDS]: Remove conditional code.
44722         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
44723         <kernel-features.h>.
44724         [__ASSUME_32BITUIDS]: Make code unconditional.
44725         [!__ASSUME_32BITUIDS]: Remove conditional code.
44726         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
44727         <kernel-features.h>.
44728         [__ASSUME_32BITUIDS]: Make code unconditional.
44729         [!__ASSUME_32BITUIDS]: Remove conditional code.
44730         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
44731         <kernel-features.h>.
44732         [__ASSUME_32BITUIDS]: Make code unconditional.
44733         [!__ASSUME_32BITUIDS]: Remove conditional code.
44734         * sysdeps/unix/sysv/linux/kernel-features.h
44735         (__ASSUME_SETRESUID_SYSCALL): Remove.
44736         (__ASSUME_SETRESGID_SYSCALL): Likewise.
44737         (__ASSUME_32BITUIDS): Likewise.
44738         (__ASSUME_LDT_WORKS): Likewise.
44739         (__ASSUME_O_DIRECTORY): Likewise.
44740         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
44741         architecture but not kernel version.
44742         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
44743         (__ASSUME_MMAP2_SYSCALL): Likewise.
44744         (__ASSUME_STAT64_SYSCALL): Likewise.
44745         (__ASSUME_IPC64): Likewise.
44746         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
44747         <kernel-features.h>.
44748         [__ASSUME_32BITUIDS]: Make code unconditional.
44749         [!__ASSUME_32BITUIDS]: Remove conditional code.
44750         * sysdeps/unix/sysv/linux/opendir.c: Do not include
44751         <kernel-features.h>.
44752         [__ASSUME_O_DIRECTORY]: Make code unconditional.
44753         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
44754         132096]: Remove conditional code.
44755         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
44756         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
44757         <kernel-features.h>.
44758         [__ASSUME_32BITUIDS]: Make code unconditional.
44759         [!__ASSUME_32BITUIDS]: Remove conditional code.
44760         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
44761         <kernel-features.h>.
44762         [__ASSUME_32BITUIDS]: Make code unconditional.
44763         [!__ASSUME_32BITUIDS]: Remove conditional code.
44764         * sysdeps/unix/sysv/linux/setegid.c: Do not include
44765         <kernel-features.h>.
44766         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
44767         unconditional.
44768         (__setresgid): Do not declare.
44769         [__ASSUME_32BITUIDS]: Make code unconditional.
44770         [!__ASSUME_32BITUIDS]: Remove conditional code.
44771         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
44772         <kernel-features.h>.
44773         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
44774         unconditional.
44775         (__setresuid): Do not declare.
44776         [__ASSUME_32BITUIDS]: Make code unconditional.
44777         [!__ASSUME_32BITUIDS]: Remove conditional code.
44778         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
44779         <kernel-features.h>.
44780         [__ASSUME_32BITUIDS]: Make code unconditional.
44781         [!__ASSUME_32BITUIDS]: Remove conditional code.
44782         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
44783         <kernel-features.h>.
44784         [__ASSUME_32BITUIDS]: Make code unconditional.
44785         [!__ASSUME_32BITUIDS]: Remove conditional code.
44787 2012-05-25  Richard Henderson  <rth@twiddle.net>
44789         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
44790         dl_hwcap to ifunc resolver.
44791         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
44792         elf_ifunc_invoke.
44793         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
44794         dl_hwcap to ifunc resolver.
44795         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
44797 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
44799         [BZ #14153]
44800         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
44801         for |x| <= 2**-26, not 2**-57.
44802         * math/libm-test.inc (acos_test): Do not allow spurious underflow
44803         exception.
44805 2012-05-24  Jeff Law  <law@redhat.com>
44807         * stdio-common/Makefile (tests): Add bug25.
44808         * stdio-common/bug25.c: New test.
44810 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
44812         [BZ #13576]
44813         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
44814         multiple of MALLOC_ALIGNMENT in size.
44815         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
44817 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
44819         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
44820         Require >= 256.
44821         (FILENAME_MAX): Use macro-int-constant.
44822         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
44823         (_IOFBF): Use macro-int-constant.
44824         (_IOLBF): Likewise.
44825         (_IONBF): Likewise.
44826         (SEEK_CUR): Likewise.
44827         (SEEK_END): Likewise.
44828         (SEEK_SET): Likewise.
44829         (TMP_MAX): Likewise.
44830         (EOF): Use macro-int-constant.  Require < 0.
44831         (NULL): Use macro-constant.  Require == 0.
44832         (stdin): Require type to be FILE *.
44833         (stdout): Likewise.
44834         (stderr): Likewise.
44835         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
44836         macro-int-constant.
44837         (EXIT_SUCCESS): Likewise.
44838         (NULL): Use macro-constant.  Require == 0.
44839         (RAND_MAX): Use macro-int-constant.
44840         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
44841         [C99-based standards] (strtof): Require function.
44842         [C99-based standards] (strtold): Likewise.
44843         [C99-based standards] (strtoll): Likewise.
44844         [C99-based standards] (strtoull): Likewise.
44845         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44846         [ISO || ISO99 || ISO11] (limits.h): Likewise.
44847         [ISO || ISO99 || ISO11] (math.h): Likewise.
44848         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
44849         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44850         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44852 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
44854         [BZ #14132]
44855         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
44856         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
44857         * intl/dgettext.c (DCGETTEXT): Likewise.
44858         * intl/gettext.c (DCGETTEXT): Likewise.
44859         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
44860         * posix/regex_internal.h (gettext): Likewise.
44861         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
44862         Remove declaration.
44863         * include/argz.h (__argz_count_internal)
44864         (__argz_stringify_internal): Remove declaration.
44865         (__argz_count, __argz_stringify): Declare hidden proto.
44866         * intl/dcgettext.c: Remove use of INTDEF.
44867         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
44868         * string/argz-stringify.c: Likewise.
44869         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44870         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44871         Declare hidden proto.
44872         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44873         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44874         Declare hidden proto.
44875         * include/stdio.h (__asprintf_internal): Don't declare.
44876         (__asprintf): Don't define as macro.  Declare hidden proto.
44877         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
44878         (__fsetlocking): Declare hidden proto.
44879         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
44880         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
44881         hidden proto.
44882         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
44883         (_IO_setlinebuf): Remove use of INTUSE.
44884         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
44885         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
44886         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
44887         Remove declaration.
44888         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
44889         (_IO_do_flush): Remove use of INTUSE.
44890         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
44891         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
44892         (_IO_adjust_column, _IO_least_wmarker)
44893         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
44894         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
44895         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
44896         (_IO_default_doallocate, _IO_wdefault_doallocate)
44897         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
44898         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
44899         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
44900         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
44901         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
44902         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
44903         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
44904         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
44905         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
44906         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
44907         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
44908         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
44909         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
44910         proto.
44911         (_IO_flush_all_internal, _IO_adjust_column_internal)
44912         (_IO_default_uflow_internal, _IO_default_finish_internal)
44913         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
44914         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
44915         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
44916         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
44917         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
44918         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
44919         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
44920         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
44921         (_IO_file_close_internal, _IO_file_close_it_internal)
44922         (_IO_file_underflow_internal, _IO_file_overflow_internal)
44923         (_IO_file_init_internal, _IO_file_attach_internal)
44924         (_IO_file_fopen_internal, _IO_file_read_internal)
44925         (_IO_file_sync_internal, _IO_file_seek_internal)
44926         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
44927         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
44928         (_IO_str_underflow_internal, _IO_str_overflow_internal)
44929         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
44930         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
44931         (_IO_list_all_internal, _IO_link_in_internal)
44932         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
44933         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
44934         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
44935         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
44936         (_IO_do_write_internal, _IO_padn_internal)
44937         (_IO_getline_info_internal, _IO_getline_internal)
44938         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
44939         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
44940         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
44941         (_IO_vfscanf_internal, _IO_vfprintf_internal)
44942         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
44943         (_IO_init_internal, _IO_un_link_internal): Don't declare.
44944         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
44945         with libc_hidden_ver, remove use of INTUSE.
44946         * libio/genops.c: Likewise.
44947         * libio/freopen.c: Likewise.
44948         * libio/freopen64.c: Likewise.
44949         * libio/iofclose.c: Likewise.
44950         * libio/iofdopen.c: Likewise.
44951         * libio/iofflush.c: Likewise.
44952         * libio/iofflush_u.c: Likewise.
44953         * libio/iofgets.c: Likewise.
44954         * libio/iofgets_u.c: Likewise.
44955         * libio/iofopen.c: Likewise.
44956         * libio/iofopncook.c: Likewise.
44957         * libio/iofread.c: Likewise.
44958         * libio/iofread_u.c: Likewise.
44959         * libio/ioftell.c: Likewise.
44960         * libio/iofwrite.c: Likewise.
44961         * libio/iogetline.c: Likewise.
44962         * libio/iogets.c: Likewise.
44963         * libio/iogetwline.c: Likewise.
44964         * libio/iopadn.c: Likewise.
44965         * libio/iopopen.c: Likewise.
44966         * libio/ioseekoff.c: Likewise.
44967         * libio/ioseekpos.c: Likewise.
44968         * libio/iosetbuffer.c: Likewise.
44969         * libio/iosetvbuf.c: Likewise.
44970         * libio/ioungetc.c: Likewise.
44971         * libio/ioungetwc.c: Likewise.
44972         * libio/iovdprintf.c: Likewise.
44973         * libio/iovsprintf.c: Likewise.
44974         * libio/iovsscanf.c: Likewise.
44975         * libio/memstream.c: Likewise.
44976         * libio/obprintf.c: Likewise.
44977         * libio/oldfileops.c: Likewise.
44978         * libio/oldiofclose.c: Likewise.
44979         * libio/oldiofdopen.c: Likewise.
44980         * libio/oldiofopen.c: Likewise.
44981         * libio/oldiopopen.c: Likewise.
44982         * libio/oldstdfiles.c: Likewise.
44983         * libio/putc.c: Likewise.
44984         * libio/setbuf.c: Likewise.
44985         * libio/setlinebuf.c: Likewise.
44986         * libio/stdfiles.c: Likewise.
44987         * libio/strops.c: Likewise.
44988         * libio/vasprintf.c: Likewise.
44989         * libio/vscanf.c: Likewise.
44990         * libio/vsnprintf.c: Likewise.
44991         * libio/vswprintf.c: Likewise.
44992         * libio/wfiledoalloc.c: Likewise.
44993         * libio/wfileops.c: Likewise.
44994         * libio/wgenops.c: Likewise.
44995         * libio/wmemstream.c: Likewise.
44996         * libio/wstrops.c: Likewise.
44997         * libio/__fpurge.c: Likewise.
44998         * libio/__fsetlocking.c: Likewise.
44999         * assert/assert.c: Likewise.
45000         * debug/fgets_chk.c: Likewise.
45001         * debug/fgets_u_chk.c: Likewise.
45002         * debug/fread_chk.c: Likewise.
45003         * debug/fread_u_chk.c: Likewise.
45004         * debug/gets_chk.c: Likewise.
45005         * debug/obprintf_chk.c: Likewise.
45006         * debug/vasprintf_chk.c: Likewise.
45007         * debug/vdprintf_chk.c: Likewise.
45008         * debug/vsnprintf_chk.c: Likewise.
45009         * debug/vsprintf_chk.c: Likewise.
45010         * malloc/mtrace.c: Likewise.
45011         * misc/error.c: Likewise.
45012         * misc/syslog.c: Likewise.
45013         * stdio-common/asprintf.c: Likewise.
45014         * stdio-common/fxprintf.c: Likewise.
45015         * stdio-common/getw.c: Likewise.
45016         * stdio-common/isoc99_fscanf.c: Likewise.
45017         * stdio-common/isoc99_scanf.c: Likewise.
45018         * stdio-common/isoc99_vfscanf.c: Likewise.
45019         * stdio-common/isoc99_vscanf.c: Likewise.
45020         * stdio-common/isoc99_vsscanf.c: Likewise.
45021         * stdio-common/printf-prs.c: Likewise.
45022         * stdio-common/printf_fp.c: Likewise.
45023         * stdio-common/printf_fphex.c: Likewise.
45024         * stdio-common/printf_size.c: Likewise.
45025         * stdio-common/putw.c: Likewise.
45026         * stdio-common/scanf.c: Likewise.
45027         * stdio-common/sprintf.c: Likewise.
45028         * stdio-common/tmpfile.c: Likewise.
45029         * stdio-common/vfprintf.c: Likewise.
45030         * stdio-common/vfscanf.c: Likewise.
45031         * stdlib/strfmon_l.c: Likewise.
45032         * sunrpc/openchild.c: Likewise.
45033         * sunrpc/xdr_stdio.c: Likewise.
45034         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
45035         * sysdeps/mach/hurd/tmpfile.c: Likewise.
45037 2012-05-24  Roland McGrath  <roland@hack.frob.com>
45039         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45041         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
45042         in the third column, to generate for the shared library an IFUNC
45043         that uses _dl_vdso_vsym.
45044         * Makerules (COMPILE.c, compile-stdin.c): New variables.
45045         * Makeconfig (object-suffixes-noshared): New variable.
45047         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
45048         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
45049         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
45050         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
45052         [BZ #14132]
45053         * include/sys/time.h (__gettimeofday): Remove macro.
45054         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
45055         * time/gettimeofday.c (__gettimeofday): Remove #undef.
45056         Remove INTDEF.
45057         (__gettimeofday): Add libc_hidden_def.
45058         (gettimeofday): Add libc_hidden_weak.
45059         * sysdeps/mach/gettimeofday.c: Likewise.
45060         * sysdeps/posix/gettimeofday.c: Likewise.
45061         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
45062         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
45063         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
45064         (__gettimeofday_internal): Remove strong_alias.
45065         (__gettimeofday): Add libc_hidden_def.
45066         (gettimeofday): Add libc_hidden_weak.
45067         * sysdeps/unix/syscalls.list (gettimeofday):
45068         Remove __gettimeofday_internal alias.
45070 2012-05-24  Daniel Jacobowitz  <drow@false.org>
45071             H.J. Lu  <hongjiu.lu@intel.com>
45073         [BZ #12495]
45074         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
45075         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
45076         (largebin_index_32_big): New.
45077         (largebin_index): Use it for 16-byte alignment.
45078         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
45079         correction with front_misalign.
45081 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
45083         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
45084         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45085         Likewise.
45086         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
45087         Likewise.
45088         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
45089         Likewise.
45090         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
45091         Likewise.
45092         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
45093         Likewise.
45094         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
45095         Likewise.
45096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
45097         Likewise.
45098         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45099         Likewise.
45100         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
45101         Likewise.
45102         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
45103         Likewise.
45104         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
45105         Likewise.
45106         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
45107         Likewise.
45109         * scripts/data/c++-types-x32-linux-gnu.data: New file.
45110         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
45112 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
45114         [BZ #10846]
45115         [BZ #14036]
45116         * math/libm-test.inc (exp_test): Add test from bug 14036.
45117         (pow_test): Add test from bug 10846.
45119         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
45120         and other flags.
45121         (special_function): Do not include flags in test name.
45122         (parse_args): Likewise.
45123         * sysdeps/i386/fpu/libm-test-ulps: Update.
45124         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45125         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45126         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45129         * math/gen-libm-test.pl (%beautify): Add entries for underflow
45130         exceptions.
45131         * math/libm-test.inc ("Philosophy"): Update comment about
45132         exception testing.
45133         (UNDERFLOW_EXCEPTION): New macro.
45134         (UNDERFLOW_EXCEPTION_OK): Likewise.
45135         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
45136         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
45137         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
45138         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
45139         (INVALID_EXCEPTION_OK): Update value.
45140         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45141         (OVERFLOW_EXCEPTION_OK): Likewise.
45142         (IGNORE_ZERO_INF_SIGN): Likewise.
45143         (test_exceptions): Handle underflow exceptions.
45144         (acos_test): Update for underflow exception expectations.
45145         (cexp_test): Likewise.
45146         (clog_test): Likewise.
45147         (clog10_test): Likewise.
45148         (csqrt_test): Likewise.
45149         (ctan_test): Likewise.
45150         (ctanh_test): Likewise.
45151         (exp_test): Likewise.
45152         (exp10_test): Likewise.
45153         (exp2_test): Likewise.
45154         (expm1_test): Likewise.
45155         (fma_test): Likewise.
45156         (j0_test): Likewise.
45157         (jn_test): Likewise.
45158         (nexttoward_test): Likewise.
45159         (pow_test): Likewise.
45160         (scalbn_test): Likewise.
45161         (scalbln_test): Likewise.
45162         (tan_test): Likewise.
45163         (y1_test): Likewise.
45164         * sysdeps/i386/fpu/libm-test-ulps: Update.
45165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45167 2012-05-23  David S. Miller  <davem@davemloft.net>
45169         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45170         (__libc_sigaction): Remove unused local variables.
45172 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45174         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
45176 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
45178         mktime: avoid signed integer overflow
45179         * time/mktime.c (__mktime_internal): Do not mishandle the case
45180         where diff == INT_MIN.
45182         mktime: simplify computation of average
45183         * time/mktime.c (ranged_convert): Use new time_t_avg function
45184         instead of rolling our own (probably-slower) code.
45186         mktime: do not assume signed right shift propagates sign bit
45187         * time/mktime.c (isdst_differ): New static function.
45188         (__mktime_internal): No need to normalize tm_isdst now.
45189         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
45190         tm_isdst values.
45192         mktime: merge another wrapv change from gnulib
45193         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
45194         from some compilers.
45196         mktime: remove incorrect attempt at unusual arithmetics
45197         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
45198         The code didn't really work on such machines anyway.
45199         (TYPE_MINIMUM): Assume two's complement.
45200         (twos_complement_arithmetic): Verify that long_int and time_t
45201         are two's complement (or unsigned, in the latter case).
45203         mktime: check signed shifts on long_int and time_t, too
45204         * time/mktime.c (SHR): Check that shifts work as desired
45205         on the types long_int and time_t too, as SHR is used on
45206         such types.
45208         mktime: do not assume 'long' is wide enough
45209         * time/mktime.c (verify): Move decl up.
45210         (long_int): New type.
45211         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
45212         to remove assumption in the code that 'long' is wide enough to
45213         store year values.  This assumption is not true on x32 and on
45214         some non-glibc platforms.
45216         mktime: merge wrapv change from gnulib
45217         * time/mktime.c (WRAPV): New macro.
45218         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
45219         (guess_time_tm, __mktime_internal): Do not assume that signed
45220         integer overflow wraps around; modern compilers generate code
45221         where this assumption is no longer valid.
45223 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45225         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45226         Replace "jmp L(pseudo_end)" with "ret".
45227         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
45228         Likewise.
45230 2012-05-23  Andreas Jaeger  <aj@suse.de>
45232         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
45233         * sysdeps/unix/sysv/linux/poll.c: Remove file.
45235 2012-05-23  Andreas Jaeger  <aj@suse.de>
45236             Maximilian Attems  <max@stro.at>
45238         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
45239         New macros.
45241 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45243         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
45244         code so that pseudo_end is just ret and the stack pointer is
45245         correct also for static library in error case.
45247 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
45249         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
45250         move to syscalls.list.
45251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45256         * manual/install.texi (Running make install): Do not mention Linux
45257         kernel version for which pt_chown is not needed.
45258         (Linux): Do not mention problems with nscd with 2.0 kernels.
45259         * INSTALL: Regenerated.
45261 2012-05-23  Andreas Jaeger  <aj@suse.de>
45263         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
45264         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
45265         macro.
45266         * sysdeps/unix/sysv/linux/s390/bits/mman.h
45267         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45268         * sysdeps/unix/sysv/linux/sh/bits/mman.h
45269         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45270         * sysdeps/unix/sysv/linux/i386/bits/mman.h
45271         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45272         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
45273         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45274         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
45275         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45276         * sysdeps/unix/sysv/linux/bits/in.h
45277         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
45279 2012-05-22  Roland McGrath  <roland@hack.frob.com>
45281         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
45282         (PREPARE_VERSION): Just use assert instead, it will be elided
45283         under [NDEBUG] anyway.
45285 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45287         * sysdeps/unix/sysv/linux/Makefile: Include
45288         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
45289         (sysdep_routines): Remove sysctl.
45290         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
45291         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
45292         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
45293         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
45294         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
45296 2012-05-22  Andreas Jaeger  <aj@suse.de>
45298         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
45299         that pseudo_end is just ret and the stack pointer is correct also
45300         for static library in error case.
45302 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
45304         [BZ #14122]
45305         * nss/nsswitch.c (defconfig_entries): New variable.
45306         (__nss_database_lookup): Don't leak defconfig entries.
45307         (nss_parse_service_list): Don't leak on error paths.
45308         (free_database_entries): New function.
45309         (free_defconfig): New function.
45310         (free_mem): Move common code to free_database_entries.
45312 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45314         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
45315         Add arch_prctl.
45316         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
45318         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
45319         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
45320         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
45321         New macro.
45322         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
45323         (INTERNAL_SYSCALL_TYPES): Likewise.
45324         (LOAD_ARGS_TYPES_[1-6]): Likewise.
45325         (LOAD_REGS_TYPES_[1-6]): Likewise.
45326         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
45327         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
45329 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45331         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
45332         copysignl for GLIBC_2_0.
45333         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
45334         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
45335         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
45336         logbl for GLIBC_2_0.
45337         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
45338         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
45340 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45342         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
45343         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
45345         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45346         Use "neg %eax".
45348         * time/mktime.c: Update copyright years.
45350 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
45352         mktime: merge comment-quoting-style change from gnulib
45353         * time/mktime.c: Quote 'like this' in comments.
45354         The GNU coding standards suggest that we no longer quote `like this',
45355         as "`" and "'" are typically rendered asymmetrically nowadays.
45356         The typical gnulib style is to quote 'like this' when quoting
45357         code, and "like this" when quoting English.
45359         * time/mktime.c (compile-command): Add "-I.".
45361         mktime: merge mktime-internal.h change from gnulib
45362         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
45364         mktime: merge time_r change from gnulib
45365         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
45367         mktime: merge DEBUG change from gnulib
45368         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
45369         case system <time.h> has a #define.
45371         mktime: merge <sys/types.h> change from gnulib
45372         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
45373         since <time.t> is now guaranteed to define time_t.
45375         mktime: merge HAVE_CONFIG_H change from gnulib
45376         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
45378 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45380         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45381         Use "neg %eax".
45383         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
45384         __rlim_t cast.
45385         (struct rusage): Use anonymous union to pad each field to
45386         __syscall_slong_t.
45388 2012-05-21  David S. Miller  <davem@davemloft.net>
45390         * Makefules (o-iterator): Remove .s cases.
45391         (compile-command.s): Delete.
45392         (COMPILE.s): Delete.
45393         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
45395 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
45397         * configure.in (libc_cv_predef_stack_protector): Only consider
45398         "foobar" and "__stack_chk_fail" lines in libc_undefs.
45399         * configure: Regenerated.
45401 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
45403         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45404         New macro.  Use R*LP on int and pointer.
45405         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
45406         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
45407         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
45408         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
45410         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
45411         [__WORDSIZE_TIME64_COMPAT32] instead of
45412         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
45413         (struct utmp): Likewise.
45414         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
45415         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
45416         Renamed to ...
45417         (__WORDSIZE_TIME64_COMPAT32): This.
45418         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
45419         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
45420         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
45421         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
45422         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
45423         (__WORDSIZE_TIME64_COMPAT32): New macro.
45425 2012-05-21  Andreas Jaeger  <aj@suse.de>
45427         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
45428         only if [SHARED]. Add prototype for __wcschr_ia32.
45430 2012-05-21  Roland McGrath  <roland@hack.frob.com>
45432         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
45433         of %rbp unmolested in the jmp_buf while mangling the low bits.
45434         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
45435         unmolested high bits of %rbp while demangling the low bits.
45436         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45438 2012-05-21  Andreas Jaeger  <aj@suse.de>
45440         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
45441         * sunrpc/svc_simple.c: Use it for registerrpc.
45442         * sunrpc/xcrypt.c: Use it for passwd2des.
45444         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
45446 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
45448         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
45449         Don't define if [__SYSCALL_WORDSIZE != 32].
45450         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
45451         New macro.
45453 2012-05-21  Bruno Haible  <bruno@clisp.org>
45454             Andreas Jaeger  <aj@suse.de>
45456         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
45457         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
45458         inptr and inend for must_buffer_ch.
45459         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
45460         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
45461         * stdio-common/Makefile (tests): Remove bug15.
45462         (bug15-ENV): Remove macro.
45463         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
45464         anymore.
45466 2012-05-19  Andreas Jaeger  <aj@suse.de>
45467             Roland McGrath  <roland@hack.frob.com>
45469         * manual/contrib.texi: Completely rewritten. It contains now an
45470         alphabetical list of contributors and their contributions.
45472 2012-05-21  Richard Henderson  <rth@twiddle.net>
45474         * misc/getauxval.c (__getauxval): Use unsigned long int.
45475         * misc/sys/auxv.h: Include <sys/cdefs.h>.
45476         (getauxval): Use unsigned long int.
45478 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
45480         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45482 2012-05-21  Roland McGrath  <roland@hack.frob.com>
45484         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
45485         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
45486         __alignof__ (long double).
45488 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45490         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45492 2012-05-20  Richard Henderson  <rth@twiddle.net>
45494         * misc/getauxval.c: New file.
45495         * misc/sys/auxv.h: New file.
45496         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
45497         (routines): Add getauxval.
45498         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
45499         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
45500         * elf/dl-sysdep.c (_dl_auxv): Remove.
45501         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
45502         * elf/dl-support.c (_dl_auxv): New variable.
45503         (_dl_aux_init): Initialize it.
45504         * manual/startup.texi (Auxiliary Vector): New node.
45505         * sysdeps/generic/bits/hwcap.h: New file.
45506         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
45507         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
45508         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
45509         * sysdeps/sparc/sysdep.h: ... here.  Include it.
45510         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
45511         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
45512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45513         Update.
45514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
45515         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
45516         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
45517         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
45518         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45519         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45520         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
45521         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
45523 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45525         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45527 2012-05-19  David S. Miller  <davem@davemloft.net>
45529         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45531 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
45533         [BZ #14123]
45534         * math/s_ccosh.c: Include <float.h>
45535         (__ccosh): Avoid internal overflow calculating sinh and cosh
45536         values before multiplying by sin and cos values.
45537         * math/s_ccoshf.c: Likewise.
45538         * math/s_ccoshl.c: Likewise.
45539         * math/s_csin.c: Likewise.
45540         * math/s_csinf.c: Likewise.
45541         * math/s_csinl.c: Likewise.
45542         * math/s_csinh.c: Likewise.
45543         * math/s_csinhf.c: Likewise.
45544         * math/s_csinhl.c: Likewise.
45545         * math/libm-test.inc (ccos_test): Add more tests.
45546         (ccosh_test): Likewise.
45547         (csin_test): Likewise.
45548         (csinh_test): Likewise.
45549         * sysdeps/i386/fpu/libm-test-ulps: Update.
45550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45552 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
45554         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
45555         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
45557         * sysdeps/x86_64/x32/_itoa.h: Add comment.
45559 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
45561         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
45562         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
45563         * sysdeps/powerpc/soft-fp/Versions: Likewise.
45564         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
45565         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
45566         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
45567         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
45568         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
45569         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
45570         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
45571         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
45572         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
45573         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
45574         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
45575         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
45576         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
45577         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
45578         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
45579         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
45580         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
45581         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
45582         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
45583         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
45584         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
45585         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
45586         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
45587         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
45588         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
45589         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
45590         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
45591         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
45593 2012-05-18  Andreas Jaeger  <aj@suse.de>
45595         * csu/.gitignore: Delete.
45597 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
45599         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
45600         (timex): Use __syscall_slong_t.
45602 2012-05-18  Andreas Jaeger  <aj@suse.de>
45603             Carlos O'Donell  <carlos_odonell@mentor.com>
45605         * manual/install.texi (Configuring and compiling): Update
45606         description about files modified in the source directory.
45607         * INSTALL: Regenerated.
45609 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
45611         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
45612         value.  Use "or" to set return value to -1.
45613         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
45614         negate return value.
45616 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45618         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
45619         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
45620         failure if the compiler has Graphite support disabled.
45621         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
45622         Likewise.
45623         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
45624         (CFLAGS-memmove.c): Likewise.
45625         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
45626         Likewise.
45628 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
45630         * sysdeps/x86_64/x32/_itoa.h: New file.
45632         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
45633         getdents system call only if kernel and user dirents have the
45634         same d_ino and d_off.
45636         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45637         LLONG_MAX != LONG_MAX.
45638         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45639         (_fitoa_word): Likewise.
45641         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
45642         years.
45643         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
45644         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
45645         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
45647         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
45648         include <bits/wordsize.h>.  Check __x86_64__ instead of
45649         __WORDSIZE.
45650         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
45651         if __x86_64__ is defined.  Use anonymous union on fpstate.
45653         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
45654         anonymous union.
45656 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
45658         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
45659         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
45660         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
45661         Refer to _rtld_local_ro instead of _rtld_global_ro.
45662         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
45663         Likewise.
45664         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
45665         Likewise.
45666         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
45667         Likewise.
45668         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
45669         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
45670         of _rtld_global, and rtld_progname instead of _dl_argv[0].
45672         * sysdeps/powerpc/powerpc32/dl-machine.c
45673         (__elf_machine_runtime_setup) [PROF]: Don't reference
45674         _dl_prof_resolve.
45676 2012-05-18  Andreas Jaeger  <aj@suse.de>
45678         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
45679         function only available for GCCs before 3.4 since GCC 3.4
45680         introduced a builtin.
45681         (lrint): Likewise.
45682         (llrintf): Likewise.
45683         (llrint): Likewise.
45684         (fmaxf): Likewise.
45685         (fmax): Likewise.
45686         (fminf): Likewise.
45687         (fmin): Likewise.
45688         (rint): Likewise.
45689         (rintf): Likewise.
45690         (nearbyint): Likewise.
45691         (nearbyintf): Likewise.
45692         (ceil): Likewise.
45693         (ceilf): Likewise.
45694         (floor): Likewise.
45695         (floorf): Likewise.
45697 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45699         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
45700         on both fields and cast pointer to __syscall_ulong_t.
45702         * bits/types.h (__fsword_t): New type.
45703         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
45704         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
45705         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45706         (__FSWORD_T_TYPE): Likewise.
45707         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45708         (__FSWORD_T_TYPE): Likewise.
45709         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45710         (__FSWORD_T_TYPE): Likewise.
45711         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
45712         (__FSWORD_T_TYPE): Likewise.
45713         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
45714         __SWORD_TYPE with __fsword_t.
45715         (statfs64): Likewise.
45717 2012-05-17  David S. Miller  <davem@davemloft.net>
45719         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
45721 2012-05-17  Andreas Jaeger  <aj@suse.de>
45723         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
45724         warning.
45726 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45728         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
45730 2012-05-17  Andreas Jaeger  <aj@suse.de>
45732         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
45733         when it is used.
45735 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
45737         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
45739 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45741         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
45742         * sysdeps/x86_64/tst-mallocalign1.c: New file.
45744 2012-05-17  Andreas Jaeger  <aj@suse.de>
45745             Carlos O'Donell  <carlos_odonell@mentor.com>
45747         [BZ #14059]
45748         * sysdeps/x86_64/multiarch/init-arch.h
45749         (bit_YMM_Usable): Rename to...
45750         (bit_AVX_Usable): ... this.
45751         (bit_FMA4_Usable): New macro.
45752         (bit_XMM_state): New macro.
45753         (bit_YMM_state): New macro.
45754         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
45755         [__ASSEMBLER__] (index_AVX_Usable): ... this.
45756         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
45757         (CPUID_OSXSAVE): New macro.
45758         (CPUID_AVX): New macro.
45759         (CPUID_FMA4): New macro.
45760         (index_YMM_Usable): Rename to...
45761         (index_AVX_Usable): ... this.
45762         (HAS_AVX): Use HAS_ARCH_FEATURE.
45763         (HAS_FMA4): Likewise.
45764         (HAS_YMM_USABLE): Remove.
45765         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45766         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
45767         are present.
45768         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
45769         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
45770         * sysdeps/x86_64/multiarch/Makefile: Likewise.
45771         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
45772         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
45774 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
45776         * math/libm-test.c: Support platforms without multiple rounding modes.
45777         * math/bug-nextafter.c: Support platforms without FP exceptions.
45778         * math/bug-nexttoward.c: Likewise.
45779         * math/test-fenv.c: Likewise.
45780         * math/test-misc.c: Likewise.
45781         * stdlib/bug-getcontext.c: Likewise.
45783 2012-05-17  Andreas Jaeger  <aj@suse.de>
45785         * manual/examples/search.c (critter_cmp): Change signature to
45786         avoid warnings.
45787         * manual/string.texi (Collation Functions): Likewise.
45789 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45791         * bits/types.h: Fold copyright years.
45792         * bits/typesizes.h: Likewise.
45793         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
45794         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45795         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
45796         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
45797         * time/time.h: Likewise.
45799 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
45801         [BZ #208]
45802         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
45803         in instead of returning them.  Return void.
45804         (__libc_mallinfo): Accumulate over all arenas.
45805         (__malloc_stats): Adjust for change in int_mallinfo interface.
45807 2012-05-16  Roland McGrath  <roland@hack.frob.com>
45809         [BZ #10375]
45810         * configure.in (NM): Add AC_CHECK_TOOL for it.
45811         (libc_extra_cflags): New substituted variable.
45812         Check for -fstack-protector being used implicitly.
45813         * configure: Regenerated.
45814         * config.make.in (config-extra-cflags): New variable,
45815         gets @libc_extra_cflags@.
45816         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
45818         [BZ #10375]
45819         * configure.in: Check for _FORTIFY_SOURCE being predefined.
45820         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
45821         * configure: Regenerated.
45822         * config.make.in (CPPUNDEFS): New substituted variable.
45823         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
45824         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
45825         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
45827 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45829         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
45830         (mq_attr): Use __syscall_slong_t.
45832 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45834         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
45835         Check __x86_64__ instead of __WORDSIZE.
45836         (_STAT_VER_LINUX): Likewise.
45837         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
45838         __syscall_ulong_t and __syscall_slong_t.
45839         (stat64): Likewise.
45841 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45843         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
45845 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45847         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
45849 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45851         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
45852         __syscall_ulong_t.
45854         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
45855         include <bits/wordsize.h>.  Check __x86_64__ instead of
45856         __WORDSIZE.
45857         (greg_t): Use "__extension__ long long int" if __x86_64__ is
45858         defined.
45859         (mcontext_t): Replace "unsigned long" with "unsigned long long".
45861         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
45862         include <bits/wordsize.h>.  Check __x86_64__ instead of
45863         __WORDSIZE.
45864         (user_regs_struct): Use "__extension__ unsigned long long"
45865         instead of "unsigned long" if __x86_64__ is defined.
45866         (user): Likewise.  Pad after pointer field if __ILP32__ is
45867         defined.
45869 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
45871         * configure.in (makeinfo): Require version 4.5 or later.  Allow
45872         versions 5 to 9.
45873         * configure: Regenerated.
45874         * manual/install.texi (texinfo): Increase version requirement to
45875         4.5 or later.
45876         * INSTALL: Regenerated.
45878         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
45880 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45882         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
45884         * sysdeps/x86_64/x32/ffs.c: New file.
45886         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
45887         __syscall_ulong_t.
45888         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
45889         defined.  Use __syscall_ulong_t.
45890         (shminfo): Use __syscall_ulong_t.
45891         (shm_info): Likewise.
45893         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
45894         __syscall_ulong_t.
45896         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
45897         <bits/wordsize.h>.
45898         (msgqnum_t): Use __syscall_ulong_t.
45899         (msglen_t): Likewise.
45900         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
45901         __syscall_ulong_t.
45903         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
45904         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
45906         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
45908         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
45909         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
45911         * sysvipc/sys/msg.h (msgbuf): Replace long int with
45912         __syscall_slong_t.
45914         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
45915         include <bits/wordsize.h>.  Check __x86_64__ instead of
45916         __WORDSIZE.
45918         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
45919         "unsigned long long int" if __x86_64__ is defined.
45920         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
45922         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
45923         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
45924         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
45926         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
45927         <stdint.h>.
45928         (GET_PC): Cast to uintptr_t first.
45929         (GET_FRAME): Likewise.
45930         (GET_STACK): Likewise.
45932         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
45933         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
45934         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
45935         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
45936         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
45937         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
45938         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
45939         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
45940         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
45941         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
45942         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
45943         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
45944         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45945         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
45946         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
45947         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
45948         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
45949         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
45950         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
45951         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
45952         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
45953         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
45954         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
45955         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
45956         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
45957         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
45958         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
45959         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
45960         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
45962 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
45964         * Makerules (+depfiles): Also collect depfiles from .oS in
45965         $(extra-objs).
45966         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
45967         .oS, $(libnldbl-routines)).
45969         * Makerules (native-compile-mkdep-flags): Define.
45970         * sunrpc/Makefile (extra-objs): Add $(addprefix
45971         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
45972         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
45973         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
45974         calling $(make-target-directory).
45976 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45978         * bits/types.h (__snseconds_t): Removed.
45979         * time/time.h (struct timespec): Replace __snseconds_t with
45980         __syscall_slong_t.
45981         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
45982         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
45983         Likewise.
45984         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45985         (__SNSECONDS_T_TYPE): Likewise.
45986         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45987         (__SNSECONDS_T_TYPE): Likewise.
45988         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45989         (__SNSECONDS_T_TYPE): Likewise.
45991 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45993         * sysdeps/mach/hurd/bits/typesizes.h
45994         (__SYSCALL_SLONG_TYPE): New macro.
45995         (__SYSCALL_ULONG_TYPE): Likewise.
45997 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45999         * bits/types.h (__syscall_slong_t): New type.
46000         (__syscall_ulong_t): Likewise.
46002         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
46003         (__SYSCALL_ULONG_TYPE): Likewise.
46004         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46005         (__SYSCALL_SLONG_TYPE): Likewise.
46006         (__SYSCALL_ULONG_TYPE): Likewise.
46007         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46008         (__SYSCALL_SLONG_TYPE): Likewise.
46009         (__SYSCALL_ULONG_TYPE): Likewise.
46010         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46011         (__SYSCALL_SLONG_TYPE): Likewise.
46012         (__SYSCALL_ULONG_TYPE): Likewise.
46014 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46016         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
46017         Add sigaltstack-offsets.sym.
46018         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
46019         <sigaltstack-offsets.h>.
46020         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
46021         longjmp_msg pointer.
46022         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
46023         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
46024         signal stack.
46025         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
46027 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
46029         * elf/stackguard-macros.h: Remove file.
46030         * sysdeps/generic/stackguard-macros.h: New file.
46031         * sysdeps/i386/stackguard-macros.h: Likewise.
46032         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46033         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46034         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46035         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46036         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46037         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46038         * sysdeps/x86_64/stackguard-macros.h: Likewise.
46039         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
46040         <elf/stackguard-macros.h>.
46042         [BZ #14109]
46043         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
46044         __aligned__ in attribute.
46045         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
46046         (gregset_t): Likewise.
46048 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46050         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
46051         * sysdeps/x86_64/64/Implies-after: Here.  New file.
46052         * sysdeps/x86_64/x32/Implies-after: New file.
46054 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46056         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
46057         and access return value for _dl_profile_fixup.  Use R10_LP to
46058         load frame size.
46060 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46062         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
46064 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46066         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
46067         * sysdeps/x86_64/x32/sysdep.h: New file.
46069 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46071         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
46072         * sysdeps/x86_64/setjmp.S: Likewise.
46074 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46076         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
46077         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
46078         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
46079         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
46080         remove unused global constant.
46082 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
46084         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
46085         include of <not-cancel.h>.
46087 2012-05-15  Roland McGrath  <roland@hack.frob.com>
46089         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
46091 2012-05-15  Jeff Law  <law@redhat.com>
46092             Andreas Jaeger  <aj@suse.de>
46094         [BZ #13594]
46095         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
46096         out from...
46097         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
46098         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
46099         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
46100         code changing __hst_map_handle.map.
46102 2012-05-15  Roland McGrath  <roland@hack.frob.com>
46104         * configure.in (sysnames): Look for Implies-before and Implies-after
46105         files.
46106         * configure: Regenerated.
46108 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46110         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
46111         8-byte data alignment with LP_SIZE alignment.
46113 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46115         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
46116         into R10_LP.
46118 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46120         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
46122 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46124         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
46125         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
46126         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
46127         Likewise.
46128         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46130 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46132         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
46133         (stackinfo_sub_sp): Likewise.
46135 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46137         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
46138         RAX_LP.
46140 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46142         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
46143         into R*_LP.
46145 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46147         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
46148         sizes into R*_LP.
46150 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46152         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
46154 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46156         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
46157         into R11_LP and load __x86_64_shared_cache_size_half into
46158         R8_LP.
46160 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46162         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
46163         R8_LP.
46165 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46167         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
46168         logb for POWER7.
46169         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
46170         logbf for POWER7.
46171         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
46172         logbl for POWER7.
46173         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
46174         powerpc32/power7/fpu/s_logb.c via #include.
46175         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
46176         powerpc32/power7/fpu/s_logbf.c via #include.
46177         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
46178         powerpc32/power7/fpu/s_logbl.c via #include.
46180 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
46182         * README.libm: Remove file.
46184 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46186         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
46187         count for x32.  Use R*_LP and omit operand-size suffix.
46189 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46191         * shlib-versions: Move x86_64-.*-linux.* entries to ...
46192         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
46193         * sysdeps/x86_64/x32/shlib-versions: New file.
46195 2012-05-14  Roland McGrath  <roland@hack.frob.com>
46197         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
46198         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
46199         Use _dl_fatal_printf instead.
46201 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
46203         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
46204         set if not set by the user.  Do not allow for being unset.
46205         * sysdeps/unix/sysv/linux/configure: Regenerated.
46207 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46209         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
46210         the `q' suffix from lea and replace .quad with ASM_ADDR.
46212 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46214         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
46215         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
46216         instead of $17.
46217         (PTR_DEMANGLE): Likewise.
46219 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46221         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
46222         (LP_OP): Likewise.
46223         (ASM_ADDR): Likewise.
46224         (RAX_LP): Likewise.
46225         (RBP_LP): Likewise.
46226         (RBX_LP): Likewise.
46227         (RCX_LP): Likewise.
46228         (RDI_LP): Likewise.
46229         (RSI_LP): Likewise.
46230         (RSP_LP): Likewise.
46231         (R8_LP): Likewise.
46232         (R9_LP): Likewise.
46233         (R10_LP): Likewise.
46234         (R10_LP): Likewise.
46235         (R11_LP): Likewise.
46236         (R12_LP): Likewise.
46237         (R13_LP): Likewise.
46238         (R14_LP): Likewise.
46239         (R15_LP): Likewise.
46241 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46243         * sysdeps/x86_64/x32/dl-machine.h: New file.
46245 2012-05-14  Andreas Jaeger  <aj@suse.de>
46247         * manual/Makefile (subdir): Remove export of subdir.
46248         (all): Remove target.
46249         (.PHONY): Remove all from list.
46250         (mkinstalldirs): Remove.
46251         (.PHONY): Remove installdirs from list.
46252         ($(inst_infodir)/libc.info): Use make-target-directory.
46253         (installdirs): Remove.
46254         (subdir_%): Remove.
46255         (glibc-targets): Remove.
46256         (lib): Remove.
46257         (stubs): Remove.
46258         ($(objpfx)stubs ../po/manual.pot): Remove.
46259         ($(objpfx)stamp%): Remove.
46260         (make-target-directory): Remove.
46261         (subdir_install): Remove.
46262         (routines): Remove.
46263         (aux): Remove.
46264         (sources): Remove.
46265         (objects): Remove.
46266         (headers): Remove.
46268         [BZ #13750]
46269         * manual/.gitignore: Remove, it's not needed anymore.
46270         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
46271         all files in it.
46272         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
46273         directory.
46274         (texis): Renamed to $(objpfx)texis.
46275         (texis-path): New, contains path to generated files.
46276         (chapters.%): Use texis-path for complete path, add extra argument
46277         libc-texinfo.sh.
46278         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
46279         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
46280         (summary,texi, stamp-summary): Use complete path of
46281         files. Generate files in build dir.
46282         (dir-add.texi): Build in build dir.
46283         (libm-err.texi,stamp-libm-err): Likewise.
46284         (version.texi, stamp-version): Likewise.
46285         (.%c.texi): Likewise.
46286         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
46287         (mostlyclean): Remove target.
46288         (realclean): Remove target.
46289         (generated): Add new variable with contents from mostlyclean and
46290         realclean, remove entries duplicated in common-mostlyclean, add
46291         stamp-libm-err and stamp-version.
46292         (generated-dirs): Add libc directory.
46293         ($(inst_infodir)/libc.info): Install files from build dir.
46295         * manual/install.texi (Configuring and compiling): Adjust since
46296         the info files are not part of the tar ball anymore.
46298 2012-05-14  Andreas Jaeger  <aj@suse.de>
46300         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
46301         variable.
46303 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
46305         [BZ #13717]
46306         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46307         to 2.2.0 where earlier.
46308         * sysdeps/unix/sysv/linux/configure: Regenerated.
46309         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
46310         Remove conditional code.
46311         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
46312         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
46313         Remove conditional code.
46314         [!__NR_lchown]: Likewise.
46315         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46316         [__NR_lchown]: Likewise.
46317         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
46318         comment referencing __ASSUME_LCHOWN_SYSCALL.
46319         * sysdeps/unix/sysv/linux/i386/sigaction.c
46320         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46321         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46322         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
46323         Remove conditional code.
46324         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
46325         (__protocol_available): Remove #if 0 code.
46326         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
46327         conditional code.
46328         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
46329         * sysdeps/unix/sysv/linux/kernel-features.h
46330         (__ASSUME_GETCWD_SYSCALL): Don't define.
46331         (__ASSUME_REALTIME_SIGNALS): Likewise.
46332         (__ASSUME_PREAD_SYSCALL): Likewise.
46333         (__ASSUME_PWRITE_SYSCALL): Likewise.
46334         (__ASSUME_POLL_SYSCALL): Likewise.
46335         (__ASSUME_LCHOWN_SYSCALL): Likewise.
46336         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
46337         non-SPARC.
46338         (__ASSUME_SIOCGIFNAME): Don't define.
46339         (__ASSUME_MSG_NOSIGNAL): Likewise.
46340         (__ASSUME_SENDFILE): Define unconditionally.
46341         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
46342         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
46343         conditional code.
46344         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
46345         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
46346         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46347         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46348         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
46349         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46350         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
46352         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46353         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
46355         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46356         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
46358         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46359         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
46361         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46362         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
46364         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46365         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
46367         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46368         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
46370         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46371         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
46373         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46374         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46375         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
46376         Remove conditional code.
46377         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46378         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46379         Remove conditional code.
46380         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46381         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
46382         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
46383         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46384         Remove conditional code.
46385         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46386         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
46387         Remove conditional code.
46388         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46389         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
46390         Remove conditional code.
46391         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46392         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46393         Remove conditional code.
46394         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46395         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46396         Remove conditional code.
46397         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46398         * sysdeps/unix/sysv/linux/sh/pwrite64.c
46399         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46400         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46401         * sysdeps/unix/sysv/linux/sigaction.c
46402         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46403         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46404         * sysdeps/unix/sysv/linux/sigpending.c
46405         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46406         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46407         * sysdeps/unix/sysv/linux/sigprocmask.c
46408         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46409         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46410         * sysdeps/unix/sysv/linux/sigsuspend.c
46411         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46412         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46413         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46414         (__libc_missing_rt_sigs): Remove.
46415         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
46416         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
46417         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
46418         Remove conditional code.
46419         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
46420         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
46421         return 1.
46422         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
46423         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
46424         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
46425         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
46427 2012-05-14  Andreas Jaeger  <aj@suse.de>
46429         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
46430         it's not used in glibc.
46431         (__coshm1): Likewise.
46432         (__acosh1p): Likewise.
46433         (__sgn): Likewise.
46435         * manual/string.texi (Copying and Concatenation): Add missing
46436         variable in concat example.
46437         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46439 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46441         [BZ #14103]
46442         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
46443         __builtin_clzl with __builtin_clzll.
46445 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46447         [BZ #14104]
46448         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
46449         libc_freeres_ptr.
46451 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46453         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
46454         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
46455         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
46456         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
46458 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
46460         * NEWS: Update ia64 info.
46462 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
46464         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
46465         used as bcopy.
46467 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
46469         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
46470         * sysdeps/unix/syscalls.list (dup3): Likewise.
46471         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
46472         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
46474 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
46476         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
46477         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
46479 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
46481         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
46482         thread pointer.
46483         (TLS_IE): Use mov/add instead of movq/addq to load thread
46484         pointer.
46485         (TLS_GD_PREFIX): New.
46486         (TLS_GD): Use it.
46488 2012-05-11  David S. Miller  <davem@davemloft.net>
46490         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
46491         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
46492         (_FPU_SETCW): Likewise.
46494 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
46496         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
46497         is 32-byte aligned.
46499 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
46501         [BZ #11837]
46502         * iconvdata/gb18030.c: Update tables.
46503         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
46504         characters specially.
46505         (BODY for TO_LOOP): Add encoding of missing ranges.
46507 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
46509         [BZ #13673]
46510         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
46511         * sysdeps/mach/hurd/dup3.c: Likewise.
46512         * sysdeps/mach/hurd/readlinkat.c: Likewise.
46513         * sysdeps/powerpc/memmove.c:: Likewise.
46515 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
46517         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
46518         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
46520 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
46522         * elf/elf.h (R_X86_64_RELATIVE64): New.
46523         (R_X86_64_NUM): Updated.
46524         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46525         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
46526         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
46527         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
46528         tst-quad1pie tst-quad2pie
46529         (modules-names): Add tst-quadmod1 tst-quadmod2.
46530         ($(objpfx)tst-quad1): New dependency.
46531         ($(objpfx)tst-quad2): Likewise.
46532         ($(objpfx)tst-quad1pie): Likewise.
46533         ($(objpfx)tst-quad2pie): Likewise.
46534         * sysdeps/x86_64/tst-quad1.c: New file.
46535         * sysdeps/x86_64/tst-quad1pie.c: New file.
46536         * sysdeps/x86_64/tst-quad2.c: Likewise.
46537         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
46538         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
46539         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
46540         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
46541         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
46543 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46545         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
46546         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
46547         * streams/stropts.h (t_scalar_t): Define type.
46549         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
46550         (_PATH_PRESERVE): Set to "/var/lib".
46551         (_PATH_RWHODIR): Set to "/var/spool/rwho".
46553         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
46554         instead of int.
46556         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
46557         if __dir_mkfile succeeded.
46559         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
46560         checking for _hurd_dtablesize.  Unlock it right after having
46561         finished _hurd_dtable allocation.
46563 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46565         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
46566         * sysdeps/mach/hurd/configure: Regenerated.
46567         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
46568         special-casing to...
46569         * sysdeps/gnu/configure.in: ... this new file.
46570         * sysdeps/unix/sysv/linux/configure: Regenerated.
46571         * sysdeps/gnu/configure: New generated file.
46573         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
46574         for Linux: use nsec instead of usec, as well as:
46575         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
46576         members of type struct timespec.
46577         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
46578         New macros.
46579         (struct stat64): Likewise.
46580         (_STATBUF_ST_NSEC): New macro.
46581         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
46583         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46584         __strtoul_internal rather than strtoul.
46586 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46588         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
46589         and reject them.
46591 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46593         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
46594         which preserves existing values.
46595         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
46597 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46599         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
46600         TIMEOUT values.  Return EINVAL for NFDS values either negative or
46601         greater than FD_SETSIZE.
46603 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46605         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
46606         allocated, call __vm_protect to finish enabling the existing space, and
46607         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
46608         allocate the remainder.
46610 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46612         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
46613         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
46615 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46617         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
46618         sysdeps/mach/hurd/readlink.c.
46620         * posix/tst-sysconf.c (posix_options): Only use
46621         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
46622         _POSIX_SYNCHRONIZED_IO when they are defined
46623         * sysdeps/mach/hurd/bits/posix_opt.h:
46624         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
46625         (_XOPEN_REALTIME): Undefine macro.
46626         (_XOPEN_REALTIME_THREADS): Undefine macro.
46627         (_XOPEN_SHM): Undefine macro.
46628         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
46629         macro to -1.
46630         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
46631         macro to -1.
46632         (_POSIX_ASYNC_IO): Undefine macro.
46633         (_POSIX_PRIORITIZED_IO): Undefine macro.
46634         (_POSIX_SPIN_LOCKS): Define macro to -1.
46636         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
46637         SA_NODEFER, SA_RESETHAND.
46638         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
46639         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
46640         F_DUPFD_CLOEXEC.
46642 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46644         * elf/Makefile (pldd-modules): Define unconditionally.
46646 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46648         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
46650 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46652         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
46653         Return ENOENT when name is empty.
46654         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
46656 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46658         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
46660         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
46662 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46664         Fix mlock in all cases except non-readable pages.
46665         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
46666         instead of VM_PROT_ALL as parameter to __vm_wire function.
46668         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
46669         (__mkdir): When path is `/', just fail with EEXIST.
46670         * sysdeps/mach/hurd/mkdirat.c: Likewise.
46672 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46674         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
46675         <sys/uio.h> (for writev).
46676         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
46677         and <sys/param.h> (for MIN).
46679 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46681         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
46682         REQUESTED_TIME.  Properly set the remaining time and return EINTR
46683         if interrupted.
46685 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46687         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
46688         Depend on against $(link-rpcuserlibs).
46690 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46692         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
46693         (__libc_stack_end): Do not use attribute_relro.
46694         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
46695         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
46696         to libthread-provided value.
46697         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
46698         attribute_relro.
46700 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46702         [BZ #3748]
46703         * bits/libc-lock.h (__libc_once_get): New macro.
46704         * sysdeps/mach/bits/libc-lock.h: Likewise.
46705         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
46706         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
46707         instead of using implementation details.
46709         * libio/fileops.c: Unconditionally include <kernel-features.h>.
46710         * libio/freopen.c: Likewise.
46711         * libio/freopen64.c: Likewise.
46712         * misc/syslog.c: Likewise.
46713         * nscd/connections.c: Likewise.
46714         * nscd/netgroupcache.c: Likewise.
46715         * sysdeps/posix/getcwd.c: Likewise.
46717 2012-05-10  Roland McGrath  <roland@hack.frob.com>
46719         * math/w_ilogbf.c: Add #include <limits.h>.
46721 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46723         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
46724         path instead of returning without unlocking.
46726         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
46727         immediate-write ioctls.
46728         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
46730 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46732         * sysdeps/mach/hurd/i386/init-first.c (init): Use
46733         __builtin_frame_address instead of making assumptions about the
46734         location of the return address relative to DATA.  Force early load of
46735         the return address.
46736         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
46737         __builtin_frame_address.
46739         dup3 for GNU Hurd.
46740         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
46741         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
46742         implement dup3 and do some further code clean-ups.
46743         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
46744         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
46746 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46748         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
46750         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
46751         HURD_CRITICAL_END around holding _hurd_dtable_lock.
46752         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
46753         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
46754         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
46755         d->port.lock.
46757         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
46758         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
46759         when handler == SIG_ERR, not when handler != SIG_ERR.
46761 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46763         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
46764         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
46765         definitions.
46767         accept4 for GNU Hurd.
46768         * include/sys/socket.h (__libc_accept4): New prototype.
46769         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
46770         to implement __libc_accept4.
46771         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
46772         __libc_accept4.
46773         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
46775         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
46776         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
46777         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
46778         signal-defines.sym.
46780 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46782         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
46784 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46786         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
46787         assertion on O_CLOEXEC flag.
46788         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
46789         * hurd/intern-fd.c: Likewise.
46790         * hurd/port2fd.c: Likewise.
46792 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46794         [BZ #3906]
46795         * bits/in.h (IPV6_PKTINFO): Define new macro.
46796         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
46798 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46800         [BZ #13954]
46801         [BZ #13955]
46802         [BZ #13956]
46803         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
46804         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46805         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
46806         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46807         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46808         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46809         * math/libm-test.inc (logb_test) : Additional logb tests.
46811 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
46812             Andreas Jaeger  <aj@suse.de>
46814         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
46815         * configure: Regenerated.
46816         * config.h.in (LINK_OBSOLETE_RPC): New macro.
46817         * config.make.in (link-obsolete-rpc): New substituted variable.
46818         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
46819         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
46820         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46821         (shared-only-routines): Don't set it under [link-obsolete-rpc],
46822         so that libc.a contains the symbols.
46823         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46824         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
46825         * sunrpc/auth_none.c: Likewise.
46826         * sunrpc/auth_unix.c: Likewise.
46827         * sunrpc/authdes_prot.c: Likewise.
46828         * sunrpc/authuxprot.c: Likewise.
46829         * sunrpc/clnt_gen.c: Likewise.
46830         * sunrpc/clnt_perr.c: Likewise.
46831         * sunrpc/clnt_raw.c: Likewise.
46832         * sunrpc/clnt_simp.c: Likewise.
46833         * sunrpc/clnt_tcp.c: Likewise.
46834         * sunrpc/clnt_udp.c: Likewise.
46835         * sunrpc/clnt_unix.c: Likewise.
46836         * sunrpc/des_crypt.c: Likewise.
46837         * sunrpc/des_soft.c: Likewise.
46838         * sunrpc/get_myaddr.c: Likewise.
46839         * sunrpc/key_call.c: Likewise.
46840         * sunrpc/key_prot.c: Likewise.
46841         * sunrpc/netname.c: Likewise.
46842         * sunrpc/pm_getmaps.c: Likewise.
46843         * sunrpc/pm_getport.c: Likewise.
46844         * sunrpc/pmap_clnt.c: Likewise.
46845         * sunrpc/pmap_prot.c: Likewise.
46846         * sunrpc/pmap_prot2.c: Likewise.
46847         * sunrpc/pmap_rmt.c: Likewise.
46848         * sunrpc/publickey.c: Likewise.
46849         * sunrpc/rpc_cmsg.c: Likewise.
46850         * sunrpc/rpc_common.c: Likewise.
46851         * sunrpc/rpc_dtable.c: Likewise.
46852         * sunrpc/rpc_prot.c: Likewise.
46853         * sunrpc/rpc_thread.c: Likewise.
46854         * sunrpc/rtime.c: Likewise.
46855         * sunrpc/svc.c: Likewise.
46856         * sunrpc/svc_auth.c: Likewise.
46857         * sunrpc/svc_raw.c: Likewise.
46858         * sunrpc/svc_run.c: Likewise.
46859         * sunrpc/svc_tcp.c: Likewise.
46860         * sunrpc/svc_udp.c: Likewise.
46861         * sunrpc/svc_unix.c: Likewise.
46862         * sunrpc/svcauth_des.c: Likewise.
46863         * sunrpc/xcrypt.c: Likewise.
46864         * sunrpc/xdr.c: Likewise.
46865         * sunrpc/xdr_array.c: Likewise.
46866         * sunrpc/xdr_float.c: Likewise.
46867         * sunrpc/xdr_intXX_t.c: Likewise.
46868         * sunrpc/xdr_mem.c: Likewise.
46869         * sunrpc/xdr_rec.c: Likewise.
46870         * sunrpc/xdr_ref.c: Likewise.
46871         * sunrpc/xdr_sizeof.c: Likewise.
46872         * sunrpc/xdr_stdio.c: Likewise.
46874 2012-05-10  Roland McGrath  <roland@hack.frob.com>
46876         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
46877         change.  Update copyright years.
46879 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
46881         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
46883 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
46884             Joseph Myers  <joseph@codesourcery.com>
46885             Paul Pluzhnikov  <ppluzhnikov@google.com>
46887         [BZ #14012]
46888         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
46889         requiring rpcgen.
46890         [cross-compiling] (extra-libs): Likewise.
46891         [cross-compiling] (extra-libs-others): Likewise.
46892         [cross-compiling] (librpcsvc-routines): Likewise.
46893         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
46894         [cross-compiling] (omit-deps): Likewise.
46895         (sunrpc-CPPFLAGS): New variable.
46896         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
46897         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
46898         (cross-rpcgen-objs): New variable.
46899         (extra-objs): Append $(cross-rpcgen-objs).
46900         ($(cross-rpcgen-objs)): New rule.
46901         ($(objpfx)cross-rpcgen): Likewise.
46902         (rpcgen-cmd): Define to use $(built-program-file).  Expand
46903         comment.
46904         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
46905         ($(objpfx)x%.stmp): Likewise.
46906         * sunrpc/proto.h [IS_IN_build] (_): Define.
46907         [IS_IN_build] (_libc_intl_domainname): Likewise.
46909 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
46911         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
46912         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
46913         and R_X86_64_TPOFF64.
46915 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
46917         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
46918         sysdeps/unix/sysv/syscalls.list.
46919         (stime): Likewise.
46920         (utime): Likewise.
46921         * sysdeps/unix/sysv/syscalls.list: Remove file.
46923 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
46925         [BZ #3440]
46926         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
46927         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
46928         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
46929         (__LC_IDENTIFICATION): Make these macros useful in #if
46930         expressions, as required by C99.
46932 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
46934         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
46935         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
46936         after this.
46938 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
46940         * stdlib/longlong.h: Updated from GCC.
46942 2012-05-09  Andreas Jaeger  <aj@suse.de>
46944         * nscd/nscd.c (run_modes): Make named enum, reorder so that
46945         default is first entry.
46946         (run_mode): Set type.
46947         (main): Remove informal message about syslog.
46948         (options): Fix typo.
46950         [BZ #14053]
46951         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
46952         to asm.
46953         (lrint): Likewise.
46954         (llrintf): Likewise.
46955         (llrint): Likewise.
46956         (rint): Likewise.
46957         (rintf): Likewise.
46958         (nearbyint): Likewise.
46959         (nearbyintf): Likewise.
46961 2012-05-09  Andreas Jaeger  <aj@suse.de>
46962             Pedro Alves  <palves@redhat.com>
46964         * nscd/nscd.c (run_mode): Use enum.
46965         (main): Cleanup coding style issue.
46967 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
46968             Andreas Jaeger  <aj@suse.de>
46970         * nscd/nscd.c (go_background): Replaced with...
46971         (run_mode): ... this.
46972         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
46973         (options): Add -F --foreground.
46974         (main): Implement it.
46975         (parse_opt): Parse it.
46977 2012-05-09  Andreas Jaeger  <aj@suse.de>
46979         [BZ #14083]
46980         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
46981         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
46982         -Wconversion warning.
46983         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
46984         Likewise.
46986 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
46988         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
46989         == 0.
46990         (LC_ALL): Use macro-int-constant.
46991         (LC_COLLATE): Likewise.
46992         (LC_CTYPE): Likewise.
46993         (LC_MESSAGES): Likewise.
46994         (LC_MONETARY): Likewise.
46995         (LC_NUMERIC): Likewise.
46996         (LC_TIME): Likewise.
46997         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
46998         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46999         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47000         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
47001         Specify type.
47002         [C99-based standards] (float_t): Expect type.
47003         [C99-based standards] (double_t): Expect type.
47004         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
47005         type.
47006         [C99-based standards] (HUGE_VALL): Likewise.
47007         [C99-based standards] (INFINITY): Likewise.
47008         [C99-based standards] (NAN): Likewise.
47009         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
47010         [C99-based standards] (FP_NAN): Likewise.
47011         [C99-based standards] (FP_NORMAL): Likewise.
47012         [C99-based standards] (FP_SUBNORMAL): Likewise.
47013         [C99-based standards] (FP_ZERO): Likewise.
47014         [C99-based standards] (FP_FAST_FMA): Use
47015         optional-macro-int-constant.  Specify type.  Require == 1.
47016         [C99-based standards] (FP_FAST_FMAF): Likewise.
47017         [C99-based standards] (FP_FAST_FMAL): Likewise.
47018         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
47019         [C99-based standards] (FP_ILOGBNAN): Likewise.
47020         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
47021         Specify type.
47022         [C99-based standards] (MATH_ERREXCEPT): Likewise.
47023         [C99-based standards] (math_errhandling): Specify type.
47024         [ISO99 || ISO11] (signgam): Do not allow.
47025         [non-C99-based standards] (copysignf): Do not allow.
47026         [non-C99-based standards] (exp2f): Likewise.
47027         [non-C99-based standards] (log2f): Likewise.
47028         [non-C99-based standards] (modff): Allow.
47029         [non-C99-based standards] (erff): Do not allow.
47030         [non-C99-based standards] (erfcf): Likewise.
47031         [non-C99-based standards] (gammaf): Likewise.
47032         [non-C99-based standards] (hypotf): Likewise.
47033         [non-C99-based standards] (j0f): Likewise.
47034         [non-C99-based standards] (j1f): Likewise.
47035         [non-C99-based standards] (jnf): Likewise.
47036         [non-C99-based standards] (lgammaf): Likewise.
47037         [non-C99-based standards] (tgammaf): Likewise.
47038         [non-C99-based standards] (y0f): Likewise.
47039         [non-C99-based standards] (y1f): Likewise.
47040         [non-C99-based standards] (ynf): Likewise.
47041         [non-C99-based standards] (isnanf): Likewise.
47042         [non-C99-based standards] (acoshf): Likewise.
47043         [non-C99-based standards] (asinhf): Likewise.
47044         [non-C99-based standards] (atanhf): Likewise.
47045         [non-C99-based standards] (cbrtf): Likewise.
47046         [non-C99-based standards] (expm1f): Likewise.
47047         [non-C99-based standards] (ilogbf): Likewise.
47048         [non-C99-based standards] (log1pf): Likewise.
47049         [non-C99-based standards] (logbf): Likewise.
47050         [non-C99-based standards] (nextafterf): Likewise.
47051         [non-C99-based standards] (remainderf): Likewise.
47052         [non-C99-based standards] (rintf): Likewise.
47053         [non-C99-based standards] (scalbf): Likewise.
47054         [non-C99-based standards] (copysignl): Likewise.
47055         [non-C99-based standards] (exp2l): Likewise.
47056         [non-C99-based standards] (log2l): Likewise.
47057         [non-C99-based standards] (modfl): Allow.
47058         [non-C99-based standards] (erfl): Do not allow.
47059         [non-C99-based standards] (erfcl): Likewise.
47060         [non-C99-based standards] (gammal): Likewise.
47061         [non-C99-based standards] (hypotl): Likewise.
47062         [non-C99-based standards] (j0l): Likewise.
47063         [non-C99-based standards] (j1l): Likewise.
47064         [non-C99-based standards] (jnl): Likewise.
47065         [non-C99-based standards] (lgammal): Likewise.
47066         [non-C99-based standards] (tgammal): Likewise.
47067         [non-C99-based standards] (y0l): Likewise.
47068         [non-C99-based standards] (y1l): Likewise.
47069         [non-C99-based standards] (ynl): Likewise.
47070         [non-C99-based standards] (isnanl): Likewise.
47071         [non-C99-based standards] (acoshl): Likewise.
47072         [non-C99-based standards] (asinhl): Likewise.
47073         [non-C99-based standards] (atanhl): Likewise.
47074         [non-C99-based standards] (cbrtl): Likewise.
47075         [non-C99-based standards] (expm1l): Likewise.
47076         [non-C99-based standards] (ilogbl): Likewise.
47077         [non-C99-based standards] (log1pl): Likewise.
47078         [non-C99-based standards] (logbl): Likewise.
47079         [non-C99-based standards] (nextafterl): Likewise.
47080         [non-C99-based standards] (remainderl): Likewise.
47081         [non-C99-based standards] (rintl): Likewise.
47082         [non-C99-based standards] (scalbl): Likewise.
47083         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47084         [non-C99-based standards] (FP_*): Do not allow.
47085         [C99-based standards] (FP_*): Change to
47086         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47087         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47088         allow.
47089         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
47090         (SIG_ERR): Likewise.
47091         [X/Open-based standards] (SIG_HOLD): Likewise.
47092         (SIG_IGN): Likewise.
47093         (SIGABRT): Use macro-int-constant.  Specify type.  Require
47094         positive value.
47095         (SIGFPE): Likewise.
47096         (SIGILL): Likewise.
47097         (SIGINT): Likewise.
47098         (SIGSEGV): Likewise.
47099         (SIGTER): Likewise.
47100         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
47101         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
47102         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
47103         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
47104         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
47105         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
47106         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
47107         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
47108         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
47109         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
47110         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
47111         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
47112         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
47113         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
47114         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
47115         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
47116         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
47117         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
47118         [X/Open-based standards] (SIGTRAP): Likewise.
47119         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
47120         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
47121         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
47122         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
47123         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47124         allow.
47126 2012-05-08  Ian Wienand  <ianw@vmware.com>
47128         [BZ #14080]
47129         * time/tzset.c (__tzset_parse_tz): Update default rules for
47130         daylight time changes in the Energy Policy Act of 2005.
47132 2012-05-09  Andreas Jaeger  <aj@suse.de>
47134         [BZ #13983]
47135         * elf/ldconfig.c (parse_conf): Change string to make clear that
47136         ldconfig only issued a warning if ld.so.conf does not exist.
47138 2012-05-08  David S. Miller  <davem@davemloft.net>
47140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
47141         movxtod instead of popping the value on the stack.
47143         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47145 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
47147         * config.h.in: Add HAVE_ARM_PCS_VFP.
47149 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
47151         [BZ #13979]
47152         * include/features.h: Warn if user requests __FORTIFY_SOURCE
47153         checking but the checks are disabled for any reason.
47155 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
47157         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
47158         and ELF64_R_TYPE with ELFW(R_TYPE).
47160 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
47162         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
47163         (ulimit): Likewise.
47165         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
47166         (settimeofday): Likewise.
47168 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
47170         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
47171         a struct th_u2 inside the union, and move tu_block/tu_code into
47172         a new th_u3 union of tu_block/tu_code inside of that.  Move
47173         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
47174         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
47175         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
47176         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
47177         (th_stuff): Change to th_u1.tu_stuff.
47178         (th_data): Define.
47179         (th_msg): Change to th_u1.th_u2.tu_data.
47181 2012-05-07  David S. Miller  <davem@davemloft.net>
47183         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47185         [BZ #14074]
47186         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
47187         (SETUP_PIC_REG): Use it.
47188         (SETUP_PIC_REG_LEAF): Use it.
47190 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
47192         [BZ #13885]
47193         [BZ #13923]
47194         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47195         USE_AS_EXPM1L.
47196         (EXPL_FINITE): Likewise.
47197         (FLDLOG): Likewise.
47198         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47199         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47200         e_expl.S.
47201         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47202         USE_AS_EXPM1L.
47203         (EXPL_FINITE): Likewise.
47204         (FLDLOG): Likewise.
47205         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47206         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47207         e_expl.S.
47208         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
47209         test of -max_value argument for long double.
47210         * sysdeps/i386/fpu/libm-test-ulps: Update.
47211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47213 2012-05-06  David S. Miller  <davem@davemloft.net>
47215         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
47216         quad soft-float symbols whose references which are compiler
47217         generated.
47218         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47220 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
47222         [BZ #13884]
47223         [BZ #13914]
47224         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47225         USE_AS_EXP10L.
47226         (EXPL_FINITE): Likewise.
47227         (FLDLOG): Likewise.
47228         (c0): Likewise.
47229         (c1): Likewise.
47230         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
47231         Adjust comments for base varying.
47232         (__expl_finite): Change alias to EXPL_FINITE.
47233         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
47234         e_expl.S.
47235         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
47236         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
47237         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47238         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
47239         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47240         USE_AS_EXP10L.
47241         (EXPL_FINITE): Likewise.
47242         (FLDLOG): Likewise.
47243         (c0): Likewise.
47244         (c1): Likewise.
47245         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
47246         Adjust comments for base varying.
47247         (__expl_finite): Change alias to EXPL_FINITE.
47248         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
47249         tests for bugs.
47250         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47252         [BZ #14064]
47253         * math/libm-test.inc (check_float_internal): Correct ulp
47254         calculation for subnormal expected results.
47256 2012-05-06  Andreas Jaeger  <aj@suse.de>
47258         * Makeconfig (+math-flags): New, set to -frounding-math.
47259         (+cflags): Add +math-flags so that all of glibc gets compiled with
47260         it.
47262         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
47264 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
47266         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
47267         Disable one test.
47269         [BZ #13787]
47270         [BZ #13922]
47271         [BZ #14036]
47272         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
47273         (__ieee754_expl): Allow for and saturate large arguments.
47274         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
47275         (u_threshold): Likewise.
47276         (__exp): Call __ieee754_exp before checking for overflow and
47277         underflow.
47278         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
47279         (u_threshold): Likewise.
47280         (__expf): Call __ieee754_expf before checking for overflow and
47281         underflow.
47282         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
47283         (u_threshold): Likewise.
47284         (__expl): Call __ieee754_expl before checking for overflow and
47285         underflow.
47286         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
47287         (__ieee754_expl): Allow for and saturate large arguments.
47288         * math/libm-test.inc (exp_test): Add another test.  Do not allow
47289         missing overflow exception on overflow.
47290         (expm1_test): Do not allow missing overflow exception on overflow.
47292         * sysdeps/i386/fpu/e_expl.c: Move to ...
47293         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
47294         rather than using inline asm.
47295         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
47296         * sysdeps/x86_64/fpu/e_expl.S: Copy from
47297         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
47299         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
47300         (nice): Likewise.
47301         (poll): Likewise.
47302         (signal): Likewise.
47303         (time): Likewise.
47304         (times): Likewise.
47306 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
47308         * sysdeps/unix/syscalls.list (adjtime): Add entry from
47309         sysdeps/unix/common/syscalls.list.
47310         (fchmod): Likewise.
47311         (fchown): Likewise.
47312         (ftruncate): Likewise.
47313         (getrusage): Likewise.
47314         (gettimeofday): Likewise.
47315         (setpgid): Likewise.
47316         (setregid): Likewise.
47317         (setreuid): Likewise.
47318         (sigaction): Likewise.
47319         (truncate): Likewise.
47320         (vhangup): Likewise.
47321         * sysdeps/unix/common/syscalls.list: Remove file.
47322         * sysdeps/unix/bsd/Implies: Don't include unix/common.
47323         * sysdeps/unix/sysv/linux/Implies: Likewise.
47325 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
47327         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
47328         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
47329         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
47330         Moved to ...
47331         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
47332         Here.
47333         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
47334         to ...
47335         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
47336         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
47337         to ...
47338         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
47339         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
47340         to ...
47341         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
47342         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
47343         to ...
47344         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
47345         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
47346         to ...
47347         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
47348         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
47349         to ...
47350         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
47351         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
47352         to ...
47353         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47354         Here.
47355         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
47356         to ...
47357         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
47358         Here.
47359         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
47360         to ...
47361         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
47362         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
47363         Moved to ...
47364         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
47365         Here.
47366         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
47367         to ...
47368         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
47370 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
47372         * sysdeps/unix/common/bits/dirent.h: Remove file.
47373         * sysdeps/unix/common/bits/fcntl.h: Likewise.
47375         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
47376         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
47377         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
47378         * sysdeps/unix/bsd/isatty.c: Likewise.
47379         * sysdeps/unix/bsd/tcdrain.c: Likewise.
47380         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
47381         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
47383 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47385         [BZ #13563]
47386         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
47387         long double comparison inaccuracies.
47388         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47391 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
47393         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
47394         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
47396 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
47398         [BZ #14049]
47399         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
47400         nonzero digits before rounding a hex value.
47401         * stdlib/tst-strtod.c (tests): Add another test.
47403 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47405         * sysdeps/s390/fpu/libm-test-ulps: Update.
47407 2012-05-03  Andreas Jaeger  <aj@suse.de>
47409         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
47410         does not get optimized out.
47411         (malloc_opt_barrier): New.
47413 2012-05-03  Andreas Jaeger  <aj@suse.de>
47414             Roland McGrath  <roland@hack.frob.com>
47416         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
47417         intermediate file deletion.
47418         (generated): Add .symlist files.
47420 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
47422         [BZ #13775]
47423         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
47424         Redirect under this condition.
47425         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47426         [__USE_GNU] (__dprintf_chk): Not under this condition.
47427         [__USE_GNU] (__vdprintf_chk): Likewise.
47428         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
47429         under this condition.
47430         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47431         [__USE_XOPEN2K8] (dprintf): Define under this condition.
47432         [__USE_XOPEN2K8] (vdprintf): Likewise.
47433         [__USE_GNU] (__dprintf_chk): Not under this condition.
47434         [__USE_GNU] (__vdprintf_chk): Likewise.
47435         [__USE_GNU] (dprintf): Likewise.
47436         [__USE_GNU] (vdprintf): Likewise.
47438 2012-05-03  Roland McGrath  <roland@hack.frob.com>
47440         * elf/Makefile (common-generated): Set this instead of generated for
47441         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
47442         $(all-built-dso)-derived lists.
47444 2012-05-03  Andreas Jaeger  <aj@suse.de>
47446         * sysdeps/i386/fpu/libm-test-ulps: Update.
47448         * FAQ: Removed.
47449         * FAQ.in: Likewise.
47450         * scripts/gen-FAQ.pl: Likewise.
47451         * manual/install.texi (Installation): Point to online location of
47452         FAQ.
47453         * Makefile (files-for-dist): Remove FAQ.
47454         (FAQ): Remove.
47456 2012-05-02  Allan McRae  <allan@archlinux.org>
47458         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
47459         (LDFLAGS-reldepmod5.so): Likewise.
47460         (LDFLAGS-reldep6mod1.so): Likewise.
47461         (LDFLAGS-reldep6mod4.so): Likewise.
47462         (LDFLAGS-reldep8mod3.so): Likewise.
47463         (LDFLAGS-unload4mod1.so): Likewise.
47464         (LDFLAGS-unload4mod2.so): Likewise.
47465         (LDFLAGS-tst-initorder): Likewise.
47466         (LDFLAGS-tst-initordera2.so): Likewise.
47467         (LDFLAGS-tst-initordera3.so): Likewise.
47468         (LDFLAGS-tst-initordera4.so): Likewise.
47469         (LDFLAGS-tst-initorderb2.so): Likewise.
47470         (LDFLAGS-noload): Likewise.
47471         (LDFLAGS-next): Likewise.
47472         (LDFLAGS-order2mod1.so): Likewise.
47473         (LDFLAGS-order2mod2.so): Likewise.
47474         (LDFLAGS-tst-initorder2): Likewise.
47475         (LDFLAGS-tst-initorder2a.so): Likewise.
47476         (LDFLAGS-tst-initorder2b.so): Likewise.
47477         (LDFLAGS-tst-initorder2c.so): Likewise.
47478         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
47480 2012-05-02  David S. Miller  <davem@davemloft.net>
47482         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47484 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
47486         [BZ #14055]
47487         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
47489 2012-05-02  Andreas Jaeger  <aj@suse.de>
47491         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
47492         since we manipulate rounding mode.
47493         (CPPFLAGS-test-idouble.c): Likewise.
47494         (CPPFLAGS-test-ifloat.c): Likewise.
47495         (CFLAGS-test-ldouble.c): Likewise.
47496         (CFLAGS-test-double.c): Likewise.
47497         (CFLAGS-test-float.c): Likewise.
47498         (CFLAGS-test-misc.c): Likewise.
47499         (CFLAGS-test-test-fenv.c): Likewise.
47501 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47503         [BZ #2550]
47504         [BZ #2570]
47505         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
47506         comparisons to determine direction to adjust input.
47508 2012-05-01  Roland McGrath  <roland@hack.frob.com>
47510         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
47511         output to the target.
47513         * scripts/localplt.awk: New file.
47514         * elf/Makefile ($(objpfx)check-localplt): Target removed.
47515         (check-localplt-CFLAGS): Variable removed.
47516         ($(all-built-dso:=.jmprel)): New static pattern rule.
47517         (generated): Add those targets.
47518         (localplt-built-dso): New variable.
47519         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
47521         * elf/check-localplt.c: File removed.
47523         * scripts/check-execstack.awk: New file.
47524         * elf/Makefile ($(objpfx)check-execstack): Target removed.
47525         (check-execstack-CFLAGS): Variable removed.
47526         ($(objpfx)check-execstack.h): Target removed.
47527         ($(objpfx)execstack-default): New target.
47528         (generated): Add that instead of check-execstack.h.
47529         ($(all-built-dso:=.phdr)): New static pattern rule.
47530         (generated): Add those targets.
47531         * elf/check-execstack.c: File removed.
47533         * scripts/check-textrel.awk: New file.
47534         * elf/Makefile ($(objpfx)check-textrel): Target removed.
47535         (check-textrel-CFLAGS): Variable removed.
47536         (all-built-dso): Use := to define.o
47537         ($(all-built-dso:=.dyn)): New static pattern rule.
47538         (generated): Add those targets.
47539         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
47540         * config.make.in (READELF): New substituted variable.
47541         * elf/check-textrel.c: File removed.
47543 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
47545         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47546         allow.
47547         * conform/data/ctype.h-data [C99-based standards] (isblank):
47548         Expect function.
47549         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
47550         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
47551         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47552         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
47553         Specify type.  Require positive value.
47554         (EILSEQ): Likewise.
47555         (ERANGE): Likewise.
47556         [ISO || POSIX] (EILSEQ): Do not expect.
47557         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
47558         Specify type.  Require positive value.
47559         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
47560         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
47561         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
47562         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
47563         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
47564         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
47565         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
47566         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
47567         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
47568         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
47569         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
47570         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
47571         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
47572         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
47573         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
47574         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
47575         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
47576         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
47577         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
47578         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
47579         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
47580         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
47581         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
47582         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
47583         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
47584         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
47585         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
47586         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
47587         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
47588         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
47589         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
47590         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
47591         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
47592         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
47593         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
47594         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
47595         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
47596         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
47597         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
47598         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
47599         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
47600         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
47601         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
47602         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
47603         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
47604         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
47605         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
47606         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
47607         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
47608         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
47609         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
47610         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
47611         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
47612         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
47613         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
47614         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
47615         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
47616         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
47617         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
47618         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
47619         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
47620         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
47621         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
47622         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
47623         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
47624         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
47625         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
47626         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
47627         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
47628         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
47629         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
47630         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
47631         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
47632         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
47633         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
47634         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
47635         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
47636         Require >= 2.
47637         (FLT_ROUNDS): Expect as macro, not constant.
47638         (FLT_MANT_DIG): Use macro-int-constant.
47639         (DBL_MANT_DIG): Likewise.
47640         (LDBL_MANT_DIG): Likewise.
47641         (FLT_DIG): Likewise.
47642         (DBL_DIG): Likewise.
47643         (LDBL_DIG): Likewise.
47644         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
47645         (DBL_MIN_EXP): Likewise.
47646         (LDBL_MIN_EXP): Likewise.
47647         (FLT_MAX_EXP): Use macro-int-constant.
47648         (DBL_MAX_EXP): Likewise.
47649         (LDBL_MAX_EXP): Likewise.
47650         (FLT_MAX_10_EXP): Likewise.
47651         (DBL_MAX_10_EXP): Likewise.
47652         (LDBL_MAX_10_EXP): Likewise.
47653         (FLT_MAX): Use macro-constant.
47654         (DBL_MAX): Likewise.
47655         (LDBL_MAX): Likewise.
47656         (FLT_EPSILON): Use macro-constant.  Give upper bound.
47657         (DBL_EPSILON): Likewise.
47658         (LDBL_EPSILON): Likewise.
47659         (FLT_MIN): Likewise.
47660         (DBL_MIN): Likewise.
47661         (LDBL_MIN): Likewise.
47662         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
47663         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
47664         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
47665         [ISO11] (FLT_HAS_SUBNORM): Likewise.
47666         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
47667         [ISO11] (DBL_DECIMAL_DIG): Likewise.
47668         [ISO11] (FLT_DECIMAL_DIG): Likewise.
47669         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
47670         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
47671         [ISO11] (FLT_TRUE_MIN): Likewise.
47672         [ISO11] (LDBL_TRUE_MIN): Likewise.
47673         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47674         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
47675         (SCHAR_MIN): Use macro-int-constant.  Specify type.
47676         (SCHAR_MAX): Likewise.
47677         (UCHAR_MAX): Likewise.
47678         (CHAR_MIN): Likewise.
47679         (CHAR_MAX): Likewise.
47680         (MB_LEN_MAX): Use macro-int-constant.
47681         (SHRT_MIN): Use macro-int-constant.  Specify type.
47682         (SHRT_MAX): Likewise.
47683         (USHRT_MAX): Likewise.
47684         (INT_MAX): Likewise.
47685         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
47686         bound negative.
47687         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
47688         bound with "U".
47689         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
47690         bound with "L".
47691         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
47692         bound negative.  Suffix upper bound with "L".
47693         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
47694         bound with "UL".
47695         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
47696         Specify type.
47697         [C99-based standards] (LLONG_MAX): Likewise.
47698         [C99-based standards] (ULLONG_MAX): Likewise.
47699         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
47700         == 0.
47701         [ISO11] (max_align_t): Require type.
47702         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47704         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
47705         from $CFLAGS, without defining away __attribute__ calls.
47706         (checknamespace): Use $CFLAGS_namespace.
47708         * conform/conformtest.pl (@keywords): Only include C99 keywords
47709         for standards based on C99 or C11.
47711         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
47712         Disable tests.
47713         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
47714         UNIX98]: Likewise.
47716         * conform/conformtest.pl: Handle "macro-int-constant" and test for
47717         usability of symbols in #if.
47719         * conform/conformtest.pl: If macro or constant types start
47720         "promoted:", expect the symbol to be of the following type
47721         promoted by the integer promotions.
47723         * conform/conformtest.pl: Parse all "constant" and "macro" lines
47724         in one place.  Also handle "macro-constant".
47726         * conform/conformtest.pl: Only accept expected macro values with
47727         "==".  Parse all "macro" lines in one place.
47728         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
47730         * conform/conformtest.pl: Handle braced types on "constant" lines
47731         instead of handling "typed-constant".
47732         * conform/data/signal.h-data: Use "constant" instead of
47733         "typed-constant".
47735         * conform/conformtest.pl: Handle "optional-" at start of lines in
47736         one place rather than duplicating several cases.  Handle each
47737         format of "macro" line with initial "optional-".
47739         * conform/conformtest.pl: Only accept expected constant or
47740         optional-constant values with "==".  Parse all "constant" lines in
47741         one place.  Parse all "optional-constant" lines in one place.
47742         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
47743         * conform/data/fmtmsg.h-data: Likewise.
47744         * conform/data/netinet/in.h-data: Likewise.
47745         * conform/data/tar.h-data: Likewise.
47746         * conform/data/limits.h-data: Use "==" form on "constant" and
47747         "optional-constant" lines.
47749         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
47750         Use -std=c99 for XOPEN2K.
47751         (@knownproblems): Remove.
47752         (newtoken): Don't check %isknown.
47754         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
47755         Do not expect macro.
47756         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
47757         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
47758         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
47759         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
47760         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
47761         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
47762         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
47763         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
47764         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
47765         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
47766         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
47767         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
47768         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
47769         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
47770         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
47771         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
47772         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
47773         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
47774         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
47775         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
47776         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
47777         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
47778         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
47779         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
47780         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
47781         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
47782         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
47783         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
47784         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
47785         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
47786         [XPG3] (acosh): Likewise.
47787         [XPG3] (asinh): Likewise.
47788         [XPG3] (atanh): Likewise.
47789         [XPG3] (cbrt): Likewise.
47790         [XPG3] (expm1): Likewise.
47791         [XPG3] (ilogb): Likewise.
47792         [XPG3] (log1p): Likewise.
47793         [XPG3] (logb): Likewise.
47794         [XPG3] (nextafter): Likewise.
47795         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
47796         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
47797         [XPG3] (remainder): Likewise.
47798         [XPG3] (rint): Likewise.
47799         [XPG3 || XPG4 || UNIX98] (round): Likewise.
47800         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
47801         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
47802         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
47803         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
47804         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
47805         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
47806         [UNIX98 || XOPEN2K] (scalb): Expect.
47807         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
47808         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
47809         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
47810         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
47811         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
47812         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
47813         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
47814         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
47815         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
47816         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
47817         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
47818         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
47819         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
47820         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
47821         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
47822         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
47823         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
47824         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
47825         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
47826         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
47827         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
47828         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
47829         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
47830         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
47831         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
47832         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
47833         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
47834         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
47835         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
47836         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
47837         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
47838         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
47839         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
47840         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
47841         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
47842         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
47843         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
47844         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
47845         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
47846         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
47847         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
47848         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
47849         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
47850         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
47851         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
47852         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
47853         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
47854         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
47855         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
47856         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
47857         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
47858         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
47859         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
47860         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
47861         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
47862         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
47863         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
47864         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
47865         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
47866         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
47867         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
47868         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
47869         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
47870         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
47871         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
47872         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
47873         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
47874         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
47875         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
47876         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
47877         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
47878         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
47879         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
47880         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
47881         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
47882         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
47883         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
47884         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
47885         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
47886         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
47887         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
47888         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
47889         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
47890         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
47891         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
47892         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
47893         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
47894         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
47895         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
47896         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
47897         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
47898         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
47899         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
47900         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
47901         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
47902         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
47903         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
47904         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
47905         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
47906         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
47907         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
47908         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
47909         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
47910         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
47911         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
47912         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
47913         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
47914         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
47915         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
47916         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
47917         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
47918         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
47919         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
47920         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
47921         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
47922         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
47923         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
47924         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
47925         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
47926         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
47927         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
47928         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
47929         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
47930         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
47931         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
47932         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
47933         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
47934         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
47935         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
47936         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
47937         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
47938         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
47939         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
47940         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
47941         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
47942         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
47943         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
47945         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
47946         _XOPEN_SOURCE_EXTENDED for XPG4.
47948         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
47950         * Makeconfig (localtime): Remove variable.
47951         (inst_localtime-file): Likewise.
47953 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47956         Update.
47957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47958         Update.
47959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47960         Update.
47961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47962         Update.
47963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47964         Update.
47965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
47966         Update.
47967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47968         Update.
47969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
47970         Update.
47971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47972         Update.
47974 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
47976         [BZ #2550]
47977         [BZ #2570]
47978         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
47979         comparisons to determine direction to adjust input.
47980         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
47981         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
47982         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
47983         Likewise.
47984         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
47985         Likewise.
47986         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47987         Likewise.
47988         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
47989         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
47990         Likewise.
47991         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
47992         Likewise.
47993         * math/libm-test.inc (nexttoward_test): Add more tests.
47995 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47997         [BZ #14040]
47998         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
47999         in version GLIBC_2.1, not GLIBC_2.0.
48000         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
48001         Likewise.
48003 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
48005         [BZ #13942]
48006         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
48007         (1 - x) * (1 + x).
48008         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48009         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
48010         * math/libm-test.inc (acos_test): Add more tests.
48011         (asin_test): Likewise.
48012         * sysdeps/i386/fpu/libm-test-ulps: Update.
48013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48015         [BZ #14034]
48016         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
48017         of square root.
48018         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
48019         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48020         * math/libm-test.inc (acos_test_tonearest): New function.
48021         (acos_test_towardzero): Likewise.
48022         (acos_test_downward): Likewise.
48023         (acos_test_upward): Likewise.
48024         (asin_test_tonearest): Likewise.
48025         (asin_test_towardzero): Likewise.
48026         (asin_test_downward): Likewise.
48027         (asin_test_upward): Likewise.
48028         (main): Call the new functions.
48029         * sysdeps/i386/fpu/libm-test-ulps: Update.
48030         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48032         [BZ #13884]
48033         [BZ #13924]
48034         * math/e_exp10.c: Include <float.h>.
48035         (__ieee754_exp10): Handle underflow here rather than multiplying
48036         large negative argument by M_LN10.
48037         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
48038         of __ieee754_expf.
48039         * math/e_exp10l.c: Include <float.h>.
48040         (__ieee754_exp10l): Handle underflow here rather than multiplying
48041         large negative argument by M_LN10l.
48042         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
48043         spurious overflow exception on underflow.
48045 2012-04-29  Marek Polacek  <polacek@redhat.com>
48047         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
48048         (__fortify_function): New macro.
48049         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
48050         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
48051         __extern_always_inline.
48052         * libio/bits/stdio2.h: Likewise.
48053         * libio/bits/stdio.h: Likewise.
48054         * string/string.h: Likewise.
48055         * string/bits/string3.h: Likewise.
48056         * include/stdio.h: Likewise.
48057         * stdlib/bits/stdlib.h: Likewise.
48058         * stdlib/stdlib.h: Likewise.
48059         * rt/bits/mqueue2.h: Likewise.
48060         * rt/mqueue.h: Likewise.
48061         * posix/bits/unistd.h: Likewise.
48062         * posix/unistd.h: Likewise.
48063         * io/bits/poll2.h: Likewise.
48064         * io/bits/fcntl2.h: Likewise.
48065         * io/fcntl.h: Likewise.
48066         * io/sys/poll.h: Likewise.
48067         * misc/bits/syslog.h: Likewise.
48068         * misc/bits/syslog-ldbl.h: Likewise.
48069         * misc/sys/syslog.h: Likewise.
48070         * socket/bits/socket2.h: Likewise.
48071         * socket/sys/socket.h: Likewise.
48072         * debug/tst-chk1.c: Likewise.
48073         * wcsmbs/bits/wchar2.h: Likewise.
48074         * wcsmbs/bits/wchar-ldbl.h: Likewise.
48075         * wcsmbs/wchar.h: Likewise.
48077 2012-04-29  Andreas Jaeger  <aj@suse.de>
48079         * Makerules (tests): Remove enable-check-abi protection.
48080         (check-abi-warn): Remove.
48081         (check-abi-%): Remove check-abi-warn usage.
48083         * configure.in: Remove check-abi configure option.
48084         * configure: Regenerated.
48085         * config.make.in (enable-check-abi): Remove.
48087 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
48089         [BZ #14033]
48090         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
48091         double functions to double *_finite functions.
48093         [BZ #13941]
48094         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
48095         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
48096         LDBL_MIN_EXP.
48097         * stdio-common/Makefile (tests): Add tst-sprintf3.
48098         * stdio-common/tst-sprintf3.c: New file.
48100         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
48101         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
48103 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
48105         * conform/conformtest.pl: Remove duplicate typed-constant
48106         handling.
48108 2012-04-28  David S. Miller  <davem@davemloft.net>
48110         * Makerules (%.abilist): Add vpath on sysdep_dirs.
48111         (check-abi-%): Remove AWK script prerequisite and explicit
48112         abilist directory.
48113         (check-abi): Rewrite to just diff the symlist with the abilist.
48114         (config-tls, config-abi-config): Delete, no longer used.
48115         (update-abi-%): Remove AWK script and explicit abilist directory.
48116         (update-abi): Rewrite to simply compare and conditionally copy the
48117         symlist and the sysdep abilist file.  Remove update-abi-config
48118         checks.
48119         * abilist/ld.abilist: Remove.
48120         * abilist/libBrokenLocale.abilist: Remove.
48121         * abilist/libanl.abilist: Remove.
48122         * abilist/libcrypt.abilist: Remove.
48123         * abilist/libdl.abilist: Remove.
48124         * abilist/librt.abilist: Remove.
48125         * abilist/libthread_db.abilist: Remove.
48126         * abilist/libutil.abilist: Remove.
48127         * scripts/extract-abilist.awk: Remove.
48128         * scripts/merge-abilist.awk: Remove.
48129         * sysdeps/generic/libcidn.abilist: New file.
48130         * sysdeps/generic/libnss_compat.abilist: New file.
48131         * sysdeps/generic/libnss_db.abilist: New file.
48132         * sysdeps/generic/libnss_dns.abilist: New file.
48133         * sysdeps/generic/libnss_files.abilist: New file.
48134         * sysdeps/generic/libnss_hesiod.abilist: New file.
48135         * sysdeps/generic/libnss_nis.abilist: New file.
48136         * sysdeps/generic/libnss_nisplus.abilist: New file.
48137         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
48138         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
48139         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
48140         file.
48141         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
48142         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
48143         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
48144         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
48145         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
48146         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
48147         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
48148         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
48149         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
48150         file.
48151         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
48152         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
48153         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
48154         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
48155         file.
48156         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
48157         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
48158         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
48159         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
48160         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
48161         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
48162         file.
48163         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
48164         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
48165         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
48166         file.
48167         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
48168         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
48169         New file.
48170         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
48171         New file.
48172         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
48173         New file.
48174         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
48175         New file.
48176         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
48177         New file.
48178         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
48179         New file.
48180         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
48181         New file.
48182         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
48183         New file.
48184         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
48185         New file.
48186         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
48187         New file.
48188         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
48189         New file.
48190         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
48191         New file.
48192         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
48193         New file.
48194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
48195         file.
48196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
48197         New file.
48198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
48199         New file.
48200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
48201         file.
48202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
48203         New file.
48204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
48205         New file.
48206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
48207         file.
48208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
48209         New file.
48210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48211         New file.
48212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
48213         New file.
48214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
48215         New file.
48216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
48217         New file.
48218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
48219         New file.
48220         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
48221         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
48222         file.
48223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48224         New file.
48225         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
48226         file.
48227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
48228         file.
48229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
48230         file.
48231         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
48232         file.
48233         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
48234         file.
48235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48236         New file.
48237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
48238         file.
48239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
48240         file.
48241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48242         New file.
48243         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
48244         file.
48245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
48246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
48247         file.
48248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48249         New file.
48250         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
48251         file.
48252         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
48253         file.
48254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
48255         file.
48256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
48257         file.
48258         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
48259         file.
48260         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48261         New file.
48262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
48263         file.
48264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
48265         file.
48266         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48267         New file.
48268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
48269         file.
48270         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48271         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
48272         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
48273         file.
48274         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
48275         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
48276         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
48277         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
48278         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
48279         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
48280         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
48281         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
48282         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
48283         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
48284         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
48285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
48286         file.
48287         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48288         New file.
48289         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
48290         file.
48291         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
48292         file.
48293         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
48294         file.
48295         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
48296         file.
48297         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
48298         file.
48299         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48300         New file.
48301         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48302         New file.
48303         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
48304         file.
48305         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48306         New file.
48307         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
48308         file.
48309         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
48310         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
48311         file.
48312         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48313         New file.
48314         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
48315         file.
48316         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
48317         file.
48318         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
48319         file.
48320         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
48321         file.
48322         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
48323         file.
48324         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48325         New file.
48326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48327         New file.
48328         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
48329         file.
48330         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48331         New file.
48332         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
48333         file.
48335 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
48337         * conform/conformtest.pl: Fix typo in handling typed-constant from
48338         allow-header.
48340 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
48342         * README: Cut down references to pre-2.6 Linux kernels and
48343         Linuxthreads.  Update lists of configurations in libc and ports
48344         and sort alphabetically.  Say "or newer" with Linux kernel version
48345         requirements.
48347         * config.h.in [IS_IN_build]: Allow compiling without optimization.
48349 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48351         [BZ #887]
48352         * math/libm-test.inc (logb_test_downward): New test to expose
48353         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
48354         rounding mode.
48356 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
48358         [BZ #14027]
48359         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
48360         to be done.
48361         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
48362         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
48364 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
48366         * sysdeps/unix/i386/brk.S: Remove file.
48367         * sysdeps/unix/i386/dl-brk.S: Likewise.
48368         * sysdeps/unix/i386/pipe.S: Likewise.
48369         * sysdeps/unix/i386/sigreturn.S: Likewise.
48370         * sysdeps/unix/i386/syscall.S: Likewise.
48371         * sysdeps/unix/i386/vfork.S: Likewise.
48372         * sysdeps/unix/i386/wait.S: Likewise.
48374         * sysdeps/unix/common/tcsendbrk.c: Move to ...
48375         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
48377         * configure.in (arm*-none*): Do not allow without
48378         --enable-hacker-mode.
48379         (netbsd*): Remove case setting base_os.
48380         (386bsd*): Likewise.
48381         (freebsd*): Likewise.
48382         (bsdi*): Likewise.
48383         (osf*): Likewise.
48384         (sunos*): Likewise.
48385         (ultrix*): Likewise.
48386         (newsos*): Likewise.
48387         (dynix*): Likewise.
48388         (*bsd*): Likewise.
48389         (sysv*): Likewise.
48390         (isc*): Likewise.
48391         (esix*): Likewise.
48392         (sco*): Likewise.
48393         (minix*): Likewise.
48394         (irix4*): Likewise.
48395         (irix6*): Likewise.
48396         (solaris[2-9]*): Likewise.
48397         (none): Likewise.
48398         * configure: Regenerated.
48400 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48402         [BZ #11521]
48403         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
48404         overflow or cancellation in calculating denominator.
48405         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
48406         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
48407         down expression to avoid unexpected rounding in newer GCCs.
48408         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
48410 2012-04-26  David S. Miller  <davem@davemloft.net>
48412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
48413         long-double compat symbols.
48414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
48418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
48420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
48421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
48422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
48423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
48424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
48425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
48426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48428 2012-04-25  David S. Miller  <davem@davemloft.net>
48430         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
48431         HWCAP_* values only after the memory barriers have been defined.
48432         (atomic_full_barrier): Define.
48433         (atomic_read_barrier): Define.
48434         (atomic_write_barrier): Define.
48436 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48438         * shlib-versions: Add libgcc_s version information.
48439         * sysdeps/generic/libgcc_s.h: Remove.
48440         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
48441         libgcc_s.h.
48442         * sysdeps/gnu/unwind-resume.c: Likewise.
48443         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
48445 2012-04-25  David S. Miller  <davem@davemloft.net>
48447         * sysdeps/unix/sparc/brk.S: Delete.
48448         * sysdeps/unix/sparc/dl-brk.S: Delete.
48449         * sysdeps/unix/sparc/pipe.S: Delete.
48450         * sysdeps/unix/sparc/sysdep.S: Delete.
48451         * sysdeps/unix/sparc/sysdep.h: Delete.
48452         * sysdeps/unix/sparc/vfork.S: Delete.
48453         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
48454         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
48455         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
48456         (ret_ERRVAL, r0, r1, MOVE): Define.
48457         (JUMPTARGET): Remove.
48458         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
48459         sysdeps/unix/sparc/sysdep.h
48460         (ENTRY, END): Remove.
48461         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48463 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
48465         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
48466         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
48467         -DIS_IN_build.
48469         * timezone/README: Update upstream location and email address for
48470         tzcode and tzdata.
48471         * timezone/zdump.c: Update from tzcode 2012b.
48472         * timezone/zic.c: Likewise.
48474         * configure.in (libc_cv_as_needed): Remove test.
48475         * configure: Regenerated.
48476         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
48477         conditional definition.
48478         [$(have-as-needed) != yes] (no-as-needed): Likewise.
48479         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
48480         * config.make.in (have-as-needed): Remove variable.
48482 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48483             Paul Pluzhnikov  <ppluzhnikov@google.com>
48485         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
48486         strings correctly.
48488 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
48490         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
48491         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
48492         * sysdeps/sh/strlen.S: Likewise.
48494 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
48496         * sysdeps/unix/fork.S: Remove file.
48497         * sysdeps/unix/i386/fork.S: Likewise.
48498         * sysdeps/unix/sparc/fork.S: Likewise.
48500         * sysdeps/unix/system.c: Remove file.
48501         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
48503         * sysdeps/unix/getegid.S: Remove file.
48504         * sysdeps/unix/geteuid.S: Likewise.
48506 2012-04-24  Roland McGrath  <roland@hack.frob.com>
48508         * scripts/check-localplt.awk: New file.
48509         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
48510         of diff.
48511         * scripts/data/localplt-generic.data: Add a comment.
48513         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
48514         NODE when __dir_mkfile failed.
48515         * sysdeps/mach/hurd/symlinkat.c: Likewise.
48516         Reported by Ludovic Courtès <ludo@gnu.org>.
48518 2012-04-24  Andreas Jaeger  <aj@suse.de>
48520         * Makerules (common-clean): Also remove gen-as-const-headers
48521         files.
48523 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
48525         * Makerules (native-compile): Do not change working directory for
48526         build.  Use $(OUTPUT_OPTION) in command.
48527         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
48529 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48531         [BZ #13886]
48532         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
48533         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
48534         * math/libm-test.inc (floor_test): Add more tests.
48535         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
48537 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
48539         * sysdeps/unix/getdents.c: Remove file.
48540         * sysdeps/unix/sysv/getdents.c: Likewise.
48541         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
48543         * sysdeps/unix/syscalls.list (madvise): Add syscall from
48544         sysdeps/unix/mman/syscalls.list.
48545         (mmap): Likewise.
48546         (mprotect): Likewise.
48547         (msync): Likewise.
48548         (munmap): Likewise.
48549         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
48550         * sysdeps/unix/mman/syscalls.list: Remove.
48551         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
48553         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
48554         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
48555         * configure: Regenerated.
48556         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
48557         $(libgcc_s_suffix).
48558         * config.make.in (libgcc_s_suffix): Remove variable.
48560 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
48562         * sysdeps/unix/sysv/gethostname.c: Move to ...
48563         * sysdeps/posix/gethostname.c: ... here.
48565         * sysdeps/unix/execve.S: Remove file.
48567         * sysdeps/unix/_exit.S: Remove file.
48569 2012-04-23  Andreas Jaeger  <aj@suse.de>
48571         [BZ #13739]
48572         * manual/Makefile: Remove make dist support, there's no
48573         need for a stand-alone documentation tar ball.
48574         (TEXI2DVI): Define always, it's not in Makeconfig.
48575         (dist): Removed.
48576         (tar-it): Removed.
48577         (edition): Removed.
48578         (glibc-doc-$(edition).tar): Removed
48579         (%.Z): Removed.
48580         (%.gz): Removed.
48581         (%.uu): Removed.
48582         (ETAGS): Remove, it's in Makeconfig.
48583         (move-if-change): Remove, it's in Makeconfig.
48585 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
48587         [BZ #13970]
48588         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
48589         (strtod, strtof, strtold, strtol, strtoul, strtoq)
48590         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
48591         (strtod_l, strtof_l, strtold_l): Remove __wur.
48592         It is not necessarily an error to ignore strtol's return value.
48593         One can reliably look at the stored endptr to decide whether
48594         the number had valid syntax.
48596 2012-04-21  Andreas Jaeger  <aj@suse.de>
48598         [BZ #13739]
48599         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
48601 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
48603         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
48604         * sysdeps/unix/sysv/Versions: Remove file.
48606 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
48608         [BZ #13927]
48609         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48611 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
48613         [BZ #7064]
48614         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
48615         version from __vm86.
48617 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
48619         * sysdeps/unix/common/lxstat.c: Remove file.
48620         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
48622         * sysdeps/unix/sysv/Makefile: Remove file.
48624         * sysdeps/unix/sysv/direct.h: Remove file.
48626         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
48627         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
48628         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
48629         * sysdeps/unix/sysv/bits/signum.h: Likewise.
48630         * sysdeps/unix/sysv/bits/stat.h: Likewise.
48631         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
48632         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
48634         * sysdeps/unix/sysv/setrlimit.c: Remove file.
48636         * sysdeps/unix/xmknod.c: Remove file.
48637         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
48639         * sysdeps/unix/sysv/settimeofday.c: Remove file.
48641         * sysdeps/unix/sysv/i386/time.S: Remove file.
48643         * sysdeps/unix/fxstat.c: Remove file.
48644         * sysdeps/unix/xstat.c: Likewise.
48645         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
48647         * sysdeps/unix/sysv/sigaction.c: Remove file.
48649         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
48650         (sysdep_headers): Remove variable.
48651         [termio.h not in sysdep_headers] (generated): Likewise.
48652         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
48653         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
48654         * sysdeps/unix/sysv/tcdrain.c: Likewise.
48655         * sysdeps/unix/sysv/tcflow.c: Likewise.
48656         * sysdeps/unix/sysv/tcflush.c: Likewise.
48657         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
48658         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
48659         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
48660         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
48661         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
48663         * sysdeps/unix/siglist.c: Remove file.
48665         * sysdeps/unix/getppid.S: Remove file.
48667         * sysdeps/unix/mkdir.c: Remove file.
48668         * sysdeps/unix/rmdir.c: Likewise.
48670 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
48672         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
48673         ERR_MAX value.
48674         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
48675         errlist-compat value.
48677 2012-04-18  David S. Miller  <davem@davemloft.net>
48679         * sysdeps/generic/memcopy.h (reg_char): Delete.
48680         * debug/strcat_chk.c: Use char, not reg_char.
48681         * debug/strcpy_chk.c: Likewise.
48682         * debug/strncat_chk.c: Likewise.
48683         * debug/strncpy_chk.c: Likewise.
48684         * string/memchr.c: Likewise.
48685         * string/memrchr.c: Likewise.
48686         * string/rawmemchr.c: Likewise.
48687         * string/strcat.c: Likewise.
48688         * string/strchr.c: Likewise.
48689         * string/strchrnul.c: Likewise.
48690         * string/strcmp.c: Likewise.
48691         * string/strcpy.c: Likewise.
48692         * string/strncat.c: Likewise.
48693         * string/strncmp.c: Likewise.
48694         * string/strncpy.c: Likewise.
48696 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
48698         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
48699         __builtin_memcopy is called when src and dest ranges are known to not
48700         overlap.
48702 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
48704         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
48705         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
48706         fwd_align_merge macro call.
48707         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
48708         bwd_align_merge macro call.
48709         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48711 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
48713         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
48714         bwd_align_merge macros.
48715         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
48716         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
48717         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48719 2012-04-18  David S. Miller  <davem@davemloft.net>
48721         * sysdeps/sparc/sparc64/memcopy.h: Delete.
48723 2012-04-18  Andreas Jaeger  <aj@suse.de>
48725         [BZ# 6794]
48726         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
48727         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
48728         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48730         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
48731         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
48732         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48734         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
48735         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
48736         Adjust for changed ldbl-128 files.
48738         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
48739         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
48740         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48742 2012-04-17  David S. Miller  <davem@davemloft.net>
48744         * sysdeps/sparc/sparc32/memcopy.h: Delete.
48746 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
48748         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
48749         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
48750         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
48751         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
48752         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48753         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
48755 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48757         [BZ #6794]
48758         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
48759         * math/libm-test.inc: Add ilogb errno and exception tests.
48760         * math/w_ilogb.c: New file: ilogb wrapper.
48761         * math/w_ilogbf.c: New file: ilogbf wrapper.
48762         * math/w_ilogbl.c: New file: ilogbl wrapper.
48763         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
48764         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
48765         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
48766         exception being thrown with 0.0 as argument.
48767         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
48768         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
48769         exception being thrown with 0.0 as argument.
48770         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
48771         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48772         exception being thrown with 0.0 as argument.
48773         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
48774         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48775         exception being thrown with 0.0 as argument.
48776         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
48777         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
48778         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
48779         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
48780         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
48781         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
48782         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
48783         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
48784         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
48786 2012-04-17  Petr Baudis  <pasky@ucw.cz>
48788         * include/sys/uio.h: Change __vector to __iovec to avoid clash
48789         with altivec.
48791 2012-04-16  Marek Polacek  <polacek@redhat.com>
48793         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
48795 2012-04-16  Marek Polacek  <polacek@redhat.com>
48797         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
48798         operands of fdivp instruction.
48800 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
48802         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
48803         * elf/tst-auditmod3b.c: Likewise.
48804         * elf/tst-auditmod4b.c: Likewise.
48805         * elf/tst-auditmod5b.c: Likewise.
48806         * elf/tst-auditmod6b.c: Likewise.
48807         * elf/tst-auditmod6c.c: Likewise.
48808         * elf/tst-auditmod7b.c: Likewise.
48809         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
48810         * sysdeps/x86_64/preconfigure.in: Likewise.
48811         * sysdeps/x86_64/preconfigure: Regenerated.
48813 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
48815         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
48816         __ILP32__.
48818 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
48820         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48821         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
48823 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
48825         [BZ #13973]
48826         * locale/iso-639.def: Fix gl language name. Spotted by
48827         Yaron Shahrabani.
48829 2012-04-12  Roland McGrath  <roland@hack.frob.com>
48831         [BZ #2074]
48832         * libio/libio.h (__io_write_fn): Update comment.
48834 2012-04-12  Petr Baudis  <pasky@ucw.cz>
48836         [BZ #2074]
48837         * stdio.texi (Hook Functions): The user provided writer function
48838         is not allowed to return -1.
48840 2012-04-11  David S. Miller  <davem@davemloft.net>
48842         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48844 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
48846         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
48847         Add a leading slash to rtkaio.
48849 2012-04-11  Jim Meyering  <meyering@redhat.com>
48851         [BZ #11959]
48852         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
48853         It is not necessarily an error to ignore fwrite's return
48854         value.  One can reliably use ferror to test for errors after
48855         the fact.
48857 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
48859         * bits/types.h (__snseconds_t): New type.
48860         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
48862         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
48863         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48864         (__SNSECONDS_T_TYPE): Likewise.
48865         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48866         (__SNSECONDS_T_TYPE): Likewise.
48867         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48868         (__SNSECONDS_T_TYPE): Likewise.
48870 2012-04-10  Andreas Jaeger  <aj@suse.de>
48872         [BZ #2636]
48873         * manual/time.texi (Processor Time): Return type of times is
48874         elapsed real time since an arbitrary point in the past.
48875         (CPU Time): Move CLK_TCK from here...
48876         (Processor Time): ...to here.  Correct description.
48877         * manual/conf.texi (Constants for Sysconf): Correct description of
48878         _SC_CLK_TCK.
48880 2012-04-10  David S. Miller  <davem@davemloft.net>
48882         [BZ #13967]
48883         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
48884         where the is a gap between DT_REL(A) and DT_JMPREL.
48886 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
48888         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
48889         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48890         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48892 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48894         * elf/dl-support.c (_dl_inhibit_cache): New variable.
48895         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
48896         (dl_main): Handle --inhibit-cache.
48897         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
48898         _dl_inhibit_cache.
48899         * elf/dl-load.c (_dl_map_object): Use it.
48900         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
48902 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
48904         [BZ #13872]
48905         * sysdeps/i386/fpu/e_powl.S (p78): New object.
48906         (__ieee754_powl): Saturate large exponents rather than testing for
48907         overflow of y*log2(x).
48908         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48909         * math/libm-test.inc (pow_test): Do not permit spurious overflow
48910         exceptions.
48912         [BZ #11521]
48913         * math/s_ctan.c: Include <float.h>.
48914         (__ctan): Avoid internal overflow or cancellation in calculating
48915         denominator.
48916         * math/s_ctanf.c: Likewise.
48917         * math/s_ctanl.c: Likewise.
48918         * math/s_ctanh.c: Likewise.
48919         * math/s_ctanhf.c: Likewise.
48920         * math/s_ctanhl.c: Likewise.
48921         * math/libm-test.inc (ctan_test): Add more tests.
48922         (ctanh_test): Likewise.
48923         * sysdeps/i386/fpu/libm-test-ulps: Update.
48924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48926 2012-04-09  Andreas Jaeger  <aj@suse.de>
48928         [BZ #6894]
48929         * manual/filesys.texi (Directory Entries): Mention that d_namlen
48930         is an optional BSD extension.
48932         [BZ #10254]
48933         * manual/stdio.texi (Opening Streams): Document additional fopen
48934         parameters.
48936 2012-04-09  Roland McGrath  <roland@hack.frob.com>
48938         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
48939         %eax without telling the compiler.
48941 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
48943         [BZ # 13963]
48944         * manual/install.texi: Use sourceware.org.
48946 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
48948         [BZ #13873]
48949         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
48950         (__ieee754_pow): Generate overflow and underflow using huge*huge
48951         and tiny*tiny rather than just returning constant infinity or zero
48952         for large exponents.
48953         * math/libm-test.inc (pow_test): Require overflow exceptions for
48954         applicable cases of large exponents.
48956         [BZ #706]
48957         * sysdeps/i386/fpu/e_pow.S (p10): New object.
48958         (__ieee754_pow): Use iterative multiplication algorithm only for
48959         integer exponents with absolute value below 1024.  Check for odd
48960         integer exponents when using algorithm for real exponents.
48961         * math/libm-test.inc (pow_test): Add more tests.
48962         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48964 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
48966         [BZ #13705]
48967         * math/libm-test.inc (exp_test): Do not allow overflow exception
48968         on underflow test.
48970 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
48972         [BZ #13705]
48973         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
48974         instead of __kernel_standard_f.
48976 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
48978         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
48979         * sysdeps/x86_64/memset_chk.S: Likewise.
48981 2012-04-08  Andreas Jaeger  <aj@suse.de>
48983         [BZ #10153]
48984         * manual/startup.texi (Environment Access): Describe return value
48985         for putenv and setenv.
48987         [BZ #6895]
48988         * manual/filesys.texi (Directory Entries): Add description for
48989         DT_LNK.
48991         [BZ #6890]
48992         * manual/filesys.texi (Directory Entries): Clarify that it's file
48993         system not operating system in the description of DT_UNKNOWN.
48995         [BZ #6578]
48996         * manual/syslog.texi (closelog): Fix reference, it's openlog.
48998 2012-04-08  Stephen Compall  <s11@member.fsf.org>
49000         [BZ #6649]
49001         * manual/llio.texi (Opening and Closing Files): Add cross
49002         reference to explain mode argument.
49004 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
49006         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
49007         * sysdeps/x86_64/memset_chk.S: Likewise.
49009 2012-04-07  David S. Miller  <davem@davemloft.net>
49011         * elf/elf.h (R_SPARC_WDISP10): Define.
49012         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
49013         R_SPARC_SIZE32.
49014         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
49015         R_SPARC_SIZE64 and R_SPARC_H34.
49017 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
49019         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
49020         conditions and remove no longer applicable assertion.
49022 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
49024         * bits/byteswap.h: Include <features.h>.
49025         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49026         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49028 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
49030         * bits/byteswap.h (__bswap_16): Removed.
49031         Include <bits/byteswap-16.h> to get __bswap_16.
49032         * sysdeps/i386/bits/byteswap.h: Likewise.
49033         * sysdeps/s390/bits/byteswap.h: Likewise.
49034         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49035         * bits/byteswap-16.h: New file.
49036         * sysdeps/i386/bits/byteswap-16.h: Likewise.
49037         * sysdeps/s390/bits/byteswap-16.h: Likewise.
49038         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
49039         * string/Makefile (headers): Add bits/byteswap-16.h.
49041 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49043         [BZ #13895]
49044         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
49045         extra indirection.
49046         * nss/Makefile (tests-static, tests): Add tst-nss-static.
49047         * nss/tst-nss-static.c: New.
49049 2012-04-06  Robert Millan  <rmh@gnu.org>
49051         [BZ #6486]
49052         * manual/llio.texi (File Position Primitive): lseek
49053         refers to WHENCE when it really means OFFSET.
49055 2012-04-06  Andreas Jaeger  <aj@suse.de>
49057         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
49058         strncmp declarations.
49060         * abilist/libc.abilist: Add __poll and __ppoll.
49062 2012-04-05  David S. Miller  <davem@davemloft.net>
49064         * scripts/check-local-headers.sh: Accept a host triplet in the
49065         path matched by the exclude regexp.
49067         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
49068         definition.
49069         * sysdeps/powerpc/powerpc32/dl-machine.h
49070         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
49071         * sysdeps/s390/s390-32/dl-machine.h
49072         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49073         * sysdeps/sparc/sparc32/dl-machine.h
49074         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49075         * sysdeps/sparc/sparc64/dl-machine.h
49076         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49078         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
49079         lazy binding.
49080         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
49081         undefined symbol errors.
49083         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
49084         DT_NEEDED entries.
49086 2012-04-05  Michael Matz  <matz@suse.de>
49088         [BZ #13592]
49089         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
49091 2012-04-05  Andreas Jaeger  <aj@suse.de>
49093         [BZ #13908]
49094         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
49095         comment.
49097 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49099         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
49100         which ROUND is no valid rounding mode.
49102 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49104         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
49105         read again.
49106         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
49108 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49110         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
49111         an exception using FPU order intentionally.
49113 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49115         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
49116         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
49117         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
49118         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
49120 2012-04-05  Simon Josefsson  <simon@josefsson.org>
49122         [BZ #12340]
49123         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
49124         EINVAL when BUFLEN is too smal.
49126 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
49128         [BZ #13553]
49129         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
49130         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
49132 2012-04-03  Andreas Jaeger  <aj@suse.de>
49134         [BZ #13938]
49135         * manual/setjmp.texi (System V contexts): Fix sentence.
49137         [BZ #13926]
49138         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
49139         New macro for this case.
49140         [!__GNUC__] (__bswap_64): New inline function for this case.
49141         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49142         * bits/byteswap.h: Likewise.
49143         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
49144         ull, guard with __GLIBC_HAVE_LONG_LONG.
49146         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
49147         __GLIBC_HAVE_LONG_LONG.
49149         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
49150         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
49152 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49154         [BZ #13691]
49155         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
49156         inptr and inend, rather than using last_ch.
49158 2012-04-02  David S. Miller  <davem@davemloft.net>
49160         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
49161         * stdio-common/printf-parse.h (read_int): Change return type to
49162         'int', return -1 on INT_MAX overflow.
49163         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
49164         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
49165         overflows INT_MAX.  Check for overflow of in-format-string precision
49166         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
49167         SIZE_MAX not INT_MAX for integer overflow test.
49168         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
49169         skip the construct in the format string but do not record anything.
49170         * stdio-common/bug22.c: Adjust to test both width/prevision
49171         INT_MAX overflow as well as total length INT_MAX overflow.  Check
49172         explicitly for proper errno values.
49174 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
49176         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
49177         CHAR_MAX.
49178         * string/test-strcmp.c [! WIDE]: Likewise.
49179         * time/tst-mktime2.c: Likewise for INT_MAX.
49180         * string/test-string.h: #include <sys/param.h> for MIN.
49182         * csu/init-first.c (__libc_init_first): Call __ctype_init.
49183         * sysdeps/i386/init-first.c (init): Likewise.
49184         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
49185         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
49186         * sysdeps/sh/init-first.c (init): Likewise.
49188 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
49190         * po/ru.po: Update from translation team.
49191         * po/vi.po: Likewise.
49193 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49195         * resolv/nss_dns/dns-host.c: Merge copyright years.
49197 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49199         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49200         Optimize memcpy with prefetch if
49201         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
49202         src, dst pointers have unequal 16 byte alignments.
49204 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49206         [BZ #13928]
49207         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
49208         from a CNAME entry and return the minimum ttl for the query.
49209         (gaih_getanswer_slice): Likewise.
49211 2012-03-30  Jeff Law  <law@redhat.com>
49213         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
49214         due to long keys.
49215         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
49216         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
49218         * resolv/nss_dns/dns-host.c: Update copyright year.
49220 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
49222         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
49223         requests to save a system call.  Fix check that all bytes are sent.
49225         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
49226         comments for sendmmsg.
49228 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49230         [BZ #13691]
49231         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
49232         with only 1 character between 0x0041 and 0x01b0.
49233         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
49234         * wcsmbs/tst-mbsnrtowcs.c: New file.
49236 2012-03-29  David S. Miller  <davem@davemloft.net>
49238         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
49239         small copies by hand.
49241 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49243         [BZ #13761]
49244         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
49245         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
49246         group memberships.
49248 2012-03-28  David S. Miller  <davem@davemloft.net>
49250         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
49251         that branches into memcpy.
49252         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49253         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
49254         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49255         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
49256         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
49257         bits.
49258         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
49259         implementation too.
49260         * sysdeps/sparc/mempcpy.S: New file.
49262         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
49263         the IFUNC routine in the libc case.
49264         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49266         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
49267         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
49268         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
49269         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
49270         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
49271         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
49272         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
49273         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
49275         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
49276         loop to 256 bytes instead of 64 bytes and fix test signedness.
49278         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
49279         * sysdeps/sparc/sparc32/Makefile: rather than here...
49280         * sysdeps/sparc/sparc64/Makefile: and here.
49282 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
49284         * malloc/mallocbug.c: Avoid warnings about unused variables.
49286 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49288         [BZ #13760]
49289         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
49290         in the right place. Discard and retry query if response is
49291         larger than input buffer size.
49293 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
49295         [BZ #369]
49296         [BZ #2678]
49297         [BZ #3866]
49298         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
49299         x for large integer exponent.
49300         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49301         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
49302         sign of result as needed afterwards.
49303         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
49304         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
49305         result for underflowing pow the same as for overflow.
49306         (__kernel_standard_l): Handle powl overflow and underflow here
49307         rather than calling __kernel_standard.
49308         * math/libm-test.inc (pow_test): Add more tests.
49310         [BZ #3868]
49311         [BZ #13879]
49312         [BZ #13910]
49313         [BZ #13911]
49314         [BZ #13912]
49315         [BZ #13913]
49316         [BZ #13915]
49317         [BZ #13916]
49318         [BZ #13917]
49319         [BZ #13918]
49320         [BZ #13919]
49321         [BZ #13920]
49322         [BZ #13921]
49323         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
49324         * sysdeps/ieee754/k_standard.c: Include <float.h>.
49325         (__kernel_standard_l): New function.
49326         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
49327         __kernel_standard.
49328         * math/w_acosl.c (__acosl): Likewise.
49329         * math/w_asinl.c (__asinl): Likewise.
49330         * math/w_atan2l.c (__atan2l): Likewise.
49331         * math/w_atanhl.c (__atanhl): Likewise.
49332         * math/w_coshl.c (__coshl): Likewise.
49333         * math/w_exp10l.c (__exp10l): Likewise.
49334         * math/w_exp2l.c (__exp2l): Likewise.
49335         * math/w_fmodl.c (__fmodl): Likewise.
49336         * math/w_hypotl.c (__hypotl): Likewise.
49337         * math/w_j0l.c (__j0l, __y0l): Likewise.
49338         * math/w_j1l.c (__j1l, __y1l): Likewise.
49339         * math/w_jnl.c (__jnl, __ynl): Likewise.
49340         * math/w_lgammal.c (__lgammal): Likewise.
49341         * math/w_log10l.c (__log10l): Likewise.
49342         * math/w_log2l.c (__log2l): Likewise.
49343         * math/w_logl.c (__logl): Likewise.
49344         * math/w_powl.c (__powl): Likewise.
49345         * math/w_remainderl.c (__remainderl): Likewise.
49346         * math/w_scalbl.c (sysv_scalbl): Likewise.
49347         * math/w_sinhl.c (__sinhl): Likewise.
49348         * math/w_sqrtl.c (__sqrtl): Likewise.
49349         * math/w_tgammal.c (__tgammal): Likewise.
49350         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
49351         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
49352         * math/libm-test.inc (acos_test): Add more tests.
49353         (acosh_test): Likewise.
49354         (asin_test): Likewise.
49355         (atanh_test): Likewise.
49356         (exp_test): Likewise.
49357         (exp10_test): Likewise.
49358         (exp2_test): Likewise.
49359         (expm1_test): Likewise.
49360         (lgamma_test): Likewise.
49361         (log_test): Likewise.
49362         (log10_test): Likewise.
49363         (log1p_test): Likewise.
49364         (log2_test): Likewise.
49365         (pow_test): Do not allow some spurious overflow exceptions.
49366         (sqrt_test): Add more tests.
49367         (tgamma_test): Likewise.
49368         (y0_test): Likewise.
49369         (y1_test): Likewise.
49370         (yn_test): Likewise.
49372 2012-03-27  Anton Blanchard  <anton@samba.org>
49374         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
49375         MAP_HUGETLB.
49376         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49377         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49378         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49380 2012-03-27  David S. Miller  <davem@davemloft.net>
49382         * conform/Makefile: Run run-conformtest.sh using $(BASH).
49384         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
49385         have-as-vis3 check.
49387 2012-03-27  Andreas Jaeger  <aj@suse.de>
49389         * sysdeps/x86_64/elf/configure.in: Moved to ...
49390         * sysdeps/x86_64/configure.in: ... here.
49391         * sysdeps/x86_64/elf/start.S: Moved to ...
49392         * sysdeps/x86_64/start.S: ... here.
49393         * sysdeps/x86_64/elf/configure: Delete.
49395         * sysdeps/x86_64/configure.in: Merge contents from
49396         sysdeps/i386/configure.in (without i686 check).
49398         * sysdeps/i386/elf/Versions: Merge into ...
49399         * sysdeps/i386/Versions: ... this.
49400         * sysdeps/i386/elf/Versions: Delete file.
49401         * sysdeps/i386/elf/start.S: Moved to ...
49402         * sysdeps/i386/start.S: ...here.
49403         * sysdeps/i386/elf/configure.in: Merge into...
49404         * sysdeps/i386/configure.in: ...here.
49405         * sysdeps/i386/elf/configure.in: Delete file.
49406         * sysdeps/i386/elf/configure: Delete file.
49408         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
49409         * debug/backtracesyms.c: ... here.
49410         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
49411         * debug/backtracesymsfd.c: ... here.
49412         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
49413         * sysdeps/generic/ifunc-sel.h: ... here.
49415         * sysdeps/unix/i386/start.c: Delete file.
49416         * sysdeps/unix/sparc/start.c: Delete file.
49417         * sysdeps/unix/start.c: Delete file.
49419         * sysdeps/sh/elf/configure.in: Moved to ...
49420         * sysdeps/sh/configure.in: ... here.
49421         * sysdeps/sh/elf/start.S: Moved to ...
49422         * sysdeps/sh/start.S: ... here.
49423         * sysdeps/sh/elf/configure: Delete file.
49425         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
49426         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
49427         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
49428         * sysdeps/powerpc/powerpc64/entry.h: ... here.
49429         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
49430         * sysdeps/powerpc/powerpc64/start.S: here.
49431         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
49432         * sysdeps/powerpc/powerpc64/Makefile: ... this.
49433         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
49434         * sysdeps/powerpc/powerpc64/configure.in: ... this.
49435         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
49437         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
49438         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
49439         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
49440         * sysdeps/powerpc/powerpc32/start.S: ... here.
49441         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
49442         * sysdeps/powerpc/powerpc32/configure.in: ... this.
49443         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
49445         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
49446         * sysdeps/powerpc/ifunc-sel.h: ... here.
49447         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
49448         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
49450         * sysdeps/sparc/elf/configure.in: Moved to ...
49451         * sysdeps/sparc/configure.in: ... here.
49452         * sysdeps/sparc/elf/configure: Delete file.
49453         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
49454         * sysdeps/sparc/sparc32/start.S: ... here.
49455         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
49456         * sysdeps/sparc/sparc64/start.S: ... here.
49457         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
49458         * sysdeps/sparc/sparc32/Makefile: ... this.
49459         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
49460         * sysdeps/sparc/sparc64/Makefile: ... this.
49462         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
49463         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
49464         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
49465         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
49466         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
49467         * sysdeps/s390/s390-32/setjmp.S: ... here.
49468         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
49469         * sysdeps/s390/s390-32/configure.in: ... here.
49470         * sysdeps/s390/s390-32/elf/configure: Delete file.
49471         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
49472         * sysdeps/s390/s390-32/start.S: ... here.
49474         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
49475         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
49476         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
49477         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
49478         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
49479         * sysdeps/s390/s390-64/setjmp.S: ... here.
49480         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
49481         * sysdeps/s390/s390-64/configure.in: ... here
49482         * sysdeps/s390/s390-64/elf/configure: Delete file.
49483         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
49484         * sysdeps/s390/s390-64/start.S: ... here.
49485         * sysdeps/s390/s390-64/elf/configure: Delete.
49487         * configure.in: Remove support for elf directories in sysdeps.
49489         * configure: Regenerated.
49490         * sysdeps/i386/configure: Regenerated.
49491         * sysdeps/powerpc/powerpc32/configure: Regenerated.
49492         * sysdeps/powerpc/powerpc64/configure: Regenerated.
49493         * sysdeps/s390/s390-32/configure: Regenerated.
49494         * sysdeps/s390/s390-64/configure: Regenerated.
49495         * sysdeps/sh/configure: Regenerated.
49496         * sysdeps/sparc/configure: Regenerated.
49497         * sysdeps/x86_64/configure: Regenerated.
49499 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
49501         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49503         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
49504         denormal result into account.
49506 2012-03-25  Roland McGrath  <roland@hack.frob.com>
49508         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
49509         Reported by Allan McRae <allan@archlinux.org>.
49511 2012-03-23  Jeff Law  <law@redhat.com>
49513         * nss/getnssent.c (__nss_getent): Fix typo.
49515 2012-03-23  David S. Miller  <davem@davemloft.net>
49517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49519 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
49521         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
49522         to pad to uint64_t for each field.
49523         (dl_tls_index): Replace unsigned long with uint64_t.
49525 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
49526         Paul Pluzhnikov  <ppluzhnikov@google.com>
49528         [BZ #6528]
49529         * grp/Makefile (otherlibs): Don't set it.
49530         * inet/Makefile (otherlibs): Likewise.
49531         * login/Makefile (otherlibs): Likewise.
49532         * nscd/Makefile (otherlibs): Likewise.
49533         * posix/Makefile (otherlibs): Likewise.
49534         * pwd/Makefile (otherlibs): Likewise.
49535         * rt/Makefile (otherlibs): Likewise.
49536         * sunrpc/Makefile (otherlibs): Likewise.
49537         * nss/Makefile (otherlibs): Likewise.
49538         Add libnss_files to routines and static-only-routines.
49539         ($(objpfx)getent): Remove rule.
49540         * resolv/Makefile: Add libnss_dns and libresolv to routines and
49541         static-only-routines.
49543 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
49545         [BZ #13892]
49546         * math/s_cexp.c: Include <float.h>.
49547         (__cexp): Handle exp result overflowing not necessarily
49548         overflowing both real and imaginary parts of result.
49549         * math/s_cexpf.c: Likewise.
49550         * math/s_cexpl.c: Likewise.
49551         * math/libm-test.inc (cexp_test): Add more tests.
49552         * sysdeps/i386/fpu/libm-test-ulps: Update.
49553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49555 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
49557         * include/link.h (ELFW): New macro.
49558         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
49559         Replace ELF64_R_TYPE with ELFW(R_TYPE).
49561 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
49563         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
49564         with uint64_t.
49566 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
49568         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
49569         declaration.
49570         (struct La_x32_retval): Likewise.
49572 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
49574         * sysdeps/x86_64/preconfigure.in: New file.
49575         * sysdeps/x86_64/preconfigure: New generated file.
49577 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
49579         [BZ #13824]
49580         * math/e_exp2l.c: Include <float.h>.
49581         (__ieee754_exp2l): Handle overflow and underflow cases
49582         separately.  Only pass fractional part of argument to
49583         __ieee754_expl.
49584         * math/libm-test.inc (exp2_test): Add more tests.
49586         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
49587         negating x to take absolute value.
49588         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
49589         Likewise.
49590         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49591         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
49592         Likewise.
49593         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
49594         computing low part if x was negated.
49595         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49597 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
49599         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
49600         la_x32_gnu_pltexit.
49601         (pltexit): Cast int_retval to ptrdiff_t.
49602         * elf/tst-auditmod3b.c: Likewise.
49603         * elf/tst-auditmod4b.c: Likewise.
49604         * elf/tst-auditmod5b.c: Likewise.
49605         * elf/tst-auditmod6b.c: Likewise.
49606         * elf/tst-auditmod6c.c: Likewise.
49607         * elf/tst-auditmod7b.c: Likewise.
49609         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
49610         and x32_gnu_pltexit.
49612         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
49613         __ELF_NATIVE_CLASS.
49614         (La_x32_regs): New macro.
49615         (La_x32_retval): Likewise.
49616         (la_x32_gnu_pltenter): New function prototype.
49617         (la_x32_gnu_pltexit): Likewise.
49619 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
49621         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
49622         exponent.
49624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49626         * configure.in (libc_cv_cc_nofma): Check for option to disable
49627         generation of FMA instructions.
49628         * configure: Regenerate.
49629         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
49630         * sysdeps/ieee754/dbl-64/Makefile: New file.
49631         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
49632         Remove brandred-fma4.
49633         (CFLAGS-brandred-fma4.c): Remove.
49634         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
49635         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
49636         define.
49637         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
49638         define.
49640 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
49642         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49643         LLONG_MAX != LONG_MAX.
49644         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49645         (_fitoa_word): Likewise.
49646         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
49647         LLONG_MAX != LONG_MAX.
49648         * stdio-common/_itowa.h: Include <_itoa.h>.
49649         (_itowa_word): Use _ITOA_WORD_TYPE on value.
49650         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
49651         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
49652         only if not defined.
49653         (_ITOA_WORD_TYPE): Likewise.
49654         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49655         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
49657 2012-03-21  David S. Miller  <davem@davemloft.net>
49659         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49661 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
49663         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
49664         of x86_64 when setting libc_cv_slibdir, libdir and
49665         libc_cv_localedir.
49666         * sysdeps/unix/sysv/linux/configure: Regenerated.
49668 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
49670         * manual/lang.texi (Old Varargs): Remove section.
49671         (How Variadic): Update menu.
49672         (va_start): Do not mention varargs.h.
49674 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
49675             Joseph Myers  <joseph@codesourcery.com>
49677         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
49678         link test.
49679         * configure: Regenerated.
49681 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
49683         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
49684         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
49685         conformtest.pl
49687 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
49689         * NOTES: Remove.
49690         * Makefile (files-for-dist): Remove NOTES.
49691         (NOTES): Remove rule.
49692         * README: Don't refer to NOTES.
49693         * manual/creature.texi: Don't include macros.texi.
49694         * manual/intro.texi (creature.texi): Remove comment referring to
49695         NOTES.
49697         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
49698         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
49699         * configure: Regenerated.
49700         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
49701         LIBC_TRY_CC_OPTION.
49702         (libc_cv_as_i686): Likewise.
49703         (libc_cv_cc_avx): Likewise.
49704         (libc_cv_cc_sse2avx): Likewise.
49705         (libc_cv_cc_fma4): Likewise.
49706         (libc_cv_cc_novzeroupper): Likewise.
49707         * sysdeps/i386/configure: Regenerated.
49709         [BZ #13883]
49710         * sysdeps/i386/fpu/s_cexp.S: Remove.
49711         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49712         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49713         * math/libm-test.inc (cexp_test): Add more tests.
49714         * sysdeps/i386/fpu/libm-test-ulps: Update.
49715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49717 2012-03-21  Allan McRae  <allan@archlinux.org>
49719         * timezone/Makefile: Do not install iso3166.tab and zone.tab
49721 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
49723         [BZ #13871]
49724         * math/w_exp2.c: Do not include <float.h>.
49725         (o_threshold, u_threshold): Remove.
49726         (__exp2): Calculate result before checking finiteness and calling
49727         __kernel_standard.
49728         * math/w_exp2f.c: Likewise.
49729         * math/w_exp2l.c: Likewise.
49730         * math/libm-test.inc (exp2_test): Require overflow exception for
49731         1e6 input.
49733         [BZ #3866]
49734         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
49735         range of signed 64-bit integers before using fistpll.  Remove
49736         checks for whether integers fit in mantissa bits.
49737         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
49738         the range of signed 32-bit integers before using fistpl.  Remove
49739         checks for whether integers fit in mantissa bits.
49740         * sysdeps/i386/fpu/e_powl.S (p64): New object.
49741         (__ieee754_powl): Test for y outside the range of signed 64-bit
49742         integers before using fistpll.  Reduce 64-bit values to 63-bit
49743         ones as needed.
49744         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
49745         divide-by-zero is raised for zero to large negative powers.
49746         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
49747         (__ieee754_powl): Test for y outside the range of signed 64-bit
49748         integers before using fistpll.  Reduce 64-bit values to 63-bit
49749         ones as needed.
49750         * math/libm-test.inc (pow_test): Add more tests.
49752 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49754         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
49755         <stdio-common/_itoa.h>.
49756         * debug/segfault.c: Likewise.
49757         * elf/dl-cache.c: Likewise.
49758         * elf/dl-minimal.c: Likewise.
49759         * elf/dl-misc.c: Likewise.
49760         * elf/dl-sysdep.c: Likewise.
49761         * elf/dl-version.c: Likewise.
49762         * elf/rtld.c: Likewise.
49763         * hurd/hurdsock.c: Likewise.
49764         * hurd/lookup-retry.c: Likewise.
49765         * malloc/malloc.c: Likewise.
49766         * malloc/mtrace.c: Likewise.
49767         * nscd/nscd_getgr_r.c: Likewise.
49768         * nscd/nscd_getpw_r.c: Likewise.
49769         * nscd/nscd_getserv_r.c: Likewise.
49770         * posix/getopt_init.c: Likewise.
49771         * posix/wordexp.c: Likewise.
49772         * stdio-common/_itoa.c: Likewise.
49773         * stdio-common/printf_fphex.c: Likewise.
49774         * stdio-common/vfprintf.c: Likewise.
49775         * string/_strerror.c: Likewise.
49776         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
49777         * sysdeps/i386/i686/hp-timing.h: Likewise.
49778         * sysdeps/mach/_strerror.c: Likewise.
49779         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
49780         * sysdeps/mach/hurd/sethostid.c: Likewise.
49781         * sysdeps/mach/hurd/xmknodat.c: Likewise.
49782         * sysdeps/mach/xpg-strerror.c: Likewise.
49783         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49784         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49785         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
49786         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
49787         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49788         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
49789         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
49790         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
49791         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
49792         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
49793         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
49794         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49795         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
49796         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49797         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49798         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
49799         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
49800         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
49801         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
49802         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
49803         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
49805         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
49807         * stdio-common/_itoa.h: Moved to ...
49808         * sysdeps/generic/_itoa.h: Here.
49810         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
49812         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
49813         instead of "_itoa.h" and "_itowa.h".
49814         * stdio-common/vfprintf.: Likewise.
49816 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49818         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
49819         <bits/wordsize.h>.
49820         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
49821         (__signbit): Likwise.
49822         (llrintf): Likwise.
49823         (llrint): Likwise.
49825 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49827         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
49828         __WORDSIZE != 64.
49830 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
49832         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
49833         OVERFLOW_EXCEPTION_OK.
49834         * math/libm-test.inc ("Philosophy"): Update comment about
49835         exception testing.
49836         (OVERFLOW_EXCEPTION): Define.
49837         (OVERFLOW_EXCEPTION_OK): Likewise.
49838         (INVALID_EXCEPTION_OK): Renumber.
49839         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49840         (IGNORE_ZERO_INF_SIGN): Likewise.
49841         (test_exceptions): Handle FE_OVERFLOW.
49842         (exp10_test): Expect overflow exceptions.
49843         (exp2_test): Likewise.
49844         (expm1_test): Likewise.
49845         (nextafter_test): Likewise.
49846         (pow_test): Likewise.
49847         (scalbn_test): Likewise.
49848         (scalbln_test): Likewise.
49850 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49852         * sysdeps/x86_64/bits/atomic.h
49853         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
49854         64bit integer.
49855         (atomic_exchange_acq): Likewise.
49856         (__arch_exchange_and_add_body): Likewise.
49857         (__arch_add_body): Likewise.
49858         (atomic_add_negative): Likewise.
49859         (atomic_add_zero): Likewise.
49861 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49863         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
49864         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
49866 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49868         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
49869         Check __x86_64__ instead of __WORDSIZE.
49871 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49873         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
49875 2012-03-19  David S. Miller  <davem@davemloft.net>
49877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49879         * sysdeps/sparc/fpu/fenv_private.h: New file.
49880         * sysdeps/sparc/fpu/math_private.h: Use it.
49881         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
49882         Remove.
49883         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
49884         (libc_feholdexcept_setroundl): Remove.
49885         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
49886         Remove.
49887         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
49888         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
49890 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49892         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
49893         int64_t instead of long int.
49894         (INSERT_WORDS64): Likwise.
49896 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49898         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
49899         _Unwind_GetCFA return to _Unwind_Ptr first.
49901 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
49903         [BZ #13629]
49904         * math/s_clog.c: Include <float.h>.
49905         (__clog): Scale large or subnormal inputs.
49906         * math/s_clogf.c: Likewise.
49907         * math/s_clogl.c: Likewise.
49908         * math/s_clog10.c: Include <float.h>.
49909         (M_LOG10_2): Define.
49910         (__clog10): Scale large or subnormal inputs.
49911         * math/s_clog10f.c: Likewise.
49912         * math/s_clog10l.c: Likewise.
49913         * math/libm-test.inc (clog_test): Add more tests.
49914         (clog10_test): Likewise.
49915         * sysdeps/i386/fpu/libm-test-ulps: Update.
49916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49918         [BZ #11451]
49919         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
49920         x and y.
49921         * math/libm-test.inc (atan2_test): Add another test.
49923         * Makerules (common-objdir-compile): Remove.
49924         * sysdeps/unix/Makefile (config-generated): Do not add
49925         $(unix-generated) to variable.
49926         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
49927         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
49928         Remove rule.
49929         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
49930         Likewise.
49931         [generic bits/local_lim.h] (before-compile): Do not append to
49932         variable.
49933         [generic bits/local_lim.h] (common-generated): Likewise.
49934         [generic sys/param.h] (before-compile): Do not append to variable.
49935         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
49936         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
49937         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
49938         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
49939         include.
49940         [generic sys/param.h] (sys/param.h-includes): Remove variable.
49941         [generic sys/param.h] (sys/param.h-includes): Remove rule.
49942         [generic sys/param.h] ($(addprefix
49943         $(common-objpfx),$(sys/param.h-includes))): Likewise.
49944         [generic sys/param.h] (common-generated): Do not append to
49945         variable.
49946         [generic sys/param.h] (sysdep_headers): Likewise.
49947         [generic bits/errno.h] (before-compile): Do not append to
49948         variable.
49949         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
49950         rule.
49951         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
49952         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
49953         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
49954         [generic bits/errno.h] (common-generated): Do not append to
49955         variable.
49956         [generic bits/ioctls.h] (before-compile): Do not append to
49957         variable.
49958         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
49959         rule.
49960         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
49961         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
49962         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
49963         rule.
49964         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
49965         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
49966         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
49967         [generic bits/ioctls.h] (common-generated): Do not append to
49968         variable.
49969         [generic sys/syscall.h] (syscall.h): Remove variable.
49970         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
49971         rule.
49972         [generic sys/syscall.h] (before-compile): Do not append to
49973         variable.
49974         [generic sys/syscall.h] (common-generated): Likewise.
49975         * sysdeps/unix/errnos-tmpl.c: Remove file.
49976         * sysdeps/unix/errnos.awk: Likewise.
49977         * sysdeps/unix/ioctls-tmpl.c: Likewise.
49978         * sysdeps/unix/ioctls.awk: Likewise.
49979         * sysdeps/unix/mk-local_lim.c: Likewise.
49980         * sysdeps/unix/snarf-ioctls: Likewise.
49982 2012-03-19  Richard Henderson  <rth@twiddle.net>
49984         * sysdeps/i386/fpu/fenv_private.h: New file.
49985         * sysdeps/i386/fpu/math_private.h: Use it.
49986         (math_opt_barrier, math_force_eval): Remove.
49987         (libc_feholdexcept_setround_53bit): Remove.
49988         (libc_feupdateenv_53bit): Remove.
49989         * sysdeps/x86_64/fpu/math_private.h: Likewise.
49990         (math_opt_barrier, math_force_eval): Remove.
49991         (libc_feholdexcept): Remove.
49992         (libc_feholdexcept_setround): Remove.
49993         (libc_fetestexcept, libc_fesetenv): Remove.
49994         (libc_feupdateenv_test): Remove.
49995         (libc_feupdateenv, libc_feholdsetround): Remove.
49996         (libc_feresetround): Remove.
49998         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
49999         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
50001         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
50002         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
50003         (libc_feupdateenv_testl): New.
50004         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
50005         (libc_feupdateenv_testf): New.
50006         (libc_feupdateenv): Use libc_feupdateenv_test.
50007         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
50008         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
50010         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
50011         (libc_feholdsetroundf, libc_feholdsetroundl): New.
50012         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
50013         (libc_feresetround_noex): New.
50014         (libc_feresetround_noexf): New.
50015         (libc_feresetround_noexl): New.
50016         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
50017         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
50018         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
50019         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
50020         SET_RESTORE_ROUND.
50021         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50022         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
50023         (__cos): Likewise.
50024         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
50025         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
50026         SET_RESTORE_ROUND_NOEX.
50027         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
50028         SET_RESTORE_ROUND_NOEXF.
50029         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
50030         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
50031         (libc_feholdsetroundf): New.
50032         (libc_feresetround, libc_feresetroundf): New.
50034         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
50035         (libc_feholdexcept_setround_53bit): Convert from macro to function.
50036         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
50038         * sysdeps/generic/math_private.h: Include <fenv.h>.
50039         (default_libc_feholdexcept): New.
50040         (default_libc_feholdexcept_setround): New.
50041         (default_libc_fesetenv, default_libc_feupdateenv): New.
50042         (libc_feholdexcept): Only define if undefined.
50043         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
50044         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
50045         (libc_feholdexcept_setroundl): Likewise.
50046         (libc_feholdexcept_setround_53bit): Likewise.
50047         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
50048         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
50049         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
50050         (libc_feupdateenv_53bit): Likewise.
50051         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
50052         (libc_feholdexcept): Convert from macro to inline function.
50053         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
50054         (libc_fesetenv, libc_feupdateenv): Likewise.
50056         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
50057         not previously defined.
50058         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
50059         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
50060         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
50061         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
50062         * sysdeps/ieee754/flt-32/math_private.h: New file.
50063         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
50064         math_private.h below SET_FLOAT_WORD.
50065         (__isnan, __isinf_ns, __finite): Remove.
50066         (__isnanf, __isinf_nsf, __finitef): Remove.
50068 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
50070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50072 2012-03-17  David S. Miller  <davem@davemloft.net>
50074         [BZ #6471]
50075         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
50076         for 2.16.
50078 2012-03-16  David S. Miller  <davem@davemloft.net>
50080         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
50081         warnings.
50083         [BZ #6471]
50084         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
50085         properly.
50086         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
50087         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
50088         sysdep_routines when subdir is sysvipc.
50089         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
50090         __getshmlba helper.
50092         * sysdeps/sparc/fpu/libm-test/ulps: Update.
50094 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50096         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
50097         [__LP64__].
50099 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50101         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
50102         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
50103         (__lround): Renamed to ...
50104         (__llround): This.  Replace long int with long long int.
50105         Define lround functions as aliases of llround functions.
50106         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
50108 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50110         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
50111         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
50112         adresses to uintptr_t.  Replace "long int" and "unsigned long
50113         int" with "greg_t" on va_arg.
50115 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50117         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
50118         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
50120         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
50121         Move e_machine check before EI_CLASS check.  Handle x32
50122         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
50123         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
50124         SKIP_EM_IA_64 and include
50125         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
50127         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
50128         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
50129         (add_system_dir): New macro.
50131         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
50132         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
50134 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
50136         [BZ #2551]
50137         [BZ #2552]
50138         [BZ #2553]
50139         [BZ #2554]
50140         [BZ #2562]
50141         [BZ #2563]
50142         [BZ #2565]
50143         [BZ #2566]
50144         [BZ #2576]
50145         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
50146         (y0): Likewise.
50147         * math/w_j0f.c (j0f): Likewise.
50148         (y0f): Likewise.
50149         * math/w_j0l.c (__j0l): Likewise.
50150         (__y0l): Likewise.
50151         * math/w_j1.c (j1): Likewise.
50152         (y1): Likewise.
50153         * math/w_j1f.c (j1f): Likewise.
50154         (y1f): Likewise.
50155         * math/w_j1l.c (__j1l): Likewise.
50156         (__y1l): Likewise.
50157         * math/w_jn.c (jn): Likewise.
50158         (yn): Likewise.
50159         * math/w_jnf.c (jnf): Likewise.
50160         (ynf): Likewise.
50161         * math/w_jnl.c (__jnl): Likewise.
50162         (__ynl): Likewise.
50163         * math/libm-test.inc (j0_test): Add more tests.
50164         (j1_test): Likewise.
50165         (jn_test): Likewise.  Add trailing semicolon to existing test.
50166         (y0_test): Likewise.
50167         (y1_test): Likewise.
50168         * sysdeps/i386/fpu/libm-test-ulps: Update.
50169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50171         [BZ #13851]
50172         [BZ #13854]
50173         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
50174         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
50175         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
50176         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
50177         (__tanl): Set errno for infinite argument.
50178         * sysdeps/i386/fpu/mptan.c: Remove.
50179         * sysdeps/i386/fpu/s_tan.S: Likewise.
50180         * sysdeps/i386/fpu/s_tanl.S: Likewise.
50181         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
50182         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
50183         * math/libm-test.inc (tan_test): Add more tests and enable more
50184         tests for double and long double.
50185         * sysdeps/i386/fpu/libm-test-ulps: Update.
50186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50188 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
50190         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
50191         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
50193 2012-03-16  Roland McGrath  <roland@hack.frob.com>
50195         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
50196         * configure.in: Use it for both main tree and add-ons.
50197         * configure: Regenerated.
50199 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50201         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
50203 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
50205         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
50206         in comment.
50208         [BZ #13851]
50209         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
50210         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
50211         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
50212         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
50213         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
50214         infinite argument.
50215         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
50216         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
50217         != 0 for prec == 2.
50218         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
50219         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
50220         * sysdeps/i386/fpu/s_cosl.S: Likewise.
50221         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
50222         * sysdeps/i386/fpu/s_sinl.S: Likewise.
50223         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
50224         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
50225         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
50226         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
50227         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
50228         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
50229         * math/libm-test.inc (cos_test): Add more tests and enable more
50230         tests for long double.
50231         (sin_test): Likewise.
50232         (sincos_test): Likewise.
50233         * sysdeps/i386/fpu/libm-test-ulps: Update.
50234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50236 2012-03-16  David S. Miller  <davem@davemloft.net>
50238         * sysdeps/sparc/fpu/math_private.h: New file.
50240 2012-03-15  David S. Miller  <davem@davemloft.net>
50242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
50243         file.
50244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
50245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
50246         file.
50247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
50248         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
50249         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
50250         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
50251         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
50252         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
50253         sysdep routines.
50254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50256         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
50257         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
50259         * sysdeps/sparc/sparc-ifunc.h: New file.
50260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
50261         sparc-ifunc.h
50262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
50264         Likewise.
50265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
50266         Likewise.
50267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
50268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
50269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50271         Likewise.
50272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
50274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
50276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
50277         Likewise.
50278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
50279         Likewise.
50280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
50282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
50283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
50284         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50285         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50286         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
50287         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
50288         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50289         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50290         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
50291         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
50292         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
50293         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
50294         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
50295         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
50296         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
50297         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
50298         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
50299         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
50300         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
50301         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
50302         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
50303         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
50305 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
50307         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
50308         scaling.
50309         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50311 2012-03-15  Andreas Jaeger  <aj@suse.de>
50313         [BZ #13852]
50314         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
50315         ieee754/flt-32 implementation for sin, cos and sincos.
50316         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
50317         * sysdeps/i386/fpu/s_cosf.S: Likewise.
50318         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
50319         * sysdeps/i386/fpu/s_sinf.S: Likewise.
50320         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
50321         ieee754/flt-32 implementation for tan.
50323         * math/libm-test.inc (cos_test): Enable some large input tests for
50324         float as well
50325         (sin_test): Likewise.
50326         (sincos_test): Likewise.
50327         (tan_test): Add tests for large input.
50329         * sysdeps/i386/fpu/libm-test-ulps: Update.
50331 2012-03-15  Andreas Jaeger  <aj@suse.de>
50333         [BZ #13658]
50334         * math/libm-test.inc (cos_test): Add more test cases.
50335         (sin_test): Likewise.
50336         (sincos_test): Likewise.
50338 2012-03-15  Andreas Jaeger  <aj@suse.de>
50340         [BZ #13837]
50341         * math/libm-test.inc (cos_test): Add a test case for large input
50342         value.
50343         (sin_test): Likewise.
50344         (sincos_test): Likewise.
50346 2012-03-15  Andreas Jaeger  <aj@suse.de>
50347             Joseph Myers  <joseph@codesourcery.com>
50349         [BZ #13658]
50350         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
50351         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
50352         * sysdeps/i386/fpu/branred.c: Likewise.
50353         * sysdeps/i386/fpu/dosincos.c: Likewise.
50354         * sysdeps/i386/fpu/mpa.c: Likewise.
50355         * sysdeps/i386/fpu/s_cos.S: Likewise.
50356         * sysdeps/i386/fpu/s_sin.S: Likewise.
50357         * sysdeps/i386/fpu/s_sincos.S: Likewise.
50358         * sysdeps/i386/fpu/sincos32.c: Likewise.
50360         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
50361         Define.
50362         (libc_feupdateenv_53bit): Define.
50363         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
50364         Define.
50365         (libc_feupdateenv_53bit): Define.
50367         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
50368         53 bit (without extend i386 double precision).
50370         * math/libm-test.inc (sincos_test): Add tests for large input.
50371         (sin): Likewise.
50372         (cos): Likewise.
50374         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
50376 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
50378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50380 2012-03-15  David S. Miller  <davem@davemloft.net>
50382         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
50383         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
50384         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
50385         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
50386         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
50387         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
50388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
50389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
50390         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
50391         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
50392         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
50393         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
50394         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
50395         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
50396         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
50397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
50398         file.
50399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
50400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
50401         file.
50402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
50403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
50404         file.
50405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
50406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
50407         file.
50408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
50409         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
50410         fmin/fmax sysdep routines.
50411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50413 2012-03-14  David S. Miller  <davem@davemloft.net>
50415         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
50416         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
50417         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
50418         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
50419         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
50420         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
50421         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
50422         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
50423         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
50424         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
50425         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
50426         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
50427         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
50428         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
50429         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
50430         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
50431         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
50432         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
50433         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
50434         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
50435         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
50436         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
50437         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
50438         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
50439         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
50440         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
50441         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
50442         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
50443         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
50444         routines.
50445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
50446         file.
50447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
50448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
50449         file.
50450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
50451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
50452         file.
50453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
50454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
50455         file.
50456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
50457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
50458         file.
50459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
50460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
50461         file.
50462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
50463         file.
50464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
50465         file.
50466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
50467         file.
50468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
50469         New file.
50470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
50471         file.
50472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
50473         file.
50474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
50475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
50476         file.
50477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
50478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
50479         file.
50480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
50481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
50482         file.
50483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
50484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
50485         VIS3 routines.
50487         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
50488         New file.
50490         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50492         * sysdeps/sparc/configure.in: New file.
50493         * sysdeps/sparc/configure: Generate.
50494         * configure.in (libc_cv_sparc_as_vis3): Substitute.
50495         * configure: Regenerate.
50496         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
50497         * config.make.in (have-as-vis3): New.
50498         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
50499         available use -Av9d instead of -Av9a.
50500         * sysdeps/sparc/sparc64/Makefile: Likewise.
50501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
50502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
50503         New file.
50504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
50505         file.
50506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
50507         New file.
50508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
50509         file.
50510         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
50511         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
50512         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
50513         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
50514         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
50516         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
50517         fzeros/fnegs to load 0x80000000 into a float register instead of
50518         using the stack.
50519         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
50521 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
50523         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50524         bits/syscall.h.
50525         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
50526         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
50527         ($(inst_includedir)/bits/syscall.h): Remove rule.
50528         ($(objpfx)bits/syscall.d): Include instead of
50529         $(objpfx)syscall-list.d.
50530         (generated): Change syscall-list.h and syscall-list.d to
50531         bits/syscall.h and bits/syscall.d.
50533 2012-03-14  Roland McGrath  <roland@hack.frob.com>
50535         [BZ #13846]
50536         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
50538 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
50540         [BZ #13841]
50541         * math/s_csqrt.c: Include <float.h>.
50542         (__csqrt): Scale large or subnormal inputs.
50543         * math/s_csqrtf.c: Likewise.
50544         * math/s_csqrtl.c: Likewise.
50545         * math/libm-test.inc (csqrt_test): Add more tests.
50546         * sysdeps/i386/fpu/libm-test-ulps: Update.
50547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50549         [BZ #13840]
50550         * math/libm-test.inc (hypot_test): Add more tests.
50552 2012-03-13  David S. Miller  <davem@davemloft.net>
50554         [BZ #13840]
50555         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
50556         double-precision for the calculation instead of scaling.
50558 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
50560         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
50561         manipulate bits before adding and subtracting TWO52[sx].
50562         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
50563         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
50564         Likewise.
50565         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
50567 2012-03-13  David S. Miller  <davem@davemloft.net>
50569         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
50570         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
50571         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
50572         rtld-global-offsets.h
50573         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50575         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
50576         large parameters.
50578         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
50580         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
50581         'err' in the ifdef scope in which it is actually used.
50583         * nss/nss_db/db-init.c: Include string.h
50585 2012-03-12  David S. Miller  <davem@davemloft.net>
50587         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50588         masking out of the most significant byte of random value used.
50589         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50590         Fix coding style in previous change.
50592         * sysdeps/unix/sysv/linux/kernel-features.h
50593         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
50594         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
50595         expression.
50596         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
50597         later.
50599 2012-03-11  David S. Miller  <davem@davemloft.net>
50601         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50602         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
50603         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
50604         for 'resultvar' otherwise things get truncated on 64-bit.
50606         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50607         Fix masking out of the most significant byte of random value used.
50609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50611 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
50613         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50615 2012-03-09  David S. Miller  <davem@davemloft.net>
50617         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
50618         variables with appropriate CPP guards.
50619         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
50620         from the frame pointer, not the stack pointer.  Correct layout
50621         comments.  Fix test on resulting framesize and the management of
50622         the outregs buffer for pltexit.  Preserve floating point return
50623         values across _dl_call_pltexit call.
50624         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
50625         framesize and the management of the outregs buffer for pltexit.
50626         Preserve floating point return values across _dl_call_pltexit
50627         call.
50628         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
50629         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
50630         (la_sparc64_gnu_pltexit): New functions.
50631         (print_exit): Fix format string for return register value.
50633 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
50635         * sunrpc/Makefile (others): Add rpcgen.
50636         ($(objpfx)rpcgen): Remove special build rule and dependency on
50637         libc.
50638         * sunrpc/rpcgen.c: New file.
50640 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
50642         [BZ #13673]
50643         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
50644         * stdio-common/bug-vfprintf-nargs.c: Likewise.
50645         * sysdeps/i386/crti.S: Likewise.
50646         * sysdeps/i386/crtn.S: Likewise.
50647         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
50648         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
50649         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
50650         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
50651         * sysdeps/sh/crti.S: Likewise.
50652         * sysdeps/sh/crtn.S: Likewise.
50653         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
50655         [BZ #13673]
50656         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
50657         with URL.
50658         * locale/programs/locfile-kw.gperf: Likewise.
50659         * locale/programs/charmap-kw.h: Regenerated.
50660         * locale/programs/locfile-kw.h: Likewise.
50662         [BZ #13673]
50663         * intl/plural.y: Replace FSF snail mail address with URL.
50664         * intl/plural.c: Regenerated.
50666 2012-03-09  Richard Henderson  <rth@twiddle.net>
50668         * include/math_private.h: Remove file.
50669         * math/math_private.h: Move file ...
50670         * sysdeps/generic/math_private.h: ... here.
50672         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
50673         * sysdeps/powerpc/fpu/math_private.h: Likewise.
50674         * sysdeps/x86_64/fpu/math_private.h: Likewise.
50676         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
50677         and <math_private.h>.
50678         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50679         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50680         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50681         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50682         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50683         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
50684         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50685         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50686         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50687         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50688         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50689         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50690         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50691         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50692         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50693         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50694         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50695         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50696         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50697         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50698         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50699         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50700         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50701         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50702         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50703         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50704         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50705         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50706         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50707         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50708         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50709         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50710         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
50711         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50712         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50713         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50714         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50715         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50716         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50717         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50718         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
50719         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50720         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50721         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
50722         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
50723         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50724         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
50725         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
50726         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50727         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50728         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
50729         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
50730         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
50731         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50732         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
50733         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50734         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50735         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50736         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
50737         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
50738         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50739         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
50740         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50741         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50742         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
50743         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50744         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50745         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50746         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
50747         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
50748         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50749         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50750         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50751         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50752         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
50753         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
50754         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
50755         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50756         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
50757         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
50758         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50759         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
50760         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50761         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50762         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50763         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50764         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
50765         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
50766         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50767         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50768         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50769         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50770         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50771         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50772         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50773         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50774         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50775         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50776         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50777         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50778         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50779         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50780         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50781         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50782         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50783         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50784         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50785         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50786         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50787         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50788         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50789         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50790         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50791         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50792         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
50793         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50794         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50795         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50796         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50797         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50798         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50799         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50800         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50801         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
50802         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50803         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50804         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50805         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
50806         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50807         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
50808         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
50809         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50810         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50811         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
50812         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
50813         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50814         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50815         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50816         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
50817         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50818         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50819         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50820         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50821         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
50822         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
50823         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50824         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50825         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50826         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
50827         * sysdeps/ieee754/k_standard.c: Likewise.
50828         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50829         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50830         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50831         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50832         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50833         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50834         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50835         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50836         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50837         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50838         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50839         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50840         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50841         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50842         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50843         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50844         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50845         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50846         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50847         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
50848         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
50849         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
50850         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50851         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50852         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50853         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
50854         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50855         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50856         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50857         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50858         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50859         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50860         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50861         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50862         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50863         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50864         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50865         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
50866         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
50867         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50868         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50869         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50870         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50871         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50872         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50873         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50874         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50875         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50876         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50877         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50878         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50879         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50880         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50881         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
50882         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50883         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50884         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
50885         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
50886         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50887         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50888         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50889         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50890         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50891         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50892         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50893         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50894         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50895         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50896         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50897         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50898         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50899         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50900         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50901         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50902         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50903         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50904         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
50905         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50906         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50907         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50908         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50909         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50910         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50911         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50912         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
50913         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50914         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50915         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
50916         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
50917         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50918         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
50919         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50920         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
50921         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50922         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50923         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50924         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
50925         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
50926         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
50927         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
50928         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50929         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50930         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50931         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50932         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
50933         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50934         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50935         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
50936         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
50937         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50938         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50939         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50940         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50941         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50942         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50943         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50944         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50945         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50946         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50947         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50948         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50949         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50950         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50951         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50952         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50953         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
50954         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50955         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50956         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50957         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50958         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50959         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50960         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50961         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50962         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50963         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50964         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
50965         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50966         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50967         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
50968         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
50969         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50970         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
50971         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
50972         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50973         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50974         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50975         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50976         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50977         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
50978         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50979         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50980         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50981         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50982         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
50983         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
50984         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50985         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50986         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50987         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50988         * sysdeps/ieee754/s_lib_version.c: Likewise.
50989         * sysdeps/ieee754/s_matherr.c: Likewise.
50990         * sysdeps/ieee754/s_signgam.c: Likewise.
50991         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50992         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50993         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
50994         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
50995         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
50996         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50997         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
50998         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
50999         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
51000         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
51001         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
51002         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
51003         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51004         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51005         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
51006         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
51007         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51008         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
51009         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51010         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51011         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51013 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
51015         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
51016         * sunrpc/rpc_main.c: Likewise.
51017         * sunrpc/rpc_svcout.c: Likewise.
51019 2012-03-09  David S. Miller  <davem@davemloft.net>
51021         * include/math_private.h: New file.
51023 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
51025         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
51026         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
51027         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
51028         from <bits/socket_type.h>.
51029         (enum __socket_type): Don't define here.
51030         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
51031         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51032         bits/socket_type.h.
51034         [BZ #13566]
51035         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
51036         checking __USE_GNU.
51038         * Makerules ($(inst_includedir)/%.h): New rule.
51039         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
51040         (install-others): Remove variable setting.
51041         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
51043 2012-03-08  Richard Henderson  <rth@twiddle.net>
51045         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
51046         from macro to inline function; merge with the
51047         !__LIBC_INTERNAL_MATH_INLINES version.
51048         (__ieee754_sqrtf): Likewise.
51050         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
51051         to inline function.
51052         (__rintf, __floor, __floorf): Likewise.
51054         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
51055         macro to inline function.
51056         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
51058         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
51059         not <math/math_private.h>.
51061 2012-03-08  David S. Miller  <davem@davemloft.net>
51063         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
51064         copyright year.
51065         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
51067 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
51069         * resolv/gai_misc.c (handle_requests): Fix struct timespec
51070         normalization.
51071         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
51072         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
51074 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
51076         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
51077         be defined individually, they must be defined as a block.  Define
51078         S for printing a string instead of hidint the different by using a
51079         macro for adding the 'l'.
51080         * stdio-common/tst-fphex-wide.c: Adjust.
51082 2012-03-07  Marek Polacek  <polacek@redhat.com>
51084         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
51086 2012-03-08  Marek Polacek  <polacek@redhat.com>
51088         [BZ #13806]
51089         * stdio-common/Makefile (tests): Add tst-fphex-wide.
51090         * stdio-common/tst-fphex.c: Define a few macros to make the
51091         test reusable.  Use them.
51092         * stdio-common/tst-fphex-wide.c: New file.
51094 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
51096         [BZ #6911]
51097         * manual/macros.texi (gnusystems): New macro.
51098         (nongnusystems): Likewise.
51099         (gnulinuxhurdsystems): Likewise.
51100         (gnuhurdsystems): Likewise..
51101         (gnulinuxsystems): Likewise.
51102         * manual/charset.texi: Use new macros or @theglibc{} to refer to
51103         variants of the GNU system, not "GNU system".
51104         * manual/conf.texi: Likewise.
51105         * manual/errno.texi: Likewise.  Update example of errno macro
51106         expansion.
51107         * manual/filesys.texi: Likewise.
51108         (getumask): Document as specific to GNU/Hurd.
51109         * manual/install.texi: Likewise.  Reword some references to
51110         GNU/Linux.
51111         * manual/intro.texi: Likewise.
51112         * manual/io.texi: Likewise.
51113         (File Name Portability): Detail which constraints are inapplicable
51114         to all GNU systems and which are only inapplicable to GNU/Hurd.
51115         * manual/job.texi: Likewise.
51116         * manual/llio.texi: Likewise.
51117         (O_NOCTTY): Document as present on GNU/Linux.
51118         * manual/maint.texi: Likewise.
51119         * manual/memory.texi: Likewise.
51120         * manual/pattern.texi: Likewise.
51121         * manual/pipe.texi: Likewise.
51122         * manual/process.texi: Likewise.
51123         * manual/resource.texi: Likewise.
51124         (RUSAGE_CHILDREN): Remove statement about specifying a particular
51125         child on GNU/Hurd.
51126         * manual/setjmp.texi: Likewise.
51127         * manual/signal.texi: Likewise.
51128         * manual/startup.texi: Likewise.
51129         * manual/stdio.texi: Likewise.
51130         * manual/terminal.texi: Likewise.
51131         (ONLCR): Document as POSIX.
51132         (OXTABS): Document availability on GNU/Linux as XTABS.
51133         (ONOEOT): Document availability separately from other bits.
51134         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
51135         * manual/time.texi: Likewise.
51136         * manual/users.texi: Likewise.
51137         * INSTALL: Regenerated.
51138         * sysdeps/gnu/errlist.c: Regenerated.
51140         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
51141         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
51142         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
51143         puts.
51144         * configure: Regenerated.
51146 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
51148         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
51149         default includes instead of AC_HEADER_CHECK.
51150         * sysdeps/i386/configure: Regenerated.
51152         [BZ #10716]
51153         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
51154         * math/s_cacoshf.c (__cacoshf): Likewise.
51155         * math/s_cacoshl.c (__cacoshl): Likewise.
51156         * math/s_casinh.c (__casinh): Set signs of result from argument.
51157         * math/s_casinhf.c (__casinhf): Likewise.
51158         * math/s_casinhl.c (__casinhl): Likewise.
51159         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
51160         (casinh_test): Add more tests.
51161         * sysdeps/i386/fpu/libm-test-ulps: Update.
51162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51164 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
51166         * po/zh_TW.po: Update from translation team.
51168         * login/Makefile (distribute): Remove variable.
51169         * catgets/Makefile: Likewise.
51170         * mach/Makefile: Likewise.
51171         * malloc/Makefile: Likewise.
51172         * misc/Makefile: Likewise.
51173         * iconv/Makefile: Likewise.
51174         * nscd/Makefile: Likewise.
51175         * hurd/Makefile: Likewise.
51176         * manual/Makefile: Likewise.
51177         * locale/Makefile: Likewise.
51178         * intl/Makefile: Likewise.
51179         * conform/Makefile: Likewise.
51180         * nss/Makefile: Likewise.
51181         * time/Makefile: Likewise.
51182         * soft-fp/Makefile: Likewise.
51183         * dirent/Makefile: Likewise.
51184         * gmon/Makefile: Likewise.
51185         * po/Makefile: Likewise.
51186         * rt/Makefile: Likewise.
51187         * socket/Makefile: Likewise.
51188         * math/Makefile: Likewise.
51189         * signal/Makefile: Likewise.
51190         * debug/Makefile: Likewise.
51191         * elf/Makefile: Likewise.
51192         * timezone/Makefile: Likewise.
51193         * stdlib/Makefile: Likewise.
51194         * iconvdata/Makefile: Likewise.
51195         * sunrpc/Makefile: Likewise.
51196         * io/Makefile: Likewise.
51197         * argp/Makefile: Likewise.
51198         * inet/Makefile: Likewise.
51199         * hesiod/Makefile: Likewise.
51200         * grp/Makefile: Likewise.
51201         * csu/Makefile: Likewise.
51202         * wctype/Makefile: Likewise.
51203         * crypt/Makefile: Likewise.
51204         * libio/Makefile: Likewise.
51205         * string/Makefile: Likewise.
51206         * nis/Makefile: Likewise.
51207         * resolv/Makefile: Likewise.
51208         * stdio-common/Makefile: Likewise.
51209         * wcsmbs/Makefile: Likewise.
51210         * dlfcn/Makefile: Likewise.
51211         * posix/Makefile: Likewise.
51213         [BZ #6959]
51214         * timezone/Makefile: Don't install timezone files, just the programs
51215         and scripts.
51217 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
51219         * nss/databases.def: Add missing gshadow entry.
51221         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
51223 2012-03-06  Marek Polacek  <polacek@redhat.com>
51225         [BZ #13726]
51226         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
51227         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51228         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
51229         * stdio-common/tst-long-dbl-fphex.c: New file.
51231 2012-03-06  David S. Miller  <davem@davemloft.net>
51233         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51234         (set_obp_int): New function.
51235         (get_obp_int): New function.
51236         (__get_clockfreq_via_dev_openprom): Likewise.
51237         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
51238         Avoid unused variable warnings on 'val' and use builtin_expect.
51239         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
51240         __builtin_expect.
51241         (INLINE_CLONE_SYSCALL): Likewise.
51243 2012-03-05  David S. Miller  <davem@davemloft.net>
51245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51247 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
51249         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51251         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
51252         only for |x| >= 40.
51253         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51255 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
51257         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
51258         Replace gettimeofday with __vdso_gettimeofday.
51260         * sysdeps/unix/sysv/linux/x86_64/init-first.c
51261         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
51262         __vdso_clock_gettime and __vdso_getcpu.
51264         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
51265         time with __vdso_time.
51267 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
51269         * manual/lang.texi (size_t): Note types to which size_t may be
51270         equivalent with the GNU C Library, but do not describe when
51271         differences between them are significant.
51273 2012-03-05  Andreas Jaeger  <aj@suse.de>
51275         * sysdeps/i386/fpu/libm-test-ulps: Update.
51277 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
51279         [BZ #3976]
51280         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
51281         (__ieee754_pow): Save and restore rounding mode and use
51282         round-to-nearest for main computations.
51283         * math/libm-test.inc (pow_test_tonearest): New function.
51284         (pow_test_towardzero): Likewise.
51285         (pow_test_downward): Likewise.
51286         (pow_test_upward): Likewise.
51287         (main): Call the new functions.
51288         * sysdeps/i386/fpu/libm-test-ulps: Update.
51289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51291         [BZ #3976]
51292         * math/libm-test.inc (cosh_test_tonearest): New function.
51293         (cosh_test_towardzero): Likewise.
51294         (cosh_test_downward): Likewise.
51295         (cosh_test_upward): Likewise.
51296         (sinh_test_tonearest): Likewise.
51297         (sinh_test_towardzero): Likewise.
51298         (sinh_test_downward): Likewise.
51299         (sinh_test_upward): Likewise.
51300         (main): Call the new functions.
51301         * sysdeps/i386/fpu/libm-test-ulps: Update.
51302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51304 2012-03-05  Tom de Vries  <tom@codesourcery.com>
51306         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
51307         default stack guard is set in last bytes.
51308         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
51310 2012-03-05  Kees Cook  <keescook@chromium.org>
51312         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
51314         [BZ #13656]
51315         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
51316         possibly allocate from heap instead of stack.
51317         * stdio-common/bug-vfprintf-nargs.c: New file.
51318         * stdio-common/Makefile (tests): Add nargs overflow test.
51320 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
51322         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51324 2012-03-03  Marek Polacek  <polacek@redhat.com>
51326         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
51327         * math/math_private.h: Likewise.
51328         * stdlib/tst-strtod.c: Likewise.
51329         * sysdeps/i386/i486/bits/atomic.h: Likewise.
51330         * sysdeps/x86_64/bits/atomic.h: Likewise.
51332 2012-03-02  David S. Miller  <davem@davemloft.net>
51334         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
51335         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
51336         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
51337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
51338         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
51339         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
51340         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
51341         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
51343 2012-03-02  Roland McGrath  <roland@hack.frob.com>
51345         [BZ #13792]
51346         * manual/examples/README: New file, says the example source files
51347         can be used under GPL>=2.
51348         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
51349         line containing just "*/".
51350         * manual/examples/add.c: Add copyright header (GPL>=2).
51351         * manual/examples/argp-ex1.c: Likewise.
51352         * manual/examples/argp-ex2.c: Likewise.
51353         * manual/examples/argp-ex3.c: Likewise.
51354         * manual/examples/argp-ex4.c: Likewise.
51355         * manual/examples/atexit.c: Likewise.
51356         * manual/examples/db.c: Likewise.
51357         * manual/examples/dir.c: Likewise.
51358         * manual/examples/dir2.c: Likewise.
51359         * manual/examples/execinfo.c: Likewise.
51360         * manual/examples/filecli.c: Likewise.
51361         * manual/examples/filesrv.c: Likewise.
51362         * manual/examples/fmtmsgexpl.c: Likewise.
51363         * manual/examples/genpass.c: Likewise.
51364         * manual/examples/inetcli.c: Likewise.
51365         * manual/examples/inetsrv.c: Likewise.
51366         * manual/examples/isockad.c: Likewise.
51367         * manual/examples/longopt.c: Likewise.
51368         * manual/examples/memopen.c: Likewise.
51369         * manual/examples/memstrm.c: Likewise.
51370         * manual/examples/mkfsock.c: Likewise.
51371         * manual/examples/mkisock.c: Likewise.
51372         * manual/examples/mygetpass.c: Likewise.
51373         * manual/examples/pipe.c: Likewise.
51374         * manual/examples/popen.c: Likewise.
51375         * manual/examples/rprintf.c: Likewise.
51376         * manual/examples/search.c: Likewise.
51377         * manual/examples/select.c: Likewise.
51378         * manual/examples/setjmp.c: Likewise.
51379         * manual/examples/sigh1.c: Likewise.
51380         * manual/examples/sigusr.c: Likewise.
51381         * manual/examples/stpcpy.c: Likewise.
51382         * manual/examples/strdupa.c: Likewise.
51383         * manual/examples/strftim.c: Likewise.
51384         * manual/examples/strncat.c: Likewise.
51385         * manual/examples/subopt.c: Likewise.
51386         * manual/examples/swapcontext.c: Likewise.
51387         * manual/examples/termios.c: Likewise.
51388         * manual/examples/testopt.c: Likewise.
51389         * manual/examples/testpass.c: Likewise.
51390         * manual/examples/timeval_subtract.c: Likewise.
51392         [BZ #13792]
51393         * manual/time.texi (Elapsed Time): Move timeval_subtract example
51394         function to ...
51395         * manual/timeval_subtract.c.texi: ... here, new file.
51397 2012-03-02  David S. Miller  <davem@davemloft.net>
51399         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
51401 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
51403         [BZ #3976]
51404         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
51405         (__sin): Save and restore rounding mode and use round-to-nearest
51406         for all computations.
51407         (__cos): Save and restore rounding mode and use round-to-nearest
51408         for all computations.
51409         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
51410         <fenv.h>.
51411         (tan): Save and restore rounding mode and use round-to-nearest for
51412         all computations.
51413         * math/libm-test.inc (cos_test_tonearest): New function.
51414         (cos_test_towardzero): Likewise.
51415         (cos_test_downward): Likewise.
51416         (cos_test_upward): Likewise.
51417         (sin_test_tonearest): Likewise.
51418         (sin_test_towardzero): Likewise.
51419         (sin_test_downward): Likewise.
51420         (sin_test_upward): Likewise.
51421         (tan_test_tonearest): Likewise.
51422         (tan_test_towardzero): Likewise.
51423         (tan_test_downward): Likewise.
51424         (tan_test_upward): Likewise.
51425         (main): Call the new functions.
51426         * sysdeps/i386/fpu/libm-test-ulps: Update.
51427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51429         [BZ #10135]
51430         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
51431         small n, then large n, before computing and testing k+n.
51432         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51433         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
51434         Likewise.
51435         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
51436         Likewise.
51437         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
51438         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
51439         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
51440         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
51441         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51442         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51443         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
51444         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
51445         * math/libm-test.inc (scalbn_test): Add more tests.
51446         (scalbln_test): Likewise.
51448         * manual/filesys.texi (mode_t): Describe constraints on size and
51449         signedness, not exact equivalence to a particular type.
51450         (ino_t): Likewise.
51451         (ino64_t): Likewise.
51452         (dev_t): Likewise.
51453         (nlink_t): Likewise.
51454         (blkcnt_t): Likewise.
51455         (blkcnt64_t): Likewise.
51456         * manual/llio.texi (off_t): Likewise.
51458         [BZ #3976]
51459         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
51460         (__ieee754_exp): Save and restore rounding mode and use
51461         round-to-nearest for all computations.
51462         * math/libm-test.inc (exp_test_tonearest): New function.
51463         (exp_test_towardzero): Likewise.
51464         (exp_test_downward): Likewise.
51465         (exp_test_upward): Likewise.
51466         (main): Call the new functions.
51467         * sysdeps/i386/fpu/libm-test-ulps: Update.
51468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51470 2012-03-01  Chris Demetriou  <cgd@google.com>
51472         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
51473         have predictable order.
51475 2012-03-01  David S. Miller  <davem@davemloft.net>
51477         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
51479         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
51480         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
51481         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
51482         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
51484         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
51485         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
51486         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
51487         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
51488         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
51489         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
51490         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
51491         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
51492         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
51494         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51496         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
51497         * sysdeps/sparc/fpu/libm-test-ulps: to here.
51498         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
51500         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
51501         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51502         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51503         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
51504         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
51505         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
51506         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
51507         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51508         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51509         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
51510         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
51511         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51512         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51513         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51514         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51515         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51516         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
51517         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
51518         * sysdeps/sparc/elf/configure: Regenerated.
51520 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
51522         * configure.in (AS, LD): Require binutils 2.20 or later.
51523         * configure: Regenerated.
51524         * manual/install.texi (Tools for Compilation): Give binutils 2.20
51525         as required minimum version.
51526         * INSTALL: Regenerated.
51528         [BZ #2541]
51529         [BZ #4108]
51530         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
51531         before squaring exponent.
51532         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
51533         bottom long double and 27 bits of top long double before squaring
51534         exponent.
51535         * math/libm-test.inc (erfc_test): Add more tests.
51536         * sysdeps/i386/fpu/libm-test-ulps: Update.
51537         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51540 2012-03-01  Kai Tietz  <ktietz@redhat.com>
51542         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
51543         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
51544         containing bit-fields.
51545         * soft-fp/extended.h (_FP_UNION_E): Likewise.
51546         * soft-fp/single.h (_FP_UNION_S): Likewise.
51547         * soft-fp/double.h (_FP_UNION_D): Likewise.
51549 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
51551         [BZ #13786]
51552         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
51553         not include ../strcmp.S.
51554         [USE_AS_STRNCASECMP_L]: Likewise.
51555         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
51556         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
51557         * sysdeps/i386/i686/multiarch/strncase_l-c.c
51558         (__strncasecmp_l_ia32): Define as alias to
51559         __strncasecmp_l_nonascii.
51561         [BZ #5794]
51562         * math/libm-test.inc (expm1_test): Add test for bug 5794.
51563         * sysdeps/i386/fpu/libm-test-ulps: Update.
51564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51566         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
51567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51569 2012-02-29  Jeff Law  <law@redhat.com>
51571         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
51572         out of bounds read.
51574 2012-02-29  Marek Polacek  <polacek@redhat.com>
51576         [BZ #13706]
51577         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
51578         * elf/Makefile: Add rules to run tst-unused-dep.out.
51580 2012-02-28  David S. Miller  <davem@davemloft.net>
51582         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
51583         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
51584         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
51585         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
51586         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
51587         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
51589 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
51591         * math/libm-test.inc (llround_test): Move one test from
51592         lround_test.  Use TEST_f_L in moved test.
51593         (lround_test): Move misplaced test to llround_test.  Add testcase
51594         from bug 2561.
51596 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
51598         * sysdeps/x86_64/fpu/e_expf.S: New file.
51599         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
51601 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
51603         [BZ #13637]
51604         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
51605         of remain_len that may cause incomplete multi-byte character and
51606         false match.
51607         * posix/bug-regex33.c: New file.
51608         * posix/Makefile (tests): Add bug-regex33.
51610 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
51612         * manual/macros.texi: New file.
51613         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
51614         * manual/libc.texinfo: Include macros.texi.
51615         * manual/creatute.texi: Likewise.
51616         * manual/install.texi: Likewise.
51617         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
51618         @glibcadj{} in references to the GNU C Library.
51619         * manual/charset.texi: Likewise.
51620         * manual/conf.texi: Likewise.
51621         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
51622         when not using those macros.
51623         * manual/creature.texi: Likewise.
51624         * manual/crypt.texi: Likewise.
51625         * manual/errno.texi: Likewise.
51626         * manual/filesys.texi: Likewise.
51627         * manual/header.texi: Likewise.
51628         * manual/install.texi: Likewise.
51629         * manual/intro.texi: Likewise.
51630         * manual/io.texi: Likewise.
51631         * manual/job.texi: Likewise.
51632         * manual/lang.texi: Likewise.
51633         * manual/libc.texiinfo: Likewise.
51634         * manual/llio.texi: Likewise.
51635         * manual/locale.texi: Likewise.
51636         * manual/maint.texi: Likewise.
51637         * manual/math.texi: Likewise.
51638         * manual/memory.texi: Likewise.
51639         * manual/message.texi: Likewise.
51640         * manual/nss.texi: Likewise.
51641         * manual/pattern.texi: Likewise.
51642         * manual/process.texi: Likewise.
51643         * manual/resource.texi: Likewise.
51644         * manual/search.texi: Likewise.
51645         * manual/setjmp.texi: Likewise.
51646         * manual/signal.texi: Likewise.
51647         * manual/socket.texi: Likewise.
51648         * manual/startup.texi: Likewise.
51649         * manual/stdio.texi: Likewise.
51650         * manual/string.texi: Likewise.
51651         * manual/sysinfo.texi: Likewise.
51652         * manual/syslog.texi: Likewise.
51653         * manual/terminal.texi: Likewise.
51654         * manual/time.texi: Likewise.
51655         * manual/users.texi: Likewise.
51656         * INSTALL: Regenerated.
51657         * NOTES: Regenerated.
51658         * sysdeps/gnu/errlist.c: Regenerated.
51660 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
51662         * include/dirent.h: Include <dirstream.h> before
51663         <dirent/dirent.h>.
51665 2012-02-28  David S. Miller  <davem@davemloft.net>
51667         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
51668         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
51669         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
51670         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
51672 2012-02-27  David S. Miller  <davem@davemloft.net>
51674         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
51675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
51676         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
51677         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
51679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
51680         frame pointer instead of stack pointer relative arg slot.
51681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51682         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51683         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51685 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
51687         [BZ #3992]
51688         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
51690 2012-02-27  David S. Miller  <davem@davemloft.net>
51692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
51693         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
51696         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51697         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51698         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
51699         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
51701 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
51703         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
51704         later.  Allow versions 5-9.
51705         * configure: Regenerated.
51706         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
51707         required minimum version and 4.6 as recommended version.  Do not
51708         mention bugs in GCC 2.7 and 2.8.
51709         * INSTALL: Regenerated.
51711 2012-02-27  David S. Miller  <davem@davemloft.net>
51713         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
51714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
51715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
51716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
51717         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
51718         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
51719         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
51720         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
51722         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
51723         manipulate bits before adding and subtracting TWO112[sx].
51724         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
51726 2012-02-27  Roland McGrath  <roland@hack.frob.com>
51728         [BZ #13775]
51729         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
51730         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
51731         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
51732         being in POSIX, because they are in 1003.1-2008.
51734         * rt/tst-aio.c: Include <fcntl.h>.
51735         * rt/tst-aio7.c: Likewise.
51736         * rt/tst-aio64.c: Likewise.
51738         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
51740 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
51742         * manual/install.texi (--with-headers): Describe headers as
51743         interface headers, not private headers.
51744         (Specific advice for GNU/Linux systems): Describe use of headers
51745         from "make headers_install", not private headers from older
51746         kernels.
51747         * INSTALL: Regenerated.
51748         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
51749         Change to 2.6.19.
51750         * sysdeps/unix/sysv/linux/configure: Regenerated.
51752         * manual/llio.texi (fclean): Remove documentation.
51754         * manual/Makefile (libc-texi-generated): New variable.  Include
51755         version.texi.
51756         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
51757         $(libc-texi-generated), not duplicated list of files.
51758         (version.texi, stamp-version): New rules.
51759         (realclean): Remove $(libc-texi-generated), not individual files
51760         from that list.  Do not remove dir-add.texinfo.
51761         * manual/libc.texinfo: Comment out uses of edition numbers and
51762         references to printed manual.  Remove last-updated dates.
51763         (EDITION): Comment out.
51764         (ISBN): Likewise.
51765         (VERSION, UPDATED): Remove.
51766         (version.texi): Include.
51768 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
51770         * sysdeps/posix/spawni.c: Include <signal.h>.
51771         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
51772         * sysdeps/pthread/aio_fsync.c: Likewise.
51774 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
51776         * conform/Makefile (tests): Run only when not cross-compiling and
51777         when fast-check is not defined.
51779         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
51780         * conform/data/limits.h-data: Fixes for POSIX2008.
51781         * conform/run-conformtest.sh: Run all tests.
51782         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
51783         headers.
51784         * include/bits/dlfcn.h: Likewise.
51785         * include/langinfo.h: Likewise.
51786         * include/monetary.h: Likewise.
51787         * include/sys/poll.h: Likewise.
51789         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
51790         for __USE_GNU.
51791         * posix/spawn.h: Define __need_sigset_t.
51792         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
51793         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
51794         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
51795         to get sigevent_t only.
51796         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
51797         only for __USE_GNU.
51798         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51799         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51800         process_vm_writev only for __USE_GNU.
51801         * termios/termios.h: Declare tcgetsid also for POSIX2008.
51803         * conform/Makefile: For now ignore errors from run-conformtest.
51804         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
51805         POSIX to avoid namespace pollution.  Don't prepend headers.
51806         * conform/data/aio.h-data: Fixes for POSIX testing.
51807         * conform/data/fcntl.h-data: Likewise.
51808         * conform/data/glob.h-data: Likewise.
51809         * conform/data/grp.h-data: Likewise.
51810         * conform/data/pthread.h-data: Likewise.
51811         * conform/data/pwd.h-data: Likewise.
51812         * conform/data/signal.h-data: Likewise.
51813         * conform/data/spawn.h-data: Likewise.
51814         * conform/data/stdio.h-data: Likewise.
51815         * conform/data/stdlib.h-data: Likewise.
51816         * conform/data/stropts.h-data: Likewise.
51817         * conform/data/sys/mman.h-data: Likewise.
51818         * conform/data/sys/stat.h-data: Likewise.
51819         * conform/data/sys/types.h-data: Likewise.
51820         * conform/data/sys/wait.h-data: Likewise.
51821         * conform/data/time.h-data: Likewise.
51822         * conform/data/unistd.h-data: Likewise.
51823         * conform/data/utime.h-data: Likewise.
51825         * io/sys/stat.h: fchmod was always in POSIX.
51826         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
51827         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
51828         * rt/aio.h: Define __need_timespec before including <time.h>.
51829         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
51830         struct.  Add forward declaration of pthread_attr_t and use it in
51831         sigevent.
51832         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51833         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51834         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
51835         always remove CLK_TCK definition.
51837 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
51839         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
51841 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
51843         * conform/run-conformtest.sh: New file.
51844         * conform/Makefile: Run run-conformtest for tests.
51845         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
51846         support.
51848         * conform/data/uchar.h-data: New file.
51849         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
51850         * conform/data/arpa/inet.h-data: Likewise.
51851         * conform/data/assert.h-data: Likewise.
51852         * conform/data/complex.h-data: Likewise.
51853         * conform/data/cpio.h-data: Likewise.
51854         * conform/data/ctype.h-data: Likewise.
51855         * conform/data/dirent.h-data: Likewise.
51856         * conform/data/dlfcn.h-data: Likewise.
51857         * conform/data/errno.h-data: Likewise.
51858         * conform/data/fcntl.h-data: Likewise.
51859         * conform/data/float.h-data: Likewise.
51860         * conform/data/fmtmsg.h-data: Likewise.
51861         * conform/data/fnmatch.h-data: Likewise.
51862         * conform/data/ftw.h-data: Likewise.
51863         * conform/data/glob.h-data: Likewise.
51864         * conform/data/grp.h-data: Likewise.
51865         * conform/data/iconv.h-data: Likewise.
51866         * conform/data/inttypes.h-data: Likewise.
51867         * conform/data/langinfo.h-data: Likewise.
51868         * conform/data/libgen.h-data: Likewise.
51869         * conform/data/limits.h-data: Likewise.
51870         * conform/data/locale.h-data: Likewise.
51871         * conform/data/math.h-data: Likewise.
51872         * conform/data/monetary.h-data: Likewise.
51873         * conform/data/mqueue.h-data: Likewise.
51874         * conform/data/ndbm.h-data: Likewise.
51875         * conform/data/net/if.h-data: Likewise.
51876         * conform/data/netdb.h-data: Likewise.
51877         * conform/data/netinet/in.h-data: Likewise.
51878         * conform/data/nl_types.h-data: Likewise.
51879         * conform/data/poll.h-data: Likewise.
51880         * conform/data/pthread.h-data: Likewise.
51881         * conform/data/pwd.h-data: Likewise.
51882         * conform/data/regex.h-data: Likewise.
51883         * conform/data/sched.h-data: Likewise.
51884         * conform/data/search.h-data: Likewise.
51885         * conform/data/semaphore.h-data: Likewise.
51886         * conform/data/setjmp.h-data: Likewise.
51887         * conform/data/signal.h-data: Likewise.
51888         * conform/data/spawn.h-data: Likewise.
51889         * conform/data/stdarg.h-data: Likewise.
51890         * conform/data/stdio.h-data: Likewise.
51891         * conform/data/stdlib.h-data: Likewise.
51892         * conform/data/string.h-data: Likewise.
51893         * conform/data/strings.h-data: Likewise.
51894         * conform/data/stropts.h-data: Likewise.
51895         * conform/data/sys/ipc.h-data: Likewise.
51896         * conform/data/sys/mman.h-data: Likewise.
51897         * conform/data/sys/msg.h-data: Likewise.
51898         * conform/data/sys/resource.h-data: Likewise.
51899         * conform/data/sys/select.h-data: Likewise.
51900         * conform/data/sys/sem.h-data: Likewise.
51901         * conform/data/sys/shm.h-data: Likewise.
51902         * conform/data/sys/socket.h-data: Likewise.
51903         * conform/data/sys/stat.h-data: Likewise.
51904         * conform/data/sys/statvfs.h-data: Likewise.
51905         * conform/data/sys/time.h-data: Likewise.
51906         * conform/data/sys/timeb.h-data: Likewise.
51907         * conform/data/sys/times.h-data: Likewise.
51908         * conform/data/sys/types.h-data: Likewise.
51909         * conform/data/sys/uio.h-data: Likewise.
51910         * conform/data/sys/un.h-data: Likewise.
51911         * conform/data/sys/utsname.h-data: Likewise.
51912         * conform/data/sys/wait.h-data: Likewise.
51913         * conform/data/syslog.h-data: Likewise.
51914         * conform/data/tar.h-data: Likewise.
51915         * conform/data/termios.h-data: Likewise.
51916         * conform/data/utime.h-data: Likewise.
51917         * conform/data/utmpx.h-data: Likewise.
51918         * conform/data/varargs.h-data: Likewise.
51919         * conform/data/wchar.h-data: Likewise.
51920         * conform/data/wctype.h-data: Likewise.
51921         * conform/data/wordexp.h-data: Likewise.
51923         * include/stropts.h: New file.
51924         * include/uchar.h: New file.
51925         * include/aio.h: Changes to allow conformtest.pl to use the headers.
51926         * include/assert.h: Likewise.
51927         * include/ctype.h: Likewise.
51928         * include/dirent.h: Likewise.
51929         * include/dlfcn.h: Likewise.
51930         * include/fcntl.h: Likewise.
51931         * include/fnmatch.h: Likewise.
51932         * include/glob.h: Likewise.
51933         * include/grp.h: Likewise.
51934         * include/libio.h: Likewise.
51935         * include/locale.h: Likewise.
51936         * include/math.h: Likewise.
51937         * include/net/if.h: Likewise.
51938         * include/netdb.h: Likewise.
51939         * include/netinet/in.h: Likewise.
51940         * include/pthread.h: Likewise.
51941         * include/pwd.h: Likewise.
51942         * include/regex.h: Likewise.
51943         * include/sched.h: Likewise.
51944         * include/search.h: Likewise.
51945         * include/setjmp.h: Likewise.
51946         * include/signal.h: Likewise.
51947         * include/stdio.h: Likewise.
51948         * include/stdlib.h: Likewise.
51949         * include/string.h: Likewise.
51950         * include/sys/cdefs.h: Likewise.
51951         * include/sys/mman.h: Likewise.
51952         * include/sys/msg.h: Likewise.
51953         * include/sys/resource.h: Likewise.
51954         * include/sys/select.h: Likewise.
51955         * include/sys/socket.h: Likewise.
51956         * include/sys/stat.h: Likewise.
51957         * include/sys/statvfs.h: Likewise.
51958         * include/sys/time.h: Likewise.
51959         * include/sys/times.h: Likewise.
51960         * include/sys/uio.h: Likewise.
51961         * include/sys/utsname.h: Likewise.
51962         * include/sys/wait.h: Likewise.
51963         * include/termios.h: Likewise.
51964         * include/time.h: Likewise.
51965         * include/ulimit.h: Likewise.
51966         * include/unistd.h: Likewise.
51967         * include/utime.h: Likewise.
51968         * include/wchar.h: Likewise.
51969         * include/wctype.h: Likewise.
51970         * include/wordexp.h: Likewise.
51972         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
51974         * time/time.h: TIME_UTC must be a macro.
51975         Make timespec_get available for ISO C11 only as well.
51977 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
51979         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
51980         Reported by Peng Haitao <penght@cn.fujitsu.com>.
51982 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
51984         * configure.in: Use -o not -a in test for unsupported multi-arch.
51986 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
51988         * manual/texinfo.tex: Update to version 2012-01-19.16.
51990 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
51992         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
51994 2012-02-24  Roland McGrath  <roland@hack.frob.com>
51996         [BZ #13738]
51997         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
51998         * manual/fdl-1.3.texi: New file.
51999         * manual/fdl-1.1.texi: File removed.
52001         [BZ #13738]
52002         * manual/libc.texinfo (FDL_VERSION): New @set.
52003         Use it for mention of FDL in cover text.
52004         (Documentation License): Use it in @include file name.
52006 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52007             Roland McGrath  <roland@hack.frob.com>
52009         [BZ #5461]
52010         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
52011         (not LONG_LONG_MAX and LONG_LONG_MIN.
52012         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
52013         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
52014         name.
52015         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
52017 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52019         [BZ #2547]
52020         [BZ #11365]
52021         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
52022         manipulate bits before adding and subtracting TWO23[sx].
52023         * math/libm-test.inc (nearbyint_test): Add more tests.
52025 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52027         [BZ #2548]
52028         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
52029         bits before adding and subtracting TWO23[sx].
52030         * math/libm-test.inc (rint_test): Add more tests.
52031         (rint_test_tonearest): Likewise.
52032         (rint_test_towardzero): Likewise.
52033         (rint_test_downward): Likewise.
52034         (rint_test_upward: Likewise.
52036 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52038         [BZ #10110]
52039         * include/stdc-predef.h: New file.  Extracted from features.h.
52040         * include/features.h: Include stdc-predef.h.
52041         * Makefile (headers): Add stdc-predef.h.
52042         * CONFORMANCE (Compiler limitations): Update.
52044 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52046         * manual/libc.texinfo (VERSION, UPDATED): Revert.
52048 2012-02-21  David S. Miller  <davem@davemloft.net>
52050         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
52051         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52053 2012-02-20  David S. Miller  <davem@davemloft.net>
52055         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
52056         using a normal save/restore sequence, rather than allocating a
52057         dummy stack frame just to store a frame pointer and restore.
52058         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52060 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52062         * manual/install.texi: Fix stray word in line-wrapped comment.
52064 2012-02-20  David S. Miller  <davem@davemloft.net>
52066         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
52067         both binutils and gcc support GOTDATA.
52069         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
52070         "rd %pc" in the PIC register setup sequences.
52072         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
52073         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
52074         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52075         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
52076         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52077         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52078         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52079         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52080         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
52081         (SYSCALL_ERROR_HANDLER): Likewise.
52082         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52083         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52084         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
52085         (SYSCALL_ERROR_HANDLER): Likewise.
52087         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
52088         (HAVE_GCC_GOTDATA): New.
52089         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
52090         relocation support in both binutils and gcc.
52091         * sysdeps/sparc/elf/configure: Regenerate.
52093         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
52094         * sysdeps/sparc/sparc32/elf/configure: Delete.
52095         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
52096         * sysdeps/sparc/sparc64/elf/configure: Delete.
52097         * sysdeps/sparc/elf/configure.in: New file.
52098         * sysdeps/sparc/elf/configure: Generate.
52100         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
52101         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
52102         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52103         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
52104         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
52106 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52108         * manual/install.texi: Do not mention specific glibc version
52109         numbers.
52110         * manual/libc.texinfo (VERSION, UPDATED): Update.
52111         (@copying): Use @copyright{} and range of years.
52113 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52115         [BZ #13695]
52116         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
52117         [crti.S not in sysdirs] (generated): Do not append.
52118         [crti.S not in sysdirs] (omit-deps): Likewise.
52119         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
52120         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
52121         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
52122         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
52123         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
52124         Likewise.
52125         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
52126         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
52127         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
52128         * csu/defs.awk: Remove file.
52129         * sysdeps/generic/initfini.c: Likewise.
52130         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
52131         variable.
52132         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
52133         Likewise.
52135 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52137         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
52138         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
52139         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
52140         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
52141         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52142         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
52143         <bits/epoll.h>.
52144         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
52145         (__EPOLL_PACKED): Define to empty if not defined by
52146         <bits/epoll.h>.
52147         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
52148         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52149         bits/epoll.h.
52151 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52153         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
52154         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
52155         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
52156         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
52157         <bits/timerfd.h>.
52158         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
52159         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52160         bits/timerfd.h.
52162 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52164         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
52165         in C locale.
52166         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52167         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52168         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
52169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52171 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
52173         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52174         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52176 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
52178         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
52179         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
52180         defined.
52181         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
52182         Likewise.
52183         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
52184         entry for 2.16.
52186 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
52188         * math/w_acos.c: Use non-signaling floating-point comparisons.
52189         * math/w_acosf.c: Likewise.
52190         * math/w_acosh.c: Likewise.
52191         * math/w_acoshf.c: Likewise.
52192         * math/w_acoshl.c: Likewise.
52193         * math/w_acosl.c: Likewise.
52194         * math/w_asin.c: Likewise.
52195         * math/w_asinf.c: Likewise.
52196         * math/w_asinl.c: Likewise.
52197         * math/w_atanh.c: Likewise.
52198         * math/w_atanhf.c: Likewise.
52199         * math/w_atanhl.c: Likewise.
52200         * math/w_exp2.c: Likewise.
52201         * math/w_exp2f.c: Likewise.
52202         * math/w_exp2l.c: Likewise.
52203         * math/w_j0.c: Likewise.
52204         * math/w_j0f.c: Likewise.
52205         * math/w_j0l.c: Likewise.
52206         * math/w_j1.c: Likewise.
52207         * math/w_j1f.c: Likewise.
52208         * math/w_j1l.c: Likewise.
52209         * math/w_jn.c: Likewise.
52210         * math/w_jnf.c: Likewise.
52211         * math/w_log.c: Likewise.
52212         * math/w_log10.c: Likewise.
52213         * math/w_log10f.c: Likewise.
52214         * math/w_log10l.c: Likewise.
52215         * math/w_log2.c: Likewise.
52216         * math/w_log2f.c: Likewise.
52217         * math/w_log2l.c: Likewise.
52218         * math/w_logf.c: Likewise.
52219         * math/w_logl.c: Likewise.
52220         * math/w_sqrt.c: Likewise.
52221         * math/w_sqrtf.c: Likewise.
52222         * math/w_sqrtl.c: Likewise.
52223         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52224         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
52225         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52226         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52227         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52229 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52231         [BZ #9739]
52232         * manual/string.texi (strnlen): Use correct parameter name in
52233         equivalent expression.
52235 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52237         [BZ #11174]
52238         * manual/users.texi (seteuid): Consistently use neweuid for
52239         argument name.
52241 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52243         [BZ #13704]
52244         * manual/nss.texi (Services in the NSS configuration): Correct
52245         list of services in example configuration file.
52247 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
52249         [BZ #11322]
52250         * manual/arith.texi: Remove statements about negative zero
52251         behaving identically to zero.
52253 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
52255         [BZ #5993]
52256         * manual/install.texi: Do not document upgrading from libc5.
52258 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
52260         [BZ #4596]
52261         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
52263 2012-02-18  David S. Miller  <davem@davemloft.net>
52265         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
52266         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
52267         %o7 across the call.
52268         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
52269         instead.
52270         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
52271         SETUP_PIC_REG_LEAF.
52272         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52273         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
52274         * sysdeps/sparc/crtn.S: Likewise.
52276 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
52278         * aout/Makefile: Remove.
52280 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
52282         [BZ #13058]
52283         * manual/examples/argp-ex1.c (main): Format definition in GNU
52284         style.
52285         * manual/examples/argp-ex2.c (main): Likewise.
52286         * manual/examples/argp-ex3.c (main): Likewise.
52287         * manual/examples/argp-ex4.c (main): Likewise.
52288         * manual/examples/longopt.c (main): Use new-style prototype
52289         definition.
52290         * manual/examples/strncat.c (main): Specify return type and use
52291         (void) for arguments.
52292         * manual/examples/subopt.c (main): Use char **argv argument.
52294 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52296         [BZ #5077]
52297         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
52298         rounding modes.
52300 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
52302         [BZ #6907]
52303         * manual/string.texi (strchr): Change when strchrnul is
52304         recommended.
52306 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
52308         [BZ #174]
52309         * manual/locale.texi (setlocale): Document LOCPATH.
52311 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52313         [BZ #10210]
52314         * manual/process.texi (execle): Move @dots{} before last argument.
52316 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
52318         [BZ #12047]
52319         * manual/charset.texi (Generic Charset Conversion): Fix typo
52320         (LC_TYPE -> LC_CTYPE).
52322 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
52324         [BZ #5805]
52325         * manual/arith.texi (scalbn): Use @var{} on parameter names.
52326         (scalbnf): Likewise.
52327         (scalbnl): Likewise.
52328         (scalbln): Likewise.
52329         (scalblnf): Likewise.
52330         (scalblnl): Likewise.
52331         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
52332         (vwarnx): Likewise.
52333         (verr): Likewise.
52334         (verrx): Likewise.
52335         * manual/filesys.texi (telldir): Use braces around return type.
52336         * manual/llio.texi (mmap): Add space after comma.
52337         (mmap64): Likewise.
52338         * manual/math.texi (jn): Use @var{} on parameter names.
52339         (jnf): Likewise.
52340         (jnl): Likewise.
52341         (yn): Likewise.
52342         (ynf): Likewise.
52343         (ynl): Likewise.
52344         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
52345         line.
52346         * manual/resource.texi (ulimit): Use @dots{} instead of literal
52347         "...".
52348         (sched_get_priority_min): Remove semicolon on @deftypefun line.
52349         (sched_get_priority_max): Likewise.
52350         * manual/signal.texi (sigvec): Add space after comma.
52351         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
52352         names.
52353         (if_indextoname): Likewise.
52354         (if_freenameindex): Likewise.
52355         (sendto): Use ',' instead of '.' in prototype.
52356         * manual/startup.texi (syscall): Use @dots{} instead of literal
52357         "...".
52358         * manual/stdio.texi (__fpending): Separate initial words of
52359         paragraph from @deftypefun line.
52360         * manual/syslog.texi (syslog): Use @dots{} instead of literal
52361         "...".
52362         (vsyslog): Use @var{} on parameter names.
52363         * manual/terminal.texi (stty): Use @var{} on parameter names.
52364         * manual/users.texi (getutmp): Use @var{} on parameter names.
52365         (getutmpx): Likewise.
52367 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52369         [BZ #6884]
52370         * manual/stdio.texi (fopen): Fix typos in description of
52371         ",ccs=STRING".
52373 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
52375         [BZ #4026]
52376         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
52377         get clock_id definition.
52379 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
52381         [BZ #4822]
52382         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
52383         (madvise): Cast every argument to void on its own.
52385 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52387         [BZ #9902]
52388         * manual/startup.texi (Exit Status): Fix typo.
52390 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52392         [BZ #10140]
52393         * manual/examples/argp-ex1.c: Include <stdlib.h>.
52394         * manual/examples/argp-ex2.c: Likewise.
52395         * manual/examples/argp-ex3.c: Likewise.
52397 2012-02-16  Richard Henderson  <rth@redhat.com>
52399         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
52400         * sysdeps/s390/s390-32/initfini.c: Remove.
52401         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
52402         * sysdeps/s390/s390-64/initfini.c: Remove.
52404 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52406         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
52407         compiler output for sysdeps/generic/initfini.c.
52408         * sysdeps/sh/elf/initfini.c: Remove file.
52410 2012-02-16  David S. Miller  <davem@davemloft.net>
52412         [BZ #11494]
52413         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
52415         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
52416         * sysdeps/sparc/crti.S: New file.
52417         * sysdeps/sparc/crtn.S: New file.
52418         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
52419         * sysdeps/sparc/sparc64/Makefile: Likewise.
52421 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
52423         [BZ #3335]
52424         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
52426 2012-02-15  Roland McGrath  <roland@hack.frob.com>
52428         [BZ #4822]
52429         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
52431         * mach/devstream.c (cookie_io_functions_t): Macro removed.
52432         (write, read, close): Likewise.
52433         Patch by Aurelien Jarno <aurelien@aurel32.net>.
52435 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
52437         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
52438         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
52439         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
52440         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
52441         <bits/signalfd.h>.
52442         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
52443         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52444         bits/signalfd.h.
52446 2012-02-14  Marek Polacek  <polacek@redhat.com>
52448         * sysdeps/x86_64/crti.S: New file.
52449         * sysdeps/x86_64/crtn.S: New file.
52450         * sysdeps/x86_64/elf/initfini.c: Remove file.
52452 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
52454         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
52455         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
52456         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
52457         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
52458         <bits/inotify.h>.
52459         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
52460         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52461         bits/inotify.h.
52463 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
52465         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
52466         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
52467         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
52468         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
52469         <bits/eventfd.h>.
52470         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
52471         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52472         bits/eventfd.h.
52474 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
52476         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
52477         __feraiseexcept instead of feraiseexcept.
52479         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
52480         nanosleep invocations.
52481         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
52482         strings, and add error checking for a nanosleep invocations.
52484 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
52486         Replace FSF snail mail address with URLs, as per GNU coding standards.
52487         Most of the snail mail addresses were wrong anyway, and omitting
52488         them makes the source code easier to maintain.  Almost all of the
52489         changes are to license notices and to locale LC_IDENTIFICATION
52490         addresses, except for this one:
52491         * manual/libc.texinfo: In "Published by", give the FSF's URL,
52492         not its snail mail address.
52494 2012-02-09  Richard Henderson  <rth@twiddle.net>
52496         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
52497         of kernel-features.h.
52499         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
52501 2012-02-08  Marek Polacek  <polacek@redhat.com>
52503         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
52504         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
52505         * sysdeps/gnu/_G_config.h: Likewise.
52506         * sysdeps/generic/_G_config.h: Likewise.
52508 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
52510         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
52511         tests.
52512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52514         * sysdeps/powerpc/powerpc32/crti.S: New file.
52515         * sysdeps/powerpc/powerpc32/crtn.S: New file.
52516         * sysdeps/powerpc/powerpc64/crti.S: New file.
52517         * sysdeps/powerpc/powerpc64/crtn.S: New file.
52519         * Makeconfig (have-initfini): Don't set.
52520         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
52521         * configure.in (nopic_initfini): Don't substitute.
52522         * config.h.in (HAVE_INITFINI): Don't #undef.
52523         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
52524         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
52526 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
52528         Support crti.S and crtn.S provided directly by architectures.
52529         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
52530         [crti.S in sysdirs] (omit-deps): Likewise.
52531         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
52532         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
52533         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
52534         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
52535         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
52536         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
52537         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
52538         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
52539         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
52540         compiler output for sysdeps/generic/initfini.c.
52541         * sysdeps/i386/elf/Makefile: Remove file.
52542         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
52544 2012-02-07  Marek Polacek  <polacek@redhat.com>
52546         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
52547         * sysdeps/gnu/_G_config.h: Likewise.
52548         * sysdeps/mach/hurd/_G_config.h: Likewise.
52550 2012-02-07  Marek Polacek  <polacek@redhat.com>
52552         * math/Makefile (tests): Add tst-CMPLX2.
52553         * math/tst-CMPLX2.c: New file.
52555 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
52557         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52559         * math/libm-test.inc (jn_test): Add missing L suffix.
52561 2012-02-06  Marek Polacek  <polacek@redhat.com>
52563         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
52564         * sysdeps/i386/fpu/e_powf.S: Likewise.
52565         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52566         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52567         * sysdeps/i386/fpu/e_acosh.S: Likewise.
52568         * sysdeps/i386/fpu/e_pow.S: Likewise.
52569         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52570         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52571         * sysdeps/i386/fpu/s_expm1.S: Likewise.
52572         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52573         * sysdeps/i386/fpu/e_log2.S: Likewise.
52574         * sysdeps/i386/fpu/e_log2l.S: Likewise.
52575         * sysdeps/i386/fpu/e_scalb.S: Likewise.
52576         * sysdeps/i386/fpu/e_powl.S: Likewise.
52577         * sysdeps/i386/fpu/s_log1p.S: Likewise.
52578         * sysdeps/i386/fpu/e_log10f.S: Likewise.
52579         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52580         * sysdeps/i386/fpu/e_logl.S: Likewise.
52581         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52582         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
52583         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52584         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52585         * sysdeps/i386/fpu/e_log2f.S: Likewise.
52586         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52587         * sysdeps/i386/fpu/e_log.S: Likewise.
52588         * sysdeps/i386/fpu/s_cexp.S: Likewise.
52589         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52590         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
52591         * sysdeps/i386/fpu/e_logf.S: Likewise.
52592         * sysdeps/i386/fpu/e_log10l.S: Likewise.
52593         * sysdeps/i386/fpu/e_atanh.S: Likewise.
52594         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
52595         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52596         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52597         * sysdeps/i386/fpu/e_log10.S: Likewise.
52598         * sysdeps/i386/fpu/s_frexp.S: Likewise.
52599         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52600         * sysdeps/i386/fpu/s_asinh.S: Likewise.
52601         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52602         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52603         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52604         * sysdeps/i386/asm-syntax.h: Likewise.
52605         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52606         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52607         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52608         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
52609         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
52610         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52611         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52612         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52613         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52614         * sysdeps/powerpc/sysdep.h: Likewise.
52615         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
52616         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52618 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
52620         [BZ #411]
52621         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
52623 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
52625         * sysdeps/i386/sysdep.h: Include <features.h>.
52626         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
52627         version.
52629 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
52631         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
52632         Define.
52633         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
52634         LOAD_PIC_REG_STR.
52636 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
52638         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
52639         (SETUP_PIC_REG): Use GET_PC_THUNK.
52640         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
52641         macro.
52643 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
52645         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
52646         for non-PIC compilation.
52647         (SETUP_PIC_REG): Add .p2align directive.
52648         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
52649         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
52650         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52651         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52652         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
52653         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52654         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
52655         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52656         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52657         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52658         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52659         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52660         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52661         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52662         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52663         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
52664         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
52665         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52666         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52667         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52668         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52669         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
52670         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52671         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52672         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
52673         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
52674         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52675         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
52676         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52677         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52678         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52679         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52680         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52681         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52682         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52683         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52684         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52685         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52686         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52687         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52688         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52690 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
52692         * math/tst-CMPLX.c: Include <stdio.h>.
52694 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
52696         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
52697         float.
52698         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52699         * sysdeps/sparc/bits/mathdef.h: Likewise.
52701 2012-01-31  Marek Polacek  <polacek@redhat.com>
52703         * libio/libio.h: Don't define _PARAMS.
52704         * locale/programs/config.h: Don't define PARAMS.
52705         * stdlib/strtol_l.c: Likewise.
52706         (__strtol_l): Remove PARAMS from the prototype.
52708 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
52710         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
52711         names.  Just use the correct names.  Remove unnecessary wrapper
52712         functions.
52713         * malloc/arena.c: Likewise.
52714         * malloc/hooks.c: Likewise.
52716         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
52717         ARENA_TEST says not to.  Simplify test for creation of a new arena.
52718         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
52720 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
52722         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
52723         into tail calls.
52724         (update_get_addr): New function.
52725         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
52726         GET_ADDR_MODULE parameter.
52728 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
52730         * crypt/cert.c: Remove __STDC__ conditionals.
52731         * crypt/crypt-entry.c: Likewise.
52732         * crypt/crypt_util.c: Likewise.
52733         * libio/filedoalloc.c: Likewise.
52734         * libio/fileops.c: Likewise.
52735         * libio/genops.c: Likewise.
52736         * libio/iofclose.c: Likewise.
52737         * libio/iofdopen.c: Likewise.
52738         * libio/iofopen.c: Likewise.
52739         * libio/iofopen64.c: Likewise.
52740         * libio/iogetdelim.c: Likewise.
52741         * libio/iopopen.c: Likewise.
52742         * libio/obprintf.c: Likewise.
52743         * libio/oldfileops.c: Likewise.
52744         * libio/oldiofclose.c: Likewise.
52745         * libio/oldiofdopen.c: Likewise.
52746         * libio/oldiofopen.c: Likewise.
52747         * libio/oldiopopen.c: Likewise.
52748         * libio/wfiledoalloc.c: Likewise.
52749         * libio/wgenops.c: Likewise.
52750         * locale/programs/xmalloc.c: Likewise.
52751         * misc/syslog.c: Likewise.
52752         * stdio-common/xbug.c: Likewise.
52753         * string/memchr.c: Likewise.
52754         * string/memcmp.c: Likewise.
52755         * string/memrchr.c: Likewise.
52756         * string/rawmemchr.c: Likewise.
52757         * sysdeps/posix/getcwd.c: Likewise.
52758         * time/strftime_l.c: Likewise.
52760 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
52762         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
52763         * config.make.in (config-cflags-sse2avx): Define.
52764         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
52765         Fix typo.
52767 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
52769         * scripts/config.guess: Update from upstream config git repository.
52770         * scripts/config.sub: Likewise.
52772 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
52774         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
52775         (EM_NUM): Update.
52776         (R_TILEPRO_*, R_TILEGX_*): New macros.
52778         * scripts/firstversions.awk: Fix bug in version range handling.
52780         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
52782         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
52784         * include/sys/epoll.h: New file.
52785         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
52786         libc_hidden_def.
52788 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
52790         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
52791         Avoid unnecessary __WORDSIZE == 64 test.
52792         (fmaxf): Use VEX format if possible.
52793         (fmax): Likewise.
52794         (fminf): Likewise.
52795         (fmin): Likewise.
52797         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
52798         * math/math_private.h: Remove libc_fegetround* and
52799         libc_fesetround*.
52800         * sysdeps/i386/configure.in: Check for -msse2avx.
52801         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
52802         also if SSE2AVX is defined.
52803         Remove libc_fegetround* and libc_fesetround*.
52804         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
52805         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
52806         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
52807         of HAS_YMM_USABLE.
52808         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52809         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52810         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52811         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52812         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52814         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
52816 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52818         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
52819         size is not set.
52820         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52822 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
52824         [BZ #13618]
52825         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
52826         relocation.
52827         * Makeconfig (libm): Define.
52828         * elf/Makefile: Add rules to build and run tst-relsort1.
52829         * elf/tst-relsort1.c: New file.
52830         * elf/tst-relsort1mod1.c: New file.
52831         * elf/tst-relsort1mod2.c: New file.
52833 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
52835         * math/s_ldexp.c: Remove __STDC__ conditionals.
52836         * math/s_ldexpf.c: Likewise.
52837         * math/s_ldexpl.c: Likewise.
52838         * math/s_nextafter.c: Likewise.
52839         * math/s_nexttowardf.c: Likewise.
52840         * math/s_significand.c: Likewise.
52841         * math/s_significandf.c: Likewise.
52842         * math/s_significandl.c: Likewise.
52843         * math/w_jnl.c: Likewise.
52844         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52845         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52846         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52847         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52848         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52849         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52850         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
52851         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52852         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52853         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52854         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52855         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52856         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52857         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52858         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52859         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52860         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52861         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52862         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52863         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52864         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52865         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52866         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52867         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52868         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52869         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52870         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52871         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52872         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52873         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52874         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52875         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52876         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52877         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52878         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52879         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52880         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52881         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52882         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52883         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52884         * sysdeps/ieee754/k_standard.c: Likewise.
52885         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52886         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52887         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52888         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52889         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52890         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52891         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52892         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52893         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52894         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52895         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52896         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52897         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52898         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52899         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52900         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52901         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52902         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52903         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52904         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52905         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52906         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52907         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52908         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52909         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52910         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52911         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52912         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52913         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52914         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52915         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52916         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
52917         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52918         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52919         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52920         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52921         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
52922         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52923         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52924         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
52925         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
52926         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52927         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
52928         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
52929         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52930         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52931         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52932         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52933         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52934         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
52935         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
52936         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52937         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52938         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52939         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52940         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52941         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
52942         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52943         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52944         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52945         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52946         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52947         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52948         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52949         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52950         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52951         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52952         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52953         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52954         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52955         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52956         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52957         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52958         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52959         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52960         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52961         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52962         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52963         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52964         * sysdeps/ieee754/s_matherr.c: Likewise.
52965         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52966         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52967         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52968         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52970 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
52972         * crypt/md5.h: Remove __STDC__ conditionals.
52973         * libio/libioP.h: Likewise.
52974         * locale/programs/config.h: Likewise.
52975         * sysdeps/generic/sysdep.h: Likewise.
52976         * sysdeps/i386/asm-syntax.h: Likewise.
52977         * sysdeps/s390/asm-syntax.h: Likewise.
52978         * sysdeps/unix/sysdep.h: Likewise.
52979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
52980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52982 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
52984         * libio/libio.h: Remove __STDC__ conditionals.
52985         * malloc/obstack.h: Likewise.
52986         * math/complex.h: Likewise.
52987         * math/math.h: Likewise.
52988         * sysdeps/generic/_G_config.h: Likewise.
52989         * sysdeps/gnu/_G_config.h: Likewise.
52990         * sysdeps/mach/hurd/_G_config.h: Likewise.
52991         * sysdeps/powerpc/bits/mathdef.h: Likewise.
52992         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52993         * sysdeps/sparc/bits/mathdef.h: Likewise.
52995 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
52997         [BZ #13583]
52998         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
52999         Clean up HAS_* macros.
53000         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
53001         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
53002         possible.
53003         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
53004         HAS_AVX.
53005         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53006         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53007         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53008         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53009         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53011 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
53013         * elf/tst-unique3.cc (gets): Remove declaration.
53014         * elf/tst-unique3lib.cc (gets): Likewise.
53015         * elf/tst-unique3lib2.cc (gets): Likewise.
53016         * elf/tst-unique4.cc (gets): Likewise.
53018 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
53020         * include/stdio.h: Add C++ protection.  Add gets declarations and
53021         definitions.
53022         * debug/tst-chk1.c: Don't declare gets here.
53023         * stdio-common/tst-gets.c: Likewise.
53025 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
53027         * posix/glob: Remove directory.
53029 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
53031         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
53033 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
53035         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
53036         of the non-standard EPFNOSUPPORT.
53038 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53040         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
53041         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
53042         ANYWHERE set to 1 only on KERN_NO_SPACE error.
53044 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
53046         * wcsmbs/uchar.h: Test __STDC_VERSION__.
53048 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
53050         * nscd/aicache.c (addhstaiX): Do not cache negative results of
53051         transient errors.
53052         * nscd/grpcache.c (cache_addgr): Likewise.
53053         * nscd/hstcache.c (cache_addhst): Likewise.
53054         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53055         * nscd/pwdcache.c (cache_addpw): Likewise.
53056         * nscd/servicescache.c (cache_addserv): Likewise.
53058 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
53060         * malloc/malloc.c: Various cleanups.
53061         * malloc/hooks.c: Likewise.
53063         * stdlib/Makefile (tests): Add bug-fmtmsg1.
53064         * stdlib/bug-fmtmsg1.c: New file.
53066         * stdlib/fmtmsg.c (init): Add missing unlock.
53067         Patch by Peng Haitao <penght@cn.fujitsu.com>.
53069 2012-01-12  Marek Polacek  <polacek@redhat.com>
53071         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
53072         and _GNU_SOURCE.
53074 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
53076         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
53077         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
53078         macro to ensure uniqueness of label name.
53079         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53080         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53082 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
53084         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
53086         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
53087         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53088         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53089         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
53091 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
53093         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
53095         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
53096         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53097         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53099         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
53101         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
53102         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53103         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53104         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
53106         * math/bits/math-finite.h: Add ldexp support.
53108 2012-01-10  Marek Polacek  <polacek@redhat.com>
53110         * locale/programs/localedef.h (show_archive_content): Add noreturn
53111         attribute.
53113 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
53115         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
53117 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53119         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
53121         * io/Makefile (headers): Add bits/poll2.h.
53123 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
53125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
53126         typo #include statement.
53128 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53130         * include/sys/cdefs.h: Define __attribute_alloc_size.
53131         * catgets/gencat.c: Add alloc_size attribute and apply consistently
53132         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
53133         * elf/pldd.c: Likewise.
53134         * iconv/iconv_charmap.c: Likewise.
53135         * iconv/iconvconfig.c: Likewise.
53136         * iconv/strtab.c: Likewise.
53137         * locale/programs/locale.c: Likewise.
53138         * locale/programs/localedef.h: Likewise.
53139         * locale/programs/simple-hash.c: Likewise.
53140         * nscd/nscd.h: Likewise.
53141         * nss/makedb.c: Likewise.
53142         * sysdeps/generic/ldconfig.h: Likewise.
53143         * locale/programs/localedef.c: Remove xmalloc prototype.
53144         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
53146 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53148         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
53149         appropriate.
53151 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53153         * math/Makefile (tests): Add tst-CMPLX.
53154         * math/tst-CMPLX.c: New file.
53156         * math/complex.h (CMPLXL): Fix typo.
53158         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
53159         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
53160         GLIBC_2.16.
53161         * debug/tst-chk1.c: Add poll and ppoll tests.
53162         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
53163         * include/sys/poll.h: Add hidden proto for ppoll.
53164         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
53165         * sysdeps/mach/hurd/ppoll.c: Likewise.
53166         * io/ppoll.c: Likewise.
53167         * debug/poll_chk.c: New file.
53168         * debug/ppoll_chk.c: New file.
53169         * include/bits/poll2.h: New file.
53170         * io/bits/poll2.h: New file.
53172         [BZ #1350]
53173         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
53175         * configure.in: static is always set to yes.  Remove.
53176         * config.make.in: Don't set build-static.
53177         * Makeconfig: Remove use of build-static.
53178         * dlfcn/Makefile: Likewise.
53179         * elf/Makefile: Likewise.
53180         * math/Makefile: Likewise.
53181         * misc/Makefile: Likewise.
53182         * nptl/Makefile: Likewise.
53183         * sysdeps/mach/hurd/Makefile: Likewise.
53185         * configure.in: PWD_P is not used anymore.
53186         * config.make.in: Remove PWD_P entry.
53188         * configure.in: Remove last remnants of RANLIB.
53189         No need to check for signed size_t anymore.
53190         Don't set libc_commonpagesize and libc_relro_required here for Alpha
53191         and IA-64.
53192         Remove __builtin_expect test because we require at least gcc 3.4.
53193         * aclocal.m4: Likewise.
53195         * wcsmbs/mbrtoc16.c: Implement using towc function.
53196         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
53197         * wcsmbs/wcsmbsload.c: Likewise.
53198         * iconv/gconv_simple.c: Likewise.
53199         * iconv/gconv_int.h: Likewise.
53200         * iconv/gconv_builtin.h: Likewise.
53201         * iconv/iconv_prog.c: Remove CHAR16 handling.
53203         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
53205         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
53207         * configure.in: Remove --with-elf and --enable-bounded options.
53208         Dont set base_machine for ia64.  More non-ELF conditions removed.
53209         Remove testing and setting of leading underscore information.
53210         * config.make.in (build-bounded): Set to no.
53211         * config.h.in: Remove NO_UNDERSCORES entry.
53212         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
53213         them.
53214         * csu/start.c: Remove !NO_UNDERSCORE code.
53215         * locale/localeinfo.h: Likewise.
53216         * sysdeps/generic/machine-gmon.h: Likewise.
53217         * sysdeps/generic/sysdep.h: Likewise.
53218         * sysdeps/i386/sysdep.h: Likewise.
53219         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53220         * sysdeps/mach/sysdep.h: Likewise.
53221         * sysdeps/s390/s390-32/sysdep.h: Likewise.
53222         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53223         * sysdeps/sh/sysdep.h: Likewise.
53224         * sysdeps/sparc/sparc32/alloca.S: Likewise.
53225         * sysdeps/unix/i386/sysdep.S: Likewise.
53226         * sysdeps/unix/sparc/start.c: Likewise.
53227         * sysdeps/unix/sparc/sysdep.S: Likewise.
53228         * sysdeps/unix/sparc/sysdep.h: Likewise.
53229         * sysdeps/unix/start.c: Likewise.
53230         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53231         * sysdeps/x86_64/sysdep.h: Likewise.
53233 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
53235         [BZ #13553]
53236         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
53237         for non-gcc.
53238         * argp/argp-fmtstream.h: Use const instead __const.
53239         * argp/argp.h: Likewise.
53240         * assert/assert.h: Likewise.
53241         * bits/fenv.h: Likewise.
53242         * bits/sched.h: Likewise.
53243         * bits/sigset.h: Likewise.
53244         * bits/sigthread.h: Likewise.
53245         * catgets/nl_types.h: Likewise.
53246         * conform/data/pthread.h-data: Likewise.
53247         * crypt/crypt-private.h: Likewise.
53248         * crypt/crypt.h: Likewise.
53249         * crypt/crypt_util.c: Likewise.
53250         * ctype/ctype.h: Likewise.
53251         * debug/execinfo.h: Likewise.
53252         * debug/mbsnrtowcs_chk.c: Likewise.
53253         * debug/mbsrtowcs_chk.c: Likewise.
53254         * debug/wcsnrtombs_chk.c: Likewise.
53255         * debug/wcsrtombs_chk.c: Likewise.
53256         * debug/wcstombs_chk.c: Likewise.
53257         * dirent/dirent.h: Likewise.
53258         * dlfcn/dlfcn.h: Likewise.
53259         * elf/neededtest4.c: Likewise.
53260         * grp/grp.h: Likewise.
53261         * gshadow/gshadow.h: Likewise.
53262         * iconv/gconv.h: Likewise.
53263         * iconv/gconv_int.h: Likewise.
53264         * iconv/gconv_simple.c: Likewise.
53265         * iconv/iconv.h: Likewise.
53266         * iconv/loop.c: Likewise.
53267         * iconv/skeleton.c: Likewise.
53268         * include/aio.h: Likewise.
53269         * include/aliases.h: Likewise.
53270         * include/argz.h: Likewise.
53271         * include/arpa/inet.h: Likewise.
53272         * include/assert.h: Likewise.
53273         * include/dirent.h: Likewise.
53274         * include/dlfcn.h: Likewise.
53275         * include/execinfo.h: Likewise.
53276         * include/fcntl.h: Likewise.
53277         * include/fenv.h: Likewise.
53278         * include/glob.h: Likewise.
53279         * include/grp.h: Likewise.
53280         * include/libintl.h: Likewise.
53281         * include/mntent.h: Likewise.
53282         * include/netdb.h: Likewise.
53283         * include/pwd.h: Likewise.
53284         * include/rpc/netdb.h: Likewise.
53285         * include/sched.h: Likewise.
53286         * include/search.h: Likewise.
53287         * include/shadow.h: Likewise.
53288         * include/signal.h: Likewise.
53289         * include/stdio.h: Likewise.
53290         * include/stdlib.h: Likewise.
53291         * include/string.h: Likewise.
53292         * include/sys/socket.h: Likewise.
53293         * include/sys/stat.h: Likewise.
53294         * include/sys/statfs.h: Likewise.
53295         * include/sys/statvfs.h: Likewise.
53296         * include/sys/syslog.h: Likewise.
53297         * include/sys/time.h: Likewise.
53298         * include/sys/uio.h: Likewise.
53299         * include/time.h: Likewise.
53300         * include/unistd.h: Likewise.
53301         * include/utmp.h: Likewise.
53302         * include/wchar.h: Likewise.
53303         * include/wctype.h: Likewise.
53304         * inet/aliases.h: Likewise.
53305         * inet/arpa/inet.h: Likewise.
53306         * inet/netinet/ether.h: Likewise.
53307         * inet/netinet/in.h: Likewise.
53308         * intl/libintl.h: Likewise.
53309         * io/bits/fcntl2.h: Likewise.
53310         * io/fcntl.h: Likewise.
53311         * io/ftw.h: Likewise.
53312         * io/sys/poll.h: Likewise.
53313         * io/sys/stat.h: Likewise.
53314         * io/sys/statfs.h: Likewise.
53315         * io/sys/statvfs.h: Likewise.
53316         * io/utime.h: Likewise.
53317         * libio/bits/stdio.h: Likewise.
53318         * libio/bits/stdio2.h: Likewise.
53319         * libio/libio.h: Likewise.
53320         * libio/libioP.h: Likewise.
53321         * libio/stdio.h: Likewise.
53322         * locale/lc-ctype.c: Likewise.
53323         * locale/locale.h: Likewise.
53324         * login/utmp.h: Likewise.
53325         * malloc/arena.c: Likewise.
53326         * malloc/malloc.c: Likewise.
53327         * malloc/malloc.h: Likewise.
53328         * malloc/mcheck.c: Likewise.
53329         * malloc/mtrace.c: Likewise.
53330         * math/bits/mathcalls.h: Likewise.
53331         * math/fenv.h: Likewise.
53332         * math/math_private.h: Likewise.
53333         * misc/bits/error.h: Likewise.
53334         * misc/bits/syslog.h: Likewise.
53335         * misc/err.h: Likewise.
53336         * misc/error.h: Likewise.
53337         * misc/fstab.h: Likewise.
53338         * misc/mntent.h: Likewise.
53339         * misc/regexp.h: Likewise.
53340         * misc/search.h: Likewise.
53341         * misc/sgtty.h: Likewise.
53342         * misc/sys/mman.h: Likewise.
53343         * misc/sys/syslog.h: Likewise.
53344         * misc/sys/uio.h: Likewise.
53345         * misc/sys/xattr.h: Likewise.
53346         * misc/ttyent.h: Likewise.
53347         * nis/rpcsvc/ypclnt.h: Likewise.
53348         * nss/nss.h: Likewise.
53349         * posix/bits/unistd.h: Likewise.
53350         * posix/fnmatch.h: Likewise.
53351         * posix/glob.h: Likewise.
53352         * posix/sched.h: Likewise.
53353         * posix/spawn.h: Likewise.
53354         * posix/sys/wait.h: Likewise.
53355         * posix/unistd.h: Likewise.
53356         * posix/wordexp.h: Likewise.
53357         * pwd/pwd.h: Likewise.
53358         * resolv/netdb.h: Likewise.
53359         * resource/sys/resource.h: Likewise.
53360         * rt/aio.h: Likewise.
53361         * rt/bits/mqueue2.h: Likewise.
53362         * rt/mqueue.h: Likewise.
53363         * shadow/shadow.h: Likewise.
53364         * signal/signal.h: Likewise.
53365         * socket/send.c: Likewise.
53366         * socket/sendto.c: Likewise.
53367         * socket/sys/socket.h: Likewise.
53368         * stdio-common/printf.h: Likewise.
53369         * stdlib/bits/stdlib.h: Likewise.
53370         * stdlib/fmtmsg.h: Likewise.
53371         * stdlib/monetary.h: Likewise.
53372         * stdlib/stdlib.h: Likewise.
53373         * stdlib/ucontext.h: Likewise.
53374         * streams/stropts.h: Likewise.
53375         * string/argz.h: Likewise.
53376         * string/bits/string2.h: Likewise.
53377         * string/string.h: Likewise.
53378         * string/strings.h: Likewise.
53379         * sunrpc/rpc/auth.h: Likewise.
53380         * sunrpc/rpc/auth_des.h: Likewise.
53381         * sunrpc/rpc/clnt.h: Likewise.
53382         * sunrpc/rpc/netdb.h: Likewise.
53383         * sunrpc/rpc/pmap_clnt.h: Likewise.
53384         * sunrpc/rpc/xdr.h: Likewise.
53385         * sysdeps/generic/inttypes.h: Likewise.
53386         * sysdeps/generic/net/if.h: Likewise.
53387         * sysdeps/generic/sys/swap.h: Likewise.
53388         * sysdeps/gnu/net/if.h: Likewise.
53389         * sysdeps/gnu/utmpx.h: Likewise.
53390         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
53391         * sysdeps/i386/i486/bits/string.h: Likewise.
53392         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
53393         * sysdeps/s390/bits/string.h: Likewise.
53394         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
53395         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
53396         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
53397         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
53398         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
53399         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
53400         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
53401         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
53402         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
53403         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
53404         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
53405         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
53406         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
53407         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
53408         * sysdeps/unix/sysv/linux/readv.c: Likewise.
53409         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
53410         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53411         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53412         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
53413         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
53414         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53415         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
53416         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
53417         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
53418         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
53419         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
53420         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
53421         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53422         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
53423         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
53424         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
53425         * sysvipc/sys/ipc.h: Likewise.
53426         * sysvipc/sys/msg.h: Likewise.
53427         * sysvipc/sys/sem.h: Likewise.
53428         * sysvipc/sys/shm.h: Likewise.
53429         * termios/termios.h: Likewise.
53430         * time/sys/time.h: Likewise.
53431         * time/time.h: Likewise.
53432         * wcsmbs/bits/wchar2.h: Likewise.
53433         * wcsmbs/uchar.h: Likewise.
53434         * wcsmbs/wchar.h: Likewise.
53435         * wctype/wctype.h: Likewise.
53437         [BZ #13551]
53438         * Makeconfig: Remove all but ELF support including AIX support.
53439         * Makerules: Likewise.
53440         * config.h.in: Likewise.
53441         * config.make.in: Likewise.
53442         * configure: Likewise.
53443         * configure.in: Likewise.
53444         * csu/Makefile: Likewise.
53445         * csu/version.c: Likewise.
53446         * debug/Makefile: Likewise.
53447         * dlfcn/Makefile: Likewise.
53448         * elf/Makefile: Likewise.
53449         * extra-lib.mk: Likewise.
53450         * iconv/Makefile: Likewise.
53451         * include/libc-symbols.h: Likewise.
53452         * include/shlib-compat.h: Likewise.
53453         * resolv/Makefile: Likewise.
53454         * resolv/res_libc.c: Likewise.
53455         * rt/Makefile: Likewise.
53456         * sysdeps/i386/asm-syntax.h: Likewise.
53457         * sysdeps/i386/sysdep.h: Likewise.
53458         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53459         * sysdeps/mach/sysdep.h: Likewise.
53460         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
53461         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
53462         * sysdeps/s390/asm-syntax.h: Likewise.
53463         * sysdeps/s390/s390-32/sysdep.h: Likewise.
53464         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53465         * sysdeps/sh/sysdep.h: Likewise.
53466         * sysdeps/unix/sparc/sysdep.h: Likewise.
53467         * sysdeps/wordsize-32/divdi3.c: Likewise.
53468         * sysdeps/x86_64/sysdep.h: Likewise.
53470         * argp/Versions: Remove _argp_unlock_xxx.
53472         [BZ #13559]
53473         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
53474         * abilist/libBrokenLocale.abilist: Likewise.
53475         * abilist/libanl.abilist: Likewise.
53476         * abilist/libc.abilist: Likewise.
53477         * abilist/libcrypt.abilist: Likewise.
53478         * abilist/libdl.abilist: Likewise.
53479         * abilist/libm.abilist: Likewise.
53480         * abilist/libnsl.abilist: Likewise.
53481         * abilist/libpthread.abilist: Likewise.
53482         * abilist/libresolv.abilist: Likewise.
53483         * abilist/librt.abilist: Likewise.
53484         * abilist/libthread_db.abilist: Likewise.
53485         * abilist/libutil.abilist: Likewise.
53486         * abilist/libnss_db.abilist: New file.
53488         * scripts/abilist.awk: Add support for indirect functions.
53490         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
53492         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
53494         * shlib-versions: Remove entries for ports architectures.
53496         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
53497         files in ports.
53498         * elf/stackguard-macros.h: Remove support for IA-64.
53499         * elf/tst-auditmod1.c: Likewise.
53500         * sysdeps/generic/ldsodefs.h: Likewise.
53502         * sysdeps/unix/sysv/linux/configure.in: Ports should define
53503         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
53504         configure files.
53506         [BZ #13552]
53507         * configure.in: Remove --enable-omitfp support.
53508         * FAQ.in: Adjust.
53509         * config.make.in: Likewise.
53510         * Makeconfig: Likewise.
53511         * manual/install.texi: Likewise.
53513         In case anyone cares, the IA-64 architecture could move to ports.
53514         * sysdeps/ia64/*: Removed.
53515         * sysdeps/unix/sysv/linux/ia64/*: Removed.
53516         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
53518         [BZ #13555]
53519         * configure.in: Remove entries for unsupported architectures.
53521         [BZ #13533]
53522         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
53523         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
53524         routines.
53525         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
53526         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
53527         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
53528         fall back to using wcrtomb.
53529         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
53530         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
53531         renaming.
53532         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
53533         * wcsmbs/tst-c16c32-1.c: New file.
53535         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
53536         local variable.
53538         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
53540         * elf/tst-unique3.cc: Add explicit declaration of gets.
53541         * elf/tst-unique3lib.cc: Likewise.
53542         * elf/tst-unique3lib2.cc: Likewise.
53543         * elf/tst-unique4.cc: Likewise.
53545         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
53547 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
53549         [BZ #13566]
53550         * assert/assert.h (static_assert): Don't define for C++.
53551         * libio/stdio.h (gets): Do declare for C++ <= C++11.
53552         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
53554 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
53556         * iconv/loop.c (single loop): Fix assertion in storing of
53557         remaining bytes.
53559         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
53561 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
53563         * posix/getconf.c: Update copyright year.
53564         * nss/getent.c: Likewise.
53565         * nss/makedb.c: Likewise.
53566         * iconv/iconvconfig.c: Likewise.
53567         * iconv/iconv_prog.c: Likewise.
53568         * elf/ldconfig.c: Likewise.
53569         * elf/pldd.c: Likewise.
53570         * elf/sotruss.ksh: Likewise.
53571         * catgets/gencat.c: Likewise.
53572         * csu/version.c: Likewise.
53573         * elf/ldd.bash.in: Likewise.
53574         * elf/sprof.c (print_version): Likewise.
53575         * locale/programs/locale.c: Likewise.
53576         * locale/programs/localedef.c: Likewise.
53577         * login/programs/pt_chown.c: Likewise.
53578         * nscd/nscd.c (print_version): Likewise.
53579         * debug/xtrace.sh: Likewise.
53580         * malloc/memusage.sh: Likewise.
53581         * malloc/mtrace.pl: Likewise.
53582         * debug/catchsegv.sh: Likewise.
53584 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
53586         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
53587         pure attribute.
53589 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
53591         [BZ #13533]
53592         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
53593         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
53594         transformations.
53595         * iconv/gconv_int.h: Likewise.
53596         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
53597         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
53598         from libc for GLIBC_2.16.
53599         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
53600         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
53601         * wcsmbs/uchar.h: Really define mbstate_t.
53602         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
53603         * wcsmbs/c16rtomb.c: New file.
53604         * wcsmbs/mbrtoc16.c: New file.
53605         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
53606         for C/POSIX locale.
53607         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
53608         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
53610         * wcsmbs/wchar.h: Add missing __restrict.
53612 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
53614         [BZ #13532]
53615         * time/Makefile (routines): Add timespec_get.
53616         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
53617         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
53618         timespec for ISO C11.
53619         * time/timespec_get.c: New file.
53620         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
53621         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
53623         [BZ #13531]
53624         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
53625         * stdlib/stdlib.h: Declare aligned_alloc.
53626         * Versions.def: Add GLIBC_2.16 for libc.
53627         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
53629         [BZ 13527]
53630         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
53631         ISO C11.
53633         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
53634         code.
53636         [BZ #13528]
53637         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
53639         [BZ #13529]
53640         * assert/assert.h (static_assert): Define.
53642         * version.h: Update for 2.16 development version.
53644         [BZ #13526]
53645         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
53646         _ISOC11_SOURCE.
53648         * version.h (RELEASE): Bump for 2.15 release.
53649         * include/features.h (__GLIBC_MINOR__): Bump to 15.
53651         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
53652         Patch by Marek Polacek <mpolacek@redhat.com>.
53654         * bits/byteswap.h: Protect long long constants with __extension__.
53655         * sysdeps/i386/bits/byteswap.h: Likewise.
53656         * sysdeps/ia64/bits/byteswap.h: Likewise.
53657         * sysdeps/s390/bits/byteswap.h: Likewise.
53658         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53660 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53662         [BZ #13540]
53663         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
53664         destination buffer.
53665         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
53667 2011-12-23  Marek Polacek  <polacek@redhat.com>
53669         * elf/dl-addr.c (determine_info): Add inline keyword.
53670         * elf/tst-auditmod4b.c (check_avx): Likewise.
53671         * elf/tst-auditmod6b.c (check_avx): Likewise.
53672         * elf/tst-auditmod6c.c (check_avx): Likewise.
53673         * elf/tst-auditmod7b.c (check_avx): Likewise.
53675 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
53677         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
53678         !__SSE_MATH__.
53680 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53682         [BZ #13540]
53683         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
53684         processing for last bytes.
53686 2011-08-06  Bruno Haible  <bruno@clisp.org>
53688         [BZ #13061]
53689         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
53690         U+0385, not to U+1FEE.
53692         [BZ #13062]
53693         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
53694         entry for U+00A5 U+0301.
53696 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
53698         [BZ #13166]
53699         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
53700         buffer for the output is too small.
53702         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
53703         optimization.
53705         [BZ #13185]
53706         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
53707         SSE flags if possible.
53709 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53711         [BZ #13540]
53712         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
53713         processing for last bytes.
53715 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
53717         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
53718         (syscall-list-default-options, syscall-list-default-condition)
53719         (syscall-list-includes): Define.
53720         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
53721         list of ABIs and options and #if conditions for each ABI.  Do not
53722         handle common syscalls between ABIs specially.
53723         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
53724         Remove.
53725         (syscall-list-variants, syscall-list-32bit-options)
53726         (syscall-list-32bit-condition, syscall-list-64bit-options)
53727         (syscall-list-64bit-condition): Define.
53728         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
53729         (syscall-list-variants, syscall-list-32bit-options)
53730         (syscall-list-32bit-condition, syscall-list-64bit-options)
53731         (syscall-list-64bit-condition): Define.
53732         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
53733         Remove.
53734         (syscall-list-variants, syscall-list-32bit-options)
53735         (syscall-list-32bit-condition, syscall-list-64bit-options)
53736         (syscall-list-64bit-condition): Define.
53737         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
53738         Remove.
53739         (syscall-list-variants, syscall-list-32bit-options)
53740         (syscall-list-32bit-condition, syscall-list-64bit-options)
53741         (syscall-list-64bit-condition): Define.
53743 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
53745         * locale/iso-639.def: Add brx entry.
53747         [BZ #13328]
53748         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
53749         Proposed by Mariusz_Cukr <marcukr@op.pl>.
53751         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
53752         __feraiseexcept_renamed.
53754 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
53756         [BZ #13538]
53757         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
53758         EPOLLET with unsigned values.
53759         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53760         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53762         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
53763         to large cancellation.
53764         * math/s_cacoshf.c: Likewise.
53765         * math/s_cacoshl.c: Likewise.
53767 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
53769         [BZ #13305]
53770         [BZ #12786]
53771         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
53772         * math/s_cacoshf.c: Likewise.
53773         * math/s_cacoshl.c: Likewise.
53775 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
53777         [BZ #13439]
53778         * iconv/gconv.h: Define __GCONV_SWAP.
53779         * iconvdata/unicode.c: The swap bit must be stored in __flags.
53780         * iconvdata/utf-16.c: Likewise.
53781         * iconvdata/utf-32.c: Likewise.
53783 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
53785         [BZ #13524]
53786         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
53787         numerator after shifting it by one limb.
53789 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
53791         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
53792         under [__USE_EXTERN_INLINES].
53794 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
53796         [BZ #13446]
53797         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
53799 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53801         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
53802         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
53803         optimized code.
53804         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
53805         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
53806         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
53807         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
53808         for strncasecmp/strncasecmp_l compilation.
53809         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
53810         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
53812 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
53814         [BZ #13484]
53815         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
53816         of __asm__.
53818 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
53820         [BZ #13506]
53821         * time/tzfile.c (__tzfile_read): Check values from file header.
53823 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
53825         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
53826         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
53827         * powerpc/powerpc32/dl-start.S: Likewise.
53828         * powerpc/powerpc32/elf/start.S: Likewise.
53829         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53830         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
53831         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
53832         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
53833         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
53834         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
53835         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
53836         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53837         * powerpc/powerpc32/fpu/s_round.S: Likewise.
53838         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
53839         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
53840         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
53841         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
53842         * powerpc/powerpc32/memset.S: Likewise.
53843         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
53844         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53845         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53846         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53847         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53848         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
53849         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
53850         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
53851         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
53852         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
53853         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
53854         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53855         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53857 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53859         * math/libm-test.inc: Added more nearbyint tests.
53860         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
53861         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
53862         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
53863         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
53865 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
53867         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
53868         FD_CLOEXEC.
53870 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53872         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
53873         Add wcscpy-ssse3 wcscpy-c.
53874         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
53875         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
53876         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
53877         * sysdeps/x86_64/wcschr.S: New file.
53878         * sysdeps/x86_64/wcsrchr.S: New file.
53879         * string/test-strcmp.c: Remove checking of wcscmp function for
53880         wrong alignments.
53881         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
53882         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
53883         wcsrchr-sse2 wcsrchr-c.
53884         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
53885         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
53886         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
53887         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
53888         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
53889         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
53890         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
53891         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
53892         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
53893         * wcsmbc/wcschr.c (WCSCHR): New macro.
53895 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53897         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
53898         * wcsmbs/test-wcsrchr.c: New file.
53899         * string/test-strrchr.c: Add wcsrchr support.
53900         (WIDE): New macro.
53901         * wcsmbs/test-wcscpy.c: New file.
53902         * string/test-strcpy.c: Add wcscpy support.
53903         (WIDE): New macro.
53905 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
53907         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
53908         the inner loop.
53910 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
53912         [BZ #13472]
53913         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
53915 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
53917         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
53918         Minor optimizations.
53920         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
53921         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
53922         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
53924 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
53926         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
53927         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
53928         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
53929         for gcc to avoid warnings.
53930         * inet/Makefile (tests): Add tst-checks.
53931         * inet/tst-checks.c: New file.
53933         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
53934         warning.
53936         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
53937         __wmemcmp_sse2.
53939         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
53940         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
53942         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
53944 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
53946         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
53947         problem.
53949         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
53951 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
53953         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
53954         conditional on GCC version.
53955         (__arch_compare_and_exchange_val_8_acq)
53956         (__arch_compare_and_exchange_val_16_acq)
53957         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
53958         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
53959         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
53961 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
53963         * sysdeps/sh/backtrace.c: New file.
53965 2011-12-02  Andreas Schwab  <schwab@redhat.com>
53967         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
53968         parenthesis.
53970 2011-12-01  Andreas Schwab  <schwab@redhat.com>
53972         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
53973         falling back to utime.
53975 2011-11-30  Andreas Schwab  <schwab@redhat.com>
53977         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
53978         expectations for float.
53980 2011-11-29  Andreas Schwab  <schwab@redhat.com>
53982         * locale/weight.h (findidx): Add parameter len.
53983         * locale/weightwc.h (findidx): Likewise.
53984         * posix/fnmatch_loop.c (FCT): Adjust caller.
53985         * posix/regcomp.c (build_equiv_class): Likewise.
53986         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
53987         * posix/regexec.c (check_node_accept_bytes): Likewise.
53988         * string/strcoll_l.c (STRCOLL): Likewise.
53989         * string/strxfrm_l.c (STRXFRM): Likewise.
53991 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
53993         * Makefile.in: Remove CVSOPT handling.
53994         * configure.in: Remove use of AC_REVISION.
53995         * iconvdata/Makefile (distribute): No need to filter out CVS.
53996         * scripts/list-sources.sh: Remove CVS, subversion and monotone
53997         handling.
53999 2011-11-16  Andreas Schwab  <schwab@redhat.com>
54001         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
54002         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
54003         [USE_AS_STRNCASECMP_L]: Likewise.
54004         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
54005         NO_TLS_DIRECT_SEG_REFS.
54006         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
54007         Fix argument offsets for non-PIC.
54008         [USE_AS_STRNCASECMP_L]: Likewise.
54009         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
54010         NO_TLS_DIRECT_SEG_REFS.
54012 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
54014         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
54015         O_CLOEXEC.
54016         * locale/loadlocale.c (_nl_load_locale): Likewise.
54018 2011-11-15  Andreas Schwab  <schwab@redhat.com>
54020         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
54021         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
54022         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
54023         (SYSCALL_GETTIME): Set errno on error.
54025         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
54026         count references to noai6ai_cached.
54028 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
54030         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
54032         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
54033         FD_CLOEXEC for /proc/self/maps.
54035         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
54036         FD_CLOEXEC for /proc/meminfo.
54038         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
54039         gai.conf.
54041         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
54042         FD_CLOEXEC for given file.
54044         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
54046         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
54047         FD_CLOEXEC for /etc/hosts.
54048         (_gethtent): Likewise.
54050         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
54052         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
54053         cancellation and set FD_CLOEXEC for /etc/netgroup.
54055         * nss/nss_files/files-key.c (search): Don't allow cancellation when
54056         reading /etc/publickey.
54058         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
54059         allow cancellation when reading /etc/group.
54061         * nss/nss_files/files-alias.c (internal_setent): Don't allow
54062         cancellation.
54063         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
54065         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
54066         when using data file.
54068         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
54070         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
54071         (write_nis_obj): Use "c" and "e" in fopen.
54073         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
54075         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
54077         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
54079         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
54081         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
54082         locale.alias.
54084         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
54086         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
54088         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
54090         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
54091         file parsing and set FD_CLOEXEC.
54093 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
54095         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
54097 2011-11-14  Andreas Schwab  <schwab@redhat.com>
54099         * malloc/arena.c (arena_get2): Don't call reused_arena when
54100         _int_new_arena failed.
54102 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
54104         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
54105         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
54106         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
54107         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54108         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54109         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
54110         to compile strcasecmp and strncasecmp.
54111         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
54112         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
54114         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
54116 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
54118         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
54119         locale-defines.sym to gen-as-const-headers.
54120         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
54121         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
54122         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
54123         to compile strcasecmp and strncasecmp.
54124         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
54125         strcasecmp_l and strncasecmp_l.
54126         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
54127         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
54128         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
54129         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
54130         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
54131         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
54132         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
54133         * sysdeps/i386/i686/multiarch/strncase.S: New file.
54134         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
54135         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
54136         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
54138 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
54140         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
54141         result of SYSDEP_GETTIME_CPU to retval.
54142         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
54143         parameter list to macro.  Remove trailing semicolon.  Adjust users.
54145         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
54146         variable.
54148         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
54149         mantissa words.
54150         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
54152         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
54153         from unused variable.
54155         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
54156         DWARF definitions.
54157         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
54158         for assembling.
54160         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
54161         over namespaces.
54163         * sunrpc/rpc_prot.c (rejected): Fix case value.
54165         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
54166         unsigned long long int to avoid warnings in shift.
54168         * posix/regex_internal.c (re_string_reconstruct): Actually use result
54169         of use of trans.
54170         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
54171         variable tmp.
54173         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
54174         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
54175         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
54177         * nis/nis_table.c (nis_list): Use variable of correct type for
54178         result of __follow_path call.
54180 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54182         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
54183         of math functions ceil, trunc, floor, round, and sqrt, when
54184         avaliable on the platform.
54185         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
54186         name clash.
54187         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54188         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54189         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54191 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
54193         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
54194         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54196 2011-11-11  Roland McGrath  <roland@hack.frob.com>
54198         * include/unistd.h: Fix __readlink return type.
54199         Reported by Chris Metcalf <cmetcalf@tilera.com>.
54201 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
54203         * stdlib/ucontext.h: Undo last change for makecontext.
54205 2011-11-11  Andreas Schwab  <schwab@redhat.com>
54207         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
54209         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
54210         * setjmp/setjmp.h: Mark functions as non-leaf.
54211         * setjmp/bits/setjmp2.h: Likewise.
54212         * stdlib/ucontext.h: Likewise.
54214 2011-11-10  Andreas Schwab  <schwab@redhat.com>
54216         * malloc/arena.c (_int_new_arena): Don't increment narenas.
54217         (reused_arena): Don't check arena limit.
54218         (arena_get2): Atomically check arena limit.
54220 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
54222         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
54223         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
54225         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
54226         instructions.
54228 2011-11-07  Andreas Schwab  <schwab@redhat.com>
54230         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
54231         handler when locking.
54233         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54234         Fix size of allocated buffer.
54236 2011-11-04  Andreas Schwab  <schwab@redhat.com>
54238         [BZ #10103]
54239         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
54240         declarations for long double functions.
54241         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
54243         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
54245 2011-11-03  Andreas Schwab  <schwab@redhat.com>
54247         * nscd/nscd.c (main): Don't start AVC thread until credentials are
54248         installed.
54250         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
54251         is disabled.
54253 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54255         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
54257 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54259         * include/alloca.h (stackinfo_alloca_round): Define.
54260         (extend_alloca): Use it.
54261         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
54262         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
54263         here.
54265         * scripts/check-local-headers.sh: Ignore libaudit.h.
54267         * nscd/Makefile (extra-objs): Make recursively expanded.
54269 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
54271         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
54272         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
54274         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
54275         * posix/tst-rfc3484-2.c: Likewise.
54276         * posix/tst-rfc3484-3.c: Likewise.
54278         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54279         process_vm_writev.
54280         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
54281         process_vm_writev.
54282         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
54283         process_vm_writev from libc using GLIBC_2.15 version.
54285         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
54287 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
54289         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
54290         stack usage.
54292 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
54294         [BZ #13367]
54295         * nss/getent.c (initgroups_keys): Show error message in case no group
54296         names are given.
54298         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
54299         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
54300         __bump_nl_timestamp.
54301         * nscd/connections (nscd_init): When host database is served open
54302         netlink socket and request notification about configuration changes.
54303         (main_loop_poll): Track netlink file descriptor and bump timestamp
54304         in case data becomes available.
54305         (main_loop_epoll): Likewise.
54306         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
54307         (database_pers_head): Add extra_data fileds.
54308         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
54309         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
54310         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
54311         Adjust caller.
54312         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
54313         in6ai data, call __free_in6ai.
54314         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
54315         Add -DHAVE_NETLINK.
54316         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
54317         interface information.  Reuse previous data if netlink timestamp
54318         is not changed.
54319         (__bump_nl_timestamp): New function.
54320         (__free_in6ai): New function.
54322 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
54324         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
54325         close_not_cancel_no_status here.
54326         (__check_pf): Reorganize code a bit to not call close twice if OOM.
54328 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
54330         [BZ #13276]
54331         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
54332         return value.
54334         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
54335         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
54336         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
54338 2011-07-03  Andreas Jaeger  <aj@suse.de>
54340         [BZ #10709]
54341         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
54342         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
54343         * math/libm-test.inc (sin_test): Add test case.
54345 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
54347         [BZ #13337]
54348         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
54349         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54351         * elf/chroot_canon.c (chroot_canon): Cleanups.
54353         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
54355         [BZ #13335]
54356         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
54357         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54359         * string/test-strchr.c: Make usable for strchrnul testing.
54360         * string/test-strchrnul.c: New file.
54361         * string/Makefile (strop-tests): Add strchrnul.
54363         * po/it.po: Update from translation team.
54364         * po/es.po: Likewise.
54366 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
54368         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
54369         the three constants needed as parameters.  Drop the others.
54370         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
54371         __m128i_strloadu_tolower.
54372         Create and initialize variable zero and use it in all the places
54373         where _mm_setzero_si128 was used.
54375         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
54376         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
54377         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
54378         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
54379         anymore.
54380         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
54381         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
54382         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
54383         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
54384         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
54385         __mpranred, __mptan.
54386         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
54387         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
54388         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
54389         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
54390         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
54391         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
54392         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
54393         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
54394         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
54396 2011-10-28  Andreas Schwab  <schwab@redhat.com>
54398         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
54399         redefine if SHARED.
54400         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
54402         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
54403         wide char related routines to wcsmbs subdir.
54405 2011-10-27  Andreas Schwab  <schwab@redhat.com>
54407         [BZ #13344]
54408         * misc/sys/cdefs.h (__THROWNL): Define.
54409         * posix/unistd.h: Use __THREADNL instead of __THREAD
54410         for memory synchronization functions.
54412 2011-10-26  Roland McGrath  <roland@hack.frob.com>
54414         [BZ #13349]
54415         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
54416         doesn't exist.
54417         * manual/stdio.texi (Obstack Streams): Node removed.
54419 2011-10-26  Andreas Schwab  <schwab@redhat.com>
54421         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
54422         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54423         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54425         * math/math_private.h (math_force_eval): Allow non-addressable
54426         arguments.
54427         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
54429 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
54431         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
54432         file is not needed.
54434         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
54435         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
54436         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54437         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54438         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54439         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54440         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54441         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
54442         Add AVX variants.
54443         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
54444         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
54445         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
54446         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
54447         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
54448         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
54449         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
54450         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
54451         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
54452         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
54453         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
54454         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
54455         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
54456         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
54457         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
54458         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
54459         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
54460         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
54461         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
54463         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
54464         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
54466         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
54467         place.  Use VEX encoding when compiling for AVX.
54469 2011-10-25  Andreas Schwab  <schwab@redhat.com>
54471         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
54472         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54474         * string/test-strchr.c (do_test): Don't generate NUL bytes.
54476 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
54478         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
54479         useless if() expression.
54480         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54481         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54482         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54483         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54484         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54485         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54486         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54487         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54488         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54489         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54490         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54491         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54492         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54493         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54494         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54495         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54496         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54497         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54498         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54500         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
54502 2011-10-25  Andreas Schwab  <schwab@redhat.com>
54504         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
54505         condition.
54506         * elf/dl-fini.c (_dl_sort_fini): Likewise.
54508 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
54510         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
54511         .text section.  Avoid duplicate constants.
54512         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54513         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54514         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54515         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54516         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54517         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54518         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54519         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54520         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54521         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
54522         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54523         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54524         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54525         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54526         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54527         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54528         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54529         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54530         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54531         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54532         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54533         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54534         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54535         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
54536         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
54537         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
54538         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
54539         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
54540         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
54541         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
54542         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
54543         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
54544         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54545         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
54546         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
54547         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
54548         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
54549         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
54550         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
54551         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
54552         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
54553         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
54554         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
54555         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
54556         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
54558 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
54560         * sysdeps/x86_64/dla.h: Move to ...
54561         * sysdeps/x86_64/fpu/dla.h: ...here.
54562         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
54563         situations.  Use __builtin_fma only for gcc 4.6 and up.
54565         * config.make.in: Add have-mfma4 entry.
54566         * configure.in: Substitute libc_cv_cc_fma4.
54567         * math/Makefile (dbl-only-routines): Add sincostab.
54568         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
54569         Use __sincostab not sincos.
54570         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
54571         name is a macro.
54572         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54573         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54574         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54575         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
54576         using __copysign.
54577         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
54578         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
54579         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
54580         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
54581         and __inv.
54582         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
54583         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
54584         __copysign.
54585         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
54586         define aliases when function name is a macro.
54587         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
54588         sysdeps/ieee754/dbl-64/sincos.tbl.
54589         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
54590         fma4-enabled routines.
54591         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
54592         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
54593         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
54594         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
54595         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
54596         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
54597         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
54598         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
54599         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
54600         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
54601         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
54602         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
54603         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
54604         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
54605         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
54606         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
54607         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
54608         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
54609         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
54610         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
54611         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
54612         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
54613         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
54614         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
54615         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
54616         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
54617         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
54618         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
54619         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
54620         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
54622         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
54623         rename.
54624         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54625         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54626         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54627         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54628         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54629         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54630         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54631         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54633 2011-10-24  Andreas Schwab  <schwab@redhat.com>
54635         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
54637 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
54639         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
54641         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
54642         prediction.
54643         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
54645         * string/strnlen.c: Don't define STRNLEN, reverse logic.
54646         Remove unused variable magic_bits.
54647         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
54649         * string/strnlen.c: Define and use STRNLEN macro.
54650         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
54651         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
54652         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
54653         * wcsmbs/wcslen.c: Define and use WCSLEN.
54654         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
54655         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
54656         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
54657         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
54658         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
54659         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
54660         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54662 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54664         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54665         strnlen-sse2-no-bsf.
54666         Rename strlen-no-bsf to strlen-sse2-no-bsf.
54667         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
54668         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
54669         Add strnlen support.
54670         (USE_AS_STRNLEN): New macro.
54671         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
54672         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
54673         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
54674         * sysdeps/x86_64/wcslen.S: New file.
54676 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
54678         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54679         XMM-moves are used for copying on small sizes.
54681 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54683         * wcsmbs/Makefile (strop-tests): Add wcschr.
54684         * wcsmbs/test-wcschr.c: New file.
54685         * string/test-strchr.c: Update.
54686         Add wcschr support.
54687         (WIDE): New macro.
54689 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54691         * wcsmbs/Makefile (strop-tests): Add wcslen.
54692         * wcsmbs/test-wcslen.c: New file.
54693         * string/test-strlen.c: Update.
54694         Add wcslen support.
54695         (WIDE): New macro.
54697 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
54699         * po/it.po: Update from translation team.
54701 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54703         * sysdeps/x86_64/wcscmp.S: Update.
54704         Fix wrong comparison semantics.
54705         wcscmp shall use signed comparison not unsigned.
54706         Don't use substraction to avoid overflow bug.
54707         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
54708         * wcsmbc/wcscmp.c: Likewise.
54709         * string/test-strcmp.c: Likewise.
54710         Add new tests to check cases with negative values.
54712 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
54714         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
54715         * sysdeps/x86_64/dla.h: ...here.  New file.
54716         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
54717         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54718         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54719         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54720         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54721         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54722         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54723         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54724         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54726 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
54728         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
54729         __ynl_finite aliases.
54731 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
54733         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54735         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
54736         define DLA_FMA.
54737         [DLA_FMA] (EMULV): Use DLA_FMA.
54738         [DLA_FMA] (MUL12): Use EMULV.
54739         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
54740         that are not needed.
54741         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54742         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54743         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54744         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54745         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54746         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54747         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54749 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
54751         * math/s_nan.c: Undef __nan.
54752         * math/s_nanf.c: Undef __nanf.
54753         * math/s_nanl.c: Undef __nanl.
54754         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
54755         "math_private.h".
54757 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
54759         * math/s_catan.c: Add branch predictions.
54760         * math/s_catanf.c: Likewise.
54761         * math/s_catanh.c: Likewise.
54762         * math/s_catanhf.c: Likewise.
54763         * math/s_catanhl.c: Likewise.
54764         * math/s_catanl.c: Likewise.
54765         * math/s_cexp.c: Likewise.
54766         * math/s_cexpf.c: Likewise.
54767         * math/s_cexpl.c: Likewise.
54768         * math/s_clog.c: Likewise.
54769         * math/s_clog10.c: Likewise.
54770         * math/s_clog10f.c: Likewise.
54771         * math/s_clog10l.c: Likewise.
54772         * math/s_clogf.c: Likewise.
54773         * math/s_clogl.c: Likewise.
54774         * math/s_csqrt.c: Likewise.
54775         * math/s_csqrtf.c: Likewise.
54776         * math/s_csqrtl.c: Likewise.
54777         * math/s_ctanf.c: Likewise.
54778         * math/s_ctanh.c: Likewise.
54779         * math/s_ctanhf.c: Likewise.
54780         * math/s_ctanhl.c: Likewise.
54781         * math/s_ctanl.c: Likewise.
54783         * math/math_private.h: Define __nan, __nanf, __nanl.
54784         * math/s_cacosh.c: Include <math_private.h>.
54785         * math/s_cacoshl.c: Likewise.
54786         * math/s_casinh.c: Likewise.
54787         * math/s_casinhf.c: Likewise.
54788         * math/s_casinhl.c: Likewise.
54789         * math/s_ccos.c: Rely entire on ccosh.
54790         * math/s_ccosf.c: Rely entire on ccoshf.
54791         * math/s_ccosl.c: Rely entirely on ccoshl.
54792         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
54793         Remove tests for FE_INVALID.
54794         * math/s_ccoshf.c: Likewise.
54795         * math/s_ccoshl.c: Likewise.
54796         * math/s_csin.c: Likewise.
54797         * math/s_csinf.c: Likewise.
54798         * math/s_csinh.c Likewise.
54799         * math/s_csinhf.c: Likewise.
54800         * math/s_csinhl.c: Likewise.
54801         * math/s_csinl.c: Likewise.
54802         * math/s_ctan.c: Likewise.
54803         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
54804         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
54805         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
54807 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
54809         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
54810         compilation problems.
54812         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
54813         __builtin_expect.
54815 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
54817         * sysdeps/i386/configure.in: Test for -mfma4 option.
54818         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
54819         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
54820         COMMON_CPUID_INDEX_80000001.
54821         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
54822         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
54823         use it if FMA3 is not supported.
54824         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
54826         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
54827         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54829 2011-10-20  Andreas Schwab  <schwab@redhat.com>
54831         [BZ #12892]
54832         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
54833         it would create a cycle with a link time dependency.
54835 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
54837         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
54838         instruction.
54839         * string/Makefile (strop-tests): Add rawmemchr.
54840         * string/test-rawmemchr.c: New file.
54842         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
54843         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
54844         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
54845         when compiling str{,n}casecmp and when AVX is available.  Hook up
54846         new optimized code in initializers.
54848 2011-10-19  Andreas Schwab  <schwab@redhat.com>
54850         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
54851         __feraiseexcept instead of feraiseexcept.
54853 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
54855         * math/math_private.h: Define defaults for libc_fetestexcept and
54856         libc_feupdateenv.
54857         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
54858         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
54859         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54860         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54861         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54862         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54863         libc_fetestexcept and libc_feupdateenv.
54865         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
54866         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
54867         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
54868         * sysdeps/x86_64/fpu/math_private.h: Define special version of
54869         libc_feholdexcept_setround.
54871         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
54872         Add s_nearbyint-c and s_nearbyintf-c.
54873         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
54874         nearbyintf inlines.
54875         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
54876         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
54877         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
54878         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
54880         * math/math_private.h: Define defaults for libc_fegetround,
54881         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
54882         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
54883         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
54884         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
54885         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
54886         standard functions.
54887         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54888         Remove comments and hacks for old compiler versions.
54889         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54890         libc_fegetround, libc_fesetround, libc_feholdexcept, and
54891         libc_feholdexceptl.
54893 2011-10-18  Andreas Schwab  <schwab@redhat.com>
54895         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
54896         (__feraiseexcept_renamed): Add __NTH.
54897         (feraiseexcept): Add __NTH.  Rename local variables to fix
54898         namespace violations.
54900 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
54902         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
54904         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
54906         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
54907         recently added interfaces.
54908         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
54910         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
54911         about macro parameter expansion.
54913         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
54914         __NO_MATH_INLINES is defined.  Cleanups.
54916         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
54917         and __floorf is target has SSE4.1.
54918         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
54919         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
54920         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
54921         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
54923         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
54924         name.
54925         (floorf): Likewise.
54927         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
54929 2011-10-17  Andreas Schwab  <schwab@redhat.com>
54931         * misc/sys/cdefs.h: Fix last change.
54933         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
54934         database lookup.
54936 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
54938         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
54940         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
54941         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54942         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54943         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54944         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54945         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54946         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54947         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54948         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54949         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
54950         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
54951         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
54952         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
54953         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
54954         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
54955         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
54956         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
54957         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
54958         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
54959         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
54960         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
54961         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
54963         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
54964         ceil, ceilf, floor, floorf.
54966         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
54967         Perform IRELATIVE relocations last.
54969         * elf/do-rel.h: Add another parameter nrelative, replacing the
54970         local variable with the same name.  Change name of the function
54971         to end in Rel or Rela (uppercase).
54972         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
54973         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
54974         elf_dynamic_do_##reloc function.
54976 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
54978         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
54979         is sufficient, at least on modern CPUs.
54981         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
54983         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
54984         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
54986         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
54987         __expl_finite.
54988         * math/bits/math-finite.h: Add entries for exp.
54989         * math/e_expl.c: Add __*_finite alias.
54990         * sysdeps/i386/fpu/e_exp.S: Likewise.
54991         * sysdeps/i386/fpu/e_expf.S: Likewise.
54992         * sysdeps/i386/fpu/e_expl.c: Likewise.
54993         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54994         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54995         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54996         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54997         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
54998         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54999         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55001         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
55002         is sufficient, at least on modern CPUs.
55004         * ctype/ctype-info.c (__ctype_init): Define.
55005         * include/ctype.h (__ctype_init): Declare.
55006         (__ctype_b_loc): The variable is always initialized.
55007         (__ctype_toupper_loc): Likewise.
55008         (__ctype_tolower_loc): Likewise.
55009         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
55010         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
55012 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
55014         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
55016         * configure.in: Also look in $cxxmachine/include for C++ system
55017         headers.
55019 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55021         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
55022         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
55023         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
55024         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
55025         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
55026         (USE_AS_WMEMCMP): New macro.
55027         Fixing indents.
55028         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
55029         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
55030         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
55031         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
55032         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55033         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
55034         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
55035         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
55036         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
55037         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
55038         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
55039         (USE_AS_WMEMCMP): New macro.
55040         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
55041         * sysdeps/string/test-memcmp.c: Update.
55042         Fix simple_wmemcmp.
55043         Add new tests.
55044         * wcsmbs/wmemcmp.c: Update.
55045         (WMEMCMP): New macro.
55046         Fix overflow bug.
55048 2011-10-12  Andreas Jaeger  <aj@suse.de>
55050         [BZ #13268]
55051         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
55053 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
55055         * libio/iofwide.c (do_length): Avoid warning.
55057         * ctype/ctype.h (__isctype_f): Add missing __THROW.
55059 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
55061         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
55063         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
55064         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
55065         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
55066         * sysdeps/i386/i686/fpu/e_log.S: New file.
55067         * sysdeps/i386/i686/fpu/e_logf.S: New file.
55068         * sysdeps/i386/i686/fpu/e_logl.S: New file.
55070         * ctype/ctype.h: Add support for inlined isXXX functions when
55071         compiling C++ code.
55073 2011-10-14  Andreas Schwab  <schwab@redhat.com>
55075         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55077         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
55079 2011-10-13  Roland McGrath  <roland@hack.frob.com>
55081         [BZ #13291]
55082         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
55084 2011-10-13  Andreas Schwab  <schwab@redhat.com>
55086         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
55087         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
55088         feraiseexcept.
55090         * sysdeps/x86_64/memrchr.S: Check for zero size.
55092         * string/stratcliff.c: Add memrchr tests.
55094 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55096         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55097         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
55098         rawmemchr-sse2 rawmemchr-sse2-bsf.
55099         * sysdeps/i386/i686/multiarch/memchr.S: New file.
55100         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
55101         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
55102         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
55103         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
55104         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
55105         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
55106         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
55107         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
55108         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
55109         * string/memrchr.c (MEMRCHR): New macro.
55111 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
55113         Add integration with gcc's -ffinite-math-only and optimize wrapper
55114         functions in libm.
55115         * Versions.def: Define GLIBC_2.15 version for libm.
55116         * math/Makefile (headers): Add bits/math-finite.h.
55117         * math/bits/math-finite.h: New file.
55118         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
55119         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
55120         * math/e_acoshl.c: Add __*_finite alias.
55121         * math/e_acosl.c: Likewise.
55122         * math/e_asinl.c: Likewise.
55123         * math/e_atan2l.c: Likewise.
55124         * math/e_atanhl.c: Likewise.
55125         * math/e_coshl.c: Likewise.
55126         * math/e_exp10.c: Likewise.
55127         * math/e_exp10f.c: Likewise.
55128         * math/e_exp10l.c: Likewise.
55129         * math/e_exp2l.c: Likewise.
55130         * math/e_fmodl.c: Likewise.
55131         * math/e_gammal_r.c: Likewise.
55132         * math/e_hypotl.c: Likewise.
55133         * math/e_j0l.c: Likewise.
55134         * math/e_j1l.c: Likewise.
55135         * math/e_jnl.c: Likewise.
55136         * math/e_lgammal_r.c: Likewise.
55137         * math/e_log10l.c: Likewise.
55138         * math/e_log2l.c: Likewise.
55139         * math/e_logl.c: Likewise.
55140         * math/e_powl.c: Likewise.
55141         * math/e_sinhl.c: Likewise.
55142         * math/e_sqrtl.c: Likewise.
55143         * math/e_scalb.c: Completely rewritten and optimized.
55144         * math/e_scalbf.c: Likewise.
55145         * math/e_scalbl.c: Likewise.
55146         * math/w_acos.c: Likewise.
55147         * math/w_acosf.c: Likewise.
55148         * math/w_acosl.c: Likewise.
55149         * math/w_acosh.c: Likewise.
55150         * math/w_acoshf.c: Likewise.
55151         * math/w_acoshl.c: Likewise.
55152         * math/w_asin.c: Likewise.
55153         * math/w_asinf.c: Likewise.
55154         * math/w_asinl.c: Likewise.
55155         * math/w_atan2.c: Likewise.
55156         * math/w_atan2f.c: Likewise.
55157         * math/w_atan2l.c: Likewise.
55158         * math/w_atanh.c: Likewise.
55159         * math/w_atanhf.c: Likewise.
55160         * math/w_atanhl.c: Likewise.
55161         * math/w_exp10.c: Likewise.
55162         * math/w_exp10f.c: Likewise.
55163         * math/w_exp10l.c: Likewise.
55164         * math/w_fmod.c: Likewise.
55165         * math/w_fmodf.c: Likewise.
55166         * math/w_fmodl.c: Likewise.
55167         * math/w_j0.c: Likewise.
55168         * math/w_j0f.c: Likewise.
55169         * math/w_j0l.c: Likewise.
55170         * math/w_j1.c: Likewise.
55171         * math/w_j1f.c: Likewise.
55172         * math/w_j1l.c: Likewise.
55173         * math/w_jn.c: Likewise.
55174         * math/w_jnf.c: Likewise.
55175         * math/w_log.c: Likewise.
55176         * math/w_logf.c: Likewise.
55177         * math/w_logl.c: Likewise.
55178         * math/w_log10.c: Likewise.
55179         * math/w_log10f.c: Likewise.
55180         * math/w_log10l.c: Likewise.
55181         * math/w_log2.c: Likewise.
55182         * math/w_log2f.c: Likewise.
55183         * math/w_log2l.c: Likewise.
55184         * math/w_pow.c: Likewise.
55185         * math/w_powf.c: Likewise.
55186         * math/w_powl.c: Likewise.
55187         * math/w_remainder.c: Likewise.
55188         * math/w_remainderf.c: Likewise.
55189         * math/w_remainderl.c: Likewise.
55190         * math/w_scalb.c: Likewise.
55191         * math/w_scalbf.c: Likewise.
55192         * math/w_scalbl.c: Likewise.
55193         * math/w_sqrt.c: Likewise.
55194         * math/w_sqrtf.c: Likewise.
55195         * math/w_sqrtl.c: Likewise.
55196         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
55197         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
55198         used.
55199         * math/math_private.h: Declare __kernel_standard_f.
55200         * math/w_cosh.c: Remove cruft and optimize a bit.
55201         * math/w_coshf.c: Likewise.
55202         * math/w_coshl.c: Likewise.
55203         * math/w_exp2.c: Likewise.
55204         * math/w_exp2f.c: Likewise.
55205         * math/w_exp2l.c: Likewise.
55206         * math/w_hypot.c: Likewise.
55207         * math/w_hypotf.c: Likewise.
55208         * math/w_hypotl.c: Likewise.
55209         * math/w_lgamma.c: Likewise.
55210         * math/w_lgamma_r.c: Likewise.
55211         * math/w_lgammaf.c: Likewise.
55212         * math/w_lgammaf_r.c: Likewise.
55213         * math/w_lgammal.c: Likewise.
55214         * math/w_lgammal_r.c: Likewise.
55215         * math/w_sinh.c: Likewise.
55216         * math/w_sinhf.c: Likewise.
55217         * math/w_sinhl.c: Likewise.
55218         * math/w_tgamma.c: Likewise.
55219         * math/w_tgammaf.c: Likewise.
55220         * math/w_tgammal.c: Likewise.
55221         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55222         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55223         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
55224         Minor optimizations.  Pretty printing.  Remove cruft.
55225         * sysdeps/i386/fpu/e_acosf.S: Likewise.
55226         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55227         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55228         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55229         * sysdeps/i386/fpu/e_acosl.c: Likewise.
55230         * sysdeps/i386/fpu/e_asin.S: Likewise.
55231         * sysdeps/i386/fpu/e_asinf.S: Likewise.
55232         * sysdeps/i386/fpu/e_atan2.S: Likewise.
55233         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
55234         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
55235         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55236         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55237         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55238         * sysdeps/i386/fpu/e_exp10.S: Likewise.
55239         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
55240         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
55241         * sysdeps/i386/fpu/e_exp2.S: Likewise.
55242         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
55243         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
55244         * sysdeps/i386/fpu/e_fmod.S: Likewise.
55245         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
55246         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
55247         * sysdeps/i386/fpu/e_hypot.S: Likewise.
55248         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
55249         * sysdeps/i386/fpu/e_log.S: Likewise.
55250         * sysdeps/i386/fpu/e_log10.S: Likewise.
55251         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55252         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55253         * sysdeps/i386/fpu/e_log2.S: Likewise.
55254         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55255         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55256         * sysdeps/i386/fpu/e_logf.S: Likewise.
55257         * sysdeps/i386/fpu/e_logl.S: Likewise.
55258         * sysdeps/i386/fpu/e_pow.S: Likewise.
55259         * sysdeps/i386/fpu/e_powf.S: Likewise.
55260         * sysdeps/i386/fpu/e_powl.S: Likewise.
55261         * sysdeps/i386/fpu/e_remainder.S: Likewise.
55262         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
55263         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
55264         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55265         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55266         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55267         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
55268         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
55269         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
55270         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55271         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55272         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55273         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55274         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55275         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55276         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55277         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55278         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55279         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55280         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55281         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55282         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55283         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55284         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55285         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55286         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55287         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55288         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55289         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55290         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55291         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55292         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55293         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55294         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55295         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55296         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55297         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55298         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
55299         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55300         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55301         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55302         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55303         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55304         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55305         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55306         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55307         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55308         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55309         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55310         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55311         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55312         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55313         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55314         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55315         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55316         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55317         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55318         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55319         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
55320         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55321         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55322         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55323         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55324         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55325         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55326         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55327         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55328         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55329         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55330         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55331         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55332         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55333         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55334         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55335         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55336         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55337         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55338         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
55339         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55340         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55341         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55342         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55343         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55344         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55345         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55346         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55347         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55348         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55349         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55350         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55351         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55352         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
55353         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55354         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55355         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55356         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55357         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55358         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55359         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55360         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55361         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55362         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55363         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55364         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55365         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55366         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55367         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
55368         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
55369         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
55370         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
55371         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
55372         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
55373         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
55374         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55375         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55376         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55377         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55378         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
55379         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55380         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
55381         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
55382         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
55383         (__isnanf): Likewise.
55384         (__isinf_ns): Likewise.
55385         (__isinf_nsf): Likewise.
55386         (__finite): Likewise.
55387         (__finitef): Likewise.
55388         (__ieee754_sqrt): Define as macro.
55389         (__ieee754_sqrtf): Define as macro.
55390         (__ieee754_sqrtl): Define as macro.
55391         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
55392         inlined copy.
55393         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
55394         __FINITE_MATH_ONLY__ consistent.
55395         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
55397 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
55399         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
55400         of rawmemchr.
55402         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
55404 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
55406         * po/ja.po: Update from translation team.
55408 2011-10-08  Roland McGrath  <roland@hack.frob.com>
55410         * locale/programs/locarchive.c (prepare_address_space): New function.
55411         (create_archive, enlarge_archive, open_archive): Use it.
55413         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
55414         inside [SHARED], where it is used.
55416         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
55418         * nss/getent.c (netgroup_keys): Remove unused variable.
55419         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55421 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
55423         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
55424         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
55425         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
55426         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
55427         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
55428         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
55429         * math/Makefile (libm-calls): Add s_isinf_ns.
55430         * math/divtc3.c: Use __isinf_nsl instead of isinf.
55431         * math/multc3.c: Likewise.
55432         * math/s_casin.c: Likewise.
55433         * math/s_casinf.c: Likewise.
55434         * math/s_casinl.c: Likewise.
55435         * math/s_ccos.c: Likewise.
55436         * math/s_ccosf.c: Likewise.
55437         * math/s_ccosl.c: Likewise.
55438         * math/s_ctan.c: Likewise.
55439         * math/s_ctanf.c: Likewise.
55440         * math/s_ctanh.c: Likewise.
55441         * math/s_ctanhf.c: Likewise.
55442         * math/s_ctanhl.c: Likewise.
55443         * math/s_ctanl.c: Likewise.
55444         * math/w_fmod.c: Likewise.
55445         * math/w_fmodf.c: Likewise.
55446         * math/w_fmodl.c: Likewise.
55447         * math/w_remainder.c: Likewise.
55448         * math/w_remainderf.c: Likewise.
55449         * math/w_remainderl.c: Likewise.
55450         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
55451         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
55452         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
55453         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
55454         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
55455         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
55456         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
55457         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
55459         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
55460         of the number.
55461         * stdio-common/printf_fphex.c: Likewise.
55462         * stdio-common/printf_size.c: Likewise.
55464         * math/e_exp10.c: Include math_private.h using <...> not "...".
55465         * math/e_exp10f.c: Likewise.
55466         * math/e_exp10l.c: Likewise.
55467         * math/e_exp2l.c: Likewise.
55468         * math/e_j0l.c: Likewise.
55469         * math/e_j1l.c: Likewise.
55470         * math/e_jnl.c: Likewise.
55471         * math/e_lgammal_r.c: Likewise.
55472         * math/e_rem_pio2l.c: Likewise.
55473         * math/e_scalb.c: Likewise.
55474         * math/e_scalbf.c: Likewise.
55475         * math/e_scalbl.c: Likewise.
55476         * math/k_cosl.c: Likewise.
55477         * math/k_sinl.c: Likewise.
55478         * math/k_tanl.c: Likewise.
55479         * math/s_cacoshf.c: Likewise.
55480         * math/s_catan.c: Likewise.
55481         * math/s_catanf.c: Likewise.
55482         * math/s_catanh.c: Likewise.
55483         * math/s_catanhf.c: Likewise.
55484         * math/s_catanhl.c: Likewise.
55485         * math/s_catanl.c: Likewise.
55486         * math/s_ccosh.c: Likewise.
55487         * math/s_ccoshf.c: Likewise.
55488         * math/s_ccoshl.c: Likewise.
55489         * math/s_cexp.c: Likewise.
55490         * math/s_cexpf.c: Likewise.
55491         * math/s_cexpl.c: Likewise.
55492         * math/s_clog.c: Likewise.
55493         * math/s_clog10.c: Likewise.
55494         * math/s_clog10f.c: Likewise.
55495         * math/s_clog10l.c: Likewise.
55496         * math/s_clogf.c: Likewise.
55497         * math/s_clogl.c: Likewise.
55498         * math/s_csin.c: Likewise.
55499         * math/s_csinf.c: Likewise.
55500         * math/s_csinh.c: Likewise.
55501         * math/s_csinhf.c: Likewise.
55502         * math/s_csinhl.c: Likewise.
55503         * math/s_csinl.c: Likewise.
55504         * math/s_csqrt.c: Likewise.
55505         * math/s_csqrtf.c: Likewise.
55506         * math/s_csqrtl.c: Likewise.
55507         * math/s_ctan.c: Likewise.
55508         * math/s_ctanf.c: Likewise.
55509         * math/s_ctanh.c: Likewise.
55510         * math/s_ctanhf.c: Likewise.
55511         * math/s_ctanhl.c: Likewise.
55512         * math/s_ctanl.c: Likewise.
55513         * math/s_ldexp.c: Likewise.
55514         * math/s_ldexpf.c: Likewise.
55515         * math/s_ldexpl.c: Likewise.
55516         * math/s_significand.c: Likewise.
55517         * math/s_significandf.c: Likewise.
55518         * math/s_significandl.c: Likewise.
55519         * math/w_acos.c: Likewise.
55520         * math/w_acosf.c: Likewise.
55521         * math/w_acosh.c: Likewise.
55522         * math/w_acoshf.c: Likewise.
55523         * math/w_acoshl.c: Likewise.
55524         * math/w_acosl.c: Likewise.
55525         * math/w_asin.c: Likewise.
55526         * math/w_asinf.c: Likewise.
55527         * math/w_asinl.c: Likewise.
55528         * math/w_atan2.c: Likewise.
55529         * math/w_atan2f.c: Likewise.
55530         * math/w_atan2l.c: Likewise.
55531         * math/w_atanh.c: Likewise.
55532         * math/w_atanhf.c: Likewise.
55533         * math/w_atanhl.c: Likewise.
55534         * math/w_cosh.c: Likewise.
55535         * math/w_coshf.c: Likewise.
55536         * math/w_coshl.c: Likewise.
55537         * math/w_dremf.c: Likewise.
55538         * math/w_exp10.c: Likewise.
55539         * math/w_exp10f.c: Likewise.
55540         * math/w_exp10l.c: Likewise.
55541         * math/w_exp2.c: Likewise.
55542         * math/w_exp2f.c: Likewise.
55543         * math/w_fmod.c: Likewise.
55544         * math/w_fmodf.c: Likewise.
55545         * math/w_fmodl.c: Likewise.
55546         * math/w_hypot.c: Likewise.
55547         * math/w_hypotf.c: Likewise.
55548         * math/w_hypotl.c: Likewise.
55549         * math/w_j0.c: Likewise.
55550         * math/w_j0f.c: Likewise.
55551         * math/w_j0l.c: Likewise.
55552         * math/w_j1.c: Likewise.
55553         * math/w_j1f.c: Likewise.
55554         * math/w_j1l.c: Likewise.
55555         * math/w_jn.c: Likewise.
55556         * math/w_jnf.c: Likewise.
55557         * math/w_jnl.c: Likewise.
55558         * math/w_lgamma.c: Likewise.
55559         * math/w_lgamma_r.c: Likewise.
55560         * math/w_lgammaf.c: Likewise.
55561         * math/w_lgammaf_r.c: Likewise.
55562         * math/w_lgammal.c: Likewise.
55563         * math/w_lgammal_r.c: Likewise.
55564         * math/w_log.c: Likewise.
55565         * math/w_log10.c: Likewise.
55566         * math/w_log10f.c: Likewise.
55567         * math/w_log10l.c: Likewise.
55568         * math/w_log2.c: Likewise.
55569         * math/w_log2f.c: Likewise.
55570         * math/w_log2l.c: Likewise.
55571         * math/w_logf.c: Likewise.
55572         * math/w_logl.c: Likewise.
55573         * math/w_pow.c: Likewise.
55574         * math/w_powf.c: Likewise.
55575         * math/w_powl.c: Likewise.
55576         * math/w_remainder.c: Likewise.
55577         * math/w_remainderf.c: Likewise.
55578         * math/w_remainderl.c: Likewise.
55579         * math/w_scalb.c: Likewise.
55580         * math/w_scalbf.c: Likewise.
55581         * math/w_scalbl.c: Likewise.
55582         * math/w_sinh.c: Likewise.
55583         * math/w_sinhf.c: Likewise.
55584         * math/w_sinhl.c: Likewise.
55585         * math/w_sqrt.c: Likewise.
55586         * math/w_sqrtf.c: Likewise.
55587         * math/w_sqrtl.c: Likewise.
55588         * math/w_tgamma.c: Likewise.
55589         * math/w_tgammaf.c: Likewise.
55590         * math/w_tgammal.c: Likewise.
55592         * po/ja.po: Update from translation team.
55594 2011-09-29  Andreas Jaeger  <aj@suse.de>
55596         [BZ #13179]
55597         * sunrpc/netname.c (netname2host): Fix logic.
55599         [BZ #6779]
55600         [BZ #6783]
55601         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
55602         correctly.
55603         * math/w_remainder.c (__remainder): Likewise.
55604         * math/w_remainderf.c (__remainderf): Likewise.
55605         * math/libm-test.inc (remainder_test): Add test cases.
55607 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55609         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
55610         sdiv_qrnnd.
55612 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
55614         * string/test-memcmp.c: Avoid unncessary #defines.
55615         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55617 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55619         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
55620         Use new sse2 version for core i3 - i7 as it's faster
55621         than sse42 version.
55622         (bit_Prefer_PMINUB_for_stringop): New.
55623         * sysdeps/x86_64/rawmemchr.S: Update.
55624         Replace with faster SSE2 version.
55625         * sysdeps/x86_64/memrchr.S: New file.
55626         * sysdeps/x86_64/memchr.S: Update.
55627         Replace with faster SSE2 version.
55629 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
55631         * elf/dl-load.c (lose): Add cast to avoid warning.
55633 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
55635         * po/ca.po: Update from translation team.
55637         * inet/getnetgrent_r.c: Hook up nscd.
55638         * nscd/Makefile (routines): Add nscd_netgroup.
55639         (nscd-modules): Add netgroupcache.
55640         (CFLAGS-netgroupcache.c): Define.
55641         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
55642         (cache_search): Add const to second parameter.
55643         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
55644         INNETGR.
55645         (dbs): Add netgrdb entry.
55646         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
55647         (verify_persistent_db): Handle netgrdb.
55648         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
55649         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
55650         GETFDNETGR.
55651         (netgroup_response_header): Define.
55652         (innetgroup_response_header): Define.
55653         (datahead): Add netgroup_response_header and innetgroup_response_header
55654         elements.
55655         * nscd/nscd.conf: Add entries for netgroup cache.
55656         * nscd/nscd.h (dbtype): Add netgrdb.
55657         (_PATH_NSCD_NETGROUP_DB): Define.
55658         (netgroup_iov_disabled): Declare.
55659         (xmalloc, xcalloc, xrealloc): Move declarations here.
55660         (cache_search): Adjust prototype.
55661         Add netgroup-related prototypes.
55662         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
55663         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
55664         (__nscd_innetgr): Declare.
55665         * nscd/selinux.c (perms): Use access_vector_t as element type and
55666         add netgroup-related initializers.
55667         * nscd/netgroupcache.c: New file.
55668         * nscd/nscd_netgroup.c: New file.
55669         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
55670         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
55671         For four parameters use innetgr.
55672         * nss/nss_files/files-init.c: Add definition and callback for netgr.
55673         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
55674         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
55675         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
55677         * nscd/connections.c (register_traced_file): Don't register file
55678         for disabled databases.
55680 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
55682         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
55684         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
55685         from tree and freeing node.
55687 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
55689         * nss/nsswitch.c (__nss_database_lookup): Handle
55690         nss_parse_service_list out of memory case.
55692 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
55694         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
55695         out of memory case.
55697 2011-10-04  Andreas Schwab  <schwab@redhat.com>
55699         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
55700         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
55701         pass it down.
55702         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
55703         elf_machine_rela, elf_machine_lazy_rel.
55704         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
55705         (ELF_DYNAMIC_DO_REL): Likewise.
55706         (ELF_DYNAMIC_DO_RELA): Likewise.
55707         (ELF_DYNAMIC_RELOCATE): Likewise.
55708         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
55709         to ELF_DYNAMIC_DO_REL.
55710         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
55711         (dl_main): In trace mode always set __RTLD_NOIFUNC.
55712         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
55713         elf_machine_rela.
55714         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
55715         skip_ifunc, don't call ifunc function if non-zero.
55716         (elf_machine_rela): Likewise.
55717         (elf_machine_lazy_rel): Likewise.
55718         (elf_machine_lazy_rela): Likewise.
55719         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
55720         (elf_machine_lazy_rel): Likewise.
55721         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
55722         Likewise.
55723         (elf_machine_lazy_rel): Likewise.
55724         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55725         Likewise.
55726         (elf_machine_lazy_rel): Likewise.
55727         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
55728         (elf_machine_lazy_rel): Likewise.
55729         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
55730         (elf_machine_lazy_rel): Likewise.
55731         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55732         (elf_machine_lazy_rel): Likewise.
55733         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
55734         (elf_machine_lazy_rel): Likewise.
55735         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
55736         (elf_machine_lazy_rel): Likewise.
55737         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55738         (elf_machine_lazy_rel): Likewise.
55740 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
55742         * nss/nss_files/files-init.c (_nss_files_init): Use static
55743         initialization for all the *_traced_file variables.
55745 2011-09-28  Andreas Schwab  <schwab@redhat.com>
55747         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55749 2011-09-27  Roland McGrath  <roland@hack.frob.com>
55751         [BZ #13226]
55752         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
55754 2011-09-27  Andreas Schwab  <schwab@redhat.com>
55756         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55757         Reread the line before reparsing it.
55759 2011-09-26  Andreas Schwab  <schwab@redhat.com>
55761         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
55763 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
55764             Maxim Kuvyrkov  <maxim@codesourcery.com>
55765             Joseph Myers  <joseph@codesourcery.com>
55767         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
55768         if needed for __stack_chk_guard.
55770 2011-09-19  Roland McGrath  <roland@hack.frob.com>
55772         * sysdeps/posix/spawni.c (script_execute): Always define it.
55773         It will be optimized away if unused.
55774         (maybe_script_execute): New function.
55775         (__spawni): Call it.
55777         * Makerules: Don't include tls.make.
55778         (config-tls): Always set to thread.
55779         * tls.make.c: File removed.
55781 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
55783         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
55784         * config.make.in (CPPFLAGS-config): New substituted variable.
55786 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
55788         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
55790         [BZ #13192]
55791         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
55792         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
55794 2011-09-15  Roland McGrath  <roland@hack.frob.com>
55796         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
55797         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
55798         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55799         (CALL_FAIL): Likewise.
55800         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
55801         (CALL_FAIL): Macro removed.
55802         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
55804 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
55806         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
55807         for __FINITE_MATH_ONLY__ == 1.
55809 2011-09-15  Andreas Schwab  <schwab@redhat.com>
55811         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
55812         __ieee754_sqrt instead of sqrt.
55813         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
55814         __ieee754_sqrtf instead of sqrtf.
55815         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
55816         __floorf instead of floorf.
55817         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
55818         __floorf, __truncf instead of floorf, truncf.
55820 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
55822         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
55824         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
55825         __extern_always_inline.
55826         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
55827         32-bit.
55829 2011-09-14  Andreas Schwab  <schwab@redhat.com>
55831         * elf/rtld.c (dl_main): Also relocate in dependency order when
55832         doing symbol dependency testing.
55834 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
55836         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55837         Always define `refsym'.
55839 2011-09-13  Andreas Schwab  <schwab@redhat.com>
55841         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
55842         (__FD_ELT): Renamed from __FDELT.
55843         * misc/bits/select2.h (__FD_ELT): Likewise.
55844         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
55845         __FD_MASK instead of __FDELT, __FDMASK.
55846         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55847         Likewise.
55848         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55849         Likewise.
55851         * elf/Makefile (gen-ldd): Fix pattern.
55853         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
55854         (init_tls): Likewise.
55856 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
55858         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
55860 2011-09-12  Andreas Schwab  <schwab@redhat.com>
55862         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
55863         `struct cmsghdr *' instead of `void *'.
55864         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
55865         Likewise.
55867 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
55869         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
55870         if non-absolute.
55871         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
55872         ldd_rewrite_script.
55874 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
55876         * configure.in: Remove --with-tls option.
55877         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
55878         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
55879         out in case it is missing.
55880         * sysdeps/ia64/elf/configure.in: Likewise.
55881         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
55882         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
55883         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
55884         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
55885         * sysdeps/sh/elf/configure.in: Likewise.
55886         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
55887         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55888         * sysdeps/x86_64/elf/configure.in: Likewise.
55889         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
55890         * sysdeps/mach/hurd/tls.h: Likewise.
55892         [BZ #13067]
55893         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
55895         [BZ #13090]
55896         * configure.in: Fix use of AC_INIT.
55898         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
55900 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
55902         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
55903         __set_errno.
55904         * malloc/hooks.c: Likewise.
55906         [BZ #11929]
55907         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
55908         variables statically.
55909         (narenas): Initialize.
55910         (list_lock): Initialize.
55911         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
55912         initializtion of main_arena and list_lock.  Small cleanups.
55913         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
55914         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
55915         Add initializers to main_arena and mp_.
55916         (malloc_state): Remove pagesize member.  Change all users to use
55917         GLRO(dl_pagesize).
55919         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
55920         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
55921         is always initialized.
55923         * malloc/malloc.c: Removed unused configurations and dead code.
55924         * malloc/arena.c: Likewise.
55925         * malloc/hooks.c: Likewise.
55926         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
55928         * include/tls.h: Removed.  USE___THREAD must always be defined.
55929         * bits/libc-tsd.h: Don't handle !USE___THREAD.
55930         * elf/dl-libc.c: Likewise.
55931         * elf/dl-tsd.c: Likewise.
55932         * include/errno.h: Likewise.
55933         * include/netdb.h: Likewise.
55934         * include/resolv.h: Likewise.
55935         * inet/herrno-loc.c: Likewise.
55936         * inet/herrno.c: Likewise.
55937         * malloc/arena.c: Likewise.
55938         * malloc/hooks.c: Likewise.
55939         * malloc/malloc.c: Likewise.
55940         * resolv/res-state.c: Likewise.
55941         * resolv/res_libc.c: Likewise.
55942         * sysdeps/i386/dl-machine.h: Likewise.
55943         * sysdeps/ia64/dl-machine.h: Likewise.
55944         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
55945         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55946         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
55947         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
55948         * sysdeps/sh/dl-machine.h: Likewise.
55949         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55950         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55951         * sysdeps/unix/i386/sysdep.S: Likewise.
55952         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
55953         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
55954         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
55955         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
55956         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
55957         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
55958         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
55959         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55960         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55961         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
55962         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55963         * sysdeps/x86_64/dl-machine.h: Likewise.
55964         * tls.make.c: Likewise.
55966         * configure.in: Remove --with-__thread option.  Make tests for
55967         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
55968         tls_model attribute fail if no support is available.  Remove
55969         USE_IN_LIBIO.
55970         * Makeconfig: Adjust for dropped configure option.  All features are
55971         now mandatory.
55972         * Makerules: Likewise.
55973         * Versions.def: Likewise.
55974         * argp/argp-fmtstream.c: Likewise.
55975         * argp/argp-fmtstream.h: Likewise.
55976         * argp/argp-help.c: Likewise.
55977         * assert/assert.c: Likewise.
55978         * config.h.in: Likewise.
55979         * config.make.in: Likewise.
55980         * configure: Likewise.
55981         * configure.in: Likewise.
55982         * csu/Versions: Likewise.
55983         * csu/init.c: Likewise.
55984         * elf/tst-audit2.c: Likewise.
55985         * elf/tst-tls10.c: Likewise.
55986         * elf/tst-tls10.h: Likewise.
55987         * elf/tst-tls11.c: Likewise.
55988         * elf/tst-tls12.c: Likewise.
55989         * elf/tst-tls14.c: Likewise.
55990         * elf/tst-tlsmod11.c: Likewise.
55991         * elf/tst-tlsmod12.c: Likewise.
55992         * elf/tst-tlsmod13.c: Likewise.
55993         * elf/tst-tlsmod13a.c: Likewise.
55994         * elf/tst-tlsmod14a.c: Likewise.
55995         * elf/tst-tlsmod15b.c: Likewise.
55996         * elf/tst-tlsmod16a.c: Likewise.
55997         * elf/tst-tlsmod16b.c: Likewise.
55998         * elf/tst-tlsmod7.c: Likewise.
55999         * elf/tst-tlsmod8.c: Likewise.
56000         * elf/tst-tlsmod9.c: Likewise.
56001         * gmon/gmon.c: Likewise.
56002         * grp/fgetgrent_r.c: Likewise.
56003         * grp/putgrent.c: Likewise.
56004         * hurd/fopenport.c: Likewise.
56005         * include/libc-symbols.h: Likewise.
56006         * include/tls.h: Likewise.
56007         * intl/gettextP.h: Likewise.
56008         * intl/loadinfo.h: Likewise.
56009         * locale/global-locale.c: Likewise.
56010         * locale/localeinfo.h: Likewise.
56011         * mach/devstream.c: Likewise.
56012         * malloc/arena.c: Likewise.
56013         * malloc/set-freeres.c: Likewise.
56014         * misc/err.c: Likewise.
56015         * misc/getttyent.c: Likewise.
56016         * misc/mntent_r.c: Likewise.
56017         * posix/getopt.c: Likewise.
56018         * posix/wordexp.c: Likewise.
56019         * pwd/fgetpwent_r.c: Likewise.
56020         * resolv/Versions: Likewise.
56021         * resolv/res_hconf.c: Likewise.
56022         * shadow/fgetspent_r.c: Likewise.
56023         * shadow/putspent.c: Likewise.
56024         * stdio-common/printf_fphex.c: Likewise.
56025         * stdio-common/tmpfile.c: Likewise.
56026         * stdlib/abort.c: Likewise.
56027         * stdlib/fmtmsg.c: Likewise.
56028         * sunrpc/auth_unix.c: Likewise.
56029         * sunrpc/clnt_perr.c: Likewise.
56030         * sunrpc/clnt_tcp.c: Likewise.
56031         * sunrpc/clnt_udp.c: Likewise.
56032         * sunrpc/clnt_unix.c: Likewise.
56033         * sunrpc/openchild.c: Likewise.
56034         * sunrpc/svc_simple.c: Likewise.
56035         * sunrpc/svc_tcp.c: Likewise.
56036         * sunrpc/svc_udp.c: Likewise.
56037         * sunrpc/svc_unix.c: Likewise.
56038         * sunrpc/xdr.c: Likewise.
56039         * sunrpc/xdr_array.c: Likewise.
56040         * sunrpc/xdr_rec.c: Likewise.
56041         * sunrpc/xdr_ref.c: Likewise.
56042         * sunrpc/xdr_stdio.c: Likewise.
56044 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56046         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56048 2011-07-03  Andreas Jaeger  <aj@suse.de>
56050         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
56051         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
56052         regenerate with gen-libm-tests.pl.
56054 2010-05-12  Petr Baudis  <pasky@suse.cz>
56056         [BZ #11589]
56057         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
56058         around j0() zero points by switching to j1().
56059         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56060         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56061         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56062         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56064 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56066         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
56067         instead of 0.
56068         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
56069         instead of 0.
56070         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56071         Patch in part by Pavel Roskin <proski@gnu.org>.
56073         [BZ #13138]
56074         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
56075         realloc.
56076         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
56077         Free memory block if necessary.
56079         [BZ #12847]
56080         * libio/genops.c (INTDEF): For string streams the _lock pointer can
56081         be NULL.  Don't lock in this case.
56083 2011-09-09  Roland McGrath  <roland@hack.frob.com>
56085         * elf/elf.h (ELFOSABI_GNU): New macro.
56086         (ELFOSABI_LINUX): Define to that.
56088 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
56090         * string/strncat.c (strncat): Undef the symbol in case it has been
56091         defined in bits/string.h.
56093 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56095         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
56097         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
56098         link map.
56100 2011-08-17  Andreas Jaeger  <aj@suse.de>
56102         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
56104 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
56105             Ian Lance Taylor  <iant@google.com>
56107         * math/libm-test.inc (lround_test): New testcase.
56108         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
56110 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
56112         * Makefile: Remove support for automatic cvs check-ins.
56113         * Makerules: Likewise.
56114         * config.make.in: Likewise.
56115         * configure.in: Likewise.
56116         * intl/Makefile: Likewise.
56117         * locale/Makefile: Likewise.
56118         * po/Makefile: Likewise.
56119         * posix/Makefile: Likewise.
56120         * sysdeps/gnu/Makefile: Likewise.
56121         * sysdeps/mach/hurd/Makefile: Likewise.
56122         * sysdeps/sparc/sparc32/Makefile: Likewise.
56124         [BZ #13118]
56125         * posix/Makefile (bug-regex32-ENV): Define.
56126         Patch by John Stanley <jpsinthemix@verizon.net>.
56128         * misc/Makefile (headers): Add bits/select2.h.
56129         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
56130         * misc/bits/select2.h: New file.
56131         * include/bits/select2.h: New file.
56132         * debug/Makefile (routines): Add fdelt_chk.
56133         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
56134         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
56135         FD_ISSET.
56136         * debug/fdelt_chk.c: New file.
56138         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
56139         * wcsmbs/test-wmemcmp.c: Likewise.
56140         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
56141         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
56143 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56145         * string/Makefile (strop-tests): Add memcmp.
56146         * string/test-wmemcmp.c: New file.
56147         * string/test-memcmp.c: Add wmemcmp support.
56149 2011-09-08  Roland McGrath  <roland@hack.frob.com>
56151         [BZ #13153]
56152         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
56153         2011-07-19 change.
56155         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
56156         garbage value in a __mach_port_mod_refs call in the cases of the
56157         task-self and thread-self ports.
56159 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56161         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
56163 2011-09-08  Andreas Schwab  <schwab@redhat.com>
56165         * elf/dl-load.c (lose): Check for non-null L.
56167 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
56169         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
56171         * elf/dl-libc.c (dlerror_run): Pass back error code from
56172         dl_catch_error.
56174         [BZ #13123]
56175         * elf/dl-load.c (lose): Free l_origin if it is valid.
56177         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
56178         names.
56179         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
56180         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56181         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56182         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56183         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
56184         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
56186 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56188         * sysdeps/powerpc/fpu/e_hypot.c: New file.
56189         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
56190         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
56191         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
56192         * sysdeps/powerpc/fpu/k_cosf.c: New file.
56193         * sysdeps/powerpc/fpu/k_sinf.c: New file.
56194         * sysdeps/powerpc/fpu/s_cosf.c: New file.
56195         * sysdeps/powerpc/fpu/s_sinf.c: New file.
56196         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
56197         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
56199 2011-08-15  Alan Modra  <amodra@gmail.com>
56201         [BZ #13092]
56202         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
56203         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
56204         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
56205         ppc_mcount to static-only-routines.
56206         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
56207         __mcount_internal.
56208         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
56209         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
56211 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
56213         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
56214         for finite and infinity parameters.
56216 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56218         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
56219         and add nop instructions for throughput optimization.
56220         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56222 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
56224         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
56225         aligned copy for power7 with vector-scalar instructions.
56226         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56228 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
56230         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
56231         AVX check.
56233 2011-09-07  Andreas Schwab  <schwab@redhat.com>
56235         [BZ #13144]
56236         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
56237         last change.
56239 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
56241         * sysdeps/unix/sysv/linux/x86_64/init-first.c
56242         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
56243         syscall wrapper around clock_gettime in __vdso_clock_gettime.
56244         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
56245         clock_gettime.
56247 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
56249         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
56250         Forgot to demangle the pointer.
56252         * sysdeps/i386/sysdep.h: Define atom_text_section.
56253         * sysdeps/x86_64/sysdep.h: Likewise.
56254         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
56255         section with atom_text_section.
56256         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56257         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56258         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
56259         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56260         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
56262         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
56263         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
56264         already be defined.  Change to take two parameters and don't assign
56265         result to variable.  Adjust all users.
56266         Define INTERNAL_GETTIME if not already defined.
56267         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
56268         call.
56269         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
56270         HAVE_CLOCK_GETTIME_VSYSCALL.
56271         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
56273         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
56274         gettimeofday vsyscall, just use time.
56276 2011-09-06  Andreas Schwab  <schwab@redhat.com>
56278         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
56279         <errno.h>.
56281 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
56283         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
56284         syscall on x86-64.
56285         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
56286         syscall.
56287         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
56288         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
56289         syscall if possible.
56291 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
56293         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
56294         e_ident.  Don't pass to find_mapsXX.
56295         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
56297 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56299         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56300         strchr-sse2-no-bsf strrchr-sse2-no-bsf
56301         * sysdeps/x86_64/multiarch/strchr.S: Update.
56302         Check bit_slow_BSF bit.
56303         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56304         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
56305         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
56307 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
56309         [BZ #13134]
56310         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
56311         before glibc 2.15.
56312         (tryshell): Define.
56313         (__spawni): Change last parameter to be flag.  Test
56314         SPAWN_XFLAGS_USE_PATH flag to use path or not.
56315         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
56316         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
56317         * posix/spawni.c: Likewise.
56318         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
56319         * posix/spawnp.c: Likewise.  Change normal version to use
56320         SPAWN_XFLAGS_USE_PATH.
56321         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
56322         SPAWN_XFLAGS_TRY_SHELL.
56324         [BZ #13150]
56325         * posix/glob.h: Remove gcc 1.x support.
56327         [BZ #13068]
56328         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
56330 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56332         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56333         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
56334         strrchr-sse2-bsf
56335         * sysdeps/i386/i686/multiarch/strchr.S: New file.
56336         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
56337         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
56338         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
56339         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
56340         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
56342 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56344         * sysdeps/x86_64/wcscmp.S: New file.
56346         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
56347         wcscmp-c wcscmp-sse2
56348         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
56349         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
56350         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
56351         * wcsmbs/wcscmp.c: Allow renaming.
56353 2011-09-05  David S. Miller  <davem@davemloft.net>
56355         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
56356         stack slot, rather than the struct return pointer slot.
56357         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
56358         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
56359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
56360         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
56362 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
56364         * po/ja.po: Update from translation team.
56366         [BZ #13144]
56367         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
56368         kernel in 64-bit binaries.
56370 2011-09-01  David S. Miller  <davem@davemloft.net>
56372         * elf/elf.h (HWCAP_SPARC_*): Move to..
56373         * sysdeps/sparc/sysdep.h: this new file and add new values.
56374         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
56375         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
56376         _DL_HWCAP_COUNT to 24.
56377         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56378         entries.
56379         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
56380         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
56381         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
56382         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
56383         instead of magic constants.
56384         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56386 2011-08-31  David S. Miller  <davem@davemloft.net>
56388         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
56389         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
56390         Reimplement to do errno handling inline.
56391         (SYSCALL_ERROR_HANDLER): New macro.
56392         (__SYSCALL_STRING): Do not do errno handling in asm.
56393         (__CLONE_SYSCALL_STRING): Delete.
56394         (__INTERNAL_SYSCALL_STRING): Delete.
56395         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
56396         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
56397         (PSEUDO): Reimplement to do errno handling inline.
56398         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
56399         (SYSCALL_ERROR_HANDLER): New macro.
56400         (__SYSCALL_STRING): Do not do errno handling in asm.
56401         (__CLONE_SYSCALL_STRING): Delete.
56402         (__INTERNAL_SYSCALL_STRING): Delete.
56403         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
56404         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
56405         i386.
56406         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
56407         (inline_syscall*): Add 'err' argument.
56408         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
56409         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
56410         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
56411         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
56413         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
56414         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
56416 2011-08-30  Andreas Schwab  <schwab@redhat.com>
56418         * elf/rtld.c (dl_main): Relocate objects in dependency order.
56420 2011-08-29  Jiri Olsa <jolsa@redhat.com>
56422         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
56423         directive.
56425 2011-08-24  David S. Miller  <davem@davemloft.net>
56427         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
56429 2011-08-24  Andreas Schwab  <schwab@redhat.com>
56431         * elf/Makefile: Add rules to build and run unload8 test.
56432         * elf/unload8.c: New file.
56433         * elf/unload8mod1.c: New file.
56434         * elf/unload8mod1x.c: New file.
56435         * elf/unload8mod2.c: New file.
56436         * elf/unload8mod3.c: New file.
56438         * elf/dl-close.c (_dl_close_worker): Reset private search list if
56439         it wasn't used.
56441 2011-08-23  David S. Miller  <davem@davemloft.net>
56443         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
56444         subtract stack bias.
56445         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
56446         %sp not %fp in calculations.
56447         (_JMPBUF_UNWINDS_ADJ): Likewise.
56449         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
56450         (aio_suspend): Call it to force an exception region around the
56451         AIO_MISC_WAIT() invocation.
56453 2011-08-23  Andreas Schwab  <schwab@redhat.com>
56455         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
56456         backslash.
56458 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
56460         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
56461         protection macro.
56462         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
56463         and <dl-machine.h>.
56464         (Elf64_FuncDesc): Remove.
56466 2011-08-22  David S. Miller  <davem@davemloft.net>
56468         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
56469         sigaltstack check, add missing cfi directives.
56470         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
56471         missing cfi directives, and sigaltstack handling.
56473 2011-08-16  Andreas Schwab  <schwab@redhat.com>
56475         [BZ #11724]
56476         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
56477         object is seen twice.
56478         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56480         * elf/Makefile (distribute): Add tst-initorder2.c.
56481         (tests): Add tst-initorder2.
56482         (modules-names): Add tst-initorder2a tst-initorder2b
56483         tst-initorder2c tst-initorder2d.  Add rules to build them.
56484         ($(objpfx)tst-initorder2.out): New rule.
56485         * elf/tst-initorder2.c: New file.
56486         * elf/tst-initorder2.exp: New file.
56488 2011-08-22  Andreas Schwab  <schwab@redhat.com>
56490         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
56492         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
56493         dependencies back to end of function.
56495         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56496         $(elfobjdir)/ld.so.
56498 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
56500         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
56501         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
56502         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
56503         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
56504         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
56505         of __vdso_gettimeofday.
56506         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
56507         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
56508         attribute_hidden.
56509         (_libc_vdso_platform_setup): Remove initialization of
56510         __vdso_gettimeofday and __vdso_time.
56512 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
56514         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
56515         and fgetc_unlocked.
56516         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
56517         getc_unlocked.
56519         * elf/dl-open.c (add_to_global): Report additions to the global scope
56520         for LD_DEBUG=scopes.
56521         (dl_open_worker): Also print scope of newly loaded dependencies.
56522         (_dl_show_scope): Indicate if there is no scope.
56524         [BZ #13114]
56525         * stdio-common/Makefile (tests): Add bug24.
56526         * stdio-common/bug24.c: New file.
56528 2011-08-19  Andreas Jaeger  <aj@suse.de>
56530         [BZ #13114]
56531         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
56532         non-existant file when using close-on-exec mode.
56534 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
56536         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
56537         the very first instruction.
56539         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
56540         the CFI state in the end.
56541         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
56542         inclusion of dl-trampoline.h.
56543         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
56545 2011-08-19  Andreas Schwab  <schwab@redhat.com>
56547         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
56548         expectations for long double.
56550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
56551         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
56553 2011-08-14  David S. Miller  <davem@davemloft.net>
56555         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
56556         artificual limit depends upon the system page size.
56558 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
56560         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
56561         * resolv/Makefile: Define CFLAGS-libresolv.
56563 2011-08-17  Andreas Schwab  <schwab@redhat.com>
56565         * nss/makedb.c (compute_tables): Make variables used in nested
56566         function static.
56568 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
56570         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
56571         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
56572         if buffer was too small.
56574         * elf/pldd.c (main): Attach to all threads in the process.
56575         Rewrite /proc handling to use *at functions.
56577 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
56579         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
56580         specifies first scope to show.
56581         (dl_open_worker): Update callers.  Move printing scope of new
56582         object to before the relocation.
56583         * elf/rtld.c (dl_main): Update _dl_show_scope call.
56584         * sysdeps/generic/ldsodefs.h: Update declaration.
56586         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
56587         string for the scope number.
56589 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
56591         * nscd/servicescache.c (cache_addserv): Make sure written is always
56592         initialized.
56594 2011-08-14  Roland McGrath  <roland@hack.frob.com>
56596         * sysdeps/i386/i486/bits/atomic.h
56597         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
56598         statement expression, so as to suppress "set but not used" warning.
56599         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
56601         * string/strncat.c (STRNCAT): Use prototype definition.
56603         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
56604         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
56605         -Iprograms here.
56606         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
56607         (localedef-modules): Add localedef.
56608         (locale-modules): Add locale.
56610         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
56611         * elf/rtld.c (dl_main): Invert order of assignment in last change,
56612         to avoid a warning.
56614 2011-08-14  David S. Miller  <davem@davemloft.net>
56616         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
56617         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
56619 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
56621         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
56622         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
56623         * elf/rtld.c (dl_main): Set l_name of vDSO.
56624         Call _dl_show_scope when DL_DEBUG_SCOPES.
56625         (process_dl_debug): Recognize scopes flag and also set it for all.
56626         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
56627         Declare _dl_show_scope.
56629         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
56630         (do_dlopen): Pass caller_dlopen to dl_open.
56631         (__libc_dlopen_mode): Initialize caller_dlopen.
56633         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
56634         of libc.  Make tolower call locale-independent.  Optimize a bit by
56635         using isdigit instead of isalnum.
56636         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
56638 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
56640         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
56641         was a dependency or dynamically loaded.
56643 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
56645         * intl/l10nflist.c: Allow architecture-specific pop function.
56646         * sysdeps/x86_64/l10nflist.c: New file.
56648         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
56649         classification.
56651 2011-08-10  Andreas Schwab  <schwab@redhat.com>
56653         * include/dirent.h: Add libc_hidden_proto for scandirat and
56654         scandirat64.  Don't declare __scandirat64.
56655         * dirent/scandirat.c: Add libc_hidden_def.
56656         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
56657         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
56659 2011-08-10  David S. Miller  <davem@davemloft.net>
56661         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
56662         enum.
56663         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56664         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56665         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56667 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
56669         * Versions.def [libc]: Add GLIBC_2.15.
56670         * dirent/Makefile (routines): Add scandirat and scandirat64.
56671         * dirent/Versions [libc]: Export scandirat and scandirat64 for
56672         GLIBC_2.15.
56673         * dirent/dirent.h: Declare scandirat and scandirat64.
56674         * dirent/scandirat.c: New file.
56675         * dirent/scandirat64.c: New file.
56676         * sysdeps/wordsize-64/scandirat.c: New file.
56677         * sysdeps/wordsize-64/scandirat64.c: New file.
56678         * dirent/opendir.c: Define opendirat.
56679         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
56680         using scandirat.
56681         * dirent/scandir64.c: Adjust for scandir.c change.
56682         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
56683         __scandirat64, and __scandir_cancel_handler.
56684         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
56685         additional parameter and use openat instead of open (outside of ld.so).
56686         Add new __opendir as wrapper around __opendirat.
56687         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
56688         here without requiring old scandirat implementation.
56690 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
56692         * dirent/scandir.c (cancel_handler): Renamed to
56693         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
56694         defined.  Adjust users.
56695         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
56696         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
56698 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
56700         * string/test-string.h (IMPL): Use __STRING to expand name and then
56701         stringify it.
56703         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
56704         of cleanups.
56706 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56708         * string/Makefile: Update.
56709         (strop-tests): Append strncat.
56710         * string/test-wcscmp.c: New file.
56711         New comprehensive test for wcscmp.
56712         * string/test-strcmp.c: Update.
56713         (WIDE): New define.
56715 2011-07-22  Andreas Schwab  <schwab@redhat.com>
56717         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
56718         line.
56720 2011-07-26  Andreas Schwab  <schwab@redhat.com>
56722         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56723         encoding to ACE if AI_IDN.
56725 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
56727         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
56728         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
56730 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56732         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
56733         Fix overflow bug in strncat.
56734         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
56736         * string/test-strncat.c: Update.
56737         Add new tests for checking overflow bugs.
56739 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56741         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56742         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
56743         * sysdeps/i386/i686/multiarch/strcat.S: New file.
56744         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
56745         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
56746         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
56747         * sysdeps/i386/i686/multiarch/strncat.S: New file.
56748         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
56749         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
56751         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
56752         (USE_AS_STRCAT): Define.
56753         Add strcat and strncat support.
56754         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56756 2011-07-25  Andreas Schwab  <schwab@redhat.com>
56758         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
56759         __n bigger than INT_MAX+1.
56760         (__strncmp_g): Likewise.
56762 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
56764         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
56765         * libio/stido.h: Likewise.
56767         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
56768         (AF_NFC): Define.
56769         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
56770         (AF_NFC): Define.
56772         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
56773         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56774         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56775         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
56776         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56778         [BZ #13021]
56779         * scripts/test-installation.pl: Don't expect libnss_test1 to be
56780         installed.
56782         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
56783         typo.
56784         (_dl_x86_64_save_sse): Likewise.
56786 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
56788         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
56789         OSXSAVE.
56790         (_dl_x86_64_save_sse): Likewise.
56792         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
56794         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
56796 2011-07-21  Andreas Schwab  <schwab@redhat.com>
56798         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
56799         change.
56800         (_dl_x86_64_save_sse): Use correct AVX check.
56802 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56804         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
56805         bug in strncpy/strncat.
56806         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
56808 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
56810         * string/tester.c (test_strcat): Add tests for different alignments
56811         of source and destination.
56812         (test_strncat): Likewise.
56814 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
56816         [BZ #12852]
56817         * posix/glob.c (glob): Check passed in values before using them in
56818         expressions to avoid some overflows.
56819         (glob_in_dir): Likewise.
56821         [BZ #13007]
56822         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
56823         check for AVX enablement so that we don't crash with old kernels and
56824         new hardware.
56825         * elf/tst-audit4.c: Add same checks here.
56826         * elf/tst-audit6.c: Likewise.
56828         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
56830 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
56832         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
56834 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
56836         * po/cs.po: Update from translation team.
56837         * po/bg.po: Likewise.
56839 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
56841         * misc/sys/cdefs.h: Add support for const attribute.
56842         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
56843         to gnu_dev_{major,minor,makedev} functions.
56845 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
56847         * intl/dcigettext.c (get_output_charset): Add missing bracket.
56849 2011-07-20  Andreas Schwab  <schwab@redhat.com>
56851         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
56852         strlen results.
56854 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56856         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
56857         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
56858         register in order to avoid conflicts with the soft frame pointer
56859         being held in r11 when necessary.
56860         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
56861         (INTERNAL_VSYSCALL_NCS): Likewise.
56863 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
56865         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
56866         * elf/dl-fini.c (_dl_fini): Adjust caller.
56867         * elf/dl-close.c (_dl_close_worker): Likewise.
56868         * sysdeps/generic/ldsodefs.h: Adjust declaration.
56870 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
56872         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
56873         "aux_cache->nlibs < 0".
56875         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
56876         in the reload-count case.
56878 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56880         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56881         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
56882         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
56883         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
56884         * sysdeps/x86_64/multiarch/strcat.S: New file.
56885         * sysdeps/x86_64/multiarch/strncat.S: New file.
56886         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
56887         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
56888         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
56889         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
56890         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
56891         (USE_AS_STRCAT): Define.
56892         Add strcat and strncat support.
56893         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56894         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56895         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
56896         * string/strncat.c: Update.
56897         (USE_AS_STRNCAT): Define.
56898         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56899         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
56900         and i7.
56901         * sysdeps/x86_64/multiarch/init-arch.h
56902         (bit_Prefer_PMINUB_for_stringop): New.
56903         (index_Prefer_PMINUB_for_stringop): Likewise.
56904         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
56905         bit_Prefer_PMINUB_for_stringop.
56907 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
56909         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
56910         buffer64.
56911         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
56912         of casting of buffer.
56913         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
56914         buffer32 and buffer64.
56915         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
56916         writes instead of casting of buffer.
56917         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
56918         buffer32.
56919         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
56920         casting of buffer.
56922 2011-07-19  Andreas Schwab  <schwab@redhat.com>
56924         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
56926 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
56928         * nscd/nscd.c (termination_handler): Don't do anything for a database
56929         if it has not yet been initialized.
56931 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
56933         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56935 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
56937         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56939 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
56941         * po/nl.po: Update from translation team.
56942         * po/sv.po: Likewise.
56944 2011-07-16  Roland McGrath  <roland@hack.frob.com>
56946         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
56947         now disallowed by GCC.
56949         * configure.in (use-default-link): Default to yes if a test -shared
56950         link meets our qualifications.
56951         * configure: Regenerated.
56953         * config.make.in (output-format): New variable.
56954         * configure.in: Check for ld --print-output-format support.
56955         * configure: Regenerated.
56956         * Makerules ($(common-objpfx)format.lds)
56957         [$(output-format) != unknown]: Just use $(output-format),
56958         instead of the linker-script munging.
56960 2011-07-14  Roland McGrath  <roland@hack.frob.com>
56962         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
56963         of $(common-objpfx)shlib.lds.
56964         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
56966         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
56967         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
56969         * configure.in (-z relro check): Adjust test code to add a large
56970         writable data section after it.
56971         * configure: Regenerated.
56973 2011-07-11  Roland McGrath  <roland@hack.frob.com>
56975         * configure.in (-z relro check): Fix test code to make the variable
56976         truly const.
56977         * configure: Regenerated.
56979 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
56981         * nscd/nscd.h (struct traced_file): Define.
56982         (struct database_dyn): Remove inotify_descr, reset_res, and filename
56983         elements.  Add traced_files.
56984         (inotify_fd): Declare.
56985         (register_traced_file): Declare.
56986         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
56987         (inotify_fd): Export.
56988         (resolv_conf_descr): Remove.
56989         (nscd_init): Move inotify descriptor creation to main.
56990         Don't register files for notification here.
56991         (register_traced_file): New function.
56992         (invalidate_cache): Don't use reset_res to determine whether to call
56993         res_init, go through the list of registered files.
56994         (main_loop_poll): The inotify descriptors are now stored in the
56995         structures for the traced files.
56996         (main_loop_epoll): Likewise
56997         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
56998         to __nss_disable_nscd.
56999         * nscd/cache.c (prune_cache): There is no single inotify descriptor
57000         for a database anymore.  Check the records for all the registered
57001         files instead.
57002         * nss/Makefile (libnss_files-routines): Add files-init.
57003         (libnss_db-routines): Add db-init.
57004         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
57005         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
57006         * nss/nss_db/db-init.c: New file.
57007         * nss/nss_files/files-init.c: New file.
57008         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
57009         __nss_lookup_function.
57010         (__nss_lookup_function): Call nss_load_library.
57011         (nss_load_all_libraries): New function.
57012         (__nss_disable_nscd): Take parameter with callback function for files
57013         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
57014         used for the cached services.
57015         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
57016         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
57017         options for features to all the files in nscd.
57019         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
57021 2011-07-10  Roland McGrath  <roland@hack.frob.com>
57023         * csu/elf-init.c (__libc_csu_init): Comment typo.
57025 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
57027         * po/pl.po: Update from translation team.
57028         * po/ja.po: Likewise.
57029         * po/ru.po: Likewise.
57030         * po/ko.po: Likewise.
57031         * po/fr.po: Likewise.
57033 2011-07-09  Roland McGrath  <roland@hack.frob.com>
57035         * configure.in (.ctors/.dtors header and trailer check):
57036         Use an empirical test on a built program.
57037         * configure: Regenerated.
57039         * configure.in (-z relro check): Use an empirical test on a built DSO.
57040         Detect, but do not require, on ia64.
57041         * configure: Regenerated.
57043         * configure.in (READELF): Find it with AC_CHECK_TOOL.
57044         Update tests that use readelf to use $READELF instead.
57045         * configure: Regenerated.
57047 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
57049         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
57050         if the result is not used.
57052 2011-07-05  Andreas Jaeger  <aj@suse.de>
57054         [BZ#9696]
57055         * stdlib/tst-strtod.c: Add testcase.
57057 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
57059         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
57060         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
57061         The latter has a higher limit.  Take additional parameter to pass to
57062         the new function.
57063         (__pathconf): Pass file to __statfs_link_max.
57064         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
57065         __statfs_link_max.
57066         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
57067         __statfs_link_max.
57069         [BZ #12868]
57070         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
57071         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57072         Handle Lustre.
57073         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
57074         (__statfs_filesize_max): Likewise.
57075         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
57077 2011-07-05  Andreas Jaeger  <aj@suse.de>
57079         * resolv/res_comp.c (dn_skipname): Remove unused variable.
57081 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
57083         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
57084         `status' variable.
57085         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
57086         Likewise.
57088 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
57090         * Makefile (strop-tests): Add strncat.
57091         * string/test-strncat.c: New file.
57093 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
57095         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
57097 2011-06-21  Andreas Jaeger  <aj@suse.de>
57099         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
57100         Copy rule from iconvdata/Makefile.
57102 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
57104         [BZ #12922]
57105         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
57106         but no long options are defined, just return 'W'.
57108 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
57110         [BZ #9696]
57111         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
57113 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
57115         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
57116         netgroups to read.
57117         (innetgr): Likewise.
57119 2011-07-05  Roland McGrath  <roland@hack.frob.com>
57121         * config.make.in (install_root): Default to $(DESTDIR).
57123 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
57125         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
57127 2011-07-02  Roland McGrath  <roland@hack.frob.com>
57129         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
57131         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
57132         containing directory rather than embedding absolute directory names.
57134         * scripts/check-local-headers.sh: Rewritten using awk.
57135         Match by word, not by line.  Print error messages for matches.
57136         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
57138         * Makerules [shlib-lds-flags empty]:
57139         ($(common-objpfx)libc_pic.opts): New target.
57140         ($(common-objpfx)libc_pic.os.clean): New target.
57141         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
57143         * config.make.in (OBJCOPY): New variable.
57144         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
57145         * configure: Regenerated.
57147         * config.make.in (use-default-link): New variable.
57148         * configure.in (use_default_link): Grok --with-default-link to set it.
57149         * configure: Regenerated.
57150         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
57151         (shlib-lds, shlib-lds-flags): Define to empty.
57153         * Makerules (shlib-lds): New variable.
57154         (shlib-lds-flags): New variable.
57155         (build-shlib, build-moduile, build-module-asneeded): Use it.
57156         ($(common-objpfx)libc.so): Use $(shlib-lds).
57157         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
57158         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
57160         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
57161         DT_FLAGS/DT_FLAGS_1 with zero flags.
57163         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
57164         linker script munging.
57166 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
57168         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
57169         as 128-bit value.
57170         * crypt/sha512.c (sha512_process_block): Perform total addition using
57171         128-bit if possible.
57172         (__sha512_finish_ctx): Likewise.
57173         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
57174         as 64-bit value.
57175         * crypt/sha256.c (SWAP64): Define.
57176         (sha256_process_block): Perform total addition using 64-bit if
57177         possible.
57178         (__sha256_finish_ctx): Likewise.
57180 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
57182         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
57183         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57184         * nscd/hstcache.c (cache_addhst): Likewise.
57185         * nscd/grpcache.c (cache_addgr): Likewise.
57186         * nscd/aicache.c (addhstaiX): Likewise
57187         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
57189 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
57191         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
57192         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57193         * nscd/hstcache.c (cache_addhst): Likewise.
57194         * nscd/grpcache.c (cache_addgr): Likewise.
57195         * nscd/aicache.c (addhstaiX): Likewise
57197 2011-07-01  Andreas Schwab  <schwab@redhat.com>
57199         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
57200         domain only when needed.
57202 2011-06-30  Andreas Schwab  <schwab@redhat.com>
57204         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
57205         is always restored.
57207 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
57209         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
57210         are re-adding the entry.
57211         * nscd/servicescache.c (cache_addserv): Likewise.
57213 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
57215         * sysdeps/generic/dl-irel.h: fix protection against multiple
57216         inclusions.
57217         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
57219 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
57221         [BZ #12935]
57222         * malloc/memusage.sh: Fix quoting in message.
57223         * debug/xtrace.sh: Likewise.
57225         * configure.in: Remove support for --experimental-malloc option, make
57226         it the default.
57227         * config.make.in: Likewise.
57228         * malloc/Makefile: Likewise.
57230 2011-06-27  Andreas Schwab  <schwab@redhat.com>
57232         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
57233         two-byte characters.
57235 2011-06-27  Roland McGrath  <roland@hack.frob.com>
57237         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
57238         AC_CACHE_CHECK invocation.
57239         * configure: Regenerated.
57241         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
57243 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
57245         [BZ #12350]
57246         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
57247         bit from old_res_options.
57249         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
57251         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
57252         value type for setfct.
57254 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
57256         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57257         __gettimeofday instead of gettimeofday.
57259 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
57261         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
57263 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
57265         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
57267         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
57268         info.
57270 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
57272         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57273         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57274         strcpy-sse2-unaligned strncpy-sse2-unaligned
57275         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
57276         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
57277         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
57278         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
57279         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
57280         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
57281         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
57282         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
57283         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
57284         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
57285         (STRCPY): Support SSE2 and SSSE3 versions.
57287 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
57289         [BZ #12874]
57290         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
57291         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
57292         kernels which artificially limit size of requests.
57294 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
57296         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57297         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57298         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
57299         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
57300         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
57301         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
57302         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
57303         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
57304         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
57305         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
57306         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
57307         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
57308         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
57309         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
57310         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
57311         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57312         Enable unaligned load optimization for Intel Core i3, i5 and i7
57313         processors.
57314         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
57315         Define.
57316         (index_Fast_Unaligned_Load): Define.
57317         (HAS_FAST_UNALIGNED_LOAD): Define.
57319 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
57321         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
57323 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
57325         [BZ #12907]
57326         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
57327         until it is clear that the information is realy needed.
57328         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
57330 2011-06-22  Andreas Schwab  <schwab@redhat.com>
57332         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
57334 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
57336         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57337         /sys/devices/system/cpu/online if it is usable.
57339         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
57340         reading the information from the /proc filesystem to once a second.
57342 2011-06-21  Andreas Jaeger  <aj@suse.de>
57344         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
57345         NULL after inclusion of kernel headers.
57347 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
57349         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
57350         calls to internal_setent.
57352         [BZ #12885]
57353         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
57354         addresses using gethostbyname4_r ignore IPv4 addresses.
57356         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
57357         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
57359         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
57361 2011-06-20  David S. Miller  <davem@davemloft.net>
57363         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
57364         inclusions.
57365         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
57367         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
57368         (elf_irel): Use it.
57369         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
57370         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
57371         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
57372         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
57373         * sysdeps/x86_64/dl-irel.h: Likewise.
57375         * elf/dl-runtime.c: Use elf_ifunc_invoke.
57376         * elf/dl-sym.c: Likewise.
57378 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
57380         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
57381         need to dereference resplen2.
57383 2011-06-14  Andreas Schwab  <schwab@redhat.com>
57385         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
57387 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
57389         * Makeconfig: Define vardbdir and inst_vardbdir.
57390         * nss/Makefile: Add rules to install db-Makefile.
57392         * nss/nss_db/db-XXX.c: Cleanup.
57394         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
57395         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
57396         GLIBC_PRIVATE.
57397         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
57398         * nss/makedb.c: Implement -g option to specify that value strings
57399         are generated and should not be added to table iterated over for
57400         get*ent calls.
57401         * nss/nss_db/db-initgroups.c: New file.
57403         * nss/getent.c: Add support for initgroups lookups through getgrouplist
57404         interface.
57406         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
57407         (internal_getgrouplist): Adjust to name change.
57408         Update use_initgroups_entry if this is not the first call.
57409         * nss/databases.def: Add initgroups entry.
57411         * nss/makedb.c (compute_tables): Check result of multiple hash table
57412         sizes to minimize maximum chain length.
57414 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
57416         * Versions.def: Add entry for libnss_db.
57417         * shlib-versions: Likewise.
57418         * nss/Makefile: Add rules to build libnss_db.
57419         * nss/Versions: Add libnss_db information.  Organize libnss_files
57420         entries better.
57421         * nss/db-Makefile: Add gshadow support.  Change rules for the new
57422         makedb progra.  Some minor improvements to generate smaller files.
57423         * nss/nss_db/nss_db.h: Move NSS database header data structures to
57424         here from...
57425         * nss/makedb.c: ...here.
57426         Improve database format to be smaller and require less memory at
57427         runtime.
57428         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
57429         db anymore.
57430         * nss/nss_db/db-netgrp.c: Likewise.
57431         * nss/nss_db/db-open.c: Likewise.
57432         * nss/nss_files/flies-XXX.x: Adjust comments.
57433         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
57434         * nss/nss_files/files-grp.c: Likewise.
57435         * nss/nss_files/files-hosts.c: Likewise.
57436         * nss/nss_files/files-network.c: Likewise.
57437         * nss/nss_files/files-proto.c: Likewise.
57438         * nss/nss_files/files-pwd.c: Likewise.
57439         * nss/nss_files/files-rpc.c: Likewise.
57440         * nss/nss_files/files-service.c: Likewise.
57441         * nss/nss_files/files-sgrp.c: Likewise.
57442         * nss/nss_files/files-spwd.c: Likewise.
57443         * nss/nss_db/db-alias.c: Removed.
57444         * nss/nss_db/dummy-db.h: Removed.
57446 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
57448         * nss/makedb.c: Rewritten to not use database library.
57449         * nss/Makefile: Update to build new makedb program.
57451 2011-06-14  Andreas Jaeger  <aj@suse.de>
57453         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
57454         memset declaration.
57456 2011-06-10  Andreas Schwab  <schwab@redhat.com>
57458         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
57459         tmpbuf.
57461 2011-06-10  Roland McGrath  <roland@hack.frob.com>
57463         * Makerules (shlib.lds): Fail if the linker script comes out empty.
57464         * elf/Makefile ($(objpfx)ld.so): Likewise.
57466         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
57467         Don't list ld.so twice in dependencies.
57469         * posix/bug-regex31.c: Include <stdlib.h>.
57471         * nscd/hstcache.c (cache_addhst): Remove unused variable.
57473         * nis/nss_compat/compat-spwd.c
57474         (getspent_next_nss_netgr): Remove unused variable.
57475         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
57477         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
57478         nonmembers" output to use the right array.
57480         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
57482         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
57484         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
57485         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
57486         * catgets/gencat.c (read_input_file): Likewise.
57487         * locale/programs/locarchive.c (enlarge_archive): Likewise.
57489         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
57490         variable definition inside #if's controlling its use.
57492         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
57494         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
57496         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
57498         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
57499         unreachable code.
57501         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
57503         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
57504         * configure: Regenerated.
57506         * Makerules: Revert last change.
57507         * elf/Makefile: Likewise.
57509 2011-06-09  Roland McGrath  <roland@hack.frob.com>
57511         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
57512         * elf/Makefile ($(objpfx)librtld.os): Likewise.
57513         (reloc-link): Likewise.
57515 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
57517         * elf/Makefile: Add rules to build pldd.
57518         * elf/pldd.c: New file.
57519         * elf/pldd-xx.c: New file.
57521 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
57523         * version.h: Update for 2.15 development version.
57525 2011-06-07  David S. Miller  <davem@davemloft.net>
57527         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
57528         ifuncs.
57529         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
57530         elf_machine_lazy_rel): Likewise.
57531         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57532         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
57533         elf_machine_lazy_rel): Likewise.
57534         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
57535         dl_hwcap via passed in argument.
57536         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
57537         Likewise.
57539 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57541         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
57543 2011-06-06  Roland McGrath  <roland@hack.frob.com>
57545         [BZ #12849]
57546         * manual/fdl-1.1.texi: New file, verbatim from:
57547         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
57548         * manual/lgpl-2.1.texi: New file, verbatim from:
57549         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
57550         * manual/Makefile (licenses): New variable, list those new file names.
57551         (texis): Use it.
57552         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
57554         * manual/fdl.texi: File removed.
57555         * manual/lesser.texi: File removed.
57556         * manual/libc.texinfo (Copying, Documentation License):
57557         Use new @include file names, put @appendix directive before @include.
57559 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
57561         [BZ #12841]
57562         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
57563         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
57564         (mq_open): Add __NTH.
57566 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
57568         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57569         Assume Intel Core i3/i5/i7 processor if AVX is available.
57571 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
57573         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
57574         typo.
57576 2011-05-31  Andreas Schwab  <schwab@redhat.com>
57578         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
57579         memory.  Use alloca_account.  Fix memory leak when retrying.
57581 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
57583         * version.h (RELEASE): Bump for 2.14 release.
57584         * include/features.h (__GLIBC_MINOR__): Bump to 14.
57586         * config.make.in (RANLIB): Remove entry.
57588 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
57590         * po/Makefile (po-sed-cmd): Add ksh to extensions.
57591         (libc.pot): Work around missing support for .ksh extension in xgettext.
57593         [BZ #12684]
57594         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
57595         if both request failed.
57596         (send_dg): In case of server errors clear resplen or *resplen2.
57598         [BZ #12454]
57599         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
57600         when there are multiple maps.
57601         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
57602         (_dl_fini): Remove test here.
57604         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
57606 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
57608         [BZ #12350]
57609         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
57610         bit from old_res_options.
57611         (gaih_inet): Likewise.
57613         [BZ #11099]
57614         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
57615         as signed.
57617         * resolv/res_init.c (res_setoptions): Make the code more compact.
57619         [BZ #11558]
57620         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
57621         set RES_USEVC.
57623         [BZ #11634]
57624         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
57626         * malloc/malloc.h: Mark malloc hook variables as deprecated.
57628         [BZ #11781]
57629         * malloc/malloc.h: Declare malloc hook variables as volatile.
57631         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
57632         in last patch.
57634         [BZ #11799]
57635         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
57636         raise in the comment.
57637         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57638         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57639         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
57641 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
57643         [BZ #12811]
57644         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
57645         grow the buffers more if it already has to be sufficient.
57646         (build_wcs_upper_buffer): Likewise.
57647         * posix/regexec.c (check_matching): Likewise.
57648         (clean_state_log_if_needed): Likewise.
57649         (extend_buffers): Don't enlarge buffers beyond size of the input
57650         buffer.
57651         Patches mostly by Emil Wojak <emil@wojak.eu>.
57652         * posix/bug-regex32.c: New file.
57653         * posix/Makefile (tests): Add bug-regex32.
57655         * locale/findlocale.c (_nl_find_locale): Return right away if
57656         _nl_explode_name failed.
57657         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
57659         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
57661         * debug/xtrace.sh: Unify messages.
57662         * malloc/memusage.sh: Likewise.
57664         [BZ #12813]
57665         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
57666         time symbol from vDSO.  Substitute with vsyscall if not available.
57667         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
57668         __vdso_time.
57670         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
57671         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
57672         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
57673         Add sendmmsg and internal_sendmmsg.
57674         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
57675         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
57676         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
57678         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
57679         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
57680         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
57682 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
57684         [BZ #12813]
57685         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
57686         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
57687         available.
57688         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
57689         __vdso_getcpu.
57691         [BZ #12814]
57692         * iconvdata/Makefile (tests): Add bug-iconv9.
57693         * iconvdata/bug-iconv9.c: New file.
57695 2011-05-27  Andreas Schwab  <schwab@redhat.com>
57697         [BZ #12814]
57698         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
57700 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
57702         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57703         (struct user_regs_struct): Change intcs field back to cs.
57705 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
57707         * po/ja.po: Update from translation team.
57709 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
57711         [BZ #12795]
57712         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
57713         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
57715 2011-05-20  Andreas Schwab  <schwab@redhat.com>
57717         * stdlib/longlong.h: Update from GCC.
57719 2011-05-23  Andreas Schwab  <schwab@redhat.com>
57721         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
57722         parameter name.
57723         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
57724         Add parameter name.
57725         (__sysconf): Pass it down.
57727 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
57729         [BZ #12671]
57730         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
57731         some situations.
57732         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57733         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
57734         add in in __libc_use_alloca calls.  Adjust callers.
57735         (glob): Use malloc in some situations.
57737         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
57738         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
57739         pltexit.
57741 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
57743         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
57744         and CLOCK_BOOTTIME_ALARM.
57746         [BZ #12782]
57747         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
57748         is returned.
57750         * string/_strerror.c (__strerror_r): Print negative errors as signed
57751         numbers.
57753         [BZ #12777]
57754         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
57755         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
57756         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
57758         * configure.in: Fix typo in redirection and correct removal of test
57759         files in two cases.
57761         [BZ #12788]
57762         * locale/setlocale.c (new_composite_name): Fix test to check for
57763         identical name of all categories.
57765         [BZ #12792]
57766         * libio/filedoalloc.c (local_isatty): New function.
57767         (_IO_file_doallocate): Use local_isatty.
57768         * stdio-common/perror.c (perror): In case a new stream is used
57769         forward the stream error.
57770         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
57771         error flag.
57773 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
57775         [BZ #11869]
57776         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
57777         alloca.
57778         * include/alloca.h (extend_alloca_account): Define.
57780         [BZ #11857]
57781         * posix/regex.h: Fix comments with documentation of user-accessible
57782         fields after compilation and describe correct free'ing of pattern
57783         after re_compile_pattern.
57784         Patch by Reuben Thomas <rrt@sc3d.org>.
57786 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
57788         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
57789         and -mno-altivec to prevent the compiler from using Altivec and/or
57790         VSX instructions when the corresponding registers are not available.
57792 2011-05-19  Andreas Schwab  <schwab@redhat.com>
57794         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
57796 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
57798         * libio/freopen.c (freopen): Use __dup2, not dup2.
57799         * libio/freopen64.c (freopen64): Likewise.
57801 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57803         [BZ #12775]
57804         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
57805         * math/Makefile (tests): Add test-powl.
57806         (CFLAGS-test-powl.c): Define.
57807         * math/test-powl.c: New file.
57809 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57811         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
57813 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
57815         [BZ #11837]
57816         * iconvdata/gb18030.c: Update to GB18020-2005.
57818 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
57820         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
57821         RE_SYNTAX_POSIX_AWK): Update to match recent development.
57822         Patch by Aharon Robbins <arnold@skeeve.com>.
57824         [BZ #11892]
57825         * stdlib/putenv.c (putenv): Don't always create copy of the variable
57826         on the stack.
57828         [BZ #11895]
57829         * misc/pselect.c (__pselect): Handle timeout value errors hidden
57830         through underflows.
57832         [BZ #12766]
57833         * misc/error.c (error_at_line): Ensure file_name and old_file_name
57834         point to strings before performing equality test for error_one_per_line
57835         mode.
57837         [BZ #11697]
57838         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
57840         [BZ #11820]
57841         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57842         (struct user_fpregs_struct): Avoid __uint*_t types.
57844         [BZ #6420]
57845         * malloc/mtrace.c (tr_where): Add additional parameter to point to
57846         symbol info.  Use it instead of calling _dl_addr locally.
57847         (lock_and_info): New function.
57848         (tr_freehook): Call lock_and_info and pass symbol info as additional
57849         parameter to tr_where.
57850         (tr_mallochook): Likewise.
57851         (tr_reallochook): Likewise.
57852         (tr_memalignhook): Likewise.
57854         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
57855         used and couldn't be at all thread-safe.
57857 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
57859         * libio/freopen.c (freopen): Don't close old file descriptor
57860         before the new one is opened.  Instead dup the new file descriptor
57861         to the old one after the new stream is created.
57862         * libio/freopen64.c (freopen64): Likewise.
57863         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
57864         * libio/fileops.c (_IO_new_file_close_it): Handle new
57865         _IO_FLAGS2_NOCLOSE flag.
57866         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
57867         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
57868         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
57869         _IO_FLAGS2_NOCLOSE flag.
57870         * include/unistd.h: Add hidden_proto for dup3.
57871         Define __have_dup3.
57872         * io/dup3.c: Define hidden symbol.
57873         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
57875         [BZ #7101]
57876         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
57877         when an incomplete long option is used.
57878         * posix/tst-getopt_long1.c: New file.
57879         * posix/Makefile (tests): Add tst-getopt_long1.
57881         [BZ #10138]
57882         * scripts/config.guess: Update from autoconf-2.68.
57883         * scripts/config.sub: Likewise.
57885         [BZ #10157]
57886         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
57887         tests into ...
57888         (has_cpuclock): ...this.  New function.
57889         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
57890         macro here based on has_cpuclock code.
57892         [BZ #10149]
57893         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57894         First byte (not low byte) is now always NUL.
57895         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
57897         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57898         Use non-cancelable interfaces.
57900         [BZ #9809]
57901         * locale/iso-639.def: Add entry for Sorani.
57903         [BZ #11901]
57904         * include/stdlib.h: Move include protection to the right place.
57905         Define abort_msg_s.  Declare __abort_msg with it.
57906         * stdlib/abort.c (__abort_msg): Adjust type.
57907         * assert/assert.c (__assert_fail_base): New function.  Majority
57908         of code from __assert_fail.  Allocate memory for __abort_msg with
57909         mmap.
57910         (__assert_fail): Now call __assert_fail_base.
57911         * assert/assert-perr.c: Remove bulk of implementation.  Use
57912         __assert_fail_base.
57913         * include/assert.hL Declare __assert_fail_base.
57914         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
57915         mmap.
57916         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
57918 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
57920         [BZ #11952]
57921         [BZ #12453]
57922         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
57923         until all modules are registered in the DTV.
57924         * elf/Makefile: Add rules to build and run tst-tls19.
57925         * elf/tst-tls19.c: New file.
57926         * elf/tst-tls19mod1.c: New file.
57927         * elf/tst-tls19mod2.c: New file.
57928         * elf/tst-tls19mod3.c: New file.
57929         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
57931         [BZ #12083]
57932         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
57933         correctly.
57935         [BZ #12601]
57936         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
57937         two-byte sequence errors.
57938         * iconvdata/Makefile (tests): Add bug-iconv8.
57939         * iconvdata/bug-iconv8.c: New file.
57941         [BZ #12626]
57942         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
57943         buf2 definition.
57945         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
57947         [BZ #12432]
57948         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
57949         (dummy_getcfa): New function.
57950         (init): Get _Unwind_GetCFA address, use dummy if not found.
57951         (backtrace_helper): In recursion check, also check whether CFA changes.
57952         (__backtrace): Completely initialize arg.
57954         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
57955         storing incomplete byte sequence in state object.  Avoid testing for
57956         guaranteed too small input if we know there is enough data available.
57958 2011-05-11  Andreas Schwab  <schwab@redhat.com>
57960         * Makeconfig (+link-pie): Indent.
57961         * Rules (binaries-pie): Define if $(have-fpie) and
57962         $(build-shared).
57963         (binaries-shared): Also filter out $(binaries-pie).
57964         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
57965         * nscd/Makefile (others-pie): Add nscd.
57966         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
57967         ($(objpfx)nscd): Remove command override.
57968         * login/Makefile (others-pie): Add pt_chown.
57969         ($(objpfx)pt_chown): Remove command override.
57970         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
57971         remove command overrides.
57973 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
57975         * libio/tst_putwc.c: Fix error messages.
57977         [BZ #12724]
57978         * libio/fileops.c (_IO_new_file_close_it): Always flush when
57979         currently writing and seek to current position when not.
57980         * libio/Makefile (tests): Add bug-fclose1.
57981         * libio/bug-fclose1.c: New file.
57983 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
57985         [BZ #12511]
57986         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
57987         don't set DF_1_NODELETE here.
57988         (do_lookup_x): When entering new entry test for copy relocation
57989         and if necessary set DF_1_NODELETE flag.
57990         * elf/tst-unique4.cc: New file.
57991         * elf/tst-unique4.h: New file.
57992         * elf/tst-unique4lib.cc: New file.
57993         * elf/Makefile: Add rules to build and run tst-unique4.
57994         Patch by Piotr Bury <pbury@goahead.com>.
57996 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
57998         [BZ #12052]
57999         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
58001         [BZ #12625]
58002         * misc/mntent_r.c (addmntent): Flush the stream after the output
58004         [BZ #12393]
58005         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
58006         (is_trusted_path_normalize): Skip initial colon.  Append slash
58007         to empty buffer.  Duplicate is_trusted_path code but allow
58008         constructed patch to be prefix.
58009         (is_dst): Allow $ORIGIN followed by /.
58010         (_dl_dst_substitute): Correct clearing of check_for_trusted.
58011         Correct testing of result of is_trusted_path_normalize
58012         (decompose_rpath): Fix warning.
58014 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
58016         [BZ #11257]
58017         * grp/initgroups.c (internal_getgrouplist): When we found the service
58018         list through the initgroups entry in nsswitch.conf do not always
58019         continue on a successful lookup.  Don't always use the
58020         __nss_group_database value if it is set.
58021         * nss/nsswitch.conf (initgroups): Change action for successful db
58022         lookup to continue for compatibility.
58024 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
58026         [BZ #11532]
58027         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
58028         and CP774 modules.
58029         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
58030         and CP774 modules.
58031         * iconvdata/tst-tables.sh: Likewise.
58032         * iconvdata/cp770.c: New file.
58033         * iconvdata/cp771.c: New file.
58034         * iconvdata/cp772.c: New file.
58035         * iconvdata/cp773.c: New file.
58036         * iconvdata/cp774.c: New file.
58037         * iconvdata/testdata/CP770: New file.
58038         * iconvdata/testdata/CP770..UTF8: New file.
58039         * iconvdata/testdata/CP771: New file.
58040         * iconvdata/testdata/CP771..UTF8: New file.
58041         * iconvdata/testdata/CP772: New file.
58042         * iconvdata/testdata/CP772..UTF8: New file.
58043         * iconvdata/testdata/CP773: New file.
58044         * iconvdata/testdata/CP773..UTF8: New file.
58045         * iconvdata/testdata/CP774: New file.
58046         * iconvdata/testdata/CP774..UTF8: New file.
58048         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
58049         END CHARMAP line.
58050         * iconvdata/gen-8bit-gap.sh: Likewise.
58051         * iconvdata/gen-8bit.sh: Likewise.
58053         * locale/iso-639.def: Add ary entry.
58055         [BZ #11258]
58056         * locale/C-translit.h.in: Add U20A1 transliteration.
58058         [BZ #12178]
58059         * locale/iso-639.def: Add wae entry.
58060         Patch by Kevin Bortis <bortis@translate-wae.ch>.
58062         [BZ #12545]
58063         * locale/programs/localedef.c (construct_output_path): Use ssize_t
58064         for n.
58066         [BZ #12711]
58067         * locale/C-translit.h.in: Add entry for U20B9.
58068         Patch by pravin.d.s@gmail.com.
58070 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
58072         [BZ #12713]
58073         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
58074         ENAMETOOLONG use generic getcwd.
58075         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
58076         in rtld.  Use *stat64.
58077         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
58078         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
58079         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
58080         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
58081         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
58082         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
58083         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
58084         __fstatat64 macros.
58085         * include/dirent.h: Add libc_hidden_proto for rewinddir.
58086         * dirent/rewinddir.c: Add libc_hidden_def.
58087         * sysdeps/mach/hurd/rewinddir.c: Likewise.
58088         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
58090         * include/dirent.h (__alloc_dir): Add flags parameter.
58091         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
58092         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
58093         __alloc_dir.
58094         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
58095         from fdopendir if O_CLOEXEC is already set.
58097 2011-03-15  Alan Modra  <amodra@gmail.com>
58099         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
58100         l_tls_firstbyte_offset non-zero.  Save padding offset in
58101         l_tls_firstbyte_offset for later use.
58102         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
58103         freeing static tls block.
58105 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
58107         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
58108         where #ifdef was intended.  The intent is to prevent ARG_MAX from
58109         being defined by the kernel headers.
58111 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
58113         [BZ #12734]
58114         * resolv/resolv.h: Define RES_NOTLDQUERY.
58115         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
58116         no-tld-query and set RES_NOTLDQUERY.
58117         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
58118         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
58119         modern BIND to search name as TLD unless forbidden.
58121 2011-05-07  Petr Baudis  <pasky@suse.cz>
58122             Ulrich Drepper  <drepper@gmail.com>
58124         [BZ #12393]
58125         * elf/dl-load.c (fillin_rpath): Move trusted path check...
58126         (is_trusted_path): ...to here.
58127         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
58128         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
58129         using is_trusted_path_normalize() in setuid scripts.
58131 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
58133         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
58134         __BEGIN/__END_DECLS.
58136 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
58138         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
58139         NSS_STATUS_NOTFOUND if no record was found.
58141 2011-05-05  Andreas Schwab  <schwab@redhat.com>
58143         * sunrpc/Makefile (headers): Add rpc/netdb.h.
58144         (headers-not-in-tirpc): Remove rpc/netdb.h
58145         * resolv/netdb.h: Revert last change.
58147 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
58149         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
58150         circular dependency between libgcc.a and libc.a.
58152 2011-05-05  Andreas Schwab  <schwab@redhat.com>
58154         * resolv/netdb.h: Don't include <rpc/netdb.h>.
58155         * nis/Makefile: Don't install rpcsvc/*.
58156         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
58157         instead of <rpc/types.h>.
58158         (MAXHOSTNAMELEN): Define.
58160 2011-05-03  Andreas Schwab  <schwab@redhat.com>
58162         * elf/ldconfig.c (add_dir): Don't crash on empty path.
58164 2011-04-28  Maciej Babinski  <mbabinski@google.com>
58166         [BZ #12714]
58167         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
58168         gethostbyname4_r when IPv6 results are possible.
58170 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
58172         [BZ #12723]
58173         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
58174         _PC_PIPE_BUF handling.
58176 2011-04-30  Bruno Haible  <bruno@clisp.org>
58178         [BZ #12717]
58179         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
58180         * resolv/netdb.h (getnameinfo): Change type of flags parameter
58181         to 'int'.
58182         * inet/getnameinfo.c (getnameinfo): Likewise.
58184 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
58186         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
58187         to groups setting in database lookup.
58188         * nss/nsswitch.conf: Add initgroups entry.
58190 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
58192         [BZ #12685]
58193         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
58194         mode string.
58195         Patch by Eric Blake <eblake@redhat.com>.
58197 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
58199         * sunrpc/Makefile (need-export-routines): Add svc_run.
58200         (routines): Remove svc_run.
58201         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
58202         * sunrpc/clnt_perr.c (clnt_perrno): Export.
58203         * sunrpc/svc_run.c (svc_run): Likewise.
58204         * sunrpc/svc_udp.c (svcudp_create): Likewise.
58206 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
58208         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
58209         problem in reallocation in last patch.
58211 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
58213         * sunrpc/Makefile: Move inclusion of Rules.
58215 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
58217         * nss/nss_files/files-initgroups.c: New file.
58218         * nss/Makefile (libnss_files-routines): Add files-initgroups.
58219         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
58220         _nss_files_initgroups_dyn.
58222 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
58224         * elf/elf.h (R_ARM_IRELATIVE): Define.
58226 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
58228         * po/ru.po: Update from translation team.
58230 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
58232         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
58233         dependencies.
58235 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
58237         [BZ #12653]
58238         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
58239         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
58240         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58241         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58242         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58244 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
58246         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
58247         differing bytes.
58248         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58249         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58250         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58252 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
58254         [BZ #12420]
58255         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
58256         storing it.
58257         * stdlib/bug-getcontext.c: New file.
58258         * stdlib/Makefile: Add rules to build and run bug-getcontext.
58260 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58262         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
58263         instructions into .machine "z9-109".
58264         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
58265         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
58267 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58269         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
58270         between environment variables and auxiliary vector.
58272 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
58274         * Makefile: Add rules to build linkobj/libc.so.
58275         * include/libc-symbols.h: Define libc_hidden_nolink.
58276         * include/rpc/auth.h: Mark functions which are to be hidden.
58277         * include/rpc/auth_des.h: Likewise.
58278         * include/rpc/auth_unix.h: Likewise.
58279         * include/rpc/clnt.h: Likewise.
58280         * include/rpc/des_crypt.h: Likewise.
58281         * include/rpc/key_prot.h: Likewise.
58282         * include/rpc/pmap_clnt.h: Likewise.
58283         * include/rpc/pmap_prot.h: Likewise.
58284         * include/rpc/pmap_rmt.h: Likewise.
58285         * include/rpc/rpc_msg.h: Likewise.
58286         * include/rpc/svc.h: Likewise.
58287         * include/rpc/svc_auth.h: Likewise.
58288         * include/rpc/xdr.h: Likewise.
58289         * nis/Makefile: Link all DSOs against linkobj/libc.so.
58290         * nss/Makefile: Likewise.
58291         * sunrpc/Makefile: Don't install headers.  Build library with normal
58292         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
58293         * sunrpc/auth_des.c: Hide exported symbols by default, export some
58294         for the compat linking library.  Remove use of INTDEF/INTUSE.
58295         * sunrpc/auth_none.c: Likewise.
58296         * sunrpc/auth_unix.c: Likewise.
58297         * sunrpc/authdes_prot.c: Likewise.
58298         * sunrpc/authuxprot.c: Likewise.
58299         * sunrpc/clnt_gen.c: Likewise.
58300         * sunrpc/clnt_perr.c: Likewise.
58301         * sunrpc/clnt_raw.c: Likewise.
58302         * sunrpc/clnt_simp.c: Likewise.
58303         * sunrpc/clnt_tcp.c: Likewise.
58304         * sunrpc/clnt_udp.c: Likewise.
58305         * sunrpc/clnt_unix.c: Likewise.
58306         * sunrpc/des_crypt.c: Likewise.
58307         * sunrpc/des_soft.c: Likewise.
58308         * sunrpc/get_myaddr.c: Likewise.
58309         * sunrpc/key_call.c: Likewise.
58310         * sunrpc/key_prot.c: Likewise.
58311         * sunrpc/netname.c: Likewise.
58312         * sunrpc/pm_getmaps.c: Likewise.
58313         * sunrpc/pm_getport.c: Likewise.
58314         * sunrpc/pmap_clnt.c: Likewise.
58315         * sunrpc/pmap_prot.c: Likewise.
58316         * sunrpc/pmap_prot2.c: Likewise.
58317         * sunrpc/pmap_rmt.c: Likewise.
58318         * sunrpc/publickey.c: Likewise.
58319         * sunrpc/rpc_cmsg.c: Likewise.
58320         * sunrpc/rpc_common.c: Likewise.
58321         * sunrpc/rpc_dtable.c: Likewise.
58322         * sunrpc/rpc_prot.c: Likewise.
58323         * sunrpc/rpc_thread.c: Likewise.
58324         * sunrpc/rtime.c: Likewise.
58325         * sunrpc/svc.c: Likewise.
58326         * sunrpc/svc_auth.c: Likewise.
58327         * sunrpc/svc_authux.c: Likewise.
58328         * sunrpc/svc_raw.c: Likewise.
58329         * sunrpc/svc_run.c: Likewise.
58330         * sunrpc/svc_simple.c: Likewise.
58331         * sunrpc/svc_tcp.c: Likewise.
58332         * sunrpc/svc_udp.c: Likewise.
58333         * sunrpc/svc_unix.c: Likewise.
58334         * sunrpc/svcauth_des.c: Likewise.
58335         * sunrpc/xcrypt.c: Likewise.
58336         * sunrpc/xdr.c: Likewise.
58337         * sunrpc/xdr_array.c: Likewise.
58338         * sunrpc/xdr_float.c: Likewise.
58339         * sunrpc/xdr_intXX_t.c: Likewise.
58340         * sunrpc/xdr_mem.c: Likewise.
58341         * sunrpc/xdr_rec.c: Likewise.
58342         * sunrpc/xdr_ref.c: Likewise.
58343         * sunrpc/xdr_sizeof.c: Likewise.
58344         * sunrpc/xdr_stdio.c: Likewise.
58346 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
58348         [BZ #12650]
58349         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
58350         * sysdeps/ia64/dl-tls.h: Likewise.
58351         * sysdeps/powerpc/dl-tls.h: Likewise.
58352         * sysdeps/s390/dl-tls.h: Likewise.
58353         * sysdeps/sh/dl-tls.h: Likewise.
58354         * sysdeps/sparc/dl-tls.h: Likewise.
58355         * sysdeps/x86_64/dl-tls.h: Likewise.
58356         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
58358 2011-03-14  Andreas Schwab  <schwab@redhat.com>
58360         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
58361         rpath element also skip the following colon.
58362         (expand_dynamic_string_token): Add is_path parameter and pass
58363         down to DL_DST_REQUIRED and _dl_dst_substitute.
58364         (decompose_rpath): Call expand_dynamic_string_token with
58365         non-zero is_path.  Ignore empty rpaths.
58366         (_dl_map_object_from_fd): Call expand_dynamic_string_token
58367         with zero is_path.
58369 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
58371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58372         Make cancelable.
58374 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
58376         [BZ #12655]
58377         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
58378         Patch by Filipe David Manana <fdmanana@apache.org>.
58380 2011-04-07  Andreas Schwab  <schwab@redhat.com>
58382         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
58383         Maintain aligned stack.
58384         (CHECK_RSP): Remove unused macro.
58386 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
58388         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
58389         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
58391 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
58393         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
58395         * include/features.h: Mention __USE_XOPEN2K8 in comment.
58397 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
58399         [BZ #12518]
58400         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
58401         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
58402         * sysdeps/x86_64/memmove.c: New file.
58403         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
58404         (memcpy): Renamed to ...
58405         (__new_memcpy): This.
58406         (memcpy): Provide GLIBC_2_14 memcpy.
58407         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
58408         (memcpy): Provide GLIBC_2_2_5 memcpy.
58410 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
58412         [BZ #12631]
58413         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
58415 2011-03-30  Andreas Schwab  <schwab@redhat.com>
58417         * misc/syncfs.c: New file.
58418         * misc/Makefile (routines): Add syncfs.
58419         * posix/unistd.h: Declare syncfs.
58420         * sysdeps/unix/syscalls.list: Add syncfs.
58422 2011-04-01  Andreas Schwab  <schwab@redhat.com>
58424         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
58425         open_by_handle_at.
58426         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58427         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58428         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58429         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58430         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58431         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
58432         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58434 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
58436         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
58437         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58438         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
58439         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58440         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58441         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58442         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58444         * io/Makefile: Compile fallocate.c, fallocate64.c, and
58445         sync_file_range.c with -fexceptions.
58446         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
58447         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
58448         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
58449         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
58450         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
58451         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58452         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
58453         sync_file_range as cancellation point
58454         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
58455         now a wrapper around __call_sync_file_range with cancellation handling.
58456         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
58457         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
58458         function name to __call_sync_file_range.
58459         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
58460         Add call_sync_file_range.
58462 2011-04-01  Andreas Schwab  <schwab@redhat.com>
58464         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58465         bits/timex.h.
58467 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
58469         * iconv/iconv.h: Fix typo in comment.
58470         * io/fcntl.h: Likewise.
58471         * libio/stdio.h: Likewise.
58472         * posix/spawn.h: Likewise.
58473         * posix/unistd.h: Likewise.
58474         * stdlib/stdlib.h: Likewise.
58475         * time/time.h: Likewise.
58476         * wcsmbs/wchar.h: Likewise.
58478         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
58479         open_by_handle): Add.
58480         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
58481         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
58482         Augment a few comments.
58483         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58484         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58485         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58486         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58487         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58488         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
58489         open_by_handle.
58491         * io/fcntl.h (AT_EMPTY_PATH): Define.
58493 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
58495         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
58496         * sysdeps/unix/sysv/linux/bits/time.h: New file.
58497         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
58498         to...
58499         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
58500         * Versions.def: Add GLIBC_2.14.
58501         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
58502         Export.
58504 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
58506         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
58507         round counter.
58508         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58510 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58512         [BZ #12597]
58513         * string/test-strncmp.c (do_page_test): New function.
58514         (check2): Likewise.
58515         (test_main): Call check2.
58516         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
58518 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
58520         [BZ #12587]
58521         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
58522         Handle cache information in CPU leaf 4.
58523         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58525 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
58527         [BZ #12583]
58528         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
58529         character representation.
58530         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
58532 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
58534         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
58535         END(__isnan) to END(__isnanf) to match function entry point/label
58536         EALIGN(__isnanf,...).
58538 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
58540         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
58542 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
58544         [BZ #12510]
58545         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
58546         copy from the symbol referenced in the relocation to initialize the
58547         used variable.
58548         Patch by Piotr Bury <pbury@goahead.com>.
58549         * elf/Makefile: Add rules to build and tst-unique3.
58550         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
58551         * elf/tst-unique3.cc: New file.
58552         * elf/tst-unique3.h: New file.
58553         * elf/tst-unique3lib.cc: New file.
58554         * elf/tst-unique3lib2.cc: New file.
58556         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
58558 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
58560         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
58561         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
58562         to _start.
58564 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
58566         * elf/dl-load.c (_dl_map_object): If we are looking for the first
58567         to-be-loaded object along a path to loader is ld.so.
58569 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
58570             Ulrich Drepper  <drepper@gmail.com>
58572         * sysdeps/x86_64/memset.S: After aligning destination, code
58573         branches to different locations depending on the value of
58574         misalignment, when multiarch is enabled. Fix this.
58576 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
58578         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
58579         Set _x86_64_preferred_memory_instruction for AMD processsors.
58580         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58581         Set bit_Prefer_SSE_for_memop for AMD processors.
58583 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
58585         * libio/fmemopen.c (fmemopen): Optimize a bit.
58587 2011-03-03  Andreas Schwab  <schwab@redhat.com>
58589         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
58591 2011-03-03  Roland McGrath  <roland@redhat.com>
58593         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
58595 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
58597         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
58598         __bzero_ultra1 instead of __memset_ultra1.
58600 2011-02-23  Andreas Schwab  <schwab@redhat.com>
58601             Ulrich Drepper  <drepper@gmail.com>
58603         [BZ #12509]
58604         * include/link.h (struct link_map): Add l_orig_initfini.
58605         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
58606         returning unsuccessfully.
58607         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
58608         close of a file loaded at startup, restore the original l_initfini
58609         list.
58610         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
58611         list, store the pointer.
58612         * elf/Makefile ($(objpfx)noload-mem): New rule.
58613         (noload-ENV): Define.
58614         (tests): Add $(objpfx)noload-mem.
58615         * elf/noload.c: Include <memcheck.h>.
58616         (main): Call mtrace.  Close all opened handles.
58618 2011-02-17  Andreas Schwab  <schwab@redhat.com>
58620         [BZ #12454]
58621         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
58622         dependencies are missing.
58624 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58626         Fix __if_freereq crash: Unlike the generic version which uses free,
58627         Hurd needs munmap.
58628         * sysdeps/mach/hurd/ifreq.h: New file.
58630 2011-01-27  Petr Baudis  <pasky@suse.cz>
58631             Ulrich Drepper  <drepper@gmail.com>
58633         [BZ 12445]#
58634         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
58635         to extend_alloca().
58636         * stdio-common/bug23.c: New file.
58637         * stdio-common/Makefile (tests): Add bug23.
58639 2010-09-28  Andreas Schwab  <schwab@redhat.com>
58640             Ulrich Drepper  <drepper@gmail.com>
58642         [BZ #12489]
58643         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
58644         before performing relro protection.  At old place add assertion
58645         to make sure nothing changed.
58647 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
58648             Glauber de Oliveira Costa  <glommer@gmail.com>
58650         * elf/elf.h: Add new ARM TLS relocs.
58652 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
58654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
58655         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
58656         cast from r3.
58657         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
58658         'tests' variable.
58659         * sysdeps/wordsize-64/tst-writev.c: New file.
58661 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
58663         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
58664         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
58665         insns in _dl_start to prevent a TOC reference before relocs are
58666         resolved.
58668 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
58670         [BZ #12469]
58671         * Makeconfig: Remove RANLIB definition.
58672         * Makerules: Don't use RANLIB.
58673         * aclocal.m4: Remove ranlib test.
58674         * configure.in: No need to check for ranlib.
58675         * elf/rtld-Rules: Don't use RANLIB.
58677 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58679         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
58680         protection macro.
58681         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
58682         inclusion protection macro.
58684         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
58685         SIGRTMIN and SIGRTMAX and print information in that case only when
58686         SIGRTMIN is defined.
58688 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
58690         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
58691         arginfo fn returning -1.
58693         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
58694         and thousands string is zero terminated.
58696 2011-02-03  Andreas Schwab  <schwab@redhat.com>
58698         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
58699         sysdeps/unix/sysv/linux/bits/socket.h.
58701 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58703         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
58704         (__CPU_COUNT): Remove old macros.
58705         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
58706         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
58707         (__CPU_ALLOC, __CPU_FREE): Add macros.
58708         (__sched_cpualloc, __sched_cpufree): Add declarations.
58710 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
58712         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
58713         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
58714         * nscd/aicache.c (addhstaiX): Return timeout of added value.
58715         (readdhstai): Return value of addhstaiX call.
58716         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
58717         (addgrbyX): Return value returned by cache_addgr.
58718         (readdgrbyname): Return value returned by addgrbyX.
58719         (readdgrbygid): Likewise.
58720         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
58721         (addpwbyX): Return value returned by cache_addpw.
58722         (readdpwbyname): Return value returned by addhstbyX.
58723         (readdpwbyuid): Likewise.
58724         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
58725         (addservbyX): Return value returned by cache_addserv.
58726         (readdservbyname): Return value returned by addservbyX:
58727         (readdservbyport): Likewise.
58728         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
58729         (addhstbyX): Return value returned by cache_addhst.
58730         (readdhstbyname): Return value returned by addhstbyX.
58731         (readdhstbyaddr): Likewise.
58732         (readdhstbynamev6): Likewise.
58733         (readdhstbyaddrv6): Likewise.
58734         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
58735         (readdinitgroups): Return value returned by addinitgroupsX.
58736         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
58737         (prune_cache): Keep track of timeout value of re-added entries.
58738         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
58739         * nscd/nscd.h: Adjust prototypes of readd* functions.
58741 2011-02-04  Roland McGrath  <roland@redhat.com>
58743         * nis/nis_server.c (nis_servstate): Use the right name for 0.
58744         (nis_stats): Likewise.
58745         * nis/nis_modify.c (nis_modify): Likewise.
58746         * nis/nis_remove.c (nis_remove): Likewise.
58747         * nis/nis_add.c (nis_add): Likewise.
58749         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
58751         * posix/fnmatch_loop.c: Add some consts.
58753         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
58755 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
58757         [BZ #12460]
58758         * config.make.in (config-cflags-novzeroupper): Define.
58759         * configure.in: Substitute libc_cv_cc_novzeroupper.
58760         * elf/Makefile (AVX-CFLAGS): Define.
58761         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
58762         (CFLAGS-tst-auditmod4a.c): Likewise.
58763         (CFLAGS-tst-auditmod4b.c): Likewise.
58764         (CFLAGS-tst-auditmod6b.c): Likewise.
58765         (CFLAGS-tst-auditmod6c.c): Likewise.
58766         (CFLAGS-tst-auditmod7b.c): Likewise.
58767         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
58769 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
58771         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
58772         function to the callback.
58773         Patch partly by Jiri Olsa <jolsa@redhat.com>.
58775 2011-02-02  Andreas Schwab  <schwab@redhat.com>
58777         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
58778         of errno.
58780 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
58782         [BZ #11724]
58783         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
58784         of constructors.
58785         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
58786         of destructors.
58787         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
58789         [BZ #11724]
58790         * elf/Makefile: Add rules to build and run new test.
58791         * elf/tst-initorder.c: New file.
58792         * elf/tst-initorder.exp: New file.
58793         * elf/tst-initordera1.c: New file.
58794         * elf/tst-initordera2.c: New file.
58795         * elf/tst-initordera3.c: New file.
58796         * elf/tst-initordera4.c: New file.
58797         * elf/tst-initorderb1.c: New file.
58798         * elf/tst-initorderb2.c: New file.
58799         * elf/tst-order-a1.c: New file.
58800         * elf/tst-order-a2.c: New file.
58801         * elf/tst-order-a3.c: New file.
58802         * elf/tst-order-a4.c: New file.
58803         * elf/tst-order-b1.c: New file.
58804         * elf/tst-order-b2.c: New file.
58805         * elf/tst-order-main.c: New file.
58806         New test case by George Gensure <werkt0@gmail.com>.
58808 2010-10-01  Andreas Schwab  <schwab@redhat.com>
58810         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58811         decoding ACE if AI_CANONIDN.
58813 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
58815         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
58817 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
58819         * version.h (RELEASE): Bump for 2.13 release.
58820         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
58822         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
58824         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
58825         MADV_NOHUGEPAGE.
58826         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
58827         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58828         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58829         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
58830         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58831         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58833         * posix/getconf.c: Update copyright year.
58834         * catgets/gencat.c: Likewise.
58835         * csu/version.c: Likewise.
58836         * debug/catchsegv.sh: Likewise.
58837         * debug/xtrace.sh: Likewise.
58838         * elf/ldconfig.c: Likewise.
58839         * elf/ldd.bash.in: Likewise.
58840         * elf/sprof.c (print_version): Likewise.
58841         * iconv/iconv_prog.c: Likewise.
58842         * iconv/iconvconfig.c: Likewise.
58843         * locale/programs/locale.c: Likewise.
58844         * locale/programs/localedef.c: Likewise.
58845         * malloc/memusage.sh: Likewise.
58846         * malloc/mtrace.pl: Likewise.
58847         * nscd/nscd.c (print_version): Likewise.
58848         * nss/getent.c: Likewise.
58850         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
58851         PF_CAIF, and PF_ALG.
58852         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58854 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
58856         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
58857         (modules-names): Use them.
58858         (ifunc-test-modules, ifunc-pie-tests): Define.
58859         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
58860         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
58861         (test-extras): Likewise.
58862         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
58863         $(compile-command.c).
58864         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
58865         (all-built-dso): Define.
58866         (check-textrel.out, check-execstack.out): Depend on it.
58868         * configure.in: Don't override --enable-multi-arch.
58870 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
58872         [BZ #6812]
58873         * nscd/hstcache.c (tryagain): Define.
58874         (cache_addhst): Return tryagain not notfound for temporary errors.
58875         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
58876         failed.
58878 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
58880         [BZ #10563]
58881         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
58882         to make the syscall.
58883         * sysdeps/unix/sysv/linux/setgroups.c: New file.
58885         [BZ #12378]
58886         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
58887         and fall back to matching as normal character if the string ends before
58888         the matching ']' is found.  This is what POSIX requires.
58889         * posix/testfnm.c: Adjust test result.
58890         * posix/globtest.sh: Adjust test result.  Add new test.
58891         * posix/tst-fnmatch.input: Likewise.
58892         * posix/tst-fnmatch2.c: Add new test.
58894 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
58896         * elf/Makefile (check-execstack): Revert last change.  Depend on
58897         check-execstack.h.
58898         (check-execstack.h): New target.
58899         (generated): Add check-execstack.h.
58900         * elf/check-execstack.c: Include "check-execstack.h".
58901         (main): Revert last change.
58902         (handle_file): Return zero if GNU_STACK is absent and
58903         DEFAULT_STACK_PERMS doesn't include PF_X.
58905 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
58907         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
58908         in child fails because the descriptor is already closed.
58909         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
58910         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
58911         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
58913         [BZ #12397]
58914         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
58915         syscall.
58917         [BZ #10484]
58918         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
58919         temporary buffer used to handle multi lookups locally.
58920         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
58922 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
58924         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
58925         loader is ld.so.
58927 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
58929         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
58930         alignment for SSE2.
58932 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
58934         [BZ #12394]
58935         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
58936         characters.  When rounding increased number of integer digits recompute
58937         number of groups.
58938         * stdio-common/tst-grouping.c: New file.
58939         * stdio-common/Makefile: Add rules to build and run tst-grouping.
58941 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
58943         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
58944         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
58946         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
58947         void.
58948         * bits/select.h: Likewise.
58950 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
58952         * po/ja.po: Update from translation team.
58954 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
58956         [BZ #11155]
58957         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
58958         implementation just like for lxstat, fxstatat, et al.
58960 2010-12-27  Jim Meyering  <meyering@redhat.com>
58962         [BZ #12348]
58963         * posix/regexec.c (build_trtable): Return failure indication upon
58964         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
58966 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
58968         [BZ #12201]
58969         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
58970         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
58971         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
58972         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
58974         [BZ #12207]
58975         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
58977         [BZ #12204]
58978         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
58979         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
58981 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
58983         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
58984         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
58985         script has SORT_BY_INIT_PRIORITY.
58986         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
58987         NO_CTORS_DTORS_SECTIONS is defined.
58988         * elf/soinit.c: Likewise.
58989         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
58990         NO_CTORS_DTORS_SECTIONS is defined.
58991         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
58992         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
58993         * sysdeps/sh/init-first.c: Likewise.
58994         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
58996 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
58998         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
58999         always use the slow path.
59001 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
59003         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
59004         similar rule which adds the sysdep directories to the header search in
59005         order to pick up the correct platform stackinfo.h.
59006         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
59007         perform test if it is, otherwise return successfully without testing.
59008         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
59009         DEFAULT_STACK_PERMS define in stackinfo.h.
59010         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
59011         defined in stackinfo.h.
59012         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
59013         DEFAULT_STACK_PERMS defined in stackinfo.h.
59014         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
59015         * sysdeps/ia64/stackinfo.h: Likewise.
59016         * sysdeps/s390/stackinfo.h: Likewise.
59017         * sysdeps/sh/stackinfo.h: Likewise.
59018         * sysdeps/sparc/stackinfo.h: Likewise.
59019         * sysdeps/x86_64/stackinfo.h: Likewise.
59020         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
59021         PF_X for powerpc64.  Retain PF_X for powerpc32.
59023 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
59025         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
59026         accurately.
59027         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
59028         GETDENTS_64BIT_ALIGNED.
59030 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
59032         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
59034 2010-12-10  Andreas Schwab  <schwab@redhat.com>
59036         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
59037         _GNU_SOURCE.
59039         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
59040         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
59041         Remove __restrict.
59042         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
59043         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
59045 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
59047         [BZ #11655]
59048         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
59049         are initialized.
59051 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
59053         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
59055 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
59057         * po/it.po: Update from translation team.
59059 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
59061         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
59062         unused codes.
59064 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
59066         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
59068 2010-11-24  Andreas Schwab  <schwab@redhat.com>
59070         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
59071         specially.
59072         (gaih_getanswer_slice): Likewise.
59074 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
59076         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
59078 2010-05-31  Petr Baudis  <pasky@suse.cz>
59080         [BZ #11149]
59081         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
59082         silently even in the chroot mode.
59084 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
59086         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
59087         last patch a bit.  Pretty printing
59089 2010-05-31  Petr Baudis <pasky@suse.cz>
59091         [BZ #10085]
59092         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
59093         initialization of skip_initgroups_dyn.
59095 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
59097         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
59098         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59100 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
59102         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
59104 2010-11-11  Andreas Schwab  <schwab@redhat.com>
59106         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
59107         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
59108         (tst-fnmatch-ENV): Set MALLOC_TRACE.
59109         ($(objpfx)tst-fnmatch-mem): New rule.
59110         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
59111         * posix/tst-fnmatch.c (main): Call mtrace.
59113 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
59115         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59116         Support Intel processor model 6 and model 0x2c.
59118 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
59120         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
59121           signed comparison.
59123 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
59125         [BZ #12205]
59126         * string/test-strncasecmp.c (check_result): New function.
59127         (do_one_test): Use it.
59128         (check1): New function.
59129         (test_main): Use it.
59130         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
59131         Support strcasecmp and strncasecmp.
59133 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
59135         [BZ #12194]
59136         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
59137         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59139 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
59141         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
59142         IFUNC support.
59143         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59144         memset-x86-64.
59145         * sysdeps/x86_64/multiarch/bzero.S: New file.
59146         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
59147         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
59148         * sysdeps/x86_64/multiarch/memset.S: New file.
59149         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
59150         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59151         Set bit_Prefer_SSE_for_memop for Intel processors.
59152         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
59153         Define.
59154         (index_Prefer_SSE_for_memop): Define.
59155         (HAS_PREFER_SSE_FOR_MEMOP): Define.
59157 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
59159         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
59160         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
59162 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
59164         [BZ #12191]
59165         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59166         (__x86_64_raw_data_cache_size_half): Likewise.
59167         (__x86_64_raw_shared_cache_size): Likewise.
59168         (__x86_64_raw_shared_cache_size_half): Likewise.
59170         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59171         (__x86_64_raw_data_cache_size_half): Likewise.
59172         (__x86_64_raw_shared_cache_size): Likewise.
59173         (__x86_64_raw_shared_cache_size_half): Likewise.
59174         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
59175         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
59176         and __x86_64_raw_shared_cache_size_half.  Round
59177         __x86_64_data_cache_size_half, __x86_64_data_cache_size
59178         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
59179         to multiple of 256 bytes.
59181 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
59183         [BZ #12167]
59184         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
59185         of inacessible symlinks.  Verify result of symlink before returning it.
59186         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
59187         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
59189 2010-10-28  Erich Ritz  <erichritz@gmail.com>
59191         * math/math.h (isinf): Fix typo in comment.
59193 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
59195         * po/da.po: Update from translation team.
59197 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
59199         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
59200         is added to the list.
59202 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59203             Ulrich Drepper  <drepper@gmail.com>
59205         * elf/dl-object.c (_dl_new_object): Don't append the new object to
59206         the global list here.  Move code to...
59207         (_dl_add_to_namespace_list): ...here.  New function.
59208         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
59209         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
59210         * elf/dl-load.c (lose): Don't remove the element from the list.
59211         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
59212         (_dl_map_object): Likewise.
59214 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
59216         [BZ #12159]
59217         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
59218         into all bytes of SSE register.
59219         Patch by Richard Li <richardpku@gmail.com>.
59221 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
59223         [BZ #12140]
59224         * malloc/malloc.c (_int_free): Fill correct number of bytes when
59225         perturbing.
59227 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
59229         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
59230         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
59231         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
59232         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
59234         submachine.
59235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
59237 2010-10-22  Andreas Schwab  <schwab@redhat.com>
59239         * include/dlfcn.h (__RTLD_SECURE): Define.
59240         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
59241         mode & __RTLD_SECURE instead.
59242         (open_path): Rename preloaded parameter to secure.
59243         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
59244         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
59245         * elf/dl-deps.c (openaux): Likewise.
59246         * elf/rtld.c (struct map_args): Remove is_preloaded.
59247         (map_doit): Don't use it.
59248         (dl_main): Likewise.
59249         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
59250         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
59252 2010-09-09  Andreas Schwab  <schwab@redhat.com>
59254         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
59255         (sysd-rules-targets): Remove duplicates.
59256         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
59257         rtld-%.$o dependency.
59259 2010-10-18  Andreas Schwab  <schwab@redhat.com>
59261         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
59262         _dl_map_object do it.
59264 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
59266         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
59267         fast fma builtins, define the macros in the C99 standard.
59268         (FP_FAST_FMAF): Likewise.
59269         (FP_FAST_FMAL): Likewise.
59270         * sysdeps/x86_64/bits/mathdef.h: Likewise.
59272         * bits/mathdef.h: Update copyright year.
59273         * sysdeps/powerpc/bits/mathdef.h: Likewise.
59275 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
59277         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
59278         builtins, define the macros in the C99 standard.
59279         (FP_FAST_FMAF): Likewise.
59280         (FP_FAST_FMAL): Likewise.
59281         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
59282         multiply/add.
59283         (FP_FAST_FMAF): Likewise.
59285 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
59287         [BZ #3268]
59288         * math/libm-test.inc (fma_test): Some new testcases.
59289         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
59290         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
59291         y and infinite z.  Do multiplication by C already in long double.
59292         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
59293         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
59294         y and infinite z.  Do bitwise or of inexact bit into u.d.
59295         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
59296         * sysdeps/i386/fpu/s_fmaf.S: Removed.
59297         * sysdeps/i386/fpu/s_fma.S: Removed.
59298         * sysdeps/i386/fpu/s_fmal.S: Removed.
59300 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
59302         [BZ #3268]
59303         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
59304         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
59305         computation is not scheduled after fetestexcept.  Fix value
59306         of minimum denormal long double.
59308 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
59310         [BZ #3268]
59311         * math/libm-test.inc (fma_test): Add some more tests.
59312         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
59313         correctly.
59315 2010-10-15  Andreas Schwab  <schwab@redhat.com>
59317         * scripts/data/localplt-s390-linux-gnu.data: New file.
59318         * scripts/data/localplt-s390x-linux-gnu.data: New file.
59320 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
59322         [BZ #3268]
59323         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
59324         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
59325         instead of dbl-64.
59326         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
59327         inlines.
59328         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
59329         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
59330         if one of x and y is very large and the other is subnormal.
59331         * sysdeps/s390/fpu/s_fmaf.c: New file.
59332         * sysdeps/s390/fpu/s_fma.c: New file.
59333         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
59334         * sysdeps/powerpc/fpu/s_fma.S: New file.
59335         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
59336         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
59337         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
59339 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
59341         [BZ #3268]
59342         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
59343         fma tests.
59344         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
59345         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
59346         * sysdeps/i386/i686/multiarch/s_fma.c: Include
59347         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
59348         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
59349         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
59350         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
59352 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
59354         [BZ #12078]
59355         * posix/regcomp.c (parse_branch): One more memory leak plugged.
59356         * posix/bug-regex31.input: Add test case.
59358 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
59360         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
59361         * posix/bug-regex31.input: New file.
59363         [BZ #12078]
59364         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
59365         (parse_sub_exp): Fix last change, use postorder.
59367         * posix/bug-regex31.c: New file.
59368         * posix/Makefile: Add rules to build and run bug-regex31.
59370         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
59372         [BZ #12078]
59373         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
59375         [BZ #12108]
59376         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
59377         to have entries in sys_siglist.
59379         [BZ #12093]
59380         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
59381         be NULL.
59383 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
59385         [BZ #3268]
59386         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
59387         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
59388         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
59389         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
59390         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59391         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
59392         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
59393         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
59394         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
59395         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
59396         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
59397         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
59398         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
59399         * math/ftestexcept.c (fetestexcept): Likewise.
59400         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
59401         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
59402         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
59403         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
59404         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
59405         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
59406         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59408 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
59410         [BZ #12107]
59411         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
59412         newline.
59414 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
59416         * string/bug-strstr1.c: New file.
59417         * string/Makefile: Add rules to build and run bug-strstr1.
59419 2010-10-05  Eric Blake  <eblake@redhat.com>
59421         [BZ #12092]
59422         * string/str-two-way.h (two_way_long_needle): Always clear memory
59423         when skipping input due to the shift table.
59425 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
59427         [BZ #12005]
59428         * malloc/mcheck.c: Handle large requests.
59430         [BZ #12077]
59431         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
59432         for strncmp and strncasecmp.
59433         * string/stratcliff.c: Add tests for strcmp and strncmp.
59434         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
59436 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59438         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
59439         __set_fpscr.
59441 2010-09-30  Andreas Jaeger  <aj@suse.de>
59443         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
59444         (CGROUP_SUPER_MAGIC): Define.
59445         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59446         Handle btrfs and cgroup file systems.
59447         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59448         Likewise.
59450 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
59452         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
59453         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
59455 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59457         [BZ #12067]
59458         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
59459         trying to locate the ELF header.
59461 2010-09-27  Andreas Schwab  <schwab@redhat.com>
59463         [BZ #11611]
59464         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
59465         Mask out sign-bit copies when constructing f_fsid.
59467 2010-09-24  Petr Baudis <pasky@suse.cz>
59469         * debug/stack_chk_fail_local.c: Add missing licence exception.
59470         * debug/warning-nop.c: Likewise.
59472 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
59474         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
59475         implementing getdents64 using getdents syscall, set d_type if
59476         __ASSUME_GETDENTS32_D_TYPE.
59478 2010-09-16  Andreas Schwab  <schwab@redhat.com>
59480         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
59481         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
59483 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
59485         [BZ #12037]
59486         * posix/unistd.h: Undo change of feature selection for ftruncate from
59487         2010-01-11.
59489 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
59491         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
59492         detection.
59494 2010-09-20  Andreas Schwab  <schwab@redhat.com>
59496         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
59497         fanotify_mark.
59498         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59500 2010-09-14  Andreas Schwab  <schwab@redhat.com>
59502         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
59503         variables after CHECK_SP call.
59504         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
59506 2010-09-13  Andreas Schwab  <schwab@redhat.com>
59507             Ulrich Drepper  <drepper@redhat.com>
59509         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
59510         re-relocationg ld.so.
59511         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
59512         _dl_init_paths call.
59513         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
59514         here anymore.
59516 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
59518         * resolv/res_init.c (__res_vinit): Count the default server we added.
59520 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
59521             Ulrich Drepper  <drepper@redhat.com>
59523         [BZ #11968]
59524         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59525         (____longjmp_chk): Use %ebx for saving value across system call.
59526         Add unwind info.
59528 2010-09-06  Andreas Schwab  <schwab@redhat.com>
59530         * manual/Makefile: Don't mix pattern rules with normal rules.
59532 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
59534         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
59535         operation.
59536         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
59537         * libio/iofopncook.c (_IO_cookie_init): Likewise.
59538         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
59539         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
59540         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59541         Likewise.
59543 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
59545         [BZ #11979]
59546         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
59547         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
59549 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
59551         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
59552         * sysdeps/x86_64/addmul_1.S: Likewise.
59553         * sysdeps/x86_64/lshift.S: Likewise.
59554         * sysdeps/x86_64/mul_1.S: Likewise.
59555         * sysdeps/x86_64/rshift.S: Likewise.
59556         * sysdeps/x86_64/sub_n.S: Likewise.
59557         * sysdeps/x86_64/submul_1.S: Likewise.
59559 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59561         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
59562         Define __sched_param instead of SCHED_* and sched_param when
59563         <bits/sched.h> is included with __need_schedparam defined.
59564         * bits/sched.h [__need_schedparam]
59565         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
59566         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
59567         (__defined_schedparam): Define to 1.
59568         (__sched_param): New structure, identical to sched_param.
59569         (__need_schedparam): Undefine.
59571 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
59573         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
59574         (epoll_create1): Declare.
59576         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
59578 2010-08-31  Andreas Schwab  <schwab@redhat.com>
59580         [BZ #7066]
59581         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
59582         shifting retval into place.
59584 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
59586         * nis/rpcsvc/nis.h: Update copyright notice.
59587         * nis/rpcsvc/nis.x: Likewise.
59588         * nis/rpcsvc/nis_callback.h: Likewise.
59589         * nis/rpcsvc/nis_callback.x: Likewise.
59590         * nis/rpcsvc/nis_object.x: Likewise.
59591         * nis/rpcsvc/nis_tags.h: Likewise.
59592         * nis/rpcsvc/yp.h: Likewise.
59593         * nis/rpcsvc/yp.x: Likewise.
59594         * nis/rpcsvc/ypupd.h: Likewise.
59595         * nis/yp_xdr.c: Likewise.
59596         * nis/ypupdate_xdr.c: Likewise.
59598         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
59599         mainly the body of pmap_getport.  Add parameters to specify timeouts.
59600         (pmap_getport): Use __libc_rpc_getport.
59601         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
59602         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
59603         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
59605 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
59607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
59608         fanotify_mark.
59610 2010-08-27  Roland McGrath  <roland@redhat.com>
59612         * sysdeps/i386/i686/multiarch/Makefile
59613         (CFLAGS-varshift.c): New variable.
59615 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
59617         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
59618         * sysdeps/i386/i686/multiarch/varshift.c: New file.
59620         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
59622         * sysdeps/x86_64/strlen.S: Minimal code improvement.
59624 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
59626         * sysdeps/x86_64/strlen.S: Unroll the loop.
59627         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59628         strlen-sse2 strlen-sse2-bsf.
59629         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
59630         __strlen_no_bsf if bit_Slow_BSF is set.
59631         (__strlen_sse42): Removed.
59632         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
59633         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
59635 2010-08-25  Roland McGrath  <roland@redhat.com>
59637         * sysdeps/x86_64/multiarch/varshift.S: File removed.
59638         * sysdeps/x86_64/multiarch/varshift.c: New file.
59639         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
59640         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
59641         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
59642         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59644 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
59646         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59647         strlen-sse2 strlen-sse2-bsf.
59648         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
59649         __strlen_sse2_bsf if bit_Slow_BSF is unset.
59650         (__strlen_sse2): Removed.
59651         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
59652         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
59653         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
59654         bit_Slow_BSF for Atom.
59655         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
59656         (index_Slow_BSF): Define.
59657         (HAS_SLOW_BSF): Define.
59659 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
59661         [BZ #10851]
59662         * resolv/res_init.c (__res_vinit): When no server address at all
59663         is given default to loopback.
59665 2010-08-24  Roland McGrath  <roland@redhat.com>
59667         * configure.in: Remove config-name.h generation.
59668         * configure: Regenerated.
59669         * config-name.in: File removed.
59670         * scripts/config-uname.sh: New file.
59671         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
59672         ($(objdir)config-name.h): New target.
59674         * sunrpc/rpc_parse.h: Avoid nested comment.
59676 2010-08-24  Richard Henderson  <rth@redhat.com>
59677             Ulrich Drepper  <drepper@redhat.com>
59678             H.J. Lu  <hongjiu.lu@intel.com>
59680         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
59681         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
59682         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
59683         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
59684         _mm_alignr_epi8 with _mm_loadu_si128.
59685         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
59686         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
59687         (__m128i_shift_right): Removed.
59688         * sysdeps/i386/i686/multiarch/varshift.h: New file.
59689         * sysdeps/i386/i686/multiarch/varshift.S: New file.
59690         * sysdeps/x86_64/multiarch/varshift.h: New file.
59691         * sysdeps/x86_64/multiarch/varshift.S: New file.
59693 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
59695         * configure.in: Move assembler checks to before sysdep dir checking.
59697 2010-08-20  Petr Baudis  <pasky@suse.cz>
59699         * LICENSES: Sync the sunrpc license.
59701 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
59703         * sunrpc/auth_des.c: Update copyright notice once again.
59704         * sunrpc/auth_none.c: Likewise.
59705         * sunrpc/auth_unix.c: Likewise.
59706         * sunrpc/authdes_prot.c: Likewise.
59707         * sunrpc/authuxprot.c: Likewise.
59708         * sunrpc/bindrsvprt.c: Likewise.
59709         * sunrpc/clnt_gen.c: Likewise.
59710         * sunrpc/clnt_perr.c: Likewise.
59711         * sunrpc/clnt_raw.c: Likewise.
59712         * sunrpc/clnt_simp.c: Likewise.
59713         * sunrpc/clnt_tcp.c: Likewise.
59714         * sunrpc/clnt_udp.c: Likewise.
59715         * sunrpc/clnt_unix.c: Likewise.
59716         * sunrpc/des_crypt.c: Likewise.
59717         * sunrpc/des_soft.c: Likewise.
59718         * sunrpc/get_myaddr.c: Likewise.
59719         * sunrpc/getrpcport.c: Likewise.
59720         * sunrpc/key_call.c: Likewise.
59721         * sunrpc/key_prot.c: Likewise.
59722         * sunrpc/openchild.c: Likewise.
59723         * sunrpc/pm_getmaps.c: Likewise.
59724         * sunrpc/pm_getport.c: Likewise.
59725         * sunrpc/pmap_clnt.c: Likewise.
59726         * sunrpc/pmap_prot.c: Likewise.
59727         * sunrpc/pmap_prot2.c: Likewise.
59728         * sunrpc/pmap_rmt.c: Likewise.
59729         * sunrpc/rpc/auth.h: Likewise.
59730         * sunrpc/rpc/auth_unix.h: Likewise.
59731         * sunrpc/rpc/clnt.h: Likewise.
59732         * sunrpc/rpc/des_crypt.h: Likewise.
59733         * sunrpc/rpc/key_prot.h: Likewise.
59734         * sunrpc/rpc/netdb.h: Likewise.
59735         * sunrpc/rpc/pmap_clnt.h: Likewise.
59736         * sunrpc/rpc/pmap_prot.h: Likewise.
59737         * sunrpc/rpc/pmap_rmt.h: Likewise.
59738         * sunrpc/rpc/rpc.h: Likewise.
59739         * sunrpc/rpc/rpc_des.h: Likewise.
59740         * sunrpc/rpc/rpc_msg.h: Likewise.
59741         * sunrpc/rpc/svc.h: Likewise.
59742         * sunrpc/rpc/svc_auth.h: Likewise.
59743         * sunrpc/rpc/types.h: Likewise.
59744         * sunrpc/rpc/xdr.h: Likewise.
59745         * sunrpc/rpc_clntout.c: Likewise.
59746         * sunrpc/rpc_cmsg.c: Likewise.
59747         * sunrpc/rpc_common.c: Likewise.
59748         * sunrpc/rpc_cout.c: Likewise.
59749         * sunrpc/rpc_dtable.c: Likewise.
59750         * sunrpc/rpc_hout.c: Likewise.
59751         * sunrpc/rpc_main.c: Likewise.
59752         * sunrpc/rpc_parse.c: Likewise.
59753         * sunrpc/rpc_parse.h: Likewise.
59754         * sunrpc/rpc_prot.c: Likewise.
59755         * sunrpc/rpc_sample.c: Likewise.
59756         * sunrpc/rpc_scan.c: Likewise.
59757         * sunrpc/rpc_scan.h: Likewise.
59758         * sunrpc/rpc_svcout.c: Likewise.
59759         * sunrpc/rpc_tblout.c: Likewise.
59760         * sunrpc/rpc_util.c: Likewise.
59761         * sunrpc/rpc_util.h: Likewise.
59762         * sunrpc/rpcinfo.c: Likewise.
59763         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
59764         * sunrpc/rpcsvc/key_prot.x: Likewise.
59765         * sunrpc/rpcsvc/klm_prot.x: Likewise.
59766         * sunrpc/rpcsvc/mount.x: Likewise.
59767         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
59768         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
59769         * sunrpc/rpcsvc/rex.x: Likewise.
59770         * sunrpc/rpcsvc/rstat.x: Likewise.
59771         * sunrpc/rpcsvc/rusers.x: Likewise.
59772         * sunrpc/rpcsvc/sm_inter.x: Likewise.
59773         * sunrpc/rpcsvc/spray.x: Likewise.
59774         * sunrpc/rpcsvc/yppasswd.x: Likewise.
59775         * sunrpc/rtime.c: Likewise.
59776         * sunrpc/svc.c: Likewise.
59777         * sunrpc/svc_auth.c: Likewise.
59778         * sunrpc/svc_authux.c: Likewise.
59779         * sunrpc/svc_raw.c: Likewise.
59780         * sunrpc/svc_run.c: Likewise.
59781         * sunrpc/svc_simple.c: Likewise.
59782         * sunrpc/svc_tcp.c: Likewise.
59783         * sunrpc/svc_udp.c: Likewise.
59784         * sunrpc/svc_unix.c: Likewise.
59785         * sunrpc/svcauth_des.c: Likewise.
59786         * sunrpc/xcrypt.c: Likewise.
59787         * sunrpc/xdr.c: Likewise.
59788         * sunrpc/xdr_array.c: Likewise.
59789         * sunrpc/xdr_float.c: Likewise.
59790         * sunrpc/xdr_mem.c: Likewise.
59791         * sunrpc/xdr_rec.c: Likewise.
59792         * sunrpc/xdr_ref.c: Likewise.
59793         * sunrpc/xdr_sizeof.c: Likewise.
59794         * sunrpc/xdr_stdio.c: Likewise.
59796         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
59797         handling.
59799 2010-08-19  Andreas Schwab  <schwab@redhat.com>
59801         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
59803 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
59805         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
59806         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
59807         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
59808         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
59809         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
59810         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
59811         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
59812         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
59813         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
59814         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
59815         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
59816         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
59817         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
59818         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
59820 2010-07-26  Anton Blanchard  <anton@samba.org>
59822         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
59823         * malloc/arena.c (heap_trim): Likewise.
59825 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
59827         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
59828         here.  Not...
59829         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
59830         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
59832 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
59834         * sysdeps/i386/elf/Makefile: New file.
59836 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
59838         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
59839         from fanotify_init.
59840         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
59841         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59843 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
59845         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
59846         of strncasecmp_l.
59847         * sysdeps/multiarch/strcmp.S: Likewise.
59849 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
59851         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59852         strncase_l-nonascii.
59853         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59854         Add strncase_l-ssse3.
59855         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
59856         * sysdeps/x86_64/strcmp.S: Likewise.
59857         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
59858         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
59859         * sysdeps/x86_64/strncase.S: New file.
59860         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
59861         * sysdeps/x86_64/strncase_l.S: New file.
59862         * string/Makefile (strop-tests): Add strncasecmp.
59863         * string/test-strncasecmp.c: New file.
59865         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
59866         warning.
59868         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
59869         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
59871 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
59873         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
59875 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
59877         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
59878         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
59879         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
59881 2010-05-01  Alan Modra  <amodra@gmail.com>
59883         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
59884         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
59885         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
59886         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
59887         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
59888         tidying.  Don't tail-call __sigjmp_save for static lib.
59889         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
59890         save location.
59891         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
59892         (CALL_MCOUNT): Add eh info, and nop after bl.
59893         (TAIL_CALL_SYSCALL_ERROR): New macro.
59894         (PSEUDO_RET): Use it.
59895         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
59896         Correct save location of integer regs and cr.
59897         (_dl_profile_resolve): Correct cr save location.  Delete nops
59898         after bl when SHARED.  Reduce cfi size a little by better
59899         placement of cfi directives.
59900         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
59901         make a stack frame.  Instead use parm save area as a temp.
59902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
59903         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
59904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
59905         Don't make a stack frame for parent, use parm save area.
59906         Increase child stack frame to 112 bytes.  Don't save unused reg,
59907         and adjust reg usage.  Set up cfi on error recovery and
59908         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
59909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59910         (__makecontext): Add dummy nop after jump to exit.
59911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
59912         Use correct parm save area and cr save, reduce stack frame.
59913         Correct cfi for possible PSEUDO_RET frame setup.
59914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
59915         Branch to local label emitted by PSEUDO_RET rather than
59916         __syscall_error.
59918 2010-08-12  Andreas Schwab  <schwab@redhat.com>
59920         [BZ #11904]
59921         * locale/programs/locale.c (print_assignment): New function.
59922         (show_locale_vars): Use it.
59924 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
59926         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
59927         field.
59928         (struct statfs64): Likewise.
59929         (_STATFS_F_FLAGS): Define.
59930         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
59931         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59932         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
59933         (ST_VALID): Define locally.
59934         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
59935         __statvfs_getflags, use the provided value.
59936         * sysdeps/unix/sysv/linux/kernel-features.h: Define
59937         __ASSUME_STATFS_F_FLAGS.
59939         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
59941         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
59942         Add sys/fanotify.h.
59943         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
59944         fanotify_mask for GLIBC_2.13.
59945         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
59946         fanotify_init and fanotify_mark.
59947         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59948         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
59950         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
59951         Add prlimit.
59952         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
59953         prlimit64 for GLIBC_2.13.
59954         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
59955         prlimit64.
59956         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
59957         syscall.
59958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
59959         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59960         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
59961         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
59962         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
59963         add prlimit alias.
59964         * sysdeps/unix/sysv/linux/prlimit.c: New file.
59966         [BZ #11903]
59967         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
59968         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
59970         * nss/Makefile: Add rules to build and run tst-nss-test1.
59971         * shlib-versions: Add entry for libnss_test1.
59972         * nss/nss_test1.c: New file.
59973         * nss/tst-nss-test1.c: New file.
59975         * nss/nsswitch.c (__nss_database_custom): Define new variable.
59976         (__nss_configure_lookup): Set appropriate entry in
59977         __nss_configure_lookup to true.
59978         * nss/nsswitch.h: Define enum with indeces of databases in
59979         databases and __nss_database_custom arrays.  Declare
59980         __nss_database_custom.
59981         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
59982         to avoid using nscd when custom rules are installed.
59983         * nss/getXXbyYY_r.c: Likewise.
59984         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59986         * nss/nss_files/files-parse.c: Whitespace fixes.
59988 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
59990         [BZ #11883]
59991         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
59992         * posix/fnmatch_loop.c: Likewise.
59994 2010-07-17  Andi Kleen  <ak@linux.intel.com>
59996         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
59997         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
59998         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
59999         * Versions.def [GLIBC_2.13]: Add.
60001 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
60003         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60004         Also fail if tpwd after pwuid call is NULL.
60006 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60008         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
60009         when converting to ms.
60011 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60013         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
60014         EOPNOTSUPP errors with ENOTTY.
60015         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
60016         EOPNOTSUPP errors with ENOTTY.
60018 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
60020         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60021         Add strcasecmp_l-ssse3.
60022         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
60023         strcasecmp.
60024         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
60025         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
60026         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
60028 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
60030         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
60032         * string/Makefile (strop-tests): Add strcasecmp.
60033         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60034         strcasecmp_l-nonascii.
60035         (gen-as-const-headers): Add locale-defines.sym.
60036         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
60037         * sysdeps/x86_64/strcasecmp.S: New file.
60038         * sysdeps/x86_64/strcasecmp_l.S: New file.
60039         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
60040         * sysdeps/x86_64/locale-defines.sym: New file.
60041         * string/test-strcasecmp.c: New file.
60043         * string/test-strcasestr.c: Test both ends of the range of characters.
60044         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
60046 2010-07-29  Roland McGrath  <roland@redhat.com>
60048         [BZ #11856]
60049         * manual/locale.texi (Yes-or-No Questions): Fix example code.
60051 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
60053         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
60054         for ld.so.
60056 2010-07-27  Andreas Schwab  <schwab@redhat.com>
60058         * manual/memory.texi (Malloc Tunable Parameters): Document
60059         M_PERTURB.
60061 2010-07-26  Roland McGrath  <roland@redhat.com>
60063         [BZ #11840]
60064         * configure.in (-fgnu89-inline check): Set and substitute
60065         gnu89_inline, not libc_cv_gnu89_inline.
60066         * configure: Regenerated.
60067         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
60069 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
60071         * string/test-strnlen.c: New file.
60072         * string/Makefile (strop-tests): Add strnlen.
60073         * string/tester.c (test_strnlen): Add a few more test cases.
60074         * string/tst-strlen.c: Better error reporting.
60076         * sysdeps/x86_64/strnlen.S: New file.
60078 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
60080         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
60081         lower-latency instructions.
60083 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
60085         * string/test-strcasestr.c: New file.
60086         * string/test-strstr.c: New file.
60087         * string/Makefile (strop-tests): Add strstr and strcasestr.
60088         * string/str-two-way.h: Don't undefine MAX.
60089         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
60091 2010-07-21  Andreas Schwab  <schwab@redhat.com>
60093         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60094         strcasestr-nonascii.
60095         (CFLAGS-strcasestr-nonascii.c): Define.
60096         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
60097         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
60098         Remove unused attribute.
60100 2010-07-20  Roland McGrath  <roland@redhat.com>
60102         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
60103         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
60104         ld.so.cache was broken.  With it, there is no way to disable dsocaps
60105         like LD_HWCAP_MASK can disable hwcaps.
60107 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
60109         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
60111 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
60113         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
60114         call in strcasestr.
60115         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
60116         __strcasestr_sse42_nonascii.
60117         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
60118         strcasestr-nonascii.c.
60119         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
60121 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
60123         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
60124         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
60125         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
60126         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
60128 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
60130         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
60131         fcntl.
60133 2010-07-06  Andreas Schwab  <schwab@redhat.com>
60135         [BZ #11577]
60136         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
60137         dl_signal_cerror.
60139 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
60141         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
60142         _PC_PIPE_BUF using F_GETPIPE_SZ.
60144 2010-07-05  Roland McGrath  <roland@redhat.com>
60146         * manual/arith.texi (Rounding Functions): Fix rint description
60147         implicit in round description.
60149 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
60151         * elf/Makefile: Fix linking for a few tests to make recent linker
60152         happy.
60154 2010-06-30  Andreas Schwab  <schwab@redhat.com>
60156         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60157         $(common-objpfx)libc_nonshared.a.
60159 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
60161         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
60162         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
60163         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60164         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60165         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
60166         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
60167         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60168         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
60170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
60171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
60172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
60174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
60176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
60177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
60178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
60179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
60181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
60183         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
60184         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
60185         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
60186         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
60187         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
60188         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
60189         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
60190         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
60191         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
60192         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
60193         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
60194         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
60195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
60196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
60197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
60198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
60199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
60200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
60201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
60202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
60203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
60204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
60205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
60206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
60207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
60208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
60210 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
60212         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
60213         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
60214         * string/memmove.c (memmove): Renamed to ...
60215         (MEMMOVE): ...this.  Default to memmove.
60216         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
60217         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
60218         (END_CHK): Define.
60219         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60220         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
60221         mempcpy-ssse3-back memmove-ssse3-back.
60222         * sysdeps/x86_64/multiarch/bcopy.S: New file .
60223         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
60224         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
60225         * sysdeps/x86_64/multiarch/memcpy.S: New file.
60226         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
60227         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
60228         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
60229         * sysdeps/x86_64/multiarch/memmove.c: New file.
60230         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
60231         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
60232         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
60233         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
60234         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
60235         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
60236         Define.
60237         (index_Fast_Copy_Backward): Define.
60238         (HAS_ARCH_FEATURE): Define.
60239         (HAS_FAST_REP_STRING): Define.
60240         (HAS_FAST_COPY_BACKWARD): Define.
60242 2010-06-21  Andreas Schwab  <schwab@redhat.com>
60244         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60245         Restore proper fallback handling.
60247 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
60249         [BZ #11701]
60250         * posix/group_member.c (__group_member): Correct checking loop.
60252         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
60253         OOM in getpwuid_r correctly.  Return error number when the caller
60254         should return, otherwise -1.
60255         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
60256         call returning > 0 value.
60257         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
60259 2010-06-07  Andreas Schwab  <schwab@redhat.com>
60261         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
60262         libc_nonshared.a from targets in modules-names.
60264 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
60266         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
60267         requires it.
60269 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
60271         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
60272         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
60273         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
60274         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
60276 2010-06-02  Andreas Schwab  <schwab@redhat.com>
60278         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
60280 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
60282         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
60283         and F_GETPIPE_SZ.
60284         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60285         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60286         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60287         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60288         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60289         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
60291 2010-06-14  Roland McGrath  <roland@redhat.com>
60293         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
60295 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
60297         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
60298         __REDIRECT followed by __THROW.
60299         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
60300         * posix/getopt.h (getopt): Likewise.
60302 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
60304         * hurd/lookup-at.c (__file_name_lookup_at): Accept
60305         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
60306         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
60307         in AT_FLAGS.
60308         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
60309         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
60311 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
60313         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
60315 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
60317         [BZ #11640]
60318         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60319         Properly check family and model.
60321 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
60323         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
60325 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
60327         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
60329 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
60331         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
60332         symbol reference.
60334 2010-05-19  Andreas Schwab  <schwab@redhat.com>
60336         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
60337         symbol reference.
60339 2010-05-21  Andreas Schwab  <schwab@redhat.com>
60341         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
60342         and internal_recvmmsg.
60343         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
60344         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
60345         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
60346         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
60348         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
60349         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
60350         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
60352 2010-05-20  Andreas Schwab  <schwab@redhat.com>
60354         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
60356 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
60358         POWER7 optimizations.
60359         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
60360         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
60362 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
60364         * version.h: Update for 2.13 development version.
60366 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
60368         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
60369         exceptions.  Return 0.
60371 2010-05-07  Roland McGrath  <roland@redhat.com>
60373         * elf/ldconfig.c (main): Add a const.
60375 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
60377         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
60378         (args_options): Add no-idn option.
60379         (ahosts_keys_int): Add idn_flags to ai_flags.
60380         (parse_option): Handle 'i' option to clear idn_flags.
60382         * malloc/malloc.c (_int_free): Possible race in the most recently
60383         added check.  Only act on the data if no current modification
60384         happened.
60386 See ChangeLog.17 for earlier changes.